OpenCV
3.0.0-rc1
Open Source Computer Vision
|
#include "flann.hpp"
Public Types | |
typedef L2< T >::ResultType | DistanceType |
typedef L2< T >::ElementType | ElementType |
Public Member Functions | |
Index_ (const Mat &features, const ::cvflann::IndexParams ¶ms) | |
~Index_ () | |
const ::cvflann::IndexParams * | getIndexParameters () |
::cvflann::IndexParams | getParameters () |
void | knnSearch (const std::vector< ElementType > &query, std::vector< int > &indices, std::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 std::vector< ElementType > &query, std::vector< int > &indices, std::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 (String filename) |
int | size () const |
int | veclen () const |
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 std::vector< ElementType > & | query, |
std::vector< int > & | indices, | ||
std::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 std::vector< ElementType > & | query, |
std::vector< int > & | indices, | ||
std::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 |