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

Base class for PointSet to PointSet Registration Methods. More...

#include <itkPointSetToPointSetRegistrationMethod.h>

Inheritance diagram for itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >:
Collaboration diagram for itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >:

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 MetricType::Pointer MetricPointer
typedef
PointSetToPointSetMetric
< FixedPointSetType,
MovingPointSetType
MetricType
typedef
MovingPointSetType::ConstPointer 
MovingPointSetConstPointer
typedef TMovingPointSet MovingPointSetType
typedef
MultipleValuedNonLinearOptimizer 
OptimizerType
typedef
MetricType::TransformParametersType 
ParametersType
typedef SmartPointer< SelfPointer
typedef
PointSetToPointSetRegistrationMethod 
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 SetMovingPointSet (const MovingPointSetType *_arg)
virtual const MovingPointSetTypeGetMovingPointSet ()
virtual void SetOptimizer (OptimizerType *_arg)
virtual OptimizerTypeGetOptimizer ()
virtual void SetMetric (MetricType *_arg)
virtual MetricTypeGetMetric ()
virtual void SetTransform (TransformType *_arg)
virtual TransformTypeGetTransform ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

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

Private Member Functions

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

Private Attributes

FixedPointSetConstPointer m_FixedPointSet
ParametersType m_InitialTransformParameters
ParametersType m_LastTransformParameters
MetricPointer m_Metric
MovingPointSetConstPointer m_MovingPointSet
OptimizerType::Pointer m_Optimizer
TransformPointer m_Transform

Detailed Description

template<typename TFixedPointSet, typename TMovingPointSet>
class itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >

Base class for PointSet to PointSet Registration Methods.

This Class define the generic interface for a registration method.

This class is templated over the type of the PointSet and the PointSet 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 PointSets.

This method use a generic Metric in order to compare the PointSet and the PointSet. 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 PointSets provide a single value as output.

The terms : FixedPointSet and MovingPointSet are used in this class to indicate that the PointSet 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 PointSet.

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

Definition at line 63 of file itkPointSetToPointSetRegistrationMethod.h.


Member Typedef Documentation

template<typename TFixedPointSet , typename TMovingPointSet >
typedef SmartPointer< const Self > itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::ConstPointer

Reimplemented from itk::ProcessObject.

Definition at line 70 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef DataObject::Pointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::DataObjectPointer

Smart Pointer type to a DataObject.

Reimplemented from itk::ProcessObject.

Definition at line 108 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef ProcessObject::DataObjectPointerArraySizeType itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::DataObjectPointerArraySizeType

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

Reimplemented from itk::ProcessObject.

Definition at line 156 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef FixedPointSetType::ConstPointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::FixedPointSetConstPointer

Definition at line 80 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef TFixedPointSet itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::FixedPointSetType

Type of the Fixed PointSet.

Definition at line 76 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef MetricType::Pointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::MetricPointer

Definition at line 88 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef PointSetToPointSetMetric< FixedPointSetType, MovingPointSetType > itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::MetricType

Type of the metric.

Definition at line 87 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef MovingPointSetType::ConstPointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::MovingPointSetConstPointer

Definition at line 84 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef TMovingPointSet itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::MovingPointSetType

Type of the Moving PointSet.

Definition at line 83 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef MultipleValuedNonLinearOptimizer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::OptimizerType

Type of the optimizer.

Definition at line 101 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef MetricType::TransformParametersType itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::ParametersType

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

Definition at line 105 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef SmartPointer< Self > itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::Pointer

Reimplemented from itk::ProcessObject.

Definition at line 69 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef PointSetToPointSetRegistrationMethod itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::Self

Standard class typedefs.

Reimplemented from itk::ProcessObject.

Definition at line 67 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef ProcessObject itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::Superclass

Reimplemented from itk::ProcessObject.

Definition at line 68 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef TransformOutputType::ConstPointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::TransformOutputConstPointer

Definition at line 98 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef TransformOutputType::Pointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::TransformOutputPointer

Definition at line 97 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef DataObjectDecorator< TransformType > itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::TransformOutputType

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

Definition at line 96 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef TransformType::Pointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::TransformPointer

Definition at line 92 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
typedef MetricType::TransformType itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::TransformType

Type of the Transform .

Definition at line 91 of file itkPointSetToPointSetRegistrationMethod.h.


Constructor & Destructor Documentation

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

Definition at line 166 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::PointSetToPointSetRegistrationMethod ( const Self ) [private]

Member Function Documentation

template<typename TFixedPointSet , typename TMovingPointSet >
virtual::itk::LightObject::Pointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::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 TMovingPointSet >
void itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::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 TMovingPointSet >
virtual const FixedPointSetType* itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::GetFixedPointSet ( ) [virtual]

Set/Get the Fixed PointSet.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual const ParametersType& itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::GetInitialTransformParameters ( ) [virtual]
template<typename TFixedPointSet , typename TMovingPointSet >
virtual const ParametersType& itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::GetLastTransformParameters ( ) [virtual]

Get the last transformation parameters visited by the optimizer.

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

Set/Get the Metric.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual const MovingPointSetType* itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::GetMovingPointSet ( ) [virtual]

Set/Get the Moving PointSet.

template<typename TFixedPointSet , typename TMovingPointSet >
unsigned long itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::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 TMovingPointSet >
virtual const char* itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

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

Set/Get the Optimizer.

template<typename TFixedPointSet , typename TMovingPointSet >
const TransformOutputType* itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::GetOutput ( ) const

Returns the transform resulting from the registration process

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

Set/Get the Transfrom.

template<typename TFixedPointSet , typename TMovingPointSet >
void itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::Initialize ( ) throw ( ExceptionObject )

Initialize by setting the interconnects between the components.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual DataObjectPointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::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 TMovingPointSet >
static Pointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

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

Time when GenerateOutputInformation was last called.

Reimplemented from itk::ProcessObject.

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

Set/Get the Fixed PointSet.

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

Set/Get the initial transformation parameters.

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

Set/Get the Metric.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual void itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::SetMovingPointSet ( const MovingPointSetType _arg) [virtual]

Set/Get the Moving PointSet.

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

Set/Get the Optimizer.

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

Set/Get the Transfrom.

template<typename TFixedPointSet , typename TMovingPointSet >
void itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::StartRegistration ( void  )

Method that initiates the registration.


Member Data Documentation

template<typename TFixedPointSet , typename TMovingPointSet >
FixedPointSetConstPointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::m_FixedPointSet [private]

Definition at line 184 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
ParametersType itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::m_InitialTransformParameters [private]

Definition at line 188 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
ParametersType itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::m_LastTransformParameters [private]

Definition at line 189 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
MetricPointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::m_Metric [private]

Definition at line 180 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
MovingPointSetConstPointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::m_MovingPointSet [private]

Definition at line 183 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
OptimizerType::Pointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::m_Optimizer [private]

Definition at line 181 of file itkPointSetToPointSetRegistrationMethod.h.

template<typename TFixedPointSet , typename TMovingPointSet >
TransformPointer itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::m_Transform [private]

Definition at line 186 of file itkPointSetToPointSetRegistrationMethod.h.


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