myDicomLookup
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.