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::AbsoluteManhattanDistancePointMetric< TFixedPointSet, TMovingPointSet > Class Template Reference

Computes the sum of the absolute Manhattan Distance (L1-norm) between two point sets. More...

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

Public Types

typedef
AbsoluteManhattanDistancePointMetric 
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

 AbsoluteManhattanDistancePointMetric ()
 
virtual ~AbsoluteManhattanDistancePointMetric ()
 
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::AbsoluteManhattanDistancePointMetric< TFixedPointSet, TMovingPointSet >

Computes the sum of the absolute Manhattan Distance (L1-norm) 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. The aim is to register two point sets, using a robust convex M-estimator. The paper suggests that this is simply the absolute value of your distance measure. The paper also suggests manhattan distance is better than Euclidean distance. Hence this class. It takes two point sets, of exactly the same number of points, in corresponding order, and computes the sum of the absolute manhattan distance between corresponding points. Manhattan distance is also known as an L1-norm, but I like Manhattan.

Member Typedef Documentation

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

Standard class typedefs.

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

Types transferred from the base class

Constructor & Destructor Documentation

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

Member Function Documentation

template<class TFixedPointSet , class TMovingPointSet >
virtual const char* itk::AbsoluteManhattanDistancePointMetric< 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::AbsoluteManhattanDistancePointMetric< TFixedPointSet, TMovingPointSet >::GetDerivative ( const TransformParametersType parameters,
DerivativeType Derivative 
) const

Get the derivatives of the match measure.

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

Get the number of values

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

Get the value for single valued optimizers.

template<class TFixedPointSet , class TMovingPointSet >
void itk::AbsoluteManhattanDistancePointMetric< 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::AbsoluteManhattanDistancePointMetric< TFixedPointSet, TMovingPointSet >::New ( )
static

Method for creation through the object factory.

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

PrintSelf funtion


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