![]() |
OpenCV
3.4.2
Open Source Computer Vision
|
#include "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_ |
Protected Attributes inherited from cvflann::UniqueResultSet< DistanceType > | |
| std::set< DistIndex > | dist_indices_ |
| bool | is_full_ |
| DistanceType | worst_distance_ |
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 >.
1.8.12