[Insight-users] how to read analyze image
Luis Ibanez
luis.ibanez at kitware.com
Wed Sep 24 08:39:35 EDT 2008
Hi Jihan,
The error message says:
"Couldn't open file: /home/jihan/projeto3/src/Fatias"
As you can see,
you are not passing the correct image filename to the reader.
The name should be
"/home/jihan/projeto3/src/Fatias.hdr"
That is,
the filename *extension* ".hdr" must be included as part
of the image filename.
Regards,
Luis
=====================
Jihan Zoghbi wrote:
> Hi Luiz,
>
> thank for your help, I tried to do what exactly you told me. My program
> try to read and visualize Analyze image file reading these two types of
> files(.hdr and .img) . Actually, the program is reading the .hdr and
> .img, but how can the program get the information from .hdr file and use
> to read the .img file? After running the program I can not visualize my
> image and I got the following errors:
>
> Couldn't open file: /home/jihan/projeto3/src/Fatias
> ERROR: In /usr/local/VTK/Imaging/vtkImageImport.cxx, line 324
> vtkImageImport (0x9fb3f48): Calling UpdateInformationCallback:
> /usr/local/include/InsightToolkit/IO/itkImageFileReader.txx:144:
> Could not create IO object for file /home/jihan/projeto3/src/Fatias
> The file doesn't exist.
>
More information about the Insight-users
mailing list