#include "flann_base.hpp"
|
| Index (const Matrix< ElementType > &features, const IndexParams ¶ms, Distance distance=Distance()) |
|
| ~Index () |
|
void | buildIndex () CV_OVERRIDE |
|
void | findNeighbors (ResultSet< DistanceType > &result, const ElementType *vec, const SearchParams &searchParams) CV_OVERRIDE |
| Method that searches for nearest-neighbours. More...
|
|
NNIndex< Distance > * | getIndex () |
| Returns actual index. More...
|
|
const IndexParams * | getIndexParameters () |
| Returns index parameters. More...
|
|
IndexParams | getParameters () const CV_OVERRIDE |
|
flann_algorithm_t | getType () const CV_OVERRIDE |
|
void | knnSearch (const Matrix< ElementType > &queries, Matrix< int > &indices, Matrix< DistanceType > &dists, int knn, const SearchParams ¶ms) CV_OVERRIDE |
| Perform k-nearest neighbor search. More...
|
|
virtual void | loadIndex (FILE *stream) CV_OVERRIDE |
| Loads the index from a stream. More...
|
|
int | radiusSearch (const Matrix< ElementType > &query, Matrix< int > &indices, Matrix< DistanceType > &dists, float radius, const SearchParams ¶ms) CV_OVERRIDE |
| Perform radius search. More...
|
|
void | save (cv::String filename) |
|
virtual void | saveIndex (FILE *stream) CV_OVERRIDE |
| Saves the index to a stream. More...
|
|
size_t | size () const CV_OVERRIDE |
|
virtual int | usedMemory () const CV_OVERRIDE |
|
size_t | veclen () const CV_OVERRIDE |
|
virtual | ~NNIndex () |
|
§ DistanceType
template<typename Distance>
§ ElementType
template<typename Distance>
§ Index()
template<typename Distance>
§ ~Index()
template<typename Distance>
§ buildIndex()
template<typename Distance>
§ findNeighbors()
template<typename Distance>
§ getIndex()
template<typename Distance>
§ getIndexParameters()
template<typename Distance>
§ getParameters()
template<typename Distance>
§ getType()
template<typename Distance>
§ knnSearch()
template<typename Distance>
Perform k-nearest neighbor search.
- Parameters
-
[in] | queries | The query points for which to find the nearest neighbors |
[out] | indices | The indices of the nearest neighbors found |
[out] | dists | Distances to the nearest neighbors found |
[in] | knn | Number of nearest neighbors to return |
[in] | params | Search parameters |
Reimplemented from cvflann::NNIndex< Distance >.
§ loadIndex()
template<typename Distance>
§ radiusSearch()
template<typename Distance>
Perform radius search.
- Parameters
-
[in] | query | The query point |
[out] | indices | The indinces of the neighbors found within the given radius |
[out] | dists | The distances to the nearest neighbors found |
[in] | radius | The radius used for search |
[in] | params | Search parameters |
- Returns
- Number of neighbors found
Reimplemented from cvflann::NNIndex< Distance >.
§ save()
template<typename Distance>
§ saveIndex()
template<typename Distance>
§ size()
template<typename Distance>
§ usedMemory()
template<typename Distance>
§ veclen()
template<typename Distance>
The documentation for this class was generated from the following file: