#include "autotuned_index.h"
|
| | AutotunedIndex (const Matrix< ElementType > &inputData, const IndexParams ¶ms=AutotunedIndexParams(), Distance d=Distance()) |
| |
| | AutotunedIndex (const AutotunedIndex &) |
| |
| virtual | ~AutotunedIndex () |
| |
| virtual void | buildIndex () |
| | Method responsible with building the index. More...
|
| |
| virtual void | findNeighbors (ResultSet< DistanceType > &result, const ElementType *vec, const SearchParams &searchParams) |
| | Method that searches for nearest-neighbors. More...
|
| |
| IndexParams | getParameters () const |
| |
| SearchParams | getSearchParameters () const |
| |
| float | getSpeedup () const |
| |
| virtual flann_algorithm_t | getType () const |
| | Algorithm name. More...
|
| |
| virtual void | knnSearch (const Matrix< ElementType > &queries, Matrix< int > &indices, Matrix< DistanceType > &dists, int knn, const SearchParams ¶ms) |
| | Perform k-nearest neighbor search. More...
|
| |
| virtual void | loadIndex (FILE *stream) |
| | Loads the index from a stream. More...
|
| |
| AutotunedIndex & | operator= (const AutotunedIndex &) |
| |
| virtual int | radiusSearch (const Matrix< ElementType > &query, Matrix< int > &indices, Matrix< DistanceType > &dists, float radius, const SearchParams ¶ms) |
| | Perform radius search. More...
|
| |
| virtual void | saveIndex (FILE *stream) |
| | Saves the index to a stream. More...
|
| |
| virtual size_t | size () const |
| | Number of features in this index. More...
|
| |
| virtual int | usedMemory () const |
| | The amount of memory (in bytes) this index uses. More...
|
| |
| virtual size_t | veclen () const |
| | The length of each vector in this index. More...
|
| |
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
Algorithm name.
Implements cvflann::NNIndex< Distance >.
References cvflann::KDTreeIndex< Distance >::buildIndex(), cvflann::KMeansIndex< Distance >::buildIndex(), cvflann::FLANN_CENTERS_RANDOM, cvflann::FLANN_INDEX_AUTOTUNED, cvflann::FLANN_INDEX_KDTREE, cvflann::FLANN_INDEX_KMEANS, cvflann::FLANN_INDEX_LINEAR, cvflann::Logger::info(), cv::kmeans(), cv::min(), cvflann::random_sample(), cvflann::Matrix< T >::rows, cvflann::KMeansIndex< Distance >::set_cb_index(), cvflann::StartStopTimer::start(), cvflann::StartStopTimer::stop(), cvflann::test_index_precision(), cvflann::KDTreeIndex< Distance >::usedMemory(), cvflann::KMeansIndex< Distance >::usedMemory(), and cvflann::StartStopTimer::value.
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
template<typename Distance>
The documentation for this class was generated from the following file:
- flann/include/opencv2/flann/autotuned_index.h