Read Medical Data 3D

GUI to open most Medical file-formats: Dicom, V3D, ISI, NifTI, Analyze and other formats
32.6K Downloads
Updated 23 Feb 2011

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This function ReadData3D allows the user to open medical 3D files. It
supports the following formats :

Dicom Files ( .dcm , .dicom )
V3D Philips Scanner ( .v3d )
GIPL Guys Image Processing Lab ( .gipl )
HDR/IMG Analyze ( .hdr )
ISI Files ( .isi )
NifTi ( .nii )
RAW files ( .raw , .* )
VMP BrainVoyager ( .vmp )
XIF HDllab/ATL ultrasound ( .xif )
VTK Visualization Toolkit ( .vtk )
Insight Meta-Image ( .mha, .mhd )
Micro CT ( .vff )
PAR/REC Philips ( .par, .rec)

usage:

[V,info]=ReadData3D;

or,

[V,info]=ReadData3D(filename);

outputs,
V : The 3D Volume
info : Struct with info about the data
Always the following fields are present
info.Filename : Name of file
info.Dimensions : Dimensions of Volume
info.PixelDimensions : Size of one pixel / voxel

Warning!
The read functions are not fully implemented as defined in
the file-format standards. Do not use this function for
critical applications.

Question,
If you know an example file of GE_Version_4, GE_Version_5 or some other often used 3D medical format, please leave a comment (so I can implement that format).

Cite As

Dirk-Jan Kroon (2026). Read Medical Data 3D (https://www.mathworks.com/matlabcentral/fileexchange/29344-read-medical-data-3d), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.1.0.0

VTK bug fix by C. Aguilar

1.0.0.0