<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi again,<BR>
<BR>
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 <A href="http://www.itk.org/Insight/Doxygen/html/classitk_1_1FileIOToImageFilter.html"><U><FONT color=#800080>itk::FileIOToImageFilter</FONT></U></A> class." But I can´t find that class in the documentation. What should i use to read the image?<BR>
<BR>
Thank you.<BR><BR>> Date: Wed, 22 Oct 2008 12:33:06 +0200<BR>> From: xabiarta@unav.es<BR>> To: insight-users@itk.org<BR>> Subject: Re: [Insight-users] 3D registration problem<BR>> <BR>> Hi Manuel,<BR>> Yes, once you read the image it becomes an ITK image of any dimension, <BR>> for example 3. If you read it correctly, you can use any ITK filter <BR>> afterwards.<BR>> Regards,<BR>> Xabi<BR>> <BR>> -- <BR>> Xabier Artaechevarria<BR>> Cancer Imaging Laboratory<BR>> Centre for Applied Medical Research<BR>> www.cima.es<BR>> <BR>> <BR>> <BR>> Manuel David Tabas Calle <manueldavid.tabas@hotmail.es> ha escrito:<BR>> <BR>> ><BR>> > Thank you Xabier, I´ll try to use wath you told me.<BR>> ><BR>> > Now I have another cuestion. If the raw image that I have is a 3D <BR>> > image (in fact tha image is a set of 40 raw images put one after <BR>> > other) and I write a MetaImage or I use itk::RawImageIO, can i use <BR>> > it with a 3D trasform method to register two 3D images? I mean, can <BR>> > I used this image directly with VersorRigid3DTransform, for example, <BR>> > and ITK will handle correctly the image?<BR>> ><BR>> > Thank you all.<BR>> >> Date: Wed, 22 Oct 2008 08:36:21 +0200> From: xabiarta@unav.es> To: <BR>> >> insight-users@itk.org> Subject: Re: [Insight-users] 3D registration <BR>> >> problem> > Hi Manuel,> > You are right. You can read raw images <BR>> >> directly. You a few different options:> > 1. Convert images to <BR>> >> another format, using some other program, for > instance ImageJ.> <BR>> >> 2. Use the itk::RawImageIO class to read the images. You will need <BR>> >> > to set the size, pixel type, etc. yourself.> 3. Use the mhd <BR>> >> format. You need to add a header file. Look for the > sub-header: <BR>> >> "Writing a MetaImage header for raw data" in> <BR>> >> http://www.itk.org/HTML/Data.htm.> > I would go for options 1 or 3 <BR>> >> for simplicity, but it is up to you.> Best regards,> Xabi> > --> <BR>> >> Xabier Artaechevarria> Cancer Imaging Laboratory> Centre for <BR>> >> Applied Medical Research> www.cima.es> > > > Manuel David Tabas <BR>> >> Calle <manueldavid.tabas@hotmail.es> ha escrito:> > >> > Hi!> >> > <BR>> >> I´m trying to register raw 2D images but i don´t really know how to <BR>> >> do.> >> > With 2D images in png, for example, there are no problem <BR>> >> using the > > examples and following the ITKSoftwareGuide with <BR>> >> images in png, for > > example, but when i try to use raw images <BR>> >> for the register, the > > program can´t red them. Is that problem <BR>> >> caused by the fact that the > > raw images have not a header with <BR>> >> the dimensions??? If that, how can > > i fix it???> >> > Thak you <BR>> >> all.> > <BR>> >> _________________________________________________________________> <BR>> >> > ¿Sigue el calor? Consulta MSN El tiempo> > <BR>> >> http://eltiempo.es.msn.com/> > > > <BR>> >> ----------------------------------------------------------------> <BR>> >> Este mensaje ha sido enviado desde https://webmail.unav.es> > <BR>> >> _______________________________________________> Insight-users <BR>> >> mailing list> Insight-users@itk.org> <BR>> >> http://www.itk.org/mailman/listinfo/insight-users<BR>> > _________________________________________________________________<BR>> > ¡Entra en el Club oficial de Messenger y te enterarás de todas las novedades!<BR>> > http://www.vivelive.com/ilovemessenger<BR>> <BR>> <BR>> <BR>> ----------------------------------------------------------------<BR>> Este mensaje ha sido enviado desde https://webmail.unav.es<BR>> <BR>> _______________________________________________<BR>> Insight-users mailing list<BR>> Insight-users@itk.org<BR>> http://www.itk.org/mailman/listinfo/insight-users<BR><BR><br /><hr />Juega a las preguntas de Live Quiz con tus contactos de Messenger <a href='http://www.vivelive.com/LiveQuiz/' target='_new'>¡Empieza ahora!</a></body>
</html>