image thumbnail

DICOMDIR Reader

version 1.2.0.0 (10.6 KB) by Laszlo Balkay
Select dicom series under a directory or CD using the DICOMDIR file.

18.9K Downloads

Updated 05 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 (2021). 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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!