[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Functor to compute a metric between two vectors. More...
#include <vigra/metrics.hxx>
Public Member Functions | |
| Metric (const MetricType metricType=ManhattanMetric) | |
| Construct functor for the given metric. | |
Functor to compute a metric between two vectors.
The value type of the metric is given by template parameter T. Supported metrics are defined in MetricType. The functor's argument must support begin() and end() to create an STL range.
| Metric | ( | const MetricType | metricType = ManhattanMetric< T > | ) |
Construct functor for the given metric.
The value type of the metric is given by template parameter T. Supported metrics are defined in MetricType.
|
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |