[Insight-developers] itk::RawImageIO Bug

Paul Yushkevich pauly at cognitica . com
Thu, 28 Aug 2003 23:07:34 -0400


Hi

There seems to be a bug in RawImageIO.  The following code crashes:

typedef itk::RawImageIO <short, 3> IOType;
IOType::Pointer x = IOType::New();
x->ReturnTypeAsString();

The reason is that the internal variable PixelType is set to UNKNOWN in 
the RawImageIO.

Thanks!

Paul.

-- 
--------------------------------
Paul A. Yushkevich, Ph.D.
President, Cognitica Corporation

17 Flemington Rd
Chapel Hill, NC 27517
Tel: 1-919-929-7652
--------------------------------