File Exchange

image thumbnail

DICOM series reader

version 1.0.0 (124 KB) by Frank Zijlstra
MATLAB toolbox for reading one or more DICOM series from a directory


Updated 10 Jun 2019

From GitHub

View license on GitHub

This small MATLAB toolbox provides the functionality of reading one or more DICOM series from a directory containing many DICOM files. The DICOM files are automatically matched together into partitions (each usually a 2D or 3D volume). Using these partitions the DICOM series can be conveniently read into MATLAB. The code handles both classic and enhanced DICOM files and provides utilities for reading them and accessing DICOM tags in a consistent manner.

Important note: We know from experience that there is a lot of variation in DICOM files and the code may not deal with all DICOM files properly. We heavily rely on this code in our research and will improve the code as necessary to deal with new data. If you find bugs or errors with your DICOM files, you can help improve this toolbox by looking for a fix, or by letting me know!

Important note 2: This code is meant solely for research purposes. Please do NOT rely on it for any clinical implementations! I do not accept any responsibility for damage caused by the use of this software.

Cite As

Frank Zijlstra (2021). DICOM series reader (, GitHub. Retrieved .

Comments and Ratings (4)

Rene Werner

Thank you, works fine! Saved me some working hours!

Frank Zijlstra

Hi Mikhail, it internally uses dicomread to read individual DICOM files. But often 3D volumes are stored as separate files, this function will allow you to simply specify a directory containing the DICOM files and easily read one or more 3D volumes from it.


Hi Frank,

Is this function any different from dicomread from Image Processing Toolbox?

Mateusz Florkow

MATLAB Release Compatibility
Created with R2015b
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!