[Insight-developers] Examples/RawImageReaderViewer

Lijun Ding ljding at grasp . cis . upenn . edu
Mon, 1 Jul 2002 10:40:03 -0400 (EDT)


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.