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

#include <itkPointSetToPointSetMetric.h>

+ Inheritance diagram for itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >:
+ Collaboration diagram for itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::ParametersValueType 
CoordinateRepresentationType
typedef Superclass::DerivativeType DerivativeType
typedef
FixedPointSetType::ConstPointer 
FixedPointSetConstPointer
typedef TFixedPointSet FixedPointSetType
typedef
TransformType::InputPointType 
InputPointType
typedef Superclass::MeasureType MeasureType
typedef
MovingPointSetType::ConstPointer 
MovingPointSetConstPointer
typedef TMovingPointSet::PixelType MovingPointSetPixelType
typedef TMovingPointSet MovingPointSetType
typedef
TransformType::OutputPointType 
OutputPointType
typedef Superclass::ParametersType ParametersType
typedef
FixedPointSetType::PointDataContainer::ConstIterator 
PointDataIterator
typedef SmartPointer< SelfPointer
typedef
FixedPointSetType::PointsContainer::ConstIterator 
PointIterator
typedef PointSetToPointSetMetric Self
typedef MultipleValuedCostFunction Superclass
typedef TransformType::JacobianType TransformJacobianType
typedef
TransformType::ParametersType 
TransformParametersType
typedef TransformType::Pointer TransformPointer
typedef Transform
< CoordinateRepresentationType,
itkGetStaticConstMacro(MovingPointSetDimension),
itkGetStaticConstMacro(FixedPointSetDimension) > 
TransformType
- Public Types inherited from itk::MultipleValuedCostFunction
- Public Types inherited from itk::CostFunction
typedef double ParametersValueType
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual const FixedPointSetTypeGetFixedPointSet ()
virtual const MovingPointSetTypeGetMovingPointSet ()
virtual const char * GetNameOfClass () const
unsigned int GetNumberOfParameters (void) const
virtual TransformTypeGetTransform ()
virtual void Initialize (void) throw ( ExceptionObject )
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
virtual void SetMovingPointSet (const MovingPointSetType *_arg)
virtual void SetTransform (TransformType *_arg)
void SetTransformParameters (const ParametersType &parameters) const
- Public Member Functions inherited from itk::MultipleValuedCostFunction
virtual void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const =0
virtual unsigned int GetNumberOfValues (void) const =0
virtual MeasureType GetValue (const ParametersType &parameters) const =0

Static Public Attributes

static const unsigned int MovingPointSetDimension = TMovingPointSet::PointDimension
static const unsigned int FixedPointSetDimension = TFixedPointSet::PointDimension

Protected Member Functions

 PointSetToPointSetMetric ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual ~PointSetToPointSetMetric ()
- Protected Member Functions inherited from itk::MultipleValuedCostFunction
 MultipleValuedCostFunction ()
virtual ~MultipleValuedCostFunction ()
- Protected Member Functions inherited from itk::CostFunction
 CostFunction ()
virtual ~CostFunction ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- 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 ()

Protected Attributes

FixedPointSetConstPointer m_FixedPointSet
MovingPointSetConstPointer m_MovingPointSet
TransformPointer m_Transform

Private Member Functions

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

Detailed Description

template<class TFixedPointSet, class TMovingPointSet>
class itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >

Computes similarity between two point sets.

This Class is templated over the type of the two point-sets. It expects a Transform to be plugged in. This particular class is the base class for a hierarchy of point-set to point-set metrics.

This class computes a value that measures the similarity between the fixed point-set and the transformed moving point-set.

Definition at line 45 of file itkPointSetToPointSetMetric.h.


Member Typedef Documentation

template<class TFixedPointSet , class TMovingPointSet >
typedef SmartPointer< const Self > itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::ConstPointer
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::ParametersValueType itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::CoordinateRepresentationType

Type used for representing point components

Definition at line 56 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::DerivativeType itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::DerivativeType
template<class TFixedPointSet , class TMovingPointSet >
typedef FixedPointSetType::ConstPointer itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetConstPointer
template<class TFixedPointSet , class TMovingPointSet >
typedef TFixedPointSet itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetType

Type of the fixed Pointset.

Reimplemented in itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >.

Definition at line 67 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
typedef TransformType::InputPointType itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::InputPointType

Definition at line 86 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::MeasureType itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MeasureType
template<class TFixedPointSet , class TMovingPointSet >
typedef MovingPointSetType::ConstPointer itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetConstPointer
template<class TFixedPointSet , class TMovingPointSet >
typedef TMovingPointSet::PixelType itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetPixelType

Definition at line 63 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
typedef TMovingPointSet itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetType

Type of the moving Pointset.

Reimplemented in itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >.

Definition at line 59 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
typedef TransformType::OutputPointType itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::OutputPointType

Definition at line 87 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::ParametersType itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::ParametersType

Type of the parameters.

Reimplemented from itk::MultipleValuedCostFunction.

Definition at line 98 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
typedef FixedPointSetType::PointDataContainer::ConstIterator itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PointDataIterator
template<class TFixedPointSet , class TMovingPointSet >
typedef SmartPointer< Self > itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Pointer
template<class TFixedPointSet , class TMovingPointSet >
typedef FixedPointSetType::PointsContainer::ConstIterator itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PointIterator
template<class TFixedPointSet , class TMovingPointSet >
typedef PointSetToPointSetMetric itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Self

Standard class typedefs.

Reimplemented from itk::MultipleValuedCostFunction.

Reimplemented in itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >.

Definition at line 50 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
typedef MultipleValuedCostFunction itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Superclass
template<class TFixedPointSet , class TMovingPointSet >
typedef TransformType::JacobianType itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformJacobianType
template<class TFixedPointSet , class TMovingPointSet >
typedef TransformType::ParametersType itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformParametersType
template<class TFixedPointSet , class TMovingPointSet >
typedef TransformType::Pointer itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformPointer
template<class TFixedPointSet , class TMovingPointSet >
typedef Transform< CoordinateRepresentationType, itkGetStaticConstMacro(MovingPointSetDimension), itkGetStaticConstMacro(FixedPointSetDimension) > itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformType

Constructor & Destructor Documentation

template<class TFixedPointSet , class TMovingPointSet >
itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PointSetToPointSetMetric ( )
protected
template<class TFixedPointSet , class TMovingPointSet >
virtual itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::~PointSetToPointSetMetric ( )
inlineprotectedvirtual

Definition at line 132 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PointSetToPointSetMetric ( const Self )
private

Member Function Documentation

template<class TFixedPointSet , class TMovingPointSet >
virtual const FixedPointSetType* itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetFixedPointSet ( )
virtual

Get the Fixed Pointset.

template<class TFixedPointSet , class TMovingPointSet >
virtual const MovingPointSetType* itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetMovingPointSet ( )
virtual

Get the Moving Pointset.

template<class TFixedPointSet , class TMovingPointSet >
virtual const char* itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MultipleValuedCostFunction.

Reimplemented in itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >.

template<class TFixedPointSet , class TMovingPointSet >
unsigned int itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetNumberOfParameters ( void  ) const
inlinevirtual

Return the number of parameters required by the Transform

Implements itk::CostFunction.

Definition at line 122 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
virtual TransformType* itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetTransform ( )
virtual

Get a pointer to the Transform.

template<class TFixedPointSet , class TMovingPointSet >
virtual void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Initialize ( void  ) throw ( ExceptionObject )
virtual

Initialize the Metric by making sure that all the components are present and plugged together correctly

template<class TFixedPointSet , class TMovingPointSet >
void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::operator= ( const Self )
private

Mutex lock to protect modification to the reference count

Reimplemented from itk::MultipleValuedCostFunction.

Reimplemented in itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >.

template<class TFixedPointSet , class TMovingPointSet >
void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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::CostFunction.

Reimplemented in itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >.

template<class TFixedPointSet , class TMovingPointSet >
virtual void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetFixedPointSet ( const FixedPointSetType _arg)
virtual

Connect the Fixed Pointset.

template<class TFixedPointSet , class TMovingPointSet >
virtual void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetMovingPointSet ( const MovingPointSetType _arg)
virtual

Connect the Moving Pointset.

template<class TFixedPointSet , class TMovingPointSet >
virtual void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetTransform ( TransformType _arg)
virtual

Connect the Transform.

template<class TFixedPointSet , class TMovingPointSet >
void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetTransformParameters ( const ParametersType parameters) const

Set the parameters defining the Transform.


Member Data Documentation

template<class TFixedPointSet , class TMovingPointSet >
const unsigned int itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetDimension = TFixedPointSet::PointDimension
static

Constants for the pointset dimensions

Definition at line 74 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
FixedPointSetConstPointer itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::m_FixedPointSet
protected

Definition at line 135 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
MovingPointSetConstPointer itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::m_MovingPointSet
protected

Definition at line 137 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
TransformPointer itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::m_Transform
mutableprotected

Definition at line 139 of file itkPointSetToPointSetMetric.h.

template<class TFixedPointSet , class TMovingPointSet >
const unsigned int itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetDimension = TMovingPointSet::PointDimension
static

Constants for the pointset dimensions

Definition at line 72 of file itkPointSetToPointSetMetric.h.


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