#include "dist.h"
|
template<typename U , typename V > |
ResultType | accum_dist (const U &a, const V &b, int) const |
| Partial distance, used by the kd-tree. More...
|
|
template<typename Iterator1 , typename Iterator2 > |
ResultType | operator() (Iterator1 a, Iterator2 b, size_t size, ResultType worst_dist=-1) const |
| Compute the Manhattan (L_1) distance between two vectors. More...
|
|
template<class T >
template<typename U , typename V >
template<class T >
template<typename Iterator1 , typename Iterator2 >
Compute the Manhattan (L_1) distance between two vectors.
This is highly optimised, with loop unrolling, as it is one of the most expensive inner loops.
References cvflann::abs().
The documentation for this struct was generated from the following file:
- flann/include/opencv2/flann/dist.h