MATLAB: How to access the stored information in a DICOM image individually

dicom

How can I access the stored information in a DICOM image individually? For Example: If I want to get the value of Study time only and display it on the image, how could do it?

Best Answer

Assign the output of dicominfo() to a variable. The result will be a struct with fields you can access to get particular information.