Reading a specific attribute from a DICOM header
2 views (last 30 days)
Show older comments
Hello: Is it possible to read the value of a specific attribute from a DICOM header (i.e., without reading the whole header as it is done by using dicominfo.m)? Thanks.
0 Comments
Answers (1)
Tim Jackman
on 14 Sep 2015
There is no built in functionality that I am aware of in MATLAB to read a single entry from a DICOM header. You could try to make a workaround that reads the metadata and processes the raw attributes using the dictionary while sifting through looking for your specified attribute, but this process may not be much more efficient (if at all) than using dicominfo to read in the header and grabbing your attribute from the structure. Hope this helps.
See Also
Categories
Find more on DICOM Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!