#include <itkCenteredTransformInitializer.h>
Inheritance diagram for itk::CenteredTransformInitializer:
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 Methods | |
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 Methods | |
Pointer | New () |
Protected Methods | |
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 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 relation both centers of mass is passes as the initial translation to the transform. This second approach assumes that the moments of the anatomical object in the image is 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 59 of file itkCenteredTransformInitializer.h.
|
Reimplemented from itk::Object. Definition at line 67 of file itkCenteredTransformInitializer.h. |
|
Definition at line 90 of file itkCenteredTransformInitializer.h. |
|
Image Types to use in the initialization of the transform Definition at line 87 of file itkCenteredTransformInitializer.h. |
|
Point type. Definition at line 99 of file itkCenteredTransformInitializer.h. |
|
Definition at line 91 of file itkCenteredTransformInitializer.h. |
|
Definition at line 88 of file itkCenteredTransformInitializer.h. |
|
Offset type. Definition at line 96 of file itkCenteredTransformInitializer.h. |
|
Vector type. Definition at line 102 of file itkCenteredTransformInitializer.h. |
|
Reimplemented from itk::Object. Definition at line 66 of file itkCenteredTransformInitializer.h. |
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 64 of file itkCenteredTransformInitializer.h. |
|
Reimplemented from itk::Object. Definition at line 65 of file itkCenteredTransformInitializer.h. |
|
Definition at line 77 of file itkCenteredTransformInitializer.h. |
|
Type of the transform to initialize Definition at line 76 of file itkCenteredTransformInitializer.h. |
|
Definition at line 125 of file itkCenteredTransformInitializer.h. |
|
Definition at line 126 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 119 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 120 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 |