File Exchange

image thumbnail

myDicomLookup

version 1.0.5 (2.12 KB) by vincent caillet
Find attribute within DICOM when you do not know the exact location

1 Download

Updated 06 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 (2019). myDicomLookup (https://www.mathworks.com/matlabcentral/fileexchange/68705-mydicomlookup), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

Updates

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

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux