ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage > Class Template Reference

#include <itkPointSetToImageRegistrationMethod.h>

+ Inheritance diagram for itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >:
+ Collaboration diagram for itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef DataObject::Pointer DataObjectPointer
typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
typedef
FixedPointSetType::ConstPointer 
FixedPointSetConstPointer
typedef TFixedPointSet FixedPointSetType
typedef InterpolatorType::Pointer InterpolatorPointer
typedef
MetricType::InterpolatorType 
InterpolatorType
typedef MetricType::Pointer MetricPointer
typedef PointSetToImageMetric
< FixedPointSetType,
MovingImageType
MetricType
typedef
MovingImageType::ConstPointer 
MovingImageConstPointer
typedef TMovingImage MovingImageType
typedef
SingleValuedNonLinearOptimizer 
OptimizerType
typedef
MetricType::TransformParametersType 
ParametersType
typedef SmartPointer< SelfPointer
typedef
PointSetToImageRegistrationMethod 
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 Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const ParametersTypeGetInitialTransformParameters ()
virtual const ParametersTypeGetLastTransformParameters ()
unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
const TransformOutputTypeGetOutput () const
void Initialize () throw ( ExceptionObject )
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
virtual void SetInitialTransformParameters (const ParametersType &param)
void StartRegistration (void)
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
virtual const FixedPointSetTypeGetFixedPointSet ()
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 ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

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

Private Member Functions

void operator= (const Self &)
 PointSetToImageRegistrationMethod (const Self &)

Private Attributes

FixedPointSetConstPointer m_FixedPointSet
ParametersType m_InitialTransformParameters
InterpolatorPointer m_Interpolator
ParametersType m_LastTransformParameters
MetricPointer m_Metric
MovingImageConstPointer m_MovingImage
OptimizerType::Pointer m_Optimizer
TransformPointer m_Transform

Detailed Description

template<typename TFixedPointSet, typename TMovingImage>
class itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >

Base class for PointSet to Image Registration Methods.

This Class define the generic interface for a registration method.

This class is templated over the type of the PointSet and the 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 PointSet and the Image. 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 PointSet with Images provide a single value as output.

The terms : FixedPointSet and MovingImage are used in this class to indicate that the image is being mapped by the transform.

This class uses the coordinate system of the Fixed PointSet as a reference and searchs for a Transform that will map points from the space of the Fixed PointSet 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 64 of file itkPointSetToImageRegistrationMethod.h.


Member Typedef Documentation

template<typename TFixedPointSet , typename TMovingImage >
typedef SmartPointer< const Self > itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::ConstPointer

Reimplemented from itk::ProcessObject.

Definition at line 71 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef DataObject::Pointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::DataObjectPointer

Smart Pointer type to a DataObject.

Reimplemented from itk::ProcessObject.

Definition at line 113 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef ProcessObject::DataObjectPointerArraySizeType itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::DataObjectPointerArraySizeType

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

Reimplemented from itk::ProcessObject.

Definition at line 166 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef FixedPointSetType::ConstPointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::FixedPointSetConstPointer

Definition at line 81 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef TFixedPointSet itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::FixedPointSetType

Type of the Fixed PointSet.

Definition at line 77 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef InterpolatorType::Pointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::InterpolatorPointer

Definition at line 103 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef MetricType::InterpolatorType itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::InterpolatorType

Type of the Interpolator.

Definition at line 102 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef MetricType::Pointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::MetricPointer

Definition at line 89 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef PointSetToImageMetric< FixedPointSetType, MovingImageType > itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::MetricType

Type of the metric.

Definition at line 88 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef MovingImageType::ConstPointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::MovingImageConstPointer

Definition at line 85 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef TMovingImage itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::MovingImageType

Type of the Moving image.

Definition at line 84 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef SingleValuedNonLinearOptimizer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::OptimizerType

Type of the optimizer.

Definition at line 106 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef MetricType::TransformParametersType itk::PointSetToImageRegistrationMethod< TFixedPointSet, 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 110 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef SmartPointer< Self > itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::Pointer

Reimplemented from itk::ProcessObject.

Definition at line 70 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef PointSetToImageRegistrationMethod itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::Self

Standard class typedefs.

Reimplemented from itk::ProcessObject.

Definition at line 68 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef ProcessObject itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::Superclass

Reimplemented from itk::ProcessObject.

Definition at line 69 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef TransformOutputType::ConstPointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::TransformOutputConstPointer

Definition at line 99 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef TransformOutputType::Pointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::TransformOutputPointer

Definition at line 98 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef DataObjectDecorator< TransformType > itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::TransformOutputType

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

Definition at line 97 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef TransformType::Pointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::TransformPointer

Definition at line 93 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
typedef MetricType::TransformType itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::TransformType

Type of the Transform .

Definition at line 92 of file itkPointSetToImageRegistrationMethod.h.


Constructor & Destructor Documentation

template<typename TFixedPointSet , typename TMovingImage >
itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::PointSetToImageRegistrationMethod ( ) [protected]
template<typename TFixedPointSet , typename TMovingImage >
virtual itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::~PointSetToImageRegistrationMethod ( ) [inline, protected, virtual]

Definition at line 176 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::PointSetToImageRegistrationMethod ( const Self ) [private]

Member Function Documentation

template<typename TFixedPointSet , typename TMovingImage >
virtual::itk::LightObject::Pointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::CreateAnother ( void  ) 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 TFixedPointSet , typename TMovingImage >
void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GenerateData ( ) [protected, virtual]

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

Reimplemented from itk::ProcessObject.

template<typename TFixedPointSet , typename TMovingImage >
virtual const FixedPointSetType* itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetFixedPointSet ( ) [virtual]

Set/Get the Fixed image.

template<typename TFixedPointSet , typename TMovingImage >
virtual const ParametersType& itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetInitialTransformParameters ( ) [virtual]
template<typename TFixedPointSet , typename TMovingImage >
virtual InterpolatorType* itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetInterpolator ( ) [virtual]

Set/Get the Interpolator.

template<typename TFixedPointSet , typename TMovingImage >
virtual const ParametersType& itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetLastTransformParameters ( ) [virtual]

Get the last transformation parameters visited by the optimizer.

template<typename TFixedPointSet , typename TMovingImage >
virtual MetricType* itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetMetric ( ) [virtual]

Set/Get the Metric.

template<typename TFixedPointSet , typename TMovingImage >
virtual const MovingImageType* itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetMovingImage ( ) [virtual]

Set/Get the Moving image.

template<typename TFixedPointSet , typename TMovingImage >
unsigned long itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetMTime ( ) const [virtual]

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

Reimplemented from itk::Object.

template<typename TFixedPointSet , typename TMovingImage >
virtual const char* itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

template<typename TFixedPointSet , typename TMovingImage >
virtual OptimizerType* itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetOptimizer ( ) [virtual]

Set/Get the Optimizer.

template<typename TFixedPointSet , typename TMovingImage >
const TransformOutputType* itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetOutput ( ) const

Returns the transform resulting from the registration process

template<typename TFixedPointSet , typename TMovingImage >
virtual TransformType* itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::GetTransform ( ) [virtual]

Set/Get the Transfrom.

template<typename TFixedPointSet , typename TMovingImage >
void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::Initialize ( ) throw ( ExceptionObject )

Initialize by setting the interconnects between the components.

template<typename TFixedPointSet , typename TMovingImage >
virtual DataObjectPointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::MakeOutput ( DataObjectPointerArraySizeType  idx) [virtual]

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 TFixedPointSet , typename TMovingImage >
static Pointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

template<typename TFixedPointSet , typename TMovingImage >
void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::operator= ( const Self ) [private]

Time when GenerateOutputInformation was last called.

Reimplemented from itk::ProcessObject.

template<typename TFixedPointSet , typename TMovingImage >
void itk::PointSetToImageRegistrationMethod< TFixedPointSet, 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 TFixedPointSet , typename TMovingImage >
virtual void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::SetFixedPointSet ( const FixedPointSetType _arg) [virtual]

Set/Get the Fixed image.

template<typename TFixedPointSet , typename TMovingImage >
virtual void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::SetInitialTransformParameters ( const ParametersType param) [virtual]

Set/Get the initial transformation parameters.

template<typename TFixedPointSet , typename TMovingImage >
virtual void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::SetInterpolator ( InterpolatorType _arg) [virtual]

Set/Get the Interpolator.

template<typename TFixedPointSet , typename TMovingImage >
virtual void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::SetMetric ( MetricType _arg) [virtual]

Set/Get the Metric.

template<typename TFixedPointSet , typename TMovingImage >
virtual void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::SetMovingImage ( const MovingImageType _arg) [virtual]

Set/Get the Moving image.

template<typename TFixedPointSet , typename TMovingImage >
virtual void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::SetOptimizer ( OptimizerType _arg) [virtual]

Set/Get the Optimizer.

template<typename TFixedPointSet , typename TMovingImage >
virtual void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::SetTransform ( TransformType _arg) [virtual]

Set/Get the Transfrom.

template<typename TFixedPointSet , typename TMovingImage >
void itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::StartRegistration ( void  )

Method that initiates the registration.


Member Data Documentation

template<typename TFixedPointSet , typename TMovingImage >
FixedPointSetConstPointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::m_FixedPointSet [private]

Definition at line 191 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
ParametersType itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::m_InitialTransformParameters [private]

Definition at line 196 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
InterpolatorPointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::m_Interpolator [private]

Definition at line 194 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
ParametersType itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::m_LastTransformParameters [private]

Definition at line 197 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
MetricPointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::m_Metric [private]

Definition at line 187 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
MovingImageConstPointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::m_MovingImage [private]

Definition at line 190 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
OptimizerType::Pointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::m_Optimizer [private]

Definition at line 188 of file itkPointSetToImageRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingImage >
TransformPointer itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::m_Transform [private]

Definition at line 193 of file itkPointSetToImageRegistrationMethod.h.


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