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 Types | Protected Member Functions
itk::BSplineImageToImageRegistrationMethod< TImage > Class Template Reference

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

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

Public Types

typedef BSplineTransformType::Pointer BSplineTransformPointer
 
typedef BSplineDeformableTransform< double, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension)> BSplineTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef TImage ImageType
 
typedef BSplineTransformType::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef BSplineImageToImageRegistrationMethod Self
 
typedef OptimizedImageToImageRegistrationMethod< TImage > Superclass
 
typedef BSplineTransformType 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 ComputeGridRegion (int numberOfControlPoints, typename TransformType::RegionType::SizeType &regionSize, typename TransformType::SpacingType &regionSpacing, typename TransformType::OriginType &regionOrigin, typename TransformType::DirectionType &regionDirection)
 
void GenerateData (void) override
 
BSplineTransformPointer GetBSplineTransform (void) const
 
virtual TransformTypeGetTypedTransform (void)
 
virtual const TransformTypeGetTypedTransform (void) const
 
 itkGetConstMacro (ExpectedDeformationMagnitude, double)
 
 itkGetConstMacro (NumberOfControlPoints, unsigned int)
 
 itkGetConstMacro (NumberOfLevels, unsigned int)
 
 itkGetMacro (GradientOptimizeOnly, bool)
 
 itkNewMacro (Self)
 
 itkSetClampMacro (NumberOfControlPoints, unsigned int, 3, 2000)
 
 itkSetClampMacro (NumberOfLevels, unsigned int, 1, 5)
 
 itkSetMacro (ExpectedDeformationMagnitude, double)
 
 itkSetMacro (GradientOptimizeOnly, bool)
 
 itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension)
 
 itkTypeMacro (BSplineImageToImageRegistrationMethod, OptimizedImageToImageRegistrationMethod)
 
void ResampleControlGrid (int newNumberOfControlPoints, ParametersType &newParameters)
 
- 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 Types

typedef InterpolateImageFunction< TImage, double > InterpolatorType
 
typedef ImageToImageMetric< TImage, TImage > MetricType
 
- Protected Types inherited from itk::OptimizedImageToImageRegistrationMethod< TImage >
typedef InterpolateImageFunction< TImage, double > InterpolatorType
 
typedef ImageToImageMetric< TImage, TImage > MetricType
 

Protected Member Functions

 BSplineImageToImageRegistrationMethod (void)
 
virtual void GradientOptimize (MetricType *metric, InterpolatorType *interpolator)
 
virtual void MultiResolutionOptimize (MetricType *metric, InterpolatorType *interpolator)
 
void Optimize (MetricType *metric, InterpolatorType *interpolator) override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~BSplineImageToImageRegistrationMethod (void) override
 
- Protected Member Functions inherited from itk::OptimizedImageToImageRegistrationMethod< TImage >
 itkSetMacro (FinalMetricValue, double)
 
 itkSetMacro (TransformMethodEnum, TransformMethodEnumType)
 
 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 Attributes inherited from itk::ImageToImageRegistrationMethod< TImage >
TransformType::Pointer m_Transform
 

Detailed Description

template<class TImage>
class itk::BSplineImageToImageRegistrationMethod< TImage >

Definition at line 30 of file itkBSplineImageToImageRegistrationMethod.h.

Member Typedef Documentation

◆ BSplineTransformPointer

template<class TImage >
typedef BSplineTransformType::Pointer itk::BSplineImageToImageRegistrationMethod< TImage >::BSplineTransformPointer

Definition at line 59 of file itkBSplineImageToImageRegistrationMethod.h.

◆ BSplineTransformType

template<class TImage >
typedef BSplineDeformableTransform<double, itkGetStaticConstMacro( ImageDimension ), itkGetStaticConstMacro( ImageDimension )> itk::BSplineImageToImageRegistrationMethod< TImage >::BSplineTransformType

Definition at line 57 of file itkBSplineImageToImageRegistrationMethod.h.

◆ ConstPointer

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

Definition at line 39 of file itkBSplineImageToImageRegistrationMethod.h.

◆ ImageType

template<class TImage >
typedef TImage itk::BSplineImageToImageRegistrationMethod< TImage >::ImageType

Definition at line 49 of file itkBSplineImageToImageRegistrationMethod.h.

◆ InterpolatorType

template<class TImage >
typedef InterpolateImageFunction<TImage, double> itk::BSplineImageToImageRegistrationMethod< TImage >::InterpolatorType
protected

Definition at line 111 of file itkBSplineImageToImageRegistrationMethod.h.

◆ MetricType

template<class TImage >
typedef ImageToImageMetric<TImage, TImage> itk::BSplineImageToImageRegistrationMethod< TImage >::MetricType
protected

Definition at line 112 of file itkBSplineImageToImageRegistrationMethod.h.

◆ ParametersType

template<class TImage >
typedef BSplineTransformType::ParametersType itk::BSplineImageToImageRegistrationMethod< TImage >::ParametersType

Definition at line 63 of file itkBSplineImageToImageRegistrationMethod.h.

◆ Pointer

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

Definition at line 38 of file itkBSplineImageToImageRegistrationMethod.h.

◆ Self

Definition at line 36 of file itkBSplineImageToImageRegistrationMethod.h.

◆ Superclass

Definition at line 37 of file itkBSplineImageToImageRegistrationMethod.h.

◆ TransformType

Definition at line 61 of file itkBSplineImageToImageRegistrationMethod.h.

Constructor & Destructor Documentation

◆ BSplineImageToImageRegistrationMethod()

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

◆ ~BSplineImageToImageRegistrationMethod()

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

Member Function Documentation

◆ ComputeGridRegion()

template<class TImage >
void itk::BSplineImageToImageRegistrationMethod< TImage >::ComputeGridRegion ( int  numberOfControlPoints,
typename TransformType::RegionType::SizeType &  regionSize,
typename TransformType::SpacingType &  regionSpacing,
typename TransformType::OriginType &  regionOrigin,
typename TransformType::DirectionType &  regionDirection 
)

◆ GenerateData()

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

◆ GetBSplineTransform()

template<class TImage >
BSplineTransformPointer itk::BSplineImageToImageRegistrationMethod< TImage >::GetBSplineTransform ( void  ) const

◆ GetTypedTransform() [1/2]

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

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 >
virtual const TransformType* itk::BSplineImageToImageRegistrationMethod< TImage >::GetTypedTransform ( void  ) const
virtual

◆ GradientOptimize()

template<class TImage >
virtual void itk::BSplineImageToImageRegistrationMethod< TImage >::GradientOptimize ( MetricType metric,
InterpolatorType interpolator 
)
protectedvirtual

◆ itkGetConstMacro() [1/3]

template<class TImage >
itk::BSplineImageToImageRegistrationMethod< TImage >::itkGetConstMacro ( ExpectedDeformationMagnitude  ,
double   
)

◆ itkGetConstMacro() [2/3]

template<class TImage >
itk::BSplineImageToImageRegistrationMethod< TImage >::itkGetConstMacro ( NumberOfControlPoints  ,
unsigned  int 
)

◆ itkGetConstMacro() [3/3]

template<class TImage >
itk::BSplineImageToImageRegistrationMethod< TImage >::itkGetConstMacro ( NumberOfLevels  ,
unsigned  int 
)

◆ itkGetMacro()

template<class TImage >
itk::BSplineImageToImageRegistrationMethod< TImage >::itkGetMacro ( GradientOptimizeOnly  ,
bool   
)

◆ itkNewMacro()

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

◆ itkSetClampMacro() [1/2]

template<class TImage >
itk::BSplineImageToImageRegistrationMethod< TImage >::itkSetClampMacro ( NumberOfControlPoints  ,
unsigned  int,
,
2000   
)

◆ itkSetClampMacro() [2/2]

template<class TImage >
itk::BSplineImageToImageRegistrationMethod< TImage >::itkSetClampMacro ( NumberOfLevels  ,
unsigned  int,
,
 
)

◆ itkSetMacro() [1/2]

template<class TImage >
itk::BSplineImageToImageRegistrationMethod< TImage >::itkSetMacro ( ExpectedDeformationMagnitude  ,
double   
)

◆ itkSetMacro() [2/2]

template<class TImage >
itk::BSplineImageToImageRegistrationMethod< TImage >::itkSetMacro ( GradientOptimizeOnly  ,
bool   
)

◆ itkStaticConstMacro()

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

◆ itkTypeMacro()

◆ MultiResolutionOptimize()

template<class TImage >
virtual void itk::BSplineImageToImageRegistrationMethod< TImage >::MultiResolutionOptimize ( MetricType metric,
InterpolatorType interpolator 
)
protectedvirtual

◆ Optimize()

template<class TImage >
void itk::BSplineImageToImageRegistrationMethod< TImage >::Optimize ( MetricType metric,
InterpolatorType interpolator 
)
overrideprotectedvirtual

◆ PrintSelf()

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

◆ ResampleControlGrid()

template<class TImage >
void itk::BSplineImageToImageRegistrationMethod< TImage >::ResampleControlGrid ( int  newNumberOfControlPoints,
ParametersType newParameters 
)

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