[Insight-users] Convert 3D image data from Matlab .mat file

Mathieu Malaterre mathieu.malaterre at gmail.com
Sun Nov 25 12:30:26 EST 2007


On Nov 25, 2007 9:19 AM, Mengchen Zhu <mengchen.zhu at hotmail.com> wrote:
>
>  Hi folks,
>
> I have some 3D CT and Ultrasound volume data saved as .mat files, with voxel
> data type int16; what is the best way to export them into ITK for
> processing? I guess I could export them as DICOM, but not sure.

Matlab has built-in support for DICOM (read/write). For writing a
DICOM file, just go to:

http://www.mathworks.com/access/helpdesk/help/toolbox/images/index.html?/access/helpdesk/help/toolbox/images/dicomwrite.html

The question that remains, is where do these images come from ?
Without knowing the modalities or the proper DICOM object you will not
be able to create the correct meta data info for the header. This
would be better to investigate where is the source for those .mat
files.

HTH

-- 
Mathieu


More information about the Insight-users mailing list