[Insight-users] bug in itkNumericTraitsVectorPixel.h

Marius Staring marius at isi.uu.nl
Mon May 22 14:50:41 EDT 2006


Hi,

I want to report a bug in itkNumericTraitsVectorPixel.h

For vectors with unsigned long type, the PrintType is not defined. 
Instead there is a line:

    typedef Vector<unsigned long, 2> PrlongType;

which I think should be

    typedef Vector<unsigned long, 2> PrintType;

This is the case for all vector dimensions.

A program using the VectorResampleImageFilter as in:

 typedef itk::Vector< unsigned long, 3 >  VectorType;
 typedef itk::Image< VectorType, 2 >      ImageType;
 typedef typename itk::VectorResampleImageFilter< ImageType, ImageType 
 >          ResamplerType;

will therefore not compile.

Regards,

-- 
Marius Staring
Image Sciences Institute
University Medical Centre Utrecht
Heidelberglaan 100, 3584 CX Utrecht, The Netherlands
phone: +31 (0)30 250 3186, fax: +31 (0)30 251 3399
marius at isi.uu.nl, http://www.isi.uu.nl/People/Marius



More information about the Insight-users mailing list