Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ImageRegistrationMethod< TFixedImage, TMovingImage > Class Template Reference
[Registration Filters]

Base class for Image Registration Methods. More...

#include <itkImageRegistrationMethod.h>

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

Inheritance graph
[legend]
Collaboration diagram for itk::ImageRegistrationMethod< TFixedImage, TMovingImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ImageRegistrationMethod Self
typedef ProcessObject Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TFixedImage FixedImageType
typedef FixedImageType::ConstPointer FixedImageConstPointer
typedef TMovingImage MovingImageType
typedef MovingImageType::ConstPointer MovingImageConstPointer
typedef ImageToImageMetric<
FixedImageType, MovingImageType
MetricType
typedef MetricType::Pointer MetricPointer
typedef MetricType::FixedImageRegionType FixedImageRegionType
typedef MetricType::TransformType TransformType
typedef TransformType::Pointer TransformPointer
typedef MetricType::InterpolatorType InterpolatorType
typedef InterpolatorType::Pointer InterpolatorPointer
typedef SingleValuedNonLinearOptimizer OptimizerType
typedef MetricType::TransformParametersType ParametersType

Public Member Functions

virtual const char * GetClassName () const
void StartRegistration (void)
virtual const ParametersTypeGetLastTransformParameters ()
void SetFixedImageRegion (const FixedImageRegionType &region)
virtual const FixedImageRegionTypeGetFixedImageRegion ()
virtual bool GetFixedImageRegionDefined ()
virtual void SetFixedImageRegionDefined (bool _arg)
virtual void Initialize () throw (ExceptionObject)
virtual void SetFixedImage (const FixedImageType *_arg)
virtual const FixedImageTypeGetFixedImage ()
virtual void SetMovingImage (const MovingImageType *_arg)
virtual const MovingImageTypeGetMovingImage ()
virtual void SetOptimizer (OptimizerType *_arg)
virtual OptimizerTypeGetOptimizer ()
virtual void SetMetric (MetricType *_arg)
virtual MetricTypeGetMetric ()
virtual void SetTransform (TransformType *_arg)
virtual TransformTypeGetTransform ()
virtual void SetInterpolator (InterpolatorType *_arg)
virtual InterpolatorTypeGetInterpolator ()
virtual void SetInitialTransformParameters (const ParametersType &param)
virtual const ParametersTypeGetInitialTransformParameters ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 ImageRegistrationMethod ()
virtual ~ImageRegistrationMethod ()
void PrintSelf (std::ostream &os, Indent indent) const

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 continously applied to compare the Fixed image with the Transformed Moving image. This process also requires to interpolate values from the Moving image.

Definition at line 62 of file itkImageRegistrationMethod.h.


Member Typedef Documentation

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

Reimplemented from itk::ProcessObject.

Definition at line 69 of file itkImageRegistrationMethod.h.

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

Definition at line 79 of file itkImageRegistrationMethod.h.

Referenced by itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::~ImageRegistrationMethod().

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

Definition at line 89 of file itkImageRegistrationMethod.h.

Referenced by itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::~ImageRegistrationMethod().

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

Type of the Fixed image. Definition at line 78 of file itkImageRegistrationMethod.h.

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

Definition at line 97 of file itkImageRegistrationMethod.h.

Referenced by itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::~ImageRegistrationMethod().

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

Type of the Interpolator. Definition at line 96 of file itkImageRegistrationMethod.h.

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

Definition at line 88 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 87 of file itkImageRegistrationMethod.h.

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

Definition at line 83 of file itkImageRegistrationMethod.h.

Referenced by itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::~ImageRegistrationMethod().

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

Type of the Moving image. Definition at line 82 of file itkImageRegistrationMethod.h.

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

Type of the optimizer. Definition at line 100 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 104 of file itkImageRegistrationMethod.h.

Referenced by itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::~ImageRegistrationMethod().

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

Reimplemented from itk::ProcessObject.

Definition at line 68 of file itkImageRegistrationMethod.h.

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

Standard class typedefs.

Reimplemented from itk::ProcessObject.

Definition at line 66 of file itkImageRegistrationMethod.h.

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

Reimplemented from itk::ProcessObject.

Definition at line 67 of file itkImageRegistrationMethod.h.

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

Definition at line 93 of file itkImageRegistrationMethod.h.

Referenced by itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::~ImageRegistrationMethod().

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

Type of the Transform . Definition at line 92 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  )  [inline, protected, virtual]
 

Definition at line 178 of file itkImageRegistrationMethod.h.

References itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageConstPointer, itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageRegionType, itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::InterpolatorPointer, itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImageConstPointer, itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::ParametersType, and itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::TransformPointer.


Member Function Documentation

template<typename TFixedImage, typename TMovingImage>
virtual const char* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

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

Set/Get the Fixed image.

template<typename TFixedImage, typename TMovingImage>
virtual const FixedImageRegionType& itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetFixedImageRegion  )  [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  )  [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  )  [virtual]
 

Set/Get the initial transformation parameters.

template<typename TFixedImage, typename TMovingImage>
virtual InterpolatorType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetInterpolator  )  [virtual]
 

Set/Get the Interpolator.

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

Get the last transformation parameters visited by the optimizer.

template<typename TFixedImage, typename TMovingImage>
virtual MetricType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetMetric  )  [virtual]
 

Set/Get the Metric.

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

Set/Get the Moving image.

template<typename TFixedImage, typename TMovingImage>
virtual OptimizerType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetOptimizer  )  [virtual]
 

Set/Get the Optimizer.

template<typename TFixedImage, typename TMovingImage>
virtual TransformType* itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::GetTransform  )  [virtual]
 

Set/Get the Transfrom.

template<typename TFixedImage, typename TMovingImage>
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::Initialize  )  throw (ExceptionObject) [virtual]
 

Initialize by setting the interconnects between the components.

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

Method for creation through the object factory.

Reimplemented from itk::Object.

template<typename TFixedImage, typename TMovingImage>
void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

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>
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImage const FixedImageType _arg  )  [virtual]
 

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 >::SetMetric MetricType _arg  )  [virtual]
 

Set/Get the Metric.

template<typename TFixedImage, typename TMovingImage>
virtual void itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetMovingImage const MovingImageType _arg  )  [virtual]
 

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 >::StartRegistration void   ) 
 

Method that initiates the registration.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:50:23 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000