#include <HistogramDistances.h>
Public Member Functions | |
virtual double | distance (const std::vector< std::vector< Numeric > > &first, const std::vector< std::vector< Numeric > > &last) const |
Euclidean. | |
virtual double | distance (const std::vector< Numeric > &first, const std::vector< Numeric > &last) const |
Representation of the Euclidean distance function between histograms. This class represents the function to compute the Euclidean distance between histograms. The result is normalized to be in the range [0,1].
Definition at line 53 of file HistogramDistances.h.
double EuclideanDistance< Numeric >::distance | ( | const std::vector< std::vector< Numeric > > & | first, | |
const std::vector< std::vector< Numeric > > & | last | |||
) | const [inline, virtual] |
Euclidean.
Reimplemented from HistogramDistance< Numeric >.
Definition at line 17 of file HistogramDistances.hpp.
double EuclideanDistance< Numeric >::distance | ( | const std::vector< Numeric > & | first, | |
const std::vector< Numeric > & | last | |||
) | const [inline, virtual] |
Computes the distance between the first and last histogram (1D).
Implements HistogramDistance< Numeric >.
Definition at line 27 of file HistogramDistances.hpp.