#include <opencv2/flann/miniflann.hpp>
|
| Index () |
|
| Index (InputArray features, const IndexParams ¶ms, cvflann::flann_distance_t distType=cvflann::FLANN_DIST_L2) |
|
virtual | ~Index () |
|
virtual void | build (InputArray features, const IndexParams ¶ms, cvflann::flann_distance_t distType=cvflann::FLANN_DIST_L2) |
|
cvflann::flann_algorithm_t | getAlgorithm () const |
|
cvflann::flann_distance_t | getDistance () const |
|
virtual void | knnSearch (InputArray query, OutputArray indices, OutputArray dists, int knn, const SearchParams ¶ms=SearchParams()) |
|
virtual bool | load (InputArray features, const String &filename) |
|
virtual int | radiusSearch (InputArray query, OutputArray indices, OutputArray dists, double radius, int maxResults, const SearchParams ¶ms=SearchParams()) |
|
virtual void | release () |
|
virtual void | save (const String &filename) const |
|
§ Index() [1/2]
cv::flann::Index::Index |
( |
| ) |
|
Python: |
---|
| <flann_Index object> | = | cv.flann_Index( | | ) |
| <flann_Index object> | = | cv.flann_Index( | features, params[, distType] | ) |
§ Index() [2/2]
Python: |
---|
| <flann_Index object> | = | cv.flann_Index( | | ) |
| <flann_Index object> | = | cv.flann_Index( | features, params[, distType] | ) |
§ ~Index()
virtual cv::flann::Index::~Index |
( |
| ) |
|
|
virtual |
§ build()
Python: |
---|
| None | = | cv.flann_Index.build( | features, params[, distType] | ) |
§ getAlgorithm()
Python: |
---|
| retval | = | cv.flann_Index.getAlgorithm( | | ) |
§ getDistance()
Python: |
---|
| retval | = | cv.flann_Index.getDistance( | | ) |
§ knnSearch()
Python: |
---|
| indices, dists | = | cv.flann_Index.knnSearch( | query, knn[, indices[, dists[, params]]] | ) |
§ load()
virtual bool cv::flann::Index::load |
( |
InputArray |
features, |
|
|
const String & |
filename |
|
) |
| |
|
virtual |
Python: |
---|
| retval | = | cv.flann_Index.load( | features, filename | ) |
§ radiusSearch()
Python: |
---|
| retval, indices, dists | = | cv.flann_Index.radiusSearch( | query, radius, maxResults[, indices[, dists[, params]]] | ) |
§ release()
virtual void cv::flann::Index::release |
( |
| ) |
|
|
virtual |
Python: |
---|
| None | = | cv.flann_Index.release( | | ) |
§ save()
virtual void cv::flann::Index::save |
( |
const String & |
filename | ) |
const |
|
virtual |
Python: |
---|
| None | = | cv.flann_Index.save( | filename | ) |
§ algo
§ distType
§ featureType
int cv::flann::Index::featureType |
|
protected |
§ index
void* cv::flann::Index::index |
|
protected |
The documentation for this class was generated from the following file: