Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkTranslationTransformInitializer.h>
TranslationTransformInitializer is a helper class intended to initialize the translation of a TranslationTransforms.
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 centers of the images are computed. The distance between them is set as an 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 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 63 of file itkTranslationTransformInitializer.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef FixedImageCalculatorType::Pointer | FixedImageCalculatorPointer |
typedef ImageMomentsCalculator< FixedImageType > | FixedImageCalculatorType |
typedef FixedImageType::ConstPointer | FixedImagePointer |
typedef TFixedImage | FixedImageType |
typedef FixedMaskType::ConstPointer | FixedMaskPointer |
typedef Image< unsigned char, InputSpaceDimension > | FixedMaskType |
typedef TransformType::InputPointType | InputPointType |
typedef MovingImageCalculatorType::Pointer | MovingImageCalculatorPointer |
typedef ImageMomentsCalculator< MovingImageType > | MovingImageCalculatorType |
typedef MovingImageType::ConstPointer | MovingImagePointer |
typedef TMovingImage | MovingImageType |
typedef MovingMaskType::ConstPointer | MovingMaskPointer |
typedef Image< unsigned char, OutputSpaceDimension > | MovingMaskType |
typedef TransformType::OutputVectorType | OutputVectorType |
typedef SmartPointer< Self > | Pointer |
typedef TranslationTransformInitializer | Self |
typedef Object | Superclass |
typedef TransformType::Pointer | TransformPointer |
typedef TTransform | TransformType |
Public Member Functions | |
void | GeometryOn () |
virtual const char * | GetClassName () const |
virtual const FixedImageCalculatorType * | GetFixedCalculator () |
virtual const MovingImageCalculatorType * | GetMovingCalculator () |
virtual void | InitializeTransform () const |
itkStaticConstMacro (InputSpaceDimension, unsigned int, TransformType::InputSpaceDimension) | |
itkStaticConstMacro (OutputSpaceDimension, unsigned int, TransformType::OutputSpaceDimension) | |
itkStaticConstMacro (SpaceDimension, unsigned int, TransformType::SpaceDimension) | |
void | MomentsOn () |
virtual void | SetFixedImage (const FixedImageType *_arg) |
virtual void | SetFixedMask (const FixedMaskType *_arg) |
virtual void | SetMovingImage (const MovingImageType *_arg) |
virtual void | SetMovingMask (const MovingMaskType *_arg) |
virtual void | SetTransform (TransformType *_arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
TranslationTransformInitializer () | |
~TranslationTransformInitializer () override | |
Private Member Functions | |
void | operator= (const Self &) |
TranslationTransformInitializer (const Self &) | |
typedef SmartPointer< const Self > itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::ConstPointer |
Definition at line 71 of file itkTranslationTransformInitializer.h.
typedef FixedImageCalculatorType::Pointer itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImageCalculatorPointer |
Definition at line 102 of file itkTranslationTransformInitializer.h.
typedef ImageMomentsCalculator< FixedImageType > itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImageCalculatorType |
Moment calculators
Definition at line 99 of file itkTranslationTransformInitializer.h.
typedef FixedImageType::ConstPointer itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImagePointer |
Definition at line 91 of file itkTranslationTransformInitializer.h.
typedef TFixedImage itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImageType |
Image Types to use in the initialization of the transform
Definition at line 89 of file itkTranslationTransformInitializer.h.
typedef FixedMaskType::ConstPointer itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedMaskPointer |
Definition at line 95 of file itkTranslationTransformInitializer.h.
typedef Image< unsigned char, InputSpaceDimension > itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedMaskType |
Definition at line 93 of file itkTranslationTransformInitializer.h.
typedef TransformType::InputPointType itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::InputPointType |
Point type.
Definition at line 106 of file itkTranslationTransformInitializer.h.
typedef MovingImageCalculatorType::Pointer itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImageCalculatorPointer |
Definition at line 103 of file itkTranslationTransformInitializer.h.
typedef ImageMomentsCalculator< MovingImageType > itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImageCalculatorType |
Definition at line 100 of file itkTranslationTransformInitializer.h.
typedef MovingImageType::ConstPointer itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImagePointer |
Definition at line 92 of file itkTranslationTransformInitializer.h.
typedef TMovingImage itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImageType |
Definition at line 90 of file itkTranslationTransformInitializer.h.
typedef MovingMaskType::ConstPointer itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingMaskPointer |
Definition at line 96 of file itkTranslationTransformInitializer.h.
typedef Image< unsigned char, OutputSpaceDimension > itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingMaskType |
Definition at line 94 of file itkTranslationTransformInitializer.h.
typedef TransformType::OutputVectorType itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::OutputVectorType |
Vector type.
Definition at line 109 of file itkTranslationTransformInitializer.h.
typedef SmartPointer< Self > itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::Pointer |
Definition at line 70 of file itkTranslationTransformInitializer.h.
typedef TranslationTransformInitializer itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::Self |
Standard class typedefs.
Definition at line 68 of file itkTranslationTransformInitializer.h.
typedef Object itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::Superclass |
Definition at line 69 of file itkTranslationTransformInitializer.h.
typedef TransformType::Pointer itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::TransformPointer |
Definition at line 81 of file itkTranslationTransformInitializer.h.
typedef TTransform itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::TransformType |
Type of the transform to initialize
Definition at line 80 of file itkTranslationTransformInitializer.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 141 of file itkTranslationTransformInitializer.h.
|
private |
|
inline |
Select between using the geometrical center of the images or using the center of mass given by the image intensities.
Definition at line 131 of file itkTranslationTransformInitializer.h.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get() access to the moments calculators
|
virtual |
|
virtual |
Initialize the transform using data from the images
itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro | ( | InputSpaceDimension | , |
unsigned int | , | ||
TransformType::InputSpaceDimension | |||
) |
itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro | ( | OutputSpaceDimension | , |
unsigned int | , | ||
TransformType::OutputSpaceDimension | |||
) |
itk::TranslationTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned int | , | ||
TransformType::SpaceDimension | |||
) |
Dimension of parameters.
|
inline |
Definition at line 132 of file itkTranslationTransformInitializer.h.
|
static |
New macro for creation of through a Smart Pointer.
|
private |
|
overrideprotected |
|
virtual |
Set the fixed image used in the registration process
|
virtual |
Set the fixed image mask used in the registration process
|
virtual |
Set the moving image used in the registration process
|
virtual |
Set the moving image mask used in the registration process
|
virtual |
Set the transform to be initialized
|
private |
Definition at line 157 of file itkTranslationTransformInitializer.h.
|
private |
Definition at line 151 of file itkTranslationTransformInitializer.h.
|
private |
Definition at line 153 of file itkTranslationTransformInitializer.h.
|
private |
Definition at line 158 of file itkTranslationTransformInitializer.h.
|
private |
Definition at line 152 of file itkTranslationTransformInitializer.h.
|
private |
Definition at line 154 of file itkTranslationTransformInitializer.h.
|
private |
Definition at line 150 of file itkTranslationTransformInitializer.h.
|
private |
Definition at line 155 of file itkTranslationTransformInitializer.h.
Generated on 1667476801 for elastix by 1.9.4 |