[Insight-users] Analyze Binary Bitmap File Loading problem

Luis Ibanez luis.ibanez at kitware.com
Mon, 16 Feb 2004 03:43:53 -0500


Hi Yasser,

When you said that itkAnalyzeImageIO "fails"

Do you mean:

1) It crashes ?
2) It throws an exception ?
3) It read an image but the data appears corrupted ?


For a simple test you can try reading the
testing Analyzee data sets available at

    Insight/Testing/Data/Input


Reading .img files works fine for the test images.


Regards,


   Luis



-----------------------------------
itk_at_stanford at yahoo.com wrote:

> 
> Hi,
> 
> I am trying to load the binary bitmap files in analyze format but
> itkAnalyzeImageIO fails.
> 
> In my opinion its because its assuming that the file pixel format is
> "unsigned character".
> 
> How can I tell the itkAnalyzeImageIO that the data in the .img file is
> in the binary format?
> 
> Yasser.
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>