<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<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 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?<BR>
<BR>
Thank you all. <BR>
<BR>> Date: Wed, 22 Oct 2008 08:36:21 +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>> <BR>> You are right. You can read raw images directly. You a few different options:<BR>> <BR>> 1. Convert images to another format, using some other program, for <BR>> 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.<BR>> 3. Use the mhd format. You need to add a header file. Look for the <BR>> sub-header: "Writing a MetaImage header for raw data" in<BR>> http://www.itk.org/HTML/Data.htm.<BR>> <BR>> I would go for options 1 or 3 for simplicity, but it is up to you.<BR>> Best 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>> > Hi!<BR>> ><BR>> > I´m trying to register raw 2D images but i don´t really know how to do.<BR>> ><BR>> > With 2D images in png, for example, there are no problem using the <BR>> > examples and following the ITKSoftwareGuide with images in png, for <BR>> > example, but when i try to use raw images for the register, the <BR>> > program can´t red them. Is that problem caused by the fact that the <BR>> > raw images have not a header with the dimensions??? If that, how can <BR>> > i fix it???<BR>> ><BR>> > Thak you all.<BR>> > _________________________________________________________________<BR>> > ¿Sigue el calor? Consulta MSN El tiempo<BR>> > http://eltiempo.es.msn.com/<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 />¡Trónchate de risa con los mejores capítulos de South Park en <a href='http://video.msn.com/?mkt=es-es&vid=42a9e969-45ad-4c31-bff9-57629e71fac8&playlist=videoByUuids:uuids:e1daa69b-331b-4e99-8325-c936aaee9f97%2Cad4cb47a-90a8-4b2c-88da-116d2059f4a2%2Cddaade1e-82b2-4914-8277-35e45198f5c6%2C42860247-e337-4384-94d8-fa444cb4aea7&from=hotmail&tab=s1207179071824' target='_new'>MSN Vídeo!</a></body>
</html>