#include <itkCenteredTransformInitializer.h>
Inheritance diagram for itk::CenteredTransformInitializer< TTransform, TFixedImage, TMovingImage >:
Public Types | |
typedef CenteredTransformInitializer | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
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 TransformType::OffsetType | OffsetType |
typedef TransformType::InputPointType | InputPointType |
typedef TransformType::OutputVectorType | OutputVectorType |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual void | SetTransform (TransformType *_arg) |
virtual void | SetFixedImage (const FixedImageType *_arg) |
virtual void | SetMovingImage (const MovingImageType *_arg) |
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 () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
CenteredTransformInitializer () | |
~CenteredTransformInitializer () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
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 60 of file itkCenteredTransformInitializer.h.
|
Reimplemented from itk::Object. Definition at line 68 of file itkCenteredTransformInitializer.h. |
|
Definition at line 91 of file itkCenteredTransformInitializer.h. |
|
Image Types to use in the initialization of the transform Definition at line 88 of file itkCenteredTransformInitializer.h. |
|
Point type. Definition at line 100 of file itkCenteredTransformInitializer.h. |
|
Definition at line 92 of file itkCenteredTransformInitializer.h. |
|
Definition at line 89 of file itkCenteredTransformInitializer.h. |
|
Offset type. Definition at line 97 of file itkCenteredTransformInitializer.h. |
|
Vector type. Definition at line 103 of file itkCenteredTransformInitializer.h. |
|
Reimplemented from itk::Object. Definition at line 67 of file itkCenteredTransformInitializer.h. |
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 65 of file itkCenteredTransformInitializer.h. |
|
Reimplemented from itk::Object. Definition at line 66 of file itkCenteredTransformInitializer.h. |
|
Definition at line 78 of file itkCenteredTransformInitializer.h. |
|
Type of the transform to initialize Definition at line 77 of file itkCenteredTransformInitializer.h. |
|
Definition at line 126 of file itkCenteredTransformInitializer.h. |
|
Definition at line 127 of file itkCenteredTransformInitializer.h. References HardConnectedComponentImageFilter::PrintSelf(). |
|
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. |
|
Run-time type information (and related methods). Reimplemented from itk::Object. |
|
Initialize the transform using data from the images |
|
Dimension of parameters. |
|
Dimension of parameters. |
|
Dimension of parameters. |
|
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. |
|
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 |