[Insight-developers] Examples/RawImageReaderViewer
Luis Ibanez
luis . ibanez at kitware . com
Mon, 08 Jul 2002 01:31:57 -0400
Thanks Lijun,
That's the reason !
In order to fix this, a line with :
->SetFileDimensionality( 3)
was just added to both RawImageReader Examples:
- Insight/Examples/RawImageReaderViewer
- Insight/Examples/RawImageReadWrite
It is reading the whole volume now,
Thanks
Luis
========================================
Lijun Ding wrote:
>The reason is that in Code/IO/itkRawImageIO.txx, line 47
>m_FileDimensionality = 2;
>
>>I run the example "RawImageReaderViewer" with a raw 3D byte image, and
>>only one slice (slice 0) is displayed. I save the image and check
>>the saved image: only slice 0 is correct, other slices are zeros.
>>Could someone figure out what's wrong? thanks.
>>
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers
>