OTB
9.0.0
Orfeo Toolbox
|
#include <otbFlexibleDistanceWithMissingValue.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::MeasurementVectorSizeType | MeasurementVectorSizeType |
typedef itk::SmartPointer< Self > | Pointer |
typedef FlexibleDistanceWithMissingValue | Self |
typedef otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector > | Superclass |
typedef TVector::ValueType | ValueType |
Public Types inherited from otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector > | |
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 |
Public Member Functions inherited from otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector > | |
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 |
bool | IsWithinRange (const TVector &x, const double radius) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector > | |
static bool | IsMissingValue (const ValueType &v) |
static Pointer | New () |
static void | SetToMissingValue (ValueType &v) |
static double | Alpha = 1.0 |
static double | Beta = 2.0 |
static void | SetAlphaBeta (double a, double b) |
static bool | IsEuclidean () |
FlexibleDistanceWithMissingValue () | |
~FlexibleDistanceWithMissingValue () override | |
Additional Inherited Members | |
Protected Member Functions inherited from otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector > | |
EuclideanDistanceMetricWithMissingValuePow2 () | |
~EuclideanDistanceMetricWithMissingValuePow2 () override | |
Non-Euclidean distance function facing missing value.
This class is derived from EuclideanDistanceMetricWithMissingValuePow2 class to deal with missing data. In addition, the initial Evaluate method performs a flexible calculation of distance when a component does contain data.
The general formulation is defined as:
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
.
Definition at line 56 of file otbFlexibleDistanceWithMissingValue.h.
typedef itk::SmartPointer<const Self> otb::Statistics::FlexibleDistanceWithMissingValue< TVector >::ConstPointer |
Definition at line 63 of file otbFlexibleDistanceWithMissingValue.h.
typedef Superclass::MeasurementVectorSizeType otb::Statistics::FlexibleDistanceWithMissingValue< TVector >::MeasurementVectorSizeType |
Definition at line 65 of file otbFlexibleDistanceWithMissingValue.h.
typedef itk::SmartPointer<Self> otb::Statistics::FlexibleDistanceWithMissingValue< TVector >::Pointer |
Definition at line 62 of file otbFlexibleDistanceWithMissingValue.h.
typedef FlexibleDistanceWithMissingValue otb::Statistics::FlexibleDistanceWithMissingValue< TVector >::Self |
Standard "Self" typedef.
Definition at line 60 of file otbFlexibleDistanceWithMissingValue.h.
typedef otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2<TVector> otb::Statistics::FlexibleDistanceWithMissingValue< TVector >::Superclass |
Definition at line 61 of file otbFlexibleDistanceWithMissingValue.h.
typedef TVector::ValueType otb::Statistics::FlexibleDistanceWithMissingValue< TVector >::ValueType |
Type of the component of a vector
Definition at line 71 of file otbFlexibleDistanceWithMissingValue.h.
|
inlineprotected |
Set the value of the parameter a and b. Those parameters are defined as static component in order to call it far away from the instantiation of the class (through the SOME training for instance)
Static variable instantiation
Definition at line 105 of file otbFlexibleDistanceWithMissingValue.h.
|
inlineoverrideprotected |
Set the value of the parameter a and b. Those parameters are defined as static component in order to call it far away from the instantiation of the class (through the SOME training for instance)
Static variable instantiation
Definition at line 108 of file otbFlexibleDistanceWithMissingValue.h.
virtual::itk::LightObject::Pointer otb::Statistics::FlexibleDistanceWithMissingValue< TVector >::CreateAnother | ( | void | ) | const |
|
inlineoverride |
Gets the distance between the origin and x
Definition at line 61 of file otbFlexibleDistanceWithMissingValue.hxx.
|
inlineoverride |
Gets the distance between x1 and x2
Definition at line 36 of file otbFlexibleDistanceWithMissingValue.hxx.
|
inline |
Gets the coordinate distance between a and b. NOTE: a and b should be type of component
Definition at line 91 of file otbFlexibleDistanceWithMissingValue.hxx.
|
virtual |
Run-time type information (and related methods).
Reimplemented from otb::Statistics::EuclideanDistanceMetricWithMissingValuePow2< TVector >.
|
static |
test if it is ordinary Euclidean distance
Definition at line 112 of file otbFlexibleDistanceWithMissingValue.hxx.
|
inline |
Returns true if the distance between x and the origin is less than radius
Definition at line 88 of file otbFlexibleDistanceWithMissingValue.h.
|
static |
Method for creation through the object factory.
|
static |
Set the value of the parameter a and b. Those parameters are defined as static component in order to call it far away from the instantiation of the class (through the SOME training for instance)
Static variable instantiation
Definition at line 105 of file otbFlexibleDistanceWithMissingValue.hxx.
|
static |
Set the value of the parameter a and b. Those parameters are defined as static component in order to call it far away from the instantiation of the class (through the SOME training for instance)
Static variable instantiation
Definition at line 96 of file otbFlexibleDistanceWithMissingValue.h.
|
static |
Set the value of the parameter a and b. Those parameters are defined as static component in order to call it far away from the instantiation of the class (through the SOME training for instance)
Static variable instantiation
Definition at line 97 of file otbFlexibleDistanceWithMissingValue.h.