DICOMDIR Reader

Select dicom series under a directory or CD using the DICOMDIR file.
19K Downloads
Updated 5 Oct 2011

View License

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
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Import and Analysis 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.2.0.0

Fixed the bugs that were reported on comments list previously.

1.0.0.0