[Insight-users] Read .raw MR image file and convert to vtk
SCHMID, Jerome
jeromeschmid at surgery.cuhk.edu.hk
Tue May 23 21:50:20 EDT 2006
Hi,
I don't know the exact encoding of .raw file but I suppose that there
are simply the raw data written on binary format on disk. In that case
you can use the ImportImageFilter to which you will pass the raw data
directly and set by yourself the useful info such as size, spacing and
origin. Maybe you can find this in another file. To get the raw data
from disk in memory use a standard fstream reading.
Hope this helps.
Best Regards,
Jerome Schmid
________________________________
From: insight-users-bounces+jeromeschmid=surgery.cuhk.edu.hk at itk.org
[mailto:insight-users-bounces+jeromeschmid=surgery.cuhk.edu.hk at itk.org]
On Behalf Of Mafalda Sousa
Sent: Tuesday, May 23, 2006 10:53 PM
To: Insight-users at itk.org
Subject: [Insight-users] Read .raw MR image file and convert to vtk
Hello,
I would like to know if it's possible to read .raw image files with ITK.
I've tried with RawImageIO and it didn't work.
Instead of .raw files I also have MINC files. This files are Simulated
Brain MR Images obtained from Brainweb
http://www.bic.mni.mcgill.ca/brainweb/ .
I usually use real Dicom files and transform them to VTK files, but this
simulated data sets would be very usefull if i could use them. I just
don't know how to read them.
Thanks
Mafalda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060524/68179cad/attachment.htm
More information about the Insight-users
mailing list