Reading a specific attribute from a DICOM header

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)

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.

1 Comment

That is what I thought. Thank you very much for your input, Tim!

Sign in to comment.

Categories

Tags

Asked:

on 9 Sep 2015

Commented:

on 15 Sep 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!