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

Like sum of squared difference between point sets, except you throw away a certain percentage of outliers. More...

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

Public Types

typedef
LeastTrimmedSquaresPointMetric 
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
 
virtual void SetPercentageOfPointsToKeep (int _arg)
 
virtual int GetPercentageOfPointsToKeep ()
 
- 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

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

Like sum of squared difference between point sets, except you throw away a certain percentage of outliers.

This measure was implemented in section 2.2 equation 1 of Ourselin et. al. MICCAI 2000, "Block Matching: a general framework..." Given two corresponding point sets, we compute the sum of squared difference of the smallest h% percentage. This will throw away gross outliers.

Member Typedef Documentation

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

Standard class typedefs.

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

Types transferred from the base class

Constructor & Destructor Documentation

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

Member Function Documentation

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

Get the derivatives of the match measure.

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

Get the number of values

template<class TFixedPointSet , class TMovingPointSet >
virtual int itk::LeastTrimmedSquaresPointMetric< TFixedPointSet, TMovingPointSet >::GetPercentageOfPointsToKeep ( )
virtual
template<class TFixedPointSet , class TMovingPointSet >
MeasureType itk::LeastTrimmedSquaresPointMetric< TFixedPointSet, TMovingPointSet >::GetValue ( const TransformParametersType parameters) const

Get the value for single valued optimizers.

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

Method for creation through the object factory.

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

PrintSelf funtion

template<class TFixedPointSet , class TMovingPointSet >
virtual void itk::LeastTrimmedSquaresPointMetric< TFixedPointSet, TMovingPointSet >::SetPercentageOfPointsToKeep ( int  _arg)
virtual

Set the percentage to keep when we evaluate the sum. Defaults to 50%


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