[Insight-users] Runtime typed ImageFileReader ...

Marc Traina Marc.Traina@sophia.inria.fr
Wed, 26 Mar 2003 10:13:34 +0100


Hi,

In the software guide, the ImageReadWrite example program is described 
as a simple file format converter.

The problem is that the output file pixel type and dimension are fixed 
in the source code.
I would like to keep unchanged those image characteristics from the 
input image to the output image.

For that, I need to "switch case" on the input image pixel type and 
dimension to create the right typed pipeline 
ImageFileReader->ImageFileWriter.

How can I get simply the input image characteristics : pixel type and 
dimension?

Thanks,

Marc