[Insight-users] 3D registration problem

Xabier Artaechevarria Artieda xabiarta at unav.es
Wed Oct 22 02:36:21 EDT 2008


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



More information about the Insight-users mailing list