MATLAB: What is difference between dicomdisp vs dicominfo

dicomdicomdispdicominfo

Good afternoon, I am trying to access data within a dicom rt file. When I use dicomdisp the data I am interested is shown but when dicominfo is called on this file, the data is not displayed. What are the differences between a function call of dicomdisp and dicominfo that would cause this data loss?

Best Answer

What you're seeing here is the hierarchical nature of DICOM files. The "FluenceMapSeqeuence" struct in the dicominfo output contains the fields you want. (You can see this in the output of dicomdisp in the non-zero values of the "Level" column.)
In your example, you'd want to write something like this:
metadata = dicominfo('c:\file.dcm');
metadata.FluenceMapSequence.Item_1.FluenceDataScale
I hope this helps.