OTB
9.0.0
Orfeo Toolbox
|
#include <otbEuclideanDistanceMetricWithMissingValuePow2.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::MeasurementVectorSizeType | MeasurementVectorSizeType |
typedef itk::SmartPointer< Self > | Pointer |
typedef EuclideanDistanceMetricWithMissingValuePow2 | Self |
typedef itk::Statistics::EuclideanDistanceMetric< TVector > | Superclass |
typedef TVector::ValueType | ValueType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
double | Evaluate (const TVector &x) const override |
double | Evaluate (const TVector &x1, const TVector &x2) const override |
double | Evaluate (const ValueType &a, const ValueType &b) const |
virtual const char * | GetNameOfClass () const |
bool | IsWithinRange (const TVector &x, const double radius) const |
Static Public Member Functions | |
static bool | IsMissingValue (const ValueType &v) |
static Pointer | New () |
static void | SetToMissingValue (ValueType &v) |
Protected Member Functions | |
EuclideanDistanceMetricWithMissingValuePow2 () | |
~EuclideanDistanceMetricWithMissingValuePow2 () override | |
Euclidean comparison distance function facing missing value. The square root is not performed in this class.
This class is derived from EuclideanDistanceMetric class. In addition to the initial Evaluate method, the class does not perform calculation when a component does not contain any data. The 'no data' case is perform through the
which performs a
affectation.
The class can be templated over any container that holds data elements, as for template of EuclideanDistanceMetric.
The only restriction is that elements have to support NaN values.
Definition at line 53 of file otbEuclideanDistanceMetricWithMissingValuePow2.h.
typedef itk::SmartPointer<const Self> otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector >::ConstPointer |
Definition at line 60 of file otbEuclideanDistanceMetricWithMissingValuePow2.h.
typedef Superclass::MeasurementVectorSizeType otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector >::MeasurementVectorSizeType |
Definition at line 61 of file otbEuclideanDistanceMetricWithMissingValuePow2.h.
typedef itk::SmartPointer<Self> otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector >::Pointer |
Definition at line 59 of file otbEuclideanDistanceMetricWithMissingValuePow2.h.
typedef EuclideanDistanceMetricWithMissingValuePow2 otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector >::Self |
Standard "Self" typedef.
Definition at line 57 of file otbEuclideanDistanceMetricWithMissingValuePow2.h.
typedef itk::Statistics::EuclideanDistanceMetric<TVector> otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector >::Superclass |
Definition at line 58 of file otbEuclideanDistanceMetricWithMissingValuePow2.h.
typedef TVector::ValueType otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector >::ValueType |
Type of the component of a vector
Definition at line 67 of file otbEuclideanDistanceMetricWithMissingValuePow2.h.
|
inlineprotected |
Definition at line 96 of file otbEuclideanDistanceMetricWithMissingValuePow2.h.
|
inlineoverrideprotected |
Definition at line 99 of file otbEuclideanDistanceMetricWithMissingValuePow2.h.
virtual::itk::LightObject::Pointer otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector >::CreateAnother | ( | void | ) | const |
|
inlineoverride |
Gets the distance between the origin and x
Definition at line 58 of file otbEuclideanDistanceMetricWithMissingValuePow2.hxx.
|
inlineoverride |
Gets the distance between x1 and x2
Definition at line 36 of file otbEuclideanDistanceMetricWithMissingValuePow2.hxx.
|
inline |
Gets the coordinate distance between a and b. NOTE: a and b should be type of component
Definition at line 83 of file otbEuclideanDistanceMetricWithMissingValuePow2.hxx.
|
virtual |
Run-time type information (and related methods).
Reimplemented in otb::Statistics::FlexibleDistanceWithMissingValue< TVector >, and otb::Statistics::EuclideanDistanceMetricWithMissingValue< TVector >.
|
static |
Check if a value is NaN or not
Definition at line 95 of file otbEuclideanDistanceMetricWithMissingValuePow2.hxx.
|
inline |
Returns true if the distance between x and the origin is less than radius
Definition at line 84 of file otbEuclideanDistanceMetricWithMissingValuePow2.h.
|
static |
Method for creation through the object factory.
|
static |
Set a value to Nan
Definition at line 102 of file otbEuclideanDistanceMetricWithMissingValuePow2.hxx.