K-Nearest neighbour result set. More...
#include <opencv2/flann/result_set.h>


Public Member Functions | |
| KNNResultSet (int capacity_) | |
| void | addPoint (DistanceType dist, int index) CV_OVERRIDE |
| bool | full () const CV_OVERRIDE |
| void | init (int *indices_, DistanceType *dists_) |
| size_t | size () const |
| DistanceType | worstDist () const CV_OVERRIDE |
K-Nearest neighbour result set.
Ensures that the elements inserted are unique
|
inline |
|
inlinevirtual |
Implements cvflann::ResultSet< DistanceType >.
|
inlinevirtual |
Implements cvflann::ResultSet< DistanceType >.
|
inline |
References cv::max().
Referenced by cvflann::NNIndex< cv::L1< ElementType > >::knnSearch(), and cvflann::search_with_ground_truth().


|
inline |
|
inlinevirtual |
Implements cvflann::ResultSet< DistanceType >.