ITK
4.8.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.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DerivativeType | DerivativeType |
typedef DistanceMapType::ConstPointer | DistanceMapPointer |
typedef TDistanceMap | DistanceMapType |
typedef Superclass::FixedPointDataIterator | FixedPointDataIterator |
typedef Superclass::FixedPointIterator | FixedPointIterator |
typedef Superclass::FixedPointSetConstPointer | FixedPointSetConstPointer |
typedef Superclass::FixedPointSetType | FixedPointSetType |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::MovingPointDataIterator | MovingPointDataIterator |
typedef Superclass::MovingPointIterator | MovingPointIterator |
typedef Superclass::MovingPointSetConstPointer | MovingPointSetConstPointer |
typedef Superclass::MovingPointSetType | MovingPointSetType |
typedef SmartPointer< Self > | Pointer |
typedef EuclideanDistancePointMetric | Self |
typedef PointSetToPointSetMetric < TFixedPointSet, TMovingPointSet > | Superclass |
typedef Superclass::TransformJacobianType | TransformJacobianType |
typedef Superclass::TransformParametersType | TransformParametersType |
typedef Superclass::TransformPointer | TransformPointer |
typedef Superclass::TransformType | TransformType |
Public Types inherited from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::ParametersValueType | CoordinateRepresentationType |
typedef Superclass::DerivativeType | DerivativeType |
typedef FixedPointSetType::PointDataContainer::ConstIterator | FixedPointDataIterator |
typedef FixedPointSetType::PointsContainer::ConstIterator | FixedPointIterator |
typedef FixedPointSetType::ConstPointer | FixedPointSetConstPointer |
typedef TFixedPointSet | FixedPointSetType |
typedef TransformType::InputPointType | InputPointType |
typedef Superclass::MeasureType | MeasureType |
typedef MovingPointSetType::PointDataContainer::ConstIterator | MovingPointDataIterator |
typedef MovingPointSetType::PointsContainer::ConstIterator | MovingPointIterator |
typedef MovingPointSetType::ConstPointer | MovingPointSetConstPointer |
typedef TMovingPointSet::PixelType | MovingPointSetPixelType |
typedef TMovingPointSet | MovingPointSetType |
typedef TransformType::OutputPointType | OutputPointType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef PointSetToPointSetMetric | Self |
typedef MultipleValuedCostFunction | Superclass |
typedef TransformType::JacobianType | TransformJacobianType |
typedef TransformType::ParametersType | TransformParametersType |
typedef TransformType::Pointer | TransformPointer |
typedef Transform < CoordinateRepresentationType, itkGetStaticConstMacro(MovingPointSetDimension), itkGetStaticConstMacro(FixedPointSetDimension) > | TransformType |
Public Types inherited from itk::MultipleValuedCostFunction | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Array2D< double > | DerivativeType |
typedef Array< double > | MeasureType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef MultipleValuedCostFunction | Self |
typedef CostFunction | Superclass |
Public Types inherited from itk::CostFunctionTemplate< TInternalComputationValueType > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef OptimizerParameters < TInternalComputationValueType > | ParametersType |
typedef TInternalComputationValueType | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef CostFunctionTemplate | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
void | GetDerivative (const TransformParametersType ¶meters, DerivativeType &Derivative) const override |
virtual const char * | GetNameOfClass () const |
unsigned int | GetNumberOfValues () const override |
MeasureType | GetValue (const TransformParametersType ¶meters) const override |
void | GetValueAndDerivative (const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const |
virtual void | SetDistanceMap (const DistanceMapType *_arg) |
virtual const DistanceMapType * | GetDistanceMap () const |
virtual void | SetComputeSquaredDistance (bool _arg) |
virtual bool | GetComputeSquaredDistance () const |
virtual void | ComputeSquaredDistanceOn () |
virtual void | ComputeSquaredDistanceOff () |
Public Member Functions inherited from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | |
virtual TransformType * | GetModifiableTransform () |
virtual unsigned int | GetNumberOfParameters (void) const override |
virtual const TransformType * | GetTransform () const |
virtual void | Initialize (void) throw ( ExceptionObject ) |
virtual void | SetTransform (TransformType *_arg) |
void | SetTransformParameters (const ParametersType ¶meters) const |
virtual void | SetFixedPointSet (const FixedPointSetType *_arg) |
virtual const FixedPointSetType * | GetFixedPointSet () const |
virtual void | SetMovingPointSet (const MovingPointSetType *_arg) |
virtual const MovingPointSetType * | GetMovingPointSet () const |
Public Member Functions inherited from itk::MultipleValuedCostFunction | |
virtual void | GetDerivative (const ParametersType ¶meters, DerivativeType &derivative) const =0 |
virtual MeasureType | GetValue (const ParametersType ¶meters) const =0 |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
EuclideanDistancePointMetric () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual | ~EuclideanDistancePointMetric () |
Protected Member Functions inherited from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | |
PointSetToPointSetMetric () | |
virtual | ~PointSetToPointSetMetric () |
Protected Member Functions inherited from itk::MultipleValuedCostFunction | |
MultipleValuedCostFunction () | |
virtual | ~MultipleValuedCostFunction () |
Protected Member Functions inherited from itk::CostFunctionTemplate< TInternalComputationValueType > | |
CostFunctionTemplate () | |
virtual | ~CostFunctionTemplate () |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
EuclideanDistancePointMetric (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
bool | m_ComputeSquaredDistance |
DistanceMapPointer | m_DistanceMap |
Additional Inherited Members | |
Static Public Attributes inherited from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | |
static const unsigned int | MovingPointSetDimension = TMovingPointSet::PointDimension |
static const unsigned int | FixedPointSetDimension = TFixedPointSet::PointDimension |
Protected Attributes inherited from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | |
FixedPointSetConstPointer | m_FixedPointSet |
MovingPointSetConstPointer | m_MovingPointSet |
TransformPointer | m_Transform |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::ConstPointer |
Definition at line 57 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::DerivativeType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::DerivativeType |
Definition at line 72 of file itkEuclideanDistancePointMetric.h.
typedef DistanceMapType::ConstPointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::DistanceMapPointer |
Definition at line 85 of file itkEuclideanDistancePointMetric.h.
typedef TDistanceMap itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::DistanceMapType |
Definition at line 84 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::FixedPointDataIterator itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::FixedPointDataIterator |
Definition at line 79 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::FixedPointIterator itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::FixedPointIterator |
Definition at line 78 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::FixedPointSetConstPointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::FixedPointSetConstPointer |
Definition at line 75 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::FixedPointSetType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::FixedPointSetType |
Definition at line 73 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::MeasureType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::MeasureType |
Definition at line 71 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::MovingPointDataIterator itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::MovingPointDataIterator |
Definition at line 82 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::MovingPointIterator itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::MovingPointIterator |
Definition at line 81 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::MovingPointSetConstPointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::MovingPointSetConstPointer |
Definition at line 76 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::MovingPointSetType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::MovingPointSetType |
Definition at line 74 of file itkEuclideanDistancePointMetric.h.
typedef SmartPointer< Self > itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::Pointer |
Definition at line 56 of file itkEuclideanDistancePointMetric.h.
typedef EuclideanDistancePointMetric itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::Self |
Standard class typedefs.
Definition at line 53 of file itkEuclideanDistancePointMetric.h.
typedef PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::Superclass |
Definition at line 54 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::TransformJacobianType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::TransformJacobianType |
Definition at line 69 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::TransformParametersType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::TransformParametersType |
Definition at line 68 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::TransformPointer itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::TransformPointer |
Definition at line 67 of file itkEuclideanDistancePointMetric.h.
typedef Superclass::TransformType itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >::TransformType |
Types transferred from the base class
Definition at line 63 of file itkEuclideanDistancePointMetric.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 115 of file itkEuclideanDistancePointMetric.h.
|
private |
|
virtual |
Set/Get if the distance should be squared. Default is true for computation speed
|
virtual |
Set/Get if the distance should be squared. Default is true for computation speed
|
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 |
Set/Get if the distance should be squared. Default is true for computation speed
|
override |
Get the derivatives of the match measure.
|
virtual |
Set/Get the distance map
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
|
overridevirtual |
Get the number of values
Implements itk::MultipleValuedCostFunction.
|
override |
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 |
Method for creation through the object factory.
|
private |
|
overrideprotectedvirtual |
PrintSelf function
Reimplemented from itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
|
virtual |
Set/Get if the distance should be squared. Default is true for computation speed
|
virtual |
Set/Get the distance map
|
private |
Definition at line 125 of file itkEuclideanDistancePointMetric.h.
|
private |
Definition at line 124 of file itkEuclideanDistancePointMetric.h.