[Insight-users] 2D slice from 3D image?

Rao Jianguo rao . jianguo at hgu . mrc . ac . uk
Fri, 10 Oct 2003 10:15:14 +0100


Hello everyone,

I am going to extract a 2D slice from 3D image.
As there is already a command to do this, I simply
run it:

./ImageReadExtractWrite myImage.mha test.png 0

I got error message:

=========
../Insight/Code/Io/itkPNGImageIO.cxx line: 502
Description:  itk::ERROR: PNGImageIO(0x808a570):
PNG supports unsigned char and unsigned short

=========

I will be very grateful if someone can help.

Cheers,

Jianguo