ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkEuclideanDistancePointMetric.h>
Computes the minimum distance between a moving point-set and a fixed point-set. A vector of minimum closest point distance is created for each point in the moving point-set. No correspondance is needed. For speed consideration, the point-set with the minimum number of points should be used as the moving point-set. If the number of points is high, the possibility of setting a distance map should improve the speed of the closest point computation.
Reference: "A Method for Registration of 3-D Shapes", IEEE PAMI, Vol 14, No. 2, February 1992
Definition at line 47 of file itkEuclideanDistancePointMetric.h.
typedef SmartPointer< const Self > itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::ConstPointer |
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 57 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::DerivativeType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::DerivativeType |
Type of the derivative.
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 72 of file itkEuclideanDistancePointMetric.h.
typedef DistanceMapType::ConstPointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::DistanceMapPointer |
Definition at line 82 of file itkEuclideanDistancePointMetric.h.
typedef TDistanceMap itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::DistanceMapType |
Definition at line 81 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::FixedPointSetConstPointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::FixedPointSetConstPointer |
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 75 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::FixedPointSetType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::FixedPointSetType |
Type of the fixed Pointset.
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 73 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::MeasureType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::MeasureType |
Type of the measure.
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 71 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::MovingPointSetConstPointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::MovingPointSetConstPointer |
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 76 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::MovingPointSetType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::MovingPointSetType |
Type of the moving Pointset.
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 74 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::PointDataIterator itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::PointDataIterator |
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 79 of file itkEuclideanDistancePointMetric.h.
typedef SmartPointer< Self > itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::Pointer |
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 56 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::PointIterator itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::PointIterator |
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 78 of file itkEuclideanDistancePointMetric.h.
typedef EuclideanDistancePointMetric itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::Self |
Standard class typedefs.
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 53 of file itkEuclideanDistancePointMetric.h.
typedef PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::Superclass |
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 54 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::TransformJacobianType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::TransformJacobianType |
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 69 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::TransformParametersType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::TransformParametersType |
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 68 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::TransformPointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::TransformPointer |
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 67 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::TransformType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::TransformType |
Types transferred from the base class
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Definition at line 63 of file itkEuclideanDistancePointMetric.h.
itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::EuclideanDistancePointMetric | ( | ) | [protected] |
Set/Get if the distance should be squared. Default is true for computation speed
virtual itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::~EuclideanDistancePointMetric | ( | ) | [inline, protected, virtual] |
Set/Get if the distance should be squared. Default is true for computation speed
Definition at line 110 of file itkEuclideanDistancePointMetric.h.
itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::EuclideanDistancePointMetric | ( | const Self & | ) | [private] |
virtual void itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::ComputeSquaredDistanceOff | ( | ) | [virtual] |
Set/Get if the distance should be squared. Default is true for computation speed
virtual void itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::ComputeSquaredDistanceOn | ( | ) | [virtual] |
Set/Get if the distance should be squared. Default is true for computation speed
virtual::itk::LightObject::Pointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
virtual bool itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::GetComputeSquaredDistance | ( | ) | const [virtual] |
Set/Get if the distance should be squared. Default is true for computation speed
void itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::GetDerivative | ( | const TransformParametersType & | parameters, |
DerivativeType & | Derivative | ||
) | const |
Get the derivatives of the match measure.
virtual const DistanceMapType* itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::GetDistanceMap | ( | ) | [virtual] |
Set/Get the distance map
virtual const char* itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
unsigned int itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::GetNumberOfValues | ( | ) | const [virtual] |
Get the number of values
Implements itk::MultipleValuedCostFunction.
MeasureType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::GetValue | ( | const TransformParametersType & | parameters | ) | const |
Get the value for single valued optimizers.
void itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::GetValueAndDerivative | ( | const TransformParametersType & | parameters, |
MeasureType & | Value, | ||
DerivativeType & | Derivative | ||
) | const |
Get value and derivatives for multiple valued optimizers.
static Pointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
void itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
PrintSelf funtion
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
virtual void itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::SetComputeSquaredDistance | ( | bool | _arg | ) | [virtual] |
Set/Get if the distance should be squared. Default is true for computation speed
virtual void itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::SetDistanceMap | ( | const DistanceMapType * | _arg | ) | [virtual] |
Set/Get the distance map
bool itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::m_ComputeSquaredDistance [private] |
Definition at line 121 of file itkEuclideanDistancePointMetric.h.
DistanceMapPointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::m_DistanceMap [private] |
Definition at line 120 of file itkEuclideanDistancePointMetric.h.