<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
Hi,<br><br>Thanks Mathieu. The problem is, the 3D data are not "images" in the first place. The ultrasound data are reconstructed from RF signal directly; the CT, I don't know - I am asking the person who gave me the data. <br><br>So the question should be, can I use the matrix in Matlab to construct image in ITK? I have the physical dimension of voxels by the way, so the data indeed can be treated as images, without header that is. <br><br>If no apparent way exists, I will probably use fprintf() to export the mat as text file and construct my image in ITK using the data in the text.<br><br>Thanks,<br>MC<br><br>> Date: Sun, 25 Nov 2007 18:30:26 +0100<br>> From: mathieu.malaterre@gmail.com<br>> To: mengchen.zhu@hotmail.com<br>> Subject: Re: [Insight-users] Convert 3D image data from Matlab .mat file<br>> CC: insight-users@itk.org<br>> <br>> On Nov 25, 2007 9:19 AM, Mengchen Zhu <mengchen.zhu@hotmail.com> wrote:<br>> ><br>> > Hi folks,<br>> ><br>> > I have some 3D CT and Ultrasound volume data saved as .mat files, with voxel<br>> > data type int16; what is the best way to export them into ITK for<br>> > processing? I guess I could export them as DICOM, but not sure.<br>> <br>> Matlab has built-in support for DICOM (read/write). For writing a<br>> DICOM file, just go to:<br>> <br>> http://www.mathworks.com/access/helpdesk/help/toolbox/images/index.html?/access/helpdesk/help/toolbox/images/dicomwrite.html<br>> <br>> The question that remains, is where do these images come from ?<br>> Without knowing the modalities or the proper DICOM object you will not<br>> be able to create the correct meta data info for the header. This<br>> would be better to investigate where is the source for those .mat<br>> files.<br>> <br>> HTH<br>> <br>> -- <br>> Mathieu<br><br /><hr />Express yourself with free Messenger emoticons. <a href='http://www.freemessengeremoticons.ca/?icid=EMENCA122' target='_new'>Get them today!</a></body>
</html>