go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > Class Template Reference

#include <itkSingleValuedPointSetToPointSetMetric.h>

Detailed Description

template<class TFixedPointSet, class TMovingPointSet>
class itk::SingleValuedPointSetToPointSetMetric< 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 62 of file itkSingleValuedPointSetToPointSetMetric.h.

+ Inheritance diagram for itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >:

Public Types

typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::ParametersValueType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
 
typedef FixedImageMaskType::Pointer FixedImageMaskPointer
 
typedef SpatialObject< itkGetStaticConstMacro(FixedPointSetDimension) > FixedImageMaskType
 
typedef FixedPointSetType::ConstPointer FixedPointSetConstPointer
 
typedef FixedPointSetType::PixelType FixedPointSetPixelType
 
typedef TFixedPointSet FixedPointSetType
 
typedef TransformType::InputPointType InputPointType
 
typedef Superclass::MeasureType MeasureType
 
typedef MovingImageMaskType::ConstPointer MovingImageMaskConstPointer
 
typedef MovingImageMaskType::Pointer MovingImageMaskPointer
 
typedef SpatialObject< itkGetStaticConstMacro(MovingPointSetDimension) > MovingImageMaskType
 
typedef MovingPointSetType::ConstPointer MovingPointSetConstPointer
 
typedef MovingPointSetType::PixelType MovingPointSetPixelType
 
typedef TMovingPointSet MovingPointSetType
 
typedef TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef TransformType::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
 
typedef SmartPointer< Self > Pointer
 
typedef FixedPointSetType::PointsContainer::ConstIterator PointIterator
 
typedef SingleValuedPointSetToPointSetMetric Self
 
typedef SingleValuedCostFunction Superclass
 
typedef TransformType::JacobianType TransformJacobianType
 
typedef TransformType::ParametersType TransformParametersType
 
typedef TransformType::Pointer TransformPointer
 
typedef AdvancedTransform< CoordinateRepresentationType, itkGetStaticConstMacro(FixedPointSetDimension), itkGetStaticConstMacro(MovingPointSetDimension) > TransformType
 

Public Member Functions

virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
virtual const char * GetClassName () const
 
virtual const FixedImageMaskType * GetFixedImageMask ()
 
virtual const FixedPointSetType * GetFixedPointSet ()
 
virtual const MovingImageMaskType * GetMovingImageMask ()
 
virtual const MovingPointSetType * GetMovingPointSet ()
 
unsigned int GetNumberOfParameters (void) const
 
virtual const TransformType * GetTransform ()
 
virtual const bool & GetUseMetricSingleThreaded ()
 
virtual void Initialize (void) throw ( ExceptionObject )
 
 itkStaticConstMacro (FixedPointSetDimension, unsigned int, TFixedPointSet::PointDimension)
 
 itkStaticConstMacro (MovingPointSetDimension, unsigned int, TMovingPointSet::PointDimension)
 
virtual void SetFixedImageMask (const FixedImageMaskType *_arg)
 
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
 
virtual void SetMovingImageMask (const MovingImageMaskType *_arg)
 
virtual void SetMovingPointSet (const MovingPointSetType *_arg)
 
virtual void SetTransform (TransformType *_arg)
 
void SetTransformParameters (const ParametersType &parameters) const
 
virtual void SetUseMetricSingleThreaded (bool _arg)
 
virtual void UseMetricSingleThreadedOff ()
 
virtual void UseMetricSingleThreadedOn ()
 

Protected Member Functions

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

Protected Attributes

FixedImageMaskConstPointer m_FixedImageMask
 
FixedPointSetConstPointer m_FixedPointSet
 
MovingImageMaskConstPointer m_MovingImageMask
 
MovingPointSetConstPointer m_MovingPointSet
 
unsigned int m_NumberOfPointsCounted
 
TransformPointer m_Transform
 
bool m_UseMetricSingleThreaded
 

Private Member Functions

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

Member Typedef Documentation

template<class TFixedPointSet, class TMovingPointSet>
typedef SmartPointer< const Self > itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::ConstPointer

Definition at line 71 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef Superclass::ParametersValueType itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::CoordinateRepresentationType

Type used for representing point components

Definition at line 74 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef Superclass::DerivativeType itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::DerivativeType

Definition at line 116 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef DerivativeType::ValueType itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::DerivativeValueType

Definition at line 117 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef FixedImageMaskType::ConstPointer itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedImageMaskConstPointer

Definition at line 108 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef FixedImageMaskType::Pointer itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedImageMaskPointer

Definition at line 107 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef SpatialObject< itkGetStaticConstMacro( FixedPointSetDimension ) > itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedImageMaskType

Definition at line 106 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef FixedPointSetType::ConstPointer itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetConstPointer

Definition at line 82 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef FixedPointSetType::PixelType itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetPixelType

Definition at line 81 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef TFixedPointSet itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetType

Typedefs.

Definition at line 77 of file itkSingleValuedPointSetToPointSetMetric.h.

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

Definition at line 100 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef Superclass::MeasureType itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MeasureType

Type of the measure.

Definition at line 115 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef MovingImageMaskType::ConstPointer itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingImageMaskConstPointer

Definition at line 112 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef MovingImageMaskType::Pointer itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingImageMaskPointer

Definition at line 111 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef SpatialObject< itkGetStaticConstMacro( MovingPointSetDimension ) > itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingImageMaskType

Definition at line 110 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef MovingPointSetType::ConstPointer itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetConstPointer

Definition at line 85 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef MovingPointSetType::PixelType itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetPixelType

Definition at line 84 of file itkSingleValuedPointSetToPointSetMetric.h.

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

Definition at line 83 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef TransformType::NonZeroJacobianIndicesType itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::NonZeroJacobianIndicesType

Typedefs for support of sparse Jacobians and compact support of transformations.

Definition at line 121 of file itkSingleValuedPointSetToPointSetMetric.h.

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

Definition at line 101 of file itkSingleValuedPointSetToPointSetMetric.h.

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

Definition at line 118 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef FixedPointSetType::PointDataContainer::ConstIterator itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PointDataIterator

Definition at line 87 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef SmartPointer< Self > itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Pointer

Definition at line 70 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef FixedPointSetType::PointsContainer::ConstIterator itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PointIterator

Definition at line 86 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef SingleValuedPointSetToPointSetMetric itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Self

Standard class typedefs.

Definition at line 68 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef SingleValuedCostFunction itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Superclass

Definition at line 69 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef TransformType::JacobianType itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformJacobianType

Definition at line 103 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef TransformType::ParametersType itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformParametersType

Definition at line 102 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef TransformType::Pointer itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformPointer

Definition at line 99 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
typedef AdvancedTransform< CoordinateRepresentationType, itkGetStaticConstMacro( FixedPointSetDimension ), itkGetStaticConstMacro( MovingPointSetDimension ) > itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformType

More typedefs.

Definition at line 98 of file itkSingleValuedPointSetToPointSetMetric.h.

Constructor & Destructor Documentation

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

Definition at line 177 of file itkSingleValuedPointSetToPointSetMetric.h.

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

Member Function Documentation

template<class TFixedPointSet, class TMovingPointSet>
virtual void itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::BeforeThreadedGetValueAndDerivative ( const TransformParametersType &  parameters) const
virtual

Contains calls from GetValueAndDerivative that are thread-unsafe.

template<class TFixedPointSet, class TMovingPointSet>
virtual const char* itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetClassName ( ) const
virtual
template<class TFixedPointSet, class TMovingPointSet>
virtual const FixedImageMaskType* itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetFixedImageMask ( )
virtual

Get the fixed mask.

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

Get the fixed pointset.

template<class TFixedPointSet, class TMovingPointSet>
virtual const MovingImageMaskType* itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetMovingImageMask ( )
virtual

Get the moving mask.

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

Get the moving pointset.

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

Return the number of parameters required by the transform.

Definition at line 145 of file itkSingleValuedPointSetToPointSetMetric.h.

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

Get a pointer to the Transform.

template<class TFixedPointSet, class TMovingPointSet>
virtual const bool& itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetUseMetricSingleThreaded ( )
virtual
template<class TFixedPointSet, class TMovingPointSet>
virtual void itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Initialize ( void  )
throw (ExceptionObject
)
virtual
template<class TFixedPointSet, class TMovingPointSet>
itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::itkStaticConstMacro ( FixedPointSetDimension  ,
unsigned  int,
TFixedPointSet::PointDimension   
)

Constants for the pointset dimensions.

template<class TFixedPointSet, class TMovingPointSet>
itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::itkStaticConstMacro ( MovingPointSetDimension  ,
unsigned  int,
TMovingPointSet::PointDimension   
)
template<class TFixedPointSet, class TMovingPointSet>
void itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::operator= ( const Self &  )
private
template<class TFixedPointSet, class TMovingPointSet>
void itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected

PrintSelf.

template<class TFixedPointSet, class TMovingPointSet>
virtual void itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetFixedImageMask ( const FixedImageMaskType *  _arg)
virtual

Set the fixed mask.

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

Connect the fixed pointset.

template<class TFixedPointSet, class TMovingPointSet>
virtual void itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetMovingImageMask ( const MovingImageMaskType *  _arg)
virtual

Set the moving mask.

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

Connect the moving pointset.

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

Connect the Transform.

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

Set the parameters defining the Transform.

template<class TFixedPointSet, class TMovingPointSet>
virtual void itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetUseMetricSingleThreaded ( bool  _arg)
virtual

Switch the function BeforeThreadedGetValueAndDerivative on or off.

template<class TFixedPointSet, class TMovingPointSet>
virtual void itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::UseMetricSingleThreadedOff ( )
virtual
template<class TFixedPointSet, class TMovingPointSet>
virtual void itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::UseMetricSingleThreadedOn ( )
virtual

Field Documentation

template<class TFixedPointSet, class TMovingPointSet>
FixedImageMaskConstPointer itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::m_FixedImageMask
protected

Definition at line 185 of file itkSingleValuedPointSetToPointSetMetric.h.

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

Member variables.

Definition at line 183 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
MovingImageMaskConstPointer itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::m_MovingImageMask
protected

Definition at line 186 of file itkSingleValuedPointSetToPointSetMetric.h.

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

Definition at line 184 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
unsigned int itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::m_NumberOfPointsCounted
mutableprotected

Definition at line 189 of file itkSingleValuedPointSetToPointSetMetric.h.

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

Definition at line 187 of file itkSingleValuedPointSetToPointSetMetric.h.

template<class TFixedPointSet, class TMovingPointSet>
bool itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::m_UseMetricSingleThreaded
protected

Variables for multi-threading.

Definition at line 192 of file itkSingleValuedPointSetToPointSetMetric.h.



Generated on 25-07-2016 for elastix by doxygen 1.8.11 elastix logo