ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | 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 >:

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 searchs 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.

Wiki Examples:
Examples:
Examples/RegistrationITKv3/DeformableRegistration12.cxx, Examples/RegistrationITKv3/DeformableRegistration13.cxx, Examples/RegistrationITKv3/DeformableRegistration14.cxx, Examples/RegistrationITKv3/DeformableRegistration15.cxx, Examples/RegistrationITKv3/DeformableRegistration4.cxx, Examples/RegistrationITKv3/DeformableRegistration6.cxx, Examples/RegistrationITKv3/DeformableRegistration7.cxx, Examples/RegistrationITKv3/DeformableRegistration8.cxx, Examples/RegistrationITKv3/ImageRegistration1.cxx, Examples/RegistrationITKv3/ImageRegistration10.cxx, Examples/RegistrationITKv3/ImageRegistration11.cxx, Examples/RegistrationITKv3/ImageRegistration12.cxx, Examples/RegistrationITKv3/ImageRegistration13.cxx, Examples/RegistrationITKv3/ImageRegistration14.cxx, Examples/RegistrationITKv3/ImageRegistration15.cxx, Examples/RegistrationITKv3/ImageRegistration16.cxx, Examples/RegistrationITKv3/ImageRegistration17.cxx, Examples/RegistrationITKv3/ImageRegistration18.cxx, Examples/RegistrationITKv3/ImageRegistration19.cxx, Examples/RegistrationITKv3/ImageRegistration2.cxx, Examples/RegistrationITKv3/ImageRegistration20.cxx, Examples/RegistrationITKv3/ImageRegistration3.cxx, Examples/RegistrationITKv3/ImageRegistration4.cxx, Examples/RegistrationITKv3/ImageRegistration5.cxx, Examples/RegistrationITKv3/ImageRegistration6.cxx, Examples/RegistrationITKv3/ImageRegistration7.cxx, Examples/RegistrationITKv3/ImageRegistration8.cxx, Examples/RegistrationITKv3/ImageRegistration9.cxx, Examples/RegistrationITKv3/ImageRegistrationHistogramPlotter.cxx, 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/Registration/Common/PerformMultiModalityRegistrationWithMutualInformation/Code.cxx, WikiExamples/Registration/ImageRegistrationMethod.cxx, WikiExamples/Registration/ImageRegistrationMethodAffine.cxx, WikiExamples/Registration/ImageRegistrationMethodBSpline.cxx, WikiExamples/Registration/MutualInformation.cxx, WikiExamples/Registration/MutualInformationAffine.cxx, and WikiExamples/Registration/WatchRegistration.cxx.

Definition at line 70 of file itkImageRegistrationMethod.h.

Public Types

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

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const
FixedImageRegionType
GetFixedImageRegion () const
 
virtual bool GetFixedImageRegionDefined () const
 
virtual const ParametersTypeGetInitialTransformParameters () const
 
virtual const ParametersTypeGetLastTransformParameters () const
 
virtual ModifiedTimeType GetMTime () const override
 
virtual const char * GetNameOfClass () const
 
const TransformOutputTypeGetOutput () const
 
virtual void Initialize ()
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
void SetFixedImageRegion (const FixedImageRegionType &region)
 
virtual void SetFixedImageRegionDefined (bool _arg)
 
virtual void SetInitialTransformParameters (const ParametersType &param)
 
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
 
- 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 ()
 
MultiThreaderTypeGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
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)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
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 SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) 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
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
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 flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

virtual void GenerateData () override
 
 ImageRegistrationMethod ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetLastTransformParameters (ParametersType _arg)
 
void StartOptimization ()
 
virtual ~ImageRegistrationMethod () override
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object () override
 
- 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 ()
 

Private Attributes

FixedImageConstPointer m_FixedImage
 
FixedImageRegionType m_FixedImageRegion
 
bool m_FixedImageRegionDefined
 
ParametersType m_InitialTransformParameters
 
InterpolatorPointer m_Interpolator
 
ParametersType m_LastTransformParameters
 
MetricPointer m_Metric
 
MovingImageConstPointer m_MovingImage
 
OptimizerType::Pointer m_Optimizer
 
TransformPointer m_Transform
 

Additional Inherited Members

- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

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

Definition at line 77 of file itkImageRegistrationMethod.h.

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

Smart Pointer type to a DataObject.

Definition at line 120 of file itkImageRegistrationMethod.h.

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

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

Definition at line 194 of file itkImageRegistrationMethod.h.

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

Definition at line 87 of file itkImageRegistrationMethod.h.

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

Definition at line 96 of file itkImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage >
typedef TFixedImage itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageType

Type of the Fixed image.

Definition at line 83 of file itkImageRegistrationMethod.h.

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

Definition at line 110 of file itkImageRegistrationMethod.h.

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

Type of the Interpolator.

Definition at line 109 of file itkImageRegistrationMethod.h.

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

Definition at line 95 of file itkImageRegistrationMethod.h.

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

Type of the metric.

Definition at line 94 of file itkImageRegistrationMethod.h.

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

Definition at line 91 of file itkImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage >
typedef TMovingImage itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImageType

Type of the Moving image.

Definition at line 90 of file itkImageRegistrationMethod.h.

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

Type of the optimizer.

Definition at line 113 of file itkImageRegistrationMethod.h.

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

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

Definition at line 117 of file itkImageRegistrationMethod.h.

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

Definition at line 76 of file itkImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage >
typedef ImageRegistrationMethod itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::Self

Standard class typedefs.

Definition at line 74 of file itkImageRegistrationMethod.h.

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

Definition at line 75 of file itkImageRegistrationMethod.h.

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

Definition at line 106 of file itkImageRegistrationMethod.h.

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

Definition at line 105 of file itkImageRegistrationMethod.h.

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

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

Definition at line 104 of file itkImageRegistrationMethod.h.

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

Definition at line 100 of file itkImageRegistrationMethod.h.

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

Type of the Transform .

Definition at line 99 of file itkImageRegistrationMethod.h.

Constructor & Destructor Documentation

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

Definition at line 223 of file itkImageRegistrationMethod.h.

Member Function Documentation

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.

template<typename TFixedImage , typename TMovingImage >
virtual 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.

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

Set/Get the Fixed image.

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.

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

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

Set/Get the Interpolator.

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

Get the last transformation parameters visited by the optimizer.

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

Set/Get the Metric.

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

Set/Get the Interpolator.

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

Set/Get the Metric.

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

Set/Get the Optimizer.

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

Set/Get the Transfrom.

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

Set/Get the Moving image.

template<typename TFixedImage , typename TMovingImage >
virtual 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.

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.

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

Set/Get the Optimizer.

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

Returns the transform resulting from the registration process

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

Set/Get the Transfrom.

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

Initialize by setting the interconnects between the components.

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

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

Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().

Reimplemented from itk::ProcessObject.

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

Method for creation through the object factory.

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

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ProcessObject.

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

Set/Get the Fixed image.

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.
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
template<typename TFixedImage , typename TMovingImage >
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetInitialTransformParameters ( const ParametersType param)
virtual

Set/Get the initial transformation parameters.

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

Set/Get the Interpolator.

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

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

Set/Get the Metric.

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

Set/Get the Moving image.

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

Set/Get the Optimizer.

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

Set/Get the Transfrom.

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

Member Data Documentation

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

Definition at line 242 of file itkImageRegistrationMethod.h.

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

Definition at line 251 of file itkImageRegistrationMethod.h.

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

Definition at line 250 of file itkImageRegistrationMethod.h.

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

Definition at line 247 of file itkImageRegistrationMethod.h.

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

Definition at line 245 of file itkImageRegistrationMethod.h.

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

Definition at line 248 of file itkImageRegistrationMethod.h.

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

Definition at line 236 of file itkImageRegistrationMethod.h.

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

Definition at line 241 of file itkImageRegistrationMethod.h.

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

Definition at line 239 of file itkImageRegistrationMethod.h.

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

Definition at line 244 of file itkImageRegistrationMethod.h.


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