[Insight-users] Possible bug in Modules/IO/TransformBase/src/itkTransformFactoryBase.cxx
Tim Allman
timothy at brasscats.ca
Thu Oct 11 13:03:00 EDT 2012
I have been looking at the code (v 4.2.1) and have discovered what
appears to be a bug in
Modules/IO/TransformBase/src/itkTransformFactoryBase.cxx
line 107
Modules/IO/TransformBase/src/itkTransformFactoryBase.cxx
// We cannot register both Rigid3DTransform and
// itkv3::Rigid3DTransform because they both have the same name
#ifdef ITKV3_COMPATIBILITY
TransformFactory< Rigid3DTransform< double > >::RegisterTransform ();
#else
TransformFactory< itkv3::Rigid3DTransform< double > >::RegisterTransform ();
#endif
There is a similar construct at line 166.
It appears that the v4 version is selected when the v3 version should be
and vice versa.
--
Tim Allman
35 Margaret Street,
Guelph Ontario N1E 5R6
Canada
+1-519-837-0276
More information about the Insight-users
mailing list