[Insight-users] 3D registration problem
Manuel David Tabas Calle
manueldavid.tabas at hotmail.es
Wed Oct 22 11:26:04 EDT 2008
Hi again,
I made a MateImage with the link you passed me, but there is said: "Once you write this header text file, it should be possible to read the image into your ITK based application using the itk::FileIOToImageFilter class." But I can´t find that class in the documentation. What should i use to read the image?
Thank you.> Date: Wed, 22 Oct 2008 12:33:06 +0200> From: xabiarta at unav.es> To: insight-users at itk.org> Subject: Re: [Insight-users] 3D registration problem> > Hi Manuel,> Yes, once you read the image it becomes an ITK image of any dimension, > for example 3. If you read it correctly, you can use any ITK filter > afterwards.> Regards,> Xabi> > -- > Xabier Artaechevarria> Cancer Imaging Laboratory> Centre for Applied Medical Research> www.cima.es> > > > Manuel David Tabas Calle <manueldavid.tabas at hotmail.es> ha escrito:> > >> > Thank you Xabier, I´ll try to use wath you told me.> >> > Now I have another cuestion. If the raw image that I have is a 3D > > image (in fact tha image is a set of 40 raw images put one after > > other) and I write a MetaImage or I use itk::RawImageIO, can i use > > it with a 3D trasform method to register two 3D images? I mean, can > > I used this image directly with VersorRigid3DTransform, for example, > > and ITK will handle correctly the image?> >> > Thank you all.> >> Date: Wed, 22 Oct 2008 08:36:21 +0200> From: xabiarta at unav.es> To: > >> insight-users at itk.org> Subject: Re: [Insight-users] 3D registration > >> problem> > Hi Manuel,> > You are right. You can read raw images > >> directly. You a few different options:> > 1. Convert images to > >> another format, using some other program, for > instance ImageJ.> > >> 2. Use the itk::RawImageIO class to read the images. You will need > >> > to set the size, pixel type, etc. yourself.> 3. Use the mhd > >> format. You need to add a header file. Look for the > sub-header: > >> "Writing a MetaImage header for raw data" in> > >> http://www.itk.org/HTML/Data.htm.> > I would go for options 1 or 3 > >> for simplicity, but it is up to you.> Best regards,> Xabi> > --> > >> Xabier Artaechevarria> Cancer Imaging Laboratory> Centre for > >> Applied Medical Research> www.cima.es> > > > Manuel David Tabas > >> Calle <manueldavid.tabas at hotmail.es> ha escrito:> > >> > Hi!> >> > > >> I´m trying to register raw 2D images but i don´t really know how to > >> do.> >> > With 2D images in png, for example, there are no problem > >> using the > > examples and following the ITKSoftwareGuide with > >> images in png, for > > example, but when i try to use raw images > >> for the register, the > > program can´t red them. Is that problem > >> caused by the fact that the > > raw images have not a header with > >> the dimensions??? If that, how can > > i fix it???> >> > Thak you > >> all.> > > >> _________________________________________________________________> > >> > ¿Sigue el calor? Consulta MSN El tiempo> > > >> http://eltiempo.es.msn.com/> > > > > >> ----------------------------------------------------------------> > >> Este mensaje ha sido enviado desde https://webmail.unav.es> > > >> _______________________________________________> Insight-users > >> mailing list> Insight-users at itk.org> > >> http://www.itk.org/mailman/listinfo/insight-users> > _________________________________________________________________> > ¡Entra en el Club oficial de Messenger y te enterarás de todas las novedades!> > http://www.vivelive.com/ilovemessenger> > > > ----------------------------------------------------------------> Este mensaje ha sido enviado desde https://webmail.unav.es> > _______________________________________________> Insight-users mailing list> Insight-users at itk.org> http://www.itk.org/mailman/listinfo/insight-users
_________________________________________________________________
Prueba los prototipos de los últimos en MSN Motor
http://motor.es.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081022/db3abefe/attachment-0001.htm>
More information about the Insight-users
mailing list