Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Protected Member Functions
itk::RigidImageToImageRegistrationMethod< TImage > Class Template Reference

#include <Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkRigidImageToImageRegistrationMethod.h>

Inheritance diagram for itk::RigidImageToImageRegistrationMethod< TImage >:
Inheritance graph
[legend]
Collaboration diagram for itk::RigidImageToImageRegistrationMethod< TImage >:
Collaboration graph
[legend]

Public Types

typedef AffineTransformType::Pointer AffineTransformPointer
 
typedef AffineTransform< double, itkGetStaticConstMacro(ImageDimension)> AffineTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Rigid2DTransform< double > Rigid2DTransformType
 
typedef VersorRigid3DTransform< double > Rigid3DTransformType
 
typedef MatrixOffsetTransformBase< double, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension)> RigidTransformType
 
typedef RigidImageToImageRegistrationMethod Self
 
typedef OptimizedImageToImageRegistrationMethod< TImage > Superclass
 
typedef RigidTransformType TransformType
 
- Public Types inherited from itk::OptimizedImageToImageRegistrationMethod< TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef TImage ImageType
 
enum  InterpolationMethodEnumType { NEAREST_NEIGHBOR_INTERPOLATION, LINEAR_INTERPOLATION, BSPLINE_INTERPOLATION, SINC_INTERPOLATION }
 
enum  MetricMethodEnumType { MATTES_MI_METRIC, NORMALIZED_CORRELATION_METRIC, MEAN_SQUARED_ERROR_METRIC }
 
typedef ImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef OptimizedImageToImageRegistrationMethod Self
 
typedef ImageToImageRegistrationMethod< TImage > Superclass
 
enum  TransformMethodEnumType { RIGID_TRANSFORM, AFFINE_TRANSFORM, BSPLINE_TRANSFORM }
 
typedef TransformType::ParametersType TransformParametersScalesType
 
typedef TransformType::ParametersType TransformParametersType
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::ImageToImageRegistrationMethod< TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef DataObject::Pointer DataObjectPointer
 
typedef Superclass::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 
typedef TImage ImageType
 
typedef SpatialObject< itkGetStaticConstMacro(ImageDimension)> MaskObjectType
 
typedef SmartPointer< SelfPointer
 
typedef TImage::PointType PointType
 
typedef ImageToImageRegistrationMethod Self
 
typedef ProcessObject Superclass
 
typedef DataObjectDecorator< TransformTypeTransformOutputType
 
typedef Transform< double, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension)> TransformType
 

Public Member Functions

void GenerateData (void) override
 
AffineTransformPointer GetAffineTransform (void) const
 
TransformTypeGetTypedTransform (void)
 
const TransformTypeGetTypedTransform (void) const
 
 itkNewMacro (Self)
 
 itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension)
 
 itkTypeMacro (RigidImageToImageRegistrationMethod, OptimizedImageToImageRegistrationMethod)
 
void SetInitialTransformParametersFromAffineTransform (const AffineTransformType *affine)
 
- Public Member Functions inherited from itk::OptimizedImageToImageRegistrationMethod< TImage >
void GenerateData (void) override
 
 itkGetConstMacro (InitialTransformParameters, TransformParametersType)
 
 itkGetConstMacro (InitialTransformFixedParameters, TransformParametersType)
 
 itkGetConstMacro (LastTransformParameters, TransformParametersType)
 
 itkGetConstMacro (TransformParametersScales, TransformParametersScalesType)
 
 itkGetConstMacro (SampleFromOverlap, bool)
 
 itkGetConstMacro (MinimizeMemory, bool)
 
 itkGetConstMacro (MaxIterations, unsigned int)
 
 itkGetConstMacro (UseEvolutionaryOptimization, bool)
 
 itkGetConstMacro (NumberOfSamples, unsigned int)
 
 itkGetConstMacro (UseFixedImageSamplesIntensityThreshold, bool)
 
 itkGetConstMacro (FixedImageSamplesIntensityThreshold, PixelType)
 
 itkGetConstMacro (TargetError, double)
 
 itkGetConstMacro (RandomNumberSeed, int)
 
 itkGetConstMacro (TransformMethodEnum, TransformMethodEnumType)
 
 itkGetConstMacro (MetricMethodEnum, MetricMethodEnumType)
 
 itkGetConstMacro (InterpolationMethodEnum, InterpolationMethodEnumType)
 
 itkGetMacro (FinalMetricValue, double)
 
 itkNewMacro (Self)
 
 itkSetMacro (InitialTransformParameters, TransformParametersType)
 
 itkSetMacro (InitialTransformFixedParameters, TransformParametersType)
 
 itkSetMacro (LastTransformParameters, TransformParametersType)
 
 itkSetMacro (TransformParametersScales, TransformParametersScalesType)
 
 itkSetMacro (SampleFromOverlap, bool)
 
 itkSetMacro (MinimizeMemory, bool)
 
 itkSetMacro (MaxIterations, unsigned int)
 
 itkSetMacro (UseEvolutionaryOptimization, bool)
 
 itkSetMacro (NumberOfSamples, unsigned int)
 
 itkSetMacro (UseFixedImageSamplesIntensityThreshold, bool)
 
 itkSetMacro (TargetError, double)
 
 itkSetMacro (RandomNumberSeed, int)
 
 itkSetMacro (MetricMethodEnum, MetricMethodEnumType)
 
 itkSetMacro (InterpolationMethodEnum, InterpolationMethodEnumType)
 
 itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension)
 
 itkTypeMacro (OptimizedImageToImageRegistrationMethod, ImageToImageRegistrationMethod)
 
void SetFixedImageSamplesIntensityThreshold (PixelType val)
 
- Public Member Functions inherited from itk::ImageToImageRegistrationMethod< TImage >
const TransformOutputTypeGetOutput (void) const
 
 itkBooleanMacro (ReportProgress)
 
 itkGetConstObjectMacro (FixedImage, ImageType)
 
 itkGetConstObjectMacro (MovingImage, ImageType)
 
 itkGetConstObjectMacro (FixedImageMaskObject, MaskObjectType)
 
 itkGetConstObjectMacro (MovingImageMaskObject, MaskObjectType)
 
 itkGetMacro (RegistrationNumberOfThreads, unsigned int)
 
 itkGetMacro (UseRegionOfInterest, bool)
 
 itkGetMacro (RegionOfInterestPoint1, PointType)
 
 itkGetMacro (RegionOfInterestPoint2, PointType)
 
 itkGetMacro (UseFixedImageMaskObject, bool)
 
 itkGetMacro (UseMovingImageMaskObject, bool)
 
 itkGetMacro (ReportProgress, bool)
 
 itkGetObjectMacro (Observer, Command)
 
 itkNewMacro (Self)
 
 itkSetMacro (RegistrationNumberOfThreads, unsigned int)
 
 itkSetMacro (UseRegionOfInterest, bool)
 
 itkSetMacro (RegionOfInterestPoint1, PointType)
 
 itkSetMacro (RegionOfInterestPoint2, PointType)
 
 itkSetMacro (UseFixedImageMaskObject, bool)
 
 itkSetMacro (UseMovingImageMaskObject, bool)
 
 itkSetMacro (ReportProgress, bool)
 
 itkSetObjectMacro (Observer, Command)
 
 itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension)
 
 itkTypeMacro (ImageToImageRegistrationMethod, ProcessObject)
 
void SetFixedImage (const ImageType *fixedImage)
 
void SetFixedImageMaskObject (const MaskObjectType *maskObject)
 
void SetMovingImage (const ImageType *movingImage)
 
void SetMovingImageMaskObject (const MaskObjectType *maskObject)
 
void SetRegionOfInterest (const PointType &point1, const PointType &point2)
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const override
 
 RigidImageToImageRegistrationMethod (void)
 
 ~RigidImageToImageRegistrationMethod (void) override
 
- Protected Member Functions inherited from itk::OptimizedImageToImageRegistrationMethod< TImage >
 itkSetMacro (FinalMetricValue, double)
 
 itkSetMacro (TransformMethodEnum, TransformMethodEnumType)
 
virtual void Optimize (MetricType *metric, InterpolatorType *interpolator)
 
 OptimizedImageToImageRegistrationMethod (void)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~OptimizedImageToImageRegistrationMethod (void) override
 
- Protected Member Functions inherited from itk::ImageToImageRegistrationMethod< TImage >
void GenerateData (void) override
 
ModifiedTimeType GetMTime (void) const override
 
 ImageToImageRegistrationMethod (void)
 
virtual void Initialize (void)
 
 itkGetConstObjectMacro (Transform, TransformType)
 
 itkGetObjectMacro (Transform, TransformType)
 
 itkSetObjectMacro (Transform, TransformType)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~ImageToImageRegistrationMethod (void) override
 

Additional Inherited Members

- Protected Types inherited from itk::OptimizedImageToImageRegistrationMethod< TImage >
typedef InterpolateImageFunction< TImage, double > InterpolatorType
 
typedef ImageToImageMetric< TImage, TImage > MetricType
 
- Protected Attributes inherited from itk::ImageToImageRegistrationMethod< TImage >
TransformType::Pointer m_Transform
 

Detailed Description

template<class TImage>
class itk::RigidImageToImageRegistrationMethod< TImage >

Definition at line 32 of file itkRigidImageToImageRegistrationMethod.h.

Member Typedef Documentation

◆ AffineTransformPointer

template<class TImage >
typedef AffineTransformType::Pointer itk::RigidImageToImageRegistrationMethod< TImage >::AffineTransformPointer

Definition at line 74 of file itkRigidImageToImageRegistrationMethod.h.

◆ AffineTransformType

template<class TImage >
typedef AffineTransform<double, itkGetStaticConstMacro( ImageDimension )> itk::RigidImageToImageRegistrationMethod< TImage >::AffineTransformType

Definition at line 72 of file itkRigidImageToImageRegistrationMethod.h.

◆ ConstPointer

template<class TImage >
typedef SmartPointer<const Self> itk::RigidImageToImageRegistrationMethod< TImage >::ConstPointer

Definition at line 41 of file itkRigidImageToImageRegistrationMethod.h.

◆ Pointer

template<class TImage >
typedef SmartPointer<Self> itk::RigidImageToImageRegistrationMethod< TImage >::Pointer

Definition at line 40 of file itkRigidImageToImageRegistrationMethod.h.

◆ Rigid2DTransformType

template<class TImage >
typedef Rigid2DTransform<double> itk::RigidImageToImageRegistrationMethod< TImage >::Rigid2DTransformType

Definition at line 67 of file itkRigidImageToImageRegistrationMethod.h.

◆ Rigid3DTransformType

template<class TImage >
typedef VersorRigid3DTransform<double> itk::RigidImageToImageRegistrationMethod< TImage >::Rigid3DTransformType

Definition at line 68 of file itkRigidImageToImageRegistrationMethod.h.

◆ RigidTransformType

template<class TImage >
typedef MatrixOffsetTransformBase<double, itkGetStaticConstMacro( ImageDimension ), itkGetStaticConstMacro( ImageDimension )> itk::RigidImageToImageRegistrationMethod< TImage >::RigidTransformType

Definition at line 61 of file itkRigidImageToImageRegistrationMethod.h.

◆ Self

Definition at line 38 of file itkRigidImageToImageRegistrationMethod.h.

◆ Superclass

Definition at line 39 of file itkRigidImageToImageRegistrationMethod.h.

◆ TransformType

Definition at line 62 of file itkRigidImageToImageRegistrationMethod.h.

Constructor & Destructor Documentation

◆ RigidImageToImageRegistrationMethod()

template<class TImage >
itk::RigidImageToImageRegistrationMethod< TImage >::RigidImageToImageRegistrationMethod ( void  )
protected

◆ ~RigidImageToImageRegistrationMethod()

template<class TImage >
itk::RigidImageToImageRegistrationMethod< TImage >::~RigidImageToImageRegistrationMethod ( void  )
overrideprotected

Member Function Documentation

◆ GenerateData()

template<class TImage >
void itk::RigidImageToImageRegistrationMethod< TImage >::GenerateData ( void  )
override

◆ GetAffineTransform()

template<class TImage >
AffineTransformPointer itk::RigidImageToImageRegistrationMethod< TImage >::GetAffineTransform ( void  ) const

This function creates a new affine transforms that implements the current registration transform. Provided to help with transform composition. The transform is initialized with the current results available in the GetTypedTransform() method. The returned transform is not a member variable, and therefore, must be received into a SmartPointer to prevent it from being destroyed by depletion of its reference counting.

◆ GetTypedTransform() [1/2]

template<class TImage >
TransformType* itk::RigidImageToImageRegistrationMethod< TImage >::GetTypedTransform ( void  )

The function performs the casting. This function should only appear once in the class hierarchy. It is provided so that member functions that exist only in specific transforms (e.g., SetIdentity) can be called without the caller having to do the casting.

◆ GetTypedTransform() [2/2]

template<class TImage >
const TransformType* itk::RigidImageToImageRegistrationMethod< TImage >::GetTypedTransform ( void  ) const

◆ itkNewMacro()

template<class TImage >
itk::RigidImageToImageRegistrationMethod< TImage >::itkNewMacro ( Self  )

◆ itkStaticConstMacro()

template<class TImage >
itk::RigidImageToImageRegistrationMethod< TImage >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TImage::ImageDimension   
)

◆ itkTypeMacro()

◆ PrintSelf()

template<class TImage >
void itk::RigidImageToImageRegistrationMethod< TImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected

◆ SetInitialTransformParametersFromAffineTransform()

template<class TImage >
void itk::RigidImageToImageRegistrationMethod< TImage >::SetInitialTransformParametersFromAffineTransform ( const AffineTransformType affine)

Initialize the transform parameters from an AffineTransform This method is intended as an alternative to calling SetInitialTransformParameters() and SetInitialTransformFixedParameters(). These later methods require you to have a rigid transform at hand, and this is not always the case, specially when a transform initializer is being used. The method below facilitates to use the AffineTransform returned by the InitialImageToImageRegistrationMethod to directly initialize this rigid registration method. The received Affine transform will be approximated to its closest rigid transform by using Polar decomposition.


The documentation for this class was generated from the following file: