Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage > Class Template Reference
[Transforms]

CenteredTransformInitializer is a helper class intended to initialize the center of rotation and the translation of Transforms having the center of rotation among their parameters. More...

#include <itkCenteredTransformInitializer.h>

Inheritance diagram for itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CenteredTransformInitializer Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TTransform TransformType
typedef TransformType::Pointer TransformPointer
typedef TFixedImage FixedImageType
typedef TMovingImage MovingImageType
typedef FixedImageType::ConstPointer FixedImagePointer
typedef MovingImageType::ConstPointer MovingImagePointer
typedef ImageMomentsCalculator<
FixedImageType
FixedImageCalculatorType
typedef ImageMomentsCalculator<
MovingImageType
MovingImageCalculatorType
typedef FixedImageCalculatorType::Pointer FixedImageCalculatorPointer
typedef MovingImageCalculatorType::Pointer MovingImageCalculatorPointer
typedef TransformType::OffsetType OffsetType
typedef TransformType::InputPointType InputPointType
typedef TransformType::OutputVectorType OutputVectorType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual void SetTransform (TransformType *_arg)
virtual void SetFixedImage (const FixedImageType *_arg)
virtual void SetMovingImage (const MovingImageType *_arg)
virtual void InitializeTransform () const
 itkStaticConstMacro (SpaceDimension, unsigned int, TransformType::SpaceDimension)
 itkStaticConstMacro (InputSpaceDimension, unsigned int, TransformType::InputSpaceDimension)
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, TransformType::OutputSpaceDimension)
void GeometryOn ()
void MomentsOn ()
virtual const FixedImageCalculatorTypeGetFixedCalculator ()
virtual const MovingImageCalculatorTypeGetMovingCalculator ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 CenteredTransformInitializer ()
 ~CenteredTransformInitializer ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TTransform, class TFixedImage, class TMovingImage>
class itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >

CenteredTransformInitializer is a helper class intended to initialize the center of rotation and the translation of Transforms having the center of rotation among their parameters.

This class is connected to the fixed image, moving image and transform involved in the registration. Two modes of operation are possible:

In the first mode, the geometrical center of the moving image is passed as initial center of rotation to the transform and the vector from the center of the fixed image to the center of the moving image is passed as the initial translation. This mode basically assumes that the anatomical objects to be registered are centered in their respective images. Hence the best initial guess for the registration is the one that superimposes those two centers.

In the second mode, the moments of gray level values are computed for both images. The center of mass of the moving image is then used as center of rotation. The vector between the two centers of mass is passes as the initial translation to the transform. This second approach assumes that the moments of the anatomical objects are similar for both images and hence the best initial guess for registration is to superimpose both mass centers. Note that this assumption will probably not hold in multi-modality registration.

Definition at line 62 of file itkCenteredTransformInitializer.h.


Member Typedef Documentation

template<class TTransform, class TFixedImage, class TMovingImage>
typedef SmartPointer<const Self> itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::ConstPointer
 

Reimplemented from itk::Object.

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 70 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef FixedImageCalculatorType::Pointer itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImageCalculatorPointer
 

Definition at line 100 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef ImageMomentsCalculator< FixedImageType > itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImageCalculatorType
 

Moment calculators

Definition at line 97 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef FixedImageType::ConstPointer itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImagePointer
 

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 93 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef TFixedImage itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImageType
 

Image Types to use in the initialization of the transform

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 90 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef TransformType::InputPointType itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::InputPointType
 

Point type.

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 108 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef MovingImageCalculatorType::Pointer itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImageCalculatorPointer
 

Definition at line 101 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef ImageMomentsCalculator< MovingImageType > itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImageCalculatorType
 

Definition at line 98 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef MovingImageType::ConstPointer itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImagePointer
 

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 94 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef TMovingImage itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImageType
 

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 91 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef TransformType::OffsetType itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::OffsetType
 

Offset type.

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 105 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef TransformType::OutputVectorType itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::OutputVectorType
 

Vector type.

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 111 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef SmartPointer<Self> itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::Pointer
 

Reimplemented from itk::Object.

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 69 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef CenteredTransformInitializer itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 67 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef Object itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::Superclass
 

Reimplemented from itk::Object.

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 68 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef TransformType::Pointer itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::TransformPointer
 

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 80 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
typedef TTransform itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::TransformType
 

Type of the transform to initialize

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

Definition at line 79 of file itkCenteredTransformInitializer.h.


Constructor & Destructor Documentation

template<class TTransform, class TFixedImage, class TMovingImage>
itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::CenteredTransformInitializer  )  [protected]
 

template<class TTransform, class TFixedImage, class TMovingImage>
itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::~CenteredTransformInitializer  )  [inline, protected]
 

Definition at line 139 of file itkCenteredTransformInitializer.h.


Member Function Documentation

template<class TTransform, class TFixedImage, class TMovingImage>
void itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::GeometryOn  )  [inline]
 

Select between using the geometrical center of the images or using the center of mass given by the image intensities.

Definition at line 128 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
virtual const FixedImageCalculatorType* itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::GetFixedCalculator  )  [virtual]
 

Get() access to the moments calculators

template<class TTransform, class TFixedImage, class TMovingImage>
virtual const MovingImageCalculatorType* itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::GetMovingCalculator  )  [virtual]
 

Get() access to the moments calculators

template<class TTransform, class TFixedImage, class TMovingImage>
virtual const char* itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Object.

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

template<class TTransform, class TFixedImage, class TMovingImage>
virtual void itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::InitializeTransform  )  const [virtual]
 

Initialize the transform using data from the images

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

template<class TTransform, class TFixedImage, class TMovingImage>
itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro OutputSpaceDimension  ,
unsigned  int,
TransformType::OutputSpaceDimension 
 

Dimension of parameters.

template<class TTransform, class TFixedImage, class TMovingImage>
itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro InputSpaceDimension  ,
unsigned  int,
TransformType::InputSpaceDimension 
 

Dimension of parameters.

template<class TTransform, class TFixedImage, class TMovingImage>
itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro SpaceDimension  ,
unsigned  int,
TransformType::SpaceDimension 
 

Dimension of parameters.

template<class TTransform, class TFixedImage, class TMovingImage>
void itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::MomentsOn  )  [inline]
 

Select between using the geometrical center of the images or using the center of mass given by the image intensities.

Definition at line 129 of file itkCenteredTransformInitializer.h.

template<class TTransform, class TFixedImage, class TMovingImage>
Pointer itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::New  )  [static]
 

New macro for creation of through a Smart Pointer.

Reimplemented from itk::Object.

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

template<class TTransform, class TFixedImage, class TMovingImage>
void itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

Reimplemented in itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >.

template<class TTransform, class TFixedImage, class TMovingImage>
virtual void itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::SetFixedImage const FixedImageType _arg  )  [virtual]
 

Set the fixed image used in the registration process

template<class TTransform, class TFixedImage, class TMovingImage>
virtual void itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::SetMovingImage const MovingImageType _arg  )  [virtual]
 

Set the moving image used in the registration process

template<class TTransform, class TFixedImage, class TMovingImage>
virtual void itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::SetTransform TransformType _arg  )  [virtual]
 

Set the transform to be initialized


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:34:14 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000