OpenCV
3.2.0
Open Source Computer Vision
|
#include "result_set.h"
Public Member Functions | |
KNNResultSet (int capacity_) | |
void | addPoint (DistanceType dist, int index) |
bool | full () const |
void | init (int *indices_, DistanceType *dists_) |
size_t | size () const |
DistanceType | worstDist () const |
Public Member Functions inherited from cvflann::ResultSet< DistanceType > | |
virtual | ~ResultSet () |
K-Nearest neighbour result set. Ensures that the elements inserted are unique
cvflann::KNNResultSet< DistanceType >::KNNResultSet | ( | int | capacity_ | ) |
|
virtual |
Implements cvflann::ResultSet< DistanceType >.
|
virtual |
Implements cvflann::ResultSet< DistanceType >.
void cvflann::KNNResultSet< DistanceType >::init | ( | int * | indices_, |
DistanceType * | dists_ | ||
) |
size_t cvflann::KNNResultSet< DistanceType >::size | ( | ) | const |
|
virtual |
Implements cvflann::ResultSet< DistanceType >.