[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
|   | Metric< T > Class Template Reference |  | 
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.  More... | |
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 vigra::metrics::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 vigra::metrics::MetricType. 
| 
© Ullrich Köthe     (ullrich.koethe@iwr.uni-heidelberg.de)  | 
html generated using doxygen and Python
 |