Slicer  4.8
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 (void) ITK_OVERRIDE
 
AffineTransformPointer GetAffineTransform (void) const
 
TransformTypeGetTypedTransform (void)
 
const TransformTypeGetTypedTransform (void) 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 >
 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

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

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 ( void  )
protected

◆ ~AffineImageToImageRegistrationMethod()

template<class TImage >
virtual itk::AffineImageToImageRegistrationMethod< TImage >::~AffineImageToImageRegistrationMethod ( void  )
protectedvirtual

Member Function Documentation

◆ GenerateData()

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

◆ GetAffineTransform()

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

◆ 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: