myDicomLookup

Find attribute within DICOM when you do not know the exact location
36 Downloads
Updated 6 Sep 2018

View License

Helps to find the attribute within a DICOM when you do not know exactly where it is located within the dicom. This code will loop through every single structure until it finds the attribute within a structure fieldname.

Download the code, get your dicom and run the following two lines:

>> YourDicomInfo = dicominfo('YourDicom.dcm');
>> myDicomLookup(YourDicomInfo,'DoseRate');

Matlab will show the following:
----
Found it!
Results for DoseRateSet is 600

Work your way back from the last word below up to here
DoseRateSet
...\Item_1
...\ControlPointSequence
...\Item_1
...\BeamSequence

If you are looking for the patient's name, and just type 'name', it will come up with the physician's name because this is the first results it gets. You would need to type exactly "Patientname".

Cite As

vincent caillet (2024). myDicomLookup (https://www.mathworks.com/matlabcentral/fileexchange/68705-mydicomlookup), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on DICOM Format in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.5

Added some more notes

1.0.3

Correct an error where the field value is a matrice

1.0.2

notes

1.0.1

added some notes

1.0.0