NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet > Class Template Reference

Computes sum of the squared distance between two point sets. More...

Inheritance diagram for itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >:
Inheritance graph
[legend]
Collaboration diagram for itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

virtual const char * GetClassName () const
 
unsigned int GetNumberOfValues () const
 
void GetDerivative (const TransformParametersType &parameters, DerivativeType &Derivative) const
 
MeasureType GetValue (const TransformParametersType &parameters) const
 
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const
 
- Public Member Functions inherited from itk::PointSetToPointSetSingleValuedMetric< TFixedPointSet, TMovingPointSet >
 itkStaticConstMacro (MovingPointSetDimension, unsigned int, TMovingPointSet::PointDimension)
 
 itkStaticConstMacro (FixedPointSetDimension, unsigned int, TFixedPointSet::PointDimension)
 
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
 
virtual const FixedPointSetTypeGetFixedPointSet ()
 
virtual void SetMovingPointSet (const MovingPointSetType *_arg)
 
virtual const MovingPointSetTypeGetMovingPointSet ()
 
virtual void SetTransform (TransformType *_arg)
 
virtual TransformTypeGetTransform ()
 
void SetTransformParameters (const ParametersType &parameters) const
 
unsigned int GetNumberOfParameters (void) const override
 
virtual void Initialize (void) throw ( ExceptionObject )
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 SumOfSquaredDifferencePointMetric ()
 
virtual ~SumOfSquaredDifferencePointMetric ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
- Protected Member Functions inherited from itk::PointSetToPointSetSingleValuedMetric< TFixedPointSet, TMovingPointSet >
 PointSetToPointSetSingleValuedMetric ()
 
virtual ~PointSetToPointSetSingleValuedMetric ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 

Additional Inherited Members

- Protected Attributes inherited from itk::PointSetToPointSetSingleValuedMetric< TFixedPointSet, TMovingPointSet >
FixedPointSetConstPointer m_FixedPointSet
 
MovingPointSetConstPointer m_MovingPointSet
 
TransformPointer m_Transform
 

Detailed Description

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

Computes sum of the squared distance between two point sets.

This measure was implemented as part of section 2.2 in Ourselin et. al. Image And Vision Computing 19 (2000) 25-31, for our NifTK block matching implementation. We have a standard sum of squared difference (this class), and also a sum of manhattan distance between two points sets.

See also
AbsoluteManhattanDistancePointMetric

Member Typedef Documentation

template<class TFixedPointSet , class TMovingPointSet >
typedef SmartPointer<const Self> itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::ConstPointer
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::DerivativeType itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::DerivativeType
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::FixedPointSetConstPointer itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetConstPointer
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::FixedPointSetType itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetType
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::MeasureType itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::MeasureType
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::MovingPointSetConstPointer itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetConstPointer
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::MovingPointSetType itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetType
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::PointDataIterator itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::PointDataIterator
template<class TFixedPointSet , class TMovingPointSet >
typedef SmartPointer<Self> itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::Pointer
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::PointIterator itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::PointIterator
template<class TFixedPointSet , class TMovingPointSet >
typedef SumOfSquaredDifferencePointMetric itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::Self

Standard class typedefs.

template<class TFixedPointSet , class TMovingPointSet >
typedef PointSetToPointSetSingleValuedMetric<TFixedPointSet, TMovingPointSet > itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::Superclass
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::TransformJacobianType itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::TransformJacobianType
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::TransformParametersType itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::TransformParametersType
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::TransformPointer itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::TransformPointer
template<class TFixedPointSet , class TMovingPointSet >
typedef Superclass::TransformType itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::TransformType

Types transferred from the base class

Constructor & Destructor Documentation

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

Member Function Documentation

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

Run-time type information (and related methods).

Reimplemented from itk::PointSetToPointSetSingleValuedMetric< TFixedPointSet, TMovingPointSet >.

template<class TFixedPointSet , class TMovingPointSet >
void itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::GetDerivative ( const TransformParametersType parameters,
DerivativeType Derivative 
) const

Get the derivatives of the match measure.

template<class TFixedPointSet , class TMovingPointSet >
unsigned int itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::GetNumberOfValues ( ) const

Get the number of values

template<class TFixedPointSet , class TMovingPointSet >
MeasureType itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::GetValue ( const TransformParametersType parameters) const

Get the value for single valued optimizers.

template<class TFixedPointSet , class TMovingPointSet >
void itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::GetValueAndDerivative ( const TransformParametersType parameters,
MeasureType Value,
DerivativeType Derivative 
) const

Get value and derivatives for multiple valued optimizers.

template<class TFixedPointSet , class TMovingPointSet >
static Pointer itk::SumOfSquaredDifferencePointMetric< TFixedPointSet, TMovingPointSet >::New ( )
static

Method for creation through the object factory.

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

PrintSelf funtion


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