ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
itk::ImageRegistrationMethod< TFixedImage, TMovingImage > Class Template Reference

#include <itkImageRegistrationMethod.h>

+ Inheritance diagram for itk::ImageRegistrationMethod< TFixedImage, TMovingImage >:
+ Collaboration diagram for itk::ImageRegistrationMethod< TFixedImage, TMovingImage >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using DataObjectPointer = typename DataObject::Pointer
 
using FixedImageConstPointer = typename FixedImageType::ConstPointer
 
using FixedImageRegionType = typename MetricType::FixedImageRegionType
 
using FixedImageType = TFixedImage
 
using InterpolatorPointer = typename InterpolatorType::Pointer
 
using InterpolatorType = typename MetricType::InterpolatorType
 
using MetricPointer = typename MetricType::Pointer
 
using MetricType = ImageToImageMetric< FixedImageType, MovingImageType >
 
using MovingImageConstPointer = typename MovingImageType::ConstPointer
 
using MovingImageType = TMovingImage
 
using OptimizerType = SingleValuedNonLinearOptimizer
 
using ParametersType = typename MetricType::TransformParametersType
 
using Pointer = SmartPointer< Self >
 
using Self = ImageRegistrationMethod
 
using Superclass = ProcessObject
 
using TransformOutputConstPointer = typename TransformOutputType::ConstPointer
 
using TransformOutputPointer = typename TransformOutputType::Pointer
 
using TransformOutputType = DataObjectDecorator< TransformType >
 
using TransformPointer = typename TransformType::Pointer
 
using TransformType = typename MetricType::TransformType
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
using DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType
 
MetricPointer m_Metric
 
OptimizerType::Pointer m_Optimizer
 
MovingImageConstPointer m_MovingImage
 
FixedImageConstPointer m_FixedImage
 
TransformPointer m_Transform
 
InterpolatorPointer m_Interpolator
 
ParametersType m_InitialTransformParameters
 
ParametersType m_LastTransformParameters
 
bool m_FixedImageRegionDefined
 
FixedImageRegionType m_FixedImageRegion
 
void SetFixedImage (const FixedImageType *fixedImage)
 
virtual const FixedImageTypeGetFixedImage () const
 
void SetMovingImage (const MovingImageType *movingImage)
 
virtual const MovingImageTypeGetMovingImage () const
 
virtual void SetOptimizer (OptimizerType *_arg)
 
virtual OptimizerTypeGetModifiableOptimizer ()
 
virtual const OptimizerTypeGetOptimizer () const
 
virtual void SetMetric (MetricType *_arg)
 
virtual MetricTypeGetModifiableMetric ()
 
virtual const MetricTypeGetMetric () const
 
virtual void SetTransform (TransformType *_arg)
 
virtual TransformTypeGetModifiableTransform ()
 
virtual const TransformTypeGetTransform () const
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
virtual InterpolatorTypeGetModifiableInterpolator ()
 
virtual const InterpolatorTypeGetInterpolator () const
 
virtual void SetInitialTransformParameters (const ParametersType &param)
 
virtual const ParametersTypeGetInitialTransformParameters () const
 
virtual const ParametersTypeGetLastTransformParameters () const
 
void SetFixedImageRegion (const FixedImageRegionType &region)
 
virtual const FixedImageRegionTypeGetFixedImageRegion () const
 
virtual bool GetFixedImageRegionDefined () const
 
virtual void SetFixedImageRegionDefined (bool _arg)
 
virtual void Initialize ()
 
const TransformOutputTypeGetOutput () const
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType output) override
 
ModifiedTimeType GetMTime () const override
 
 ImageRegistrationMethod ()
 
 ~ImageRegistrationMethod () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void GenerateData () override
 
virtual void SetLastTransformParameters (ParametersType _arg)
 
void StartOptimization ()
 

Additional Inherited Members

- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PopBackInput ()
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void PopFrontInput ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *object)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *object)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void VerifyInputInformation () ITKv5_CONST
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void GenerateOutputInformation ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 
- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ProcessObject
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TFixedImage, typename TMovingImage>
class itk::ImageRegistrationMethod< TFixedImage, TMovingImage >

Base class for Image Registration Methods.

This Class define the generic interface for a registration method.

This class is templated over the type of the two image to be registered. A generic Transform is used by this class. That allows to select at run time the particular type of transformation that is to be applied for registering the images.

This method use a generic Metric in order to compare the two images. the final goal of the registration method is to find the set of parameters of the Transformation that optimizes the metric.

The registration method also support a generic optimizer that can be selected at run-time. The only restriction for the optimizer is that it should be able to operate in single-valued cost functions given that the metrics used to compare images provide a single value as output.

The terms : Fixed image and Moving image are used in this class to indicate what image is being mapped by the transform.

This class uses the coordinate system of the Fixed image as a reference and searches for a Transform that will map points from the space of the Fixed image to the space of the Moving image.

For doing so, a Metric will be continuously applied to compare the Fixed image with the Transformed Moving image. This process also requires to interpolate values from the Moving image.

ITK Sphinx Examples:
Examples
Examples/RegistrationITKv4/DeformableRegistration13.cxx, Examples/RegistrationITKv4/DeformableRegistration14.cxx, Examples/RegistrationITKv4/DeformableRegistration15.cxx, Examples/RegistrationITKv4/ImageRegistration10.cxx, Examples/RegistrationITKv4/ImageRegistration14.cxx, Examples/RegistrationITKv4/ImageRegistration15.cxx, Examples/RegistrationITKv4/ImageRegistration16.cxx, Examples/RegistrationITKv4/ImageRegistration17.cxx, Examples/RegistrationITKv4/ImageRegistration18.cxx, Examples/RegistrationITKv4/ImageRegistration19.cxx, Examples/RegistrationITKv4/ImageRegistration2.cxx, Examples/RegistrationITKv4/ImageRegistration20.cxx, Examples/RegistrationITKv4/ImageRegistrationHistogramPlotter.cxx, SphinxExamples/src/Core/Transform/GlobalRegistrationTwoImagesAffine/Code.cxx, SphinxExamples/src/Core/Transform/GlobalRegistrationTwoImagesBSpline/Code.cxx, SphinxExamples/src/Core/Transform/MutualInformationAffine/Code.cxx, SphinxExamples/src/Registration/Common/GlobalRegistrationOfTwoImages/Code.cxx, SphinxExamples/src/Registration/Common/MutualInformation/Code.cxx, SphinxExamples/src/Registration/Common/PerformMultiModalityRegistrationWithMutualInformation/Code.cxx, and SphinxExamples/src/Registration/Common/WatchRegistration/Code.cxx.

Definition at line 70 of file itkImageRegistrationMethod.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::ConstPointer = SmartPointer<const Self>

Definition at line 79 of file itkImageRegistrationMethod.h.

◆ DataObjectPointer

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::DataObjectPointer = typename DataObject::Pointer

Smart Pointer type to a DataObject.

Definition at line 122 of file itkImageRegistrationMethod.h.

◆ DataObjectPointerArraySizeType

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType

Make a DataObject of the correct type to be used as the specified output.

Definition at line 202 of file itkImageRegistrationMethod.h.

◆ FixedImageConstPointer

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageConstPointer = typename FixedImageType::ConstPointer

Definition at line 89 of file itkImageRegistrationMethod.h.

◆ FixedImageRegionType

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageRegionType = typename MetricType::FixedImageRegionType

Definition at line 98 of file itkImageRegistrationMethod.h.

◆ FixedImageType

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageType = TFixedImage

Type of the Fixed image.

Definition at line 88 of file itkImageRegistrationMethod.h.

◆ InterpolatorPointer

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::InterpolatorPointer = typename InterpolatorType::Pointer

Definition at line 112 of file itkImageRegistrationMethod.h.

◆ InterpolatorType

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::InterpolatorType = typename MetricType::InterpolatorType

Type of the Interpolator.

Definition at line 111 of file itkImageRegistrationMethod.h.

◆ MetricPointer

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::MetricPointer = typename MetricType::Pointer

Definition at line 97 of file itkImageRegistrationMethod.h.

◆ MetricType

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::MetricType = ImageToImageMetric<FixedImageType, MovingImageType>

Type of the metric.

Definition at line 96 of file itkImageRegistrationMethod.h.

◆ MovingImageConstPointer

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImageConstPointer = typename MovingImageType::ConstPointer

Definition at line 93 of file itkImageRegistrationMethod.h.

◆ MovingImageType

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImageType = TMovingImage

Type of the Moving image.

Definition at line 92 of file itkImageRegistrationMethod.h.

◆ OptimizerType

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::OptimizerType = SingleValuedNonLinearOptimizer

Type of the optimizer.

Definition at line 115 of file itkImageRegistrationMethod.h.

◆ ParametersType

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::ParametersType = typename MetricType::TransformParametersType

Type of the Transformation parameters This is the same type used to represent the search space of the optimization algorithm

Definition at line 119 of file itkImageRegistrationMethod.h.

◆ Pointer

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::Pointer = SmartPointer<Self>

Definition at line 78 of file itkImageRegistrationMethod.h.

◆ Self

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::Self = ImageRegistrationMethod

Standard class type aliases.

Definition at line 76 of file itkImageRegistrationMethod.h.

◆ Superclass

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::Superclass = ProcessObject

Definition at line 77 of file itkImageRegistrationMethod.h.

◆ TransformOutputConstPointer

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputConstPointer = typename TransformOutputType::ConstPointer

Definition at line 108 of file itkImageRegistrationMethod.h.

◆ TransformOutputPointer

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputPointer = typename TransformOutputType::Pointer

Definition at line 107 of file itkImageRegistrationMethod.h.

◆ TransformOutputType

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputType = DataObjectDecorator<TransformType>

Type for the output: Using Decorator pattern for enabling the Transform to be passed in the data pipeline

Definition at line 106 of file itkImageRegistrationMethod.h.

◆ TransformPointer

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::TransformPointer = typename TransformType::Pointer

Definition at line 102 of file itkImageRegistrationMethod.h.

◆ TransformType

template<typename TFixedImage , typename TMovingImage >
using itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::TransformType = typename MetricType::TransformType

Type of the Transform .

Definition at line 101 of file itkImageRegistrationMethod.h.

Constructor & Destructor Documentation

◆ ImageRegistrationMethod()

template<typename TFixedImage , typename TMovingImage >
itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::ImageRegistrationMethod ( )
protected

Make a DataObject of the correct type to be used as the specified output.

◆ ~ImageRegistrationMethod()

template<typename TFixedImage , typename TMovingImage >
itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::~ImageRegistrationMethod ( )
overrideprotecteddefault

Make a DataObject of the correct type to be used as the specified output.

Member Function Documentation

◆ CreateAnother()

template<typename TFixedImage , typename TMovingImage >
virtual::itk::LightObject::Pointer itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::CreateAnother ( ) const
virtual

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.

◆ GenerateData()

template<typename TFixedImage , typename TMovingImage >
void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GenerateData ( )
overrideprotectedvirtual

Method invoked by the pipeline in order to trigger the computation of the registration.

Reimplemented from itk::ProcessObject.

◆ GetFixedImage()

template<typename TFixedImage , typename TMovingImage >
virtual const FixedImageType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetFixedImage ( ) const
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ GetFixedImageRegion()

template<typename TFixedImage , typename TMovingImage >
virtual const FixedImageRegionType& itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetFixedImageRegion ( ) const
virtual

Get the region of the fixed image to be considered as region of interest during the registration. This region will be passed to the ImageMetric in order to restrict the metric computation to consider only this region.

◆ GetFixedImageRegionDefined()

template<typename TFixedImage , typename TMovingImage >
virtual bool itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetFixedImageRegionDefined ( ) const
virtual

True if a region has been defined for the fixed image to which the ImageMetric will limit its computation

◆ GetInitialTransformParameters()

template<typename TFixedImage , typename TMovingImage >
virtual const ParametersType& itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetInitialTransformParameters ( ) const
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ GetInterpolator()

template<typename TFixedImage , typename TMovingImage >
virtual const InterpolatorType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetInterpolator ( ) const
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ GetLastTransformParameters()

template<typename TFixedImage , typename TMovingImage >
virtual const ParametersType& itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetLastTransformParameters ( ) const
virtual

Get the last transformation parameters visited by the optimizer.

◆ GetMetric()

template<typename TFixedImage , typename TMovingImage >
virtual const MetricType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetMetric ( ) const
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ GetModifiableInterpolator()

template<typename TFixedImage , typename TMovingImage >
virtual InterpolatorType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetModifiableInterpolator ( )
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ GetModifiableMetric()

template<typename TFixedImage , typename TMovingImage >
virtual MetricType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetModifiableMetric ( )
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ GetModifiableOptimizer()

template<typename TFixedImage , typename TMovingImage >
virtual OptimizerType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetModifiableOptimizer ( )
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ GetModifiableTransform()

template<typename TFixedImage , typename TMovingImage >
virtual TransformType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetModifiableTransform ( )
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ GetMovingImage()

template<typename TFixedImage , typename TMovingImage >
virtual const MovingImageType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetMovingImage ( ) const
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ GetMTime()

template<typename TFixedImage , typename TMovingImage >
ModifiedTimeType itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetMTime ( ) const
overridevirtual

Method to return the latest modified time of this object or any of its cached ivars

Reimplemented from itk::Object.

◆ GetNameOfClass()

template<typename TFixedImage , typename TMovingImage >
virtual const char* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

◆ GetOptimizer()

template<typename TFixedImage , typename TMovingImage >
virtual const OptimizerType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetOptimizer ( ) const
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ GetOutput()

template<typename TFixedImage , typename TMovingImage >
const TransformOutputType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetOutput ( ) const

Returns the transform resulting from the registration process

◆ GetTransform()

template<typename TFixedImage , typename TMovingImage >
virtual const TransformType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetTransform ( ) const
virtual

Make a DataObject of the correct type to be used as the specified output.

◆ Initialize()

template<typename TFixedImage , typename TMovingImage >
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::Initialize ( )
virtual

Initialize by setting the interconnects between the components.

◆ MakeOutput()

template<typename TFixedImage , typename TMovingImage >
DataObjectPointer itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::MakeOutput ( DataObjectPointerArraySizeType  output)
overridevirtual

Make a DataObject of the correct type to be used as the specified output.

Reimplemented from itk::ProcessObject.

◆ New()

template<typename TFixedImage , typename TMovingImage >
static Pointer itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TFixedImage , typename TMovingImage >
void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Make a DataObject of the correct type to be used as the specified output.

Reimplemented from itk::ProcessObject.

◆ SetFixedImage()

template<typename TFixedImage , typename TMovingImage >
void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImage ( const FixedImageType fixedImage)

Set/Get the Fixed image.

◆ SetFixedImageRegion()

template<typename TFixedImage , typename TMovingImage >
void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImageRegion ( const FixedImageRegionType region)

Set the region of the fixed image to be considered as region of interest during the registration. This region will be passed to the ImageMetric in order to restrict the metric computation to consider only this region.

Warning
The same region can also be set directly into the metric. please avoid to set the region in both places since this can lead to inconsistent configurations.

◆ SetFixedImageRegionDefined()

template<typename TFixedImage , typename TMovingImage >
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImageRegionDefined ( bool  _arg)
virtual

Turn on/off the use of a fixed image region to which the ImageMetric will limit its computation.

Warning
The region must have been previously defined using the SetFixedImageRegion member function

◆ SetInitialTransformParameters()

template<typename TFixedImage , typename TMovingImage >
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetInitialTransformParameters ( const ParametersType param)
virtual

Set/Get the initial transformation parameters.

◆ SetInterpolator()

template<typename TFixedImage , typename TMovingImage >
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetInterpolator ( InterpolatorType _arg)
virtual

Set/Get the Interpolator.

◆ SetLastTransformParameters()

template<typename TFixedImage , typename TMovingImage >
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetLastTransformParameters ( ParametersType  _arg)
protectedvirtual

Provides derived classes with the ability to set this private var

◆ SetMetric()

template<typename TFixedImage , typename TMovingImage >
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetMetric ( MetricType _arg)
virtual

Set/Get the Metric.

◆ SetMovingImage()

template<typename TFixedImage , typename TMovingImage >
void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetMovingImage ( const MovingImageType movingImage)

Set/Get the Moving image.

◆ SetOptimizer()

template<typename TFixedImage , typename TMovingImage >
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetOptimizer ( OptimizerType _arg)
virtual

Set/Get the Optimizer.

◆ SetTransform()

template<typename TFixedImage , typename TMovingImage >
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetTransform ( TransformType _arg)
virtual

Set/Get the Transfrom.

◆ StartOptimization()

template<typename TFixedImage , typename TMovingImage >
void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::StartOptimization ( )
protected

Make a DataObject of the correct type to be used as the specified output.

Member Data Documentation

◆ m_FixedImage

template<typename TFixedImage , typename TMovingImage >
FixedImageConstPointer itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::m_FixedImage
private

Make a DataObject of the correct type to be used as the specified output.

Definition at line 234 of file itkImageRegistrationMethod.h.

◆ m_FixedImageRegion

template<typename TFixedImage , typename TMovingImage >
FixedImageRegionType itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::m_FixedImageRegion
private

Make a DataObject of the correct type to be used as the specified output.

Definition at line 243 of file itkImageRegistrationMethod.h.

◆ m_FixedImageRegionDefined

template<typename TFixedImage , typename TMovingImage >
bool itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::m_FixedImageRegionDefined
private

Make a DataObject of the correct type to be used as the specified output.

Definition at line 242 of file itkImageRegistrationMethod.h.

◆ m_InitialTransformParameters

template<typename TFixedImage , typename TMovingImage >
ParametersType itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::m_InitialTransformParameters
private

Make a DataObject of the correct type to be used as the specified output.

Definition at line 239 of file itkImageRegistrationMethod.h.

◆ m_Interpolator

template<typename TFixedImage , typename TMovingImage >
InterpolatorPointer itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::m_Interpolator
private

Make a DataObject of the correct type to be used as the specified output.

Definition at line 237 of file itkImageRegistrationMethod.h.

◆ m_LastTransformParameters

template<typename TFixedImage , typename TMovingImage >
ParametersType itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::m_LastTransformParameters
private

Make a DataObject of the correct type to be used as the specified output.

Definition at line 240 of file itkImageRegistrationMethod.h.

◆ m_Metric

template<typename TFixedImage , typename TMovingImage >
MetricPointer itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::m_Metric
private

Make a DataObject of the correct type to be used as the specified output.

Definition at line 230 of file itkImageRegistrationMethod.h.

◆ m_MovingImage

template<typename TFixedImage , typename TMovingImage >
MovingImageConstPointer itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::m_MovingImage
private

Make a DataObject of the correct type to be used as the specified output.

Definition at line 233 of file itkImageRegistrationMethod.h.

◆ m_Optimizer

template<typename TFixedImage , typename TMovingImage >
OptimizerType::Pointer itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::m_Optimizer
private

Make a DataObject of the correct type to be used as the specified output.

Definition at line 231 of file itkImageRegistrationMethod.h.

◆ m_Transform

template<typename TFixedImage , typename TMovingImage >
TransformPointer itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::m_Transform
private

Make a DataObject of the correct type to be used as the specified output.

Definition at line 236 of file itkImageRegistrationMethod.h.


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