[ITK Community] Bug in DefaultVectorPixelAccessor

Jan Ehrhardt ehrhardt at imi.uni-luebeck.de
Thu Mar 6 06:25:17 EST 2014


Hi folks,

there is a bug in DefaultVectorPixelAccessor (ITK 4.4.0):

   void SetVectorLength(VectorLengthType l)
   {
     m_VectorLength = l;
     m_OffsetMultiplier = ( l - 1 );
   }

   DefaultVectorPixelAccessor(VectorLengthType l)
   {
     m_VectorLength = l;
     m_OffsetMultiplier = l - 1;
   }

OffsetMultiplier should be m_OffsetMultiplier = l;

Best regards,
Jan




More information about the Community mailing list