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::AffineImageToImageRegistrationMethod< TImage > Class Template Reference

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

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

Public Types

typedef AffineTransformType::Pointer AffineTransformPointer
 
typedef AffineTransform< double, itkGetStaticConstMacro(ImageDimension)> AffineTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef AffineImageToImageRegistrationMethod Self
 
typedef OptimizedImageToImageRegistrationMethod< TImage > Superclass
 
typedef AffineTransformType 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 () override
 
AffineTransformPointer GetAffineTransform () const
 
TransformTypeGetTypedTransform ()
 
const TransformTypeGetTypedTransform () const
 
 itkNewMacro (Self)
 
 itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension)
 
 itkTypeMacro (AffineImageToImageRegistrationMethod, OptimizedImageToImageRegistrationMethod)
 
void SetInitialTransformParametersFromAffineTransform (const AffineTransformType *affine)
 
- Public Member Functions inherited from itk::OptimizedImageToImageRegistrationMethod< TImage >
void GenerateData () 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 () 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

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

Definition at line 30 of file itkAffineImageToImageRegistrationMethod.h.

Member Typedef Documentation

◆ AffineTransformPointer

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

Definition at line 56 of file itkAffineImageToImageRegistrationMethod.h.

◆ AffineTransformType

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

Definition at line 55 of file itkAffineImageToImageRegistrationMethod.h.

◆ ConstPointer

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

Definition at line 39 of file itkAffineImageToImageRegistrationMethod.h.

◆ Pointer

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

Definition at line 38 of file itkAffineImageToImageRegistrationMethod.h.

◆ Self

Definition at line 36 of file itkAffineImageToImageRegistrationMethod.h.

◆ Superclass

Definition at line 37 of file itkAffineImageToImageRegistrationMethod.h.

◆ TransformType

Definition at line 57 of file itkAffineImageToImageRegistrationMethod.h.

Constructor & Destructor Documentation

◆ AffineImageToImageRegistrationMethod()

template<class TImage >
itk::AffineImageToImageRegistrationMethod< TImage >::AffineImageToImageRegistrationMethod ( )
protected

◆ ~AffineImageToImageRegistrationMethod()

template<class TImage >
itk::AffineImageToImageRegistrationMethod< TImage >::~AffineImageToImageRegistrationMethod ( )
overrideprotected

Member Function Documentation

◆ GenerateData()

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

◆ GetAffineTransform()

template<class TImage >
AffineTransformPointer itk::AffineImageToImageRegistrationMethod< TImage >::GetAffineTransform ( ) 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::AffineImageToImageRegistrationMethod< TImage >::GetTypedTransform ( )

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::AffineImageToImageRegistrationMethod< TImage >::GetTypedTransform ( ) const

◆ itkNewMacro()

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

◆ itkStaticConstMacro()

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

◆ itkTypeMacro()

◆ PrintSelf()

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

◆ SetInitialTransformParametersFromAffineTransform()

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

Initialize the transform parameters from an AffineTransform This method is intended as an alternative to calling SetInitialTransformParameters() and SetInitialTransformFixedParameters(). The method below facilitates to use the AffineTransform returned by the InitialImageToImageRegistrationMethod to directly initialize this rigid registration method.


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