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.