|
| enum | flann_algorithm_t { FLANN_INDEX_LINEAR = 0
, FLANN_INDEX_KDTREE = 1
, FLANN_INDEX_KDTREE_SINGLE = 4
, FLANN_INDEX_LSH = 6
} |
| |
|
|
void | release () |
| |
|
std::vector< unsigned char > | serializeIndex (bool computeChecksum=true) const |
| |
|
size_t | indexedFeatures () const |
| |
|
size_t | memoryUsed () const |
| |
|
void | buildIndex (flann_algorithm_t algorithm, const cv::Mat &features, bool useDistanceL1=false, float rebalancingFactor=2.0f) |
| |
|
bool | loadIndex (const std::vector< unsigned char > &indexData, flann_algorithm_t algorithm, const cv::Mat &features, bool useDistanceL1=false, float rebalancingFactor=2.0f, std::string *errorMsg=NULL) |
| |
|
bool | loadIndex (const unsigned char *indexData, size_t indexDataSize, flann_algorithm_t algorithm, const cv::Mat &features, bool useDistanceL1=false, float rebalancingFactor=2.0f, std::string *errorMsg=NULL) |
| |
|
bool | isBuilt () |
| |
| int | featuresType () const |
| |
| int | featuresDim () const |
| |
|
std::vector< unsigned int > | addPoints (const cv::Mat &features) |
| |
|
void | removePoint (unsigned int index) |
| |
|
void | knnSearch (const cv::Mat &query, cv::Mat &indices, cv::Mat &dists, int knn, int checks=32, float eps=0.0, bool sorted=true) const |
| |
|
void | radiusSearch (const cv::Mat &query, std::vector< std::vector< size_t > > &indices, std::vector< std::vector< float > > &dists, float radius, int maxNeighbors=0, int checks=32, float eps=0.0, bool sorted=true) const |
| |
Definition at line 37 of file FlannIndex.h.
◆ flann_algorithm_t
| enum rtabmap::FlannIndex::flann_algorithm_t |
◆ featuresType()
| int rtabmap::FlannIndex::featuresType |
( |
| ) |
const |
|
inline |
◆ featuresDim()
| int rtabmap::FlannIndex::featuresDim |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: