DICOMDIR Reader
dcmSeries = loaddcmdir(directoryname)
LOADDICOMDIR reads metadata from DICOMDIR file and shows a list of the different DICOM SERIES in a Pop-up menus. After selecting a dicom
series the program creates the dcmSeries structure containig the related file names and path.
The zip file also contains the loaddcm.m program which enable to generate the relating 3D image array using the names of dicom slices.
Hints:
Reading DICOMDIR folder using the directory browser GUI:
dcmSeries = loaddcmdir;
Generating 3D array by selecting a dicom series:
[imaVOL, scaninfo, dcminfo] = loaddcm(loaddcmdir);
To preview the 3D array you can use the orthogonalslicer tool: (http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=5934&objectType=file)
orthogonalslicer(imaVOL,scaninfo.pixsize,'gray');
To check the dicom header:
openvar('dcminfo');
Cite As
Laszlo Balkay (2024). DICOMDIR Reader (https://www.mathworks.com/matlabcentral/fileexchange/7926-dicomdir-reader), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: dicomfolder, DICOMDIR Parser, Calculo de Caídas de Tensión en Redes Eléctricas 3f-1f
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.