#include <flann.hpp>
Public Types | |
typedef L2< T >::ElementType | ElementType |
typedef L2< T >::ResultType | DistanceType |
Public Member Functions | |
Index_ (const Mat &features, const ::cvflann::IndexParams ¶ms) | |
~Index_ () | |
void | knnSearch (const vector< ElementType > &query, vector< int > &indices, vector< DistanceType > &dists, int knn, const ::cvflann::SearchParams ¶ms) |
void | knnSearch (const Mat &queries, Mat &indices, Mat &dists, int knn, const ::cvflann::SearchParams ¶ms) |
int | radiusSearch (const vector< ElementType > &query, vector< int > &indices, vector< DistanceType > &dists, DistanceType radius, const ::cvflann::SearchParams ¶ms) |
int | radiusSearch (const Mat &query, Mat &indices, Mat &dists, DistanceType radius, const ::cvflann::SearchParams ¶ms) |
void | save (std::string filename) |
int | veclen () const |
int | size () const |
::cvflann::IndexParams | getParameters () |
FLANN_DEPRECATEDconst::cvflann::IndexParams * | getIndexParameters () |
typedef L2<T>::ResultType cv::flann::Index_< T >::DistanceType |
typedef L2<T>::ElementType cv::flann::Index_< T >::ElementType |
cv::flann::Index_< T >::Index_ | ( | const Mat & | features, |
const ::cvflann::IndexParams & | params | ||
) |
cv::flann::Index_< T >::~Index_ | ( | ) |
|
inline |
|
inline |
void cv::flann::Index_< T >::knnSearch | ( | const vector< ElementType > & | query, |
vector< int > & | indices, | ||
vector< DistanceType > & | dists, | ||
int | knn, | ||
const ::cvflann::SearchParams & | params | ||
) |
void cv::flann::Index_< T >::knnSearch | ( | const Mat & | queries, |
Mat & | indices, | ||
Mat & | dists, | ||
int | knn, | ||
const ::cvflann::SearchParams & | params | ||
) |
int cv::flann::Index_< T >::radiusSearch | ( | const vector< ElementType > & | query, |
vector< int > & | indices, | ||
vector< DistanceType > & | dists, | ||
DistanceType | radius, | ||
const ::cvflann::SearchParams & | params | ||
) |
int cv::flann::Index_< T >::radiusSearch | ( | const Mat & | query, |
Mat & | indices, | ||
Mat & | dists, | ||
DistanceType | radius, | ||
const ::cvflann::SearchParams & | params | ||
) |
|
inline |
|
inline |
|
inline |