18#ifndef itkEuclideanDistancePointMetric_h
19#define itkEuclideanDistancePointMetric_h
44template <
typename TFixedPointSet,
45 typename TMovingPointSet,
67 using typename Superclass::TransformType;
68 using typename Superclass::TransformPointer;
69 using typename Superclass::TransformParametersType;
70 using typename Superclass::TransformJacobianType;
72 using typename Superclass::MeasureType;
73 using typename Superclass::DerivativeType;
74 using typename Superclass::FixedPointSetType;
75 using typename Superclass::MovingPointSetType;
76 using typename Superclass::FixedPointSetConstPointer;
77 using typename Superclass::MovingPointSetConstPointer;
79 using typename Superclass::FixedPointIterator;
80 using typename Superclass::FixedPointDataIterator;
82 using typename Superclass::MovingPointIterator;
83 using typename Superclass::MovingPointDataIterator;
115 itkSetMacro(ComputeSquaredDistance,
bool);
116 itkGetConstMacro(ComputeSquaredDistance,
bool);
117 itkBooleanMacro(ComputeSquaredDistance);
129 bool m_ComputeSquaredDistance{
false };
133#ifndef ITK_MANUAL_INSTANTIATION
134# include "itkEuclideanDistancePointMetric.hxx"
Array2D class representing a 2D array.
Computes the minimum distance between a moving point-set and a fixed point-set. A vector of minimum c...
TDistanceMap DistanceMapType
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &Derivative) const override
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const
MeasureType GetValue(const TransformParametersType ¶meters) const override
typename DistanceMapType::ConstPointer DistanceMapPointer
EuclideanDistancePointMetric()
~EuclideanDistancePointMetric() override=default
unsigned int GetNumberOfValues() const override
void PrintSelf(std::ostream &os, Indent indent) const override
Templated n-dimensional image class.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Computes similarity between two point sets.
typename TransformType::ParametersType TransformParametersType
SmartPointer< const Self > ConstPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....