[Insight-users] CenteredVersorTransformInitializer

Martin Urschler martin at urschler.info
Tue Jun 21 05:34:07 EDT 2005


hello

can anybody explain to me what the 
itk::CenteredVersorTransformInitializer is doing in its 
InitializeTransform method besides calling the superclass method?

template < class TFixedImage, class TMovingImage >
void
CenteredVersorTransformInitializer<TFixedImage, TMovingImage >
::InitializeTransform() const
{

   // Compute moments and initialize center of rotaion and translation
   this->Superclass::InitializeTransform();

   typedef typename Superclass::FixedImageCalculatorType::MatrixType 
FixedMatrixType;
   typedef typename Superclass::MovingImageCalculatorType::MatrixType 
MovingMatrixType;

   FixedMatrixType   fixedPrincipalAxis  = 
this->GetFixedCalculator()->GetPrincipalAxes();
   MovingMatrixType  movingPrincipalAxis = 
this->GetMovingCalculator()->GetPrincipalAxes();

}


IMHO the fixed- and movingPrincipalAxes that are calculated are never 
used for anything, or did I miss something?


Martin



More information about the Insight-users mailing list