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 >:
[legend]Collaboration diagram for itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >:
[legend]List of all members.
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:
- Geometrical,
- Center of mass
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 60 of file itkCenteredTransformInitializer.h.
Member Typedef Documentation
Constructor & Destructor Documentation
|
Definition at line 127 of file itkCenteredTransformInitializer.h.
References itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImagePointer, itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImagePointer, itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::Self, and itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::TransformPointer. |
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 120 of file itkCenteredTransformInitializer.h. |
template<class TTransform, class TFixedImage, class TMovingImage> |
virtual const char* itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::GetClassName |
( |
|
) |
const [virtual] |
|
|
Run-time type information (and related methods).
Reimplemented from itk::Object.
|
template<class TTransform, class TFixedImage, class TMovingImage> |
void itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::InitializeTransform |
( |
|
) |
const |
|
|
Initialize the transform using data from the images |
template<class TTransform, class TFixedImage, class TMovingImage> |
itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro |
( |
OutputSpaceDimension |
, |
|
|
unsigned |
int, |
|
|
TransformType::OutputSpaceDimension |
|
|
) |
|
|
template<class TTransform, class TFixedImage, class TMovingImage> |
itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro |
( |
InputSpaceDimension |
, |
|
|
unsigned |
int, |
|
|
TransformType::InputSpaceDimension |
|
|
) |
|
|
template<class TTransform, class TFixedImage, class TMovingImage> |
itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro |
( |
SpaceDimension |
, |
|
|
unsigned |
int, |
|
|
TransformType::SpaceDimension |
|
|
) |
|
|
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 121 of file itkCenteredTransformInitializer.h. |
|
New macro for creation of through a Smart Pointer.
Reimplemented from itk::Object.
|
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.
|
|
Set the fixed image used in the registration process |
|
Set the moving image used in the registration process |
|
Set the transform to be initialized |
The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:59:32 2007 for ITK by
1.3.8 written by Dimitri van Heesch,
© 1997-2000