Reading a specific attribute from a DICOM header
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.
Answers (1)
Tim Jackman
on 14 Sep 2015
0 votes
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.
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!