#include <flann_base.hpp>
Public Member Functions | |
Index (const Matrix< T > &features, const IndexParams ¶ms) | |
~Index () | |
void | buildIndex () |
void | knnSearch (const Matrix< T > &queries, Matrix< int > &indices, Matrix< float > &dists, int knn, const SearchParams ¶ms) |
int | radiusSearch (const Matrix< T > &query, Matrix< int > &indices, Matrix< float > &dists, float radius, const SearchParams ¶ms) |
void | save (std::string filename) |
int | veclen () const |
int | size () const |
NNIndex< T > * | getIndex () |
const IndexParams * | getIndexParameters () |
cvflann::Index< T >::Index | ( | const Matrix< T > & | features, |
const IndexParams & | params | ||
) |
cvflann::Index< T >::~Index | ( | ) |
void cvflann::Index< T >::buildIndex | ( | ) |
void cvflann::Index< T >::knnSearch | ( | const Matrix< T > & | queries, |
Matrix< int > & | indices, | ||
Matrix< float > & | dists, | ||
int | knn, | ||
const SearchParams & | params | ||
) |
int cvflann::Index< T >::radiusSearch | ( | const Matrix< T > & | query, |
Matrix< int > & | indices, | ||
Matrix< float > & | dists, | ||
float | radius, | ||
const SearchParams & | params | ||
) |
void cvflann::Index< T >::save | ( | std::string | filename | ) |
int cvflann::Index< T >::veclen | ( | ) | const |
int cvflann::Index< T >::size | ( | ) | const |
NNIndex<T>* cvflann::Index< T >::getIndex | ( | ) |
const IndexParams* cvflann::Index< T >::getIndexParameters | ( | ) |