[Insight-users] ImageRegistration8.cxx trouble loading images

Luis Ibanez luis.ibanez at kitware.com
Tue Apr 22 16:25:07 EDT 2008



Hi Ken,


Please check if you have the files

   brainweb1e1a10f20.raw
   brainweb1e1a10f20Rot10Tx15.raw


in the same directory as the files:


   brainweb1e1a10f20.mha
   brainweb1e1a10f20Rot10Tx15.mha


This files do not follow the convention
that .mha should be a file that has header
*and* binary data included. Instead they
are behaving as ".mhd" files, which are
supposed to contain just the meta header,
and to refer to a .raw file that contains
the binary pixel data.


Please let us know if you find the .raw files.


    Regards,


        Luis



--------------------
Ken Urish wrote:
> All
> 
> Im working with ImageRegistration8.cxx and Im having trouble loading
> the images:
> brainweb1e1a10f20.mha
> brainweb1e1a10f20Rot10Tx15.mha
> 
> The itk exception macro is being fired that it "cant create an IO object".
> 1) I am unable to open these two files in volview or ITK SNAP either.
> 2) I can convert a series of dicom's into a .mha file in one program,
> save the file, and have this itk example open this dicom->mha file.
> 3) I can get the 2D registration examples to work that have the 2d mha
> file already downloaded with the original itk code
> 
> Im assuming this is my mistake, but I am having trouble figuring out
> why I cant read an image??
> 
> Are their alternative images to work with this example?
> 
> Appreciate the help.
> ITK version: cvs_12_March_08;
> MSVS7
> 
> Thanks
> --Ken--
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list