23 #ifndef otbEuclideanDistanceMetricWithMissingValuePow2_h
24 #define otbEuclideanDistanceMetricWithMissingValuePow2_h
26 #include "itkEuclideanDistanceMetric.h"
52 template <
class TVector>
58 typedef itk::Statistics::EuclideanDistanceMetric<TVector>
Superclass;
70 typedef typename TVector::ValueType
ValueType;
73 double Evaluate(
const TVector& x)
const override;
76 double Evaluate(
const TVector& x1,
const TVector& x2)
const override;
86 return Superclass::IsWithinRange(x, radius);
90 static bool IsMissingValue(
const ValueType& v);
93 static void SetToMissingValue(ValueType& v);
108 #ifndef OTB_MANUAL_INSTANTIATION