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".
Citation pour cette source
vincent caillet (2025). myDicomLookup (https://fr.mathworks.com/matlabcentral/fileexchange/68705-mydicomlookup), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 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 |