OpenCV
4.1.0
Open Source Computer Vision
|
#include <opencv2/flann/result_set.h>
Public Member Functions | |
KNNRadiusUniqueResultSet (unsigned int capacity, DistanceType radius) | |
void | clear () |
Public Member Functions inherited from cvflann::KNNUniqueResultSet< DistanceType > | |
KNNUniqueResultSet (unsigned int capacity) | |
void | addPoint (DistanceType dist, int index) CV_OVERRIDE |
Public Member Functions inherited from cvflann::UniqueResultSet< DistanceType > | |
UniqueResultSet () | |
virtual void | copy (int *indices, DistanceType *dist, int n_neighbors=-1) const |
bool | full () const CV_OVERRIDE |
size_t | size () const |
virtual void | sortAndCopy (int *indices, DistanceType *dist, int n_neighbors=-1) const |
DistanceType | worstDist () const CV_OVERRIDE |
Public Member Functions inherited from cvflann::ResultSet< DistanceType > | |
virtual | ~ResultSet () |
Additional Inherited Members | |
Protected Types inherited from cvflann::KNNUniqueResultSet< DistanceType > | |
typedef UniqueResultSet < DistanceType >::DistIndex | DistIndex |
Protected Attributes inherited from cvflann::KNNUniqueResultSet< DistanceType > | |
unsigned int | capacity_ |
Class that holds the k NN neighbors within a radius distance
|
inline |
Constructor
capacity | the number of neighbors to store at max |
radius | the maximum distance of a neighbor |
|
inlinevirtual |
Remove all elements in the set
Reimplemented from cvflann::KNNUniqueResultSet< DistanceType >.