#include <itkCenteredTransformInitializer.h>
template<typename TTransform, typename TFixedImage, typename 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.
- Examples:
- Examples/RegistrationITKv3/DeformableRegistration15.cxx, Examples/RegistrationITKv3/ImageRegistration12.cxx, Examples/RegistrationITKv3/ImageRegistration13.cxx, Examples/RegistrationITKv3/ImageRegistration14.cxx, Examples/RegistrationITKv3/ImageRegistration19.cxx, Examples/RegistrationITKv3/ImageRegistration20.cxx, Examples/RegistrationITKv3/ImageRegistration6.cxx, Examples/RegistrationITKv3/ImageRegistration7.cxx, Examples/RegistrationITKv3/ImageRegistration8.cxx, Examples/RegistrationITKv3/ImageRegistration9.cxx, Examples/RegistrationITKv3/MultiResImageRegistration2.cxx, Examples/RegistrationITKv4/DeformableRegistration15.cxx, Examples/RegistrationITKv4/ImageRegistration12.cxx, Examples/RegistrationITKv4/ImageRegistration13.cxx, Examples/RegistrationITKv4/ImageRegistration14.cxx, Examples/RegistrationITKv4/ImageRegistration19.cxx, Examples/RegistrationITKv4/ImageRegistration20.cxx, Examples/RegistrationITKv4/ImageRegistration6.cxx, Examples/RegistrationITKv4/ImageRegistration7.cxx, Examples/RegistrationITKv4/ImageRegistration8.cxx, Examples/RegistrationITKv4/ImageRegistration9.cxx, Examples/RegistrationITKv4/MultiResImageRegistration2.cxx, WikiExamples/Registration/ExhaustiveOptimizer.cxx, and WikiExamples/Registration/WatchRegistration.cxx.
Definition at line 63 of file itkCenteredTransformInitializer.h.
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
template<typename TTransform, typename TFixedImage, typename TMovingImage>
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<typename TTransform, typename TFixedImage, typename TMovingImage>
Get() access to the moments calculators
template<typename TTransform, typename TFixedImage, typename TMovingImage>
Get() access to the moments calculators
template<typename TTransform, typename TFixedImage, typename TMovingImage>
Get() access to the moments calculators
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
Get() access to the moments calculators
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
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<typename TTransform, typename TFixedImage, typename TMovingImage>
New macro for creation of through a Smart Pointer.
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
Set the fixed image used in the registration process
template<typename TTransform, typename TFixedImage, typename TMovingImage>
Set the moving image used in the registration process
template<typename TTransform, typename TFixedImage, typename TMovingImage>
Set the transform to be initialized
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
template<typename TTransform, typename TFixedImage, typename TMovingImage>
The documentation for this class was generated from the following file: