#include <FlannIndex.h>
|
std::vector< unsigned int > | addPoints (const cv::Mat &features) |
|
void | buildKDTreeIndex (const cv::Mat &features, int trees=4, bool useDistanceL1=false, float rebalancingFactor=2.0f) |
|
void | buildKDTreeSingleIndex (const cv::Mat &features, int leafMaxSize=10, bool reorder=true, bool useDistanceL1=false, float rebalancingFactor=2.0f) |
|
void | buildLinearIndex (const cv::Mat &features, bool useDistanceL1=false, float rebalancingFactor=2.0f) |
|
void | buildLSHIndex (const cv::Mat &features, unsigned int table_number=12, unsigned int key_size=20, unsigned int multi_probe_level=2, float rebalancingFactor=2.0f) |
|
int | featuresDim () const |
|
int | featuresType () const |
|
| FlannIndex () |
|
unsigned int | indexedFeatures () const |
|
bool | isBuilt () |
|
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 |
|
unsigned long | memoryUsed () 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 |
|
void | release () |
|
void | removePoint (unsigned int index) |
|
virtual | ~FlannIndex () |
|
Definition at line 37 of file FlannIndex.h.
◆ FlannIndex()
rtabmap::FlannIndex::FlannIndex |
( |
| ) |
|
◆ ~FlannIndex()
rtabmap::FlannIndex::~FlannIndex |
( |
| ) |
|
|
virtual |
◆ addPoints()
std::vector< unsigned int > rtabmap::FlannIndex::addPoints |
( |
const cv::Mat & |
features | ) |
|
◆ buildKDTreeIndex()
void rtabmap::FlannIndex::buildKDTreeIndex |
( |
const cv::Mat & |
features, |
|
|
int |
trees = 4 , |
|
|
bool |
useDistanceL1 = false , |
|
|
float |
rebalancingFactor = 2.0f |
|
) |
| |
◆ buildKDTreeSingleIndex()
void rtabmap::FlannIndex::buildKDTreeSingleIndex |
( |
const cv::Mat & |
features, |
|
|
int |
leafMaxSize = 10 , |
|
|
bool |
reorder = true , |
|
|
bool |
useDistanceL1 = false , |
|
|
float |
rebalancingFactor = 2.0f |
|
) |
| |
◆ buildLinearIndex()
void rtabmap::FlannIndex::buildLinearIndex |
( |
const cv::Mat & |
features, |
|
|
bool |
useDistanceL1 = false , |
|
|
float |
rebalancingFactor = 2.0f |
|
) |
| |
◆ buildLSHIndex()
void rtabmap::FlannIndex::buildLSHIndex |
( |
const cv::Mat & |
features, |
|
|
unsigned int |
table_number = 12 , |
|
|
unsigned int |
key_size = 20 , |
|
|
unsigned int |
multi_probe_level = 2 , |
|
|
float |
rebalancingFactor = 2.0f |
|
) |
| |
◆ featuresDim()
int rtabmap::FlannIndex::featuresDim |
( |
| ) |
const |
|
inline |
◆ featuresType()
int rtabmap::FlannIndex::featuresType |
( |
| ) |
const |
|
inline |
◆ indexedFeatures()
unsigned int rtabmap::FlannIndex::indexedFeatures |
( |
| ) |
const |
◆ isBuilt()
bool rtabmap::FlannIndex::isBuilt |
( |
| ) |
|
◆ knnSearch()
void rtabmap::FlannIndex::knnSearch |
( |
const cv::Mat & |
query, |
|
|
cv::Mat & |
indices, |
|
|
cv::Mat & |
dists, |
|
|
int |
knn, |
|
|
int |
checks = 32 , |
|
|
float |
eps = 0.0 , |
|
|
bool |
sorted = true |
|
) |
| const |
◆ memoryUsed()
unsigned long rtabmap::FlannIndex::memoryUsed |
( |
| ) |
const |
◆ radiusSearch()
void rtabmap::FlannIndex::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 |
◆ release()
void rtabmap::FlannIndex::release |
( |
| ) |
|
◆ removePoint()
void rtabmap::FlannIndex::removePoint |
( |
unsigned int |
index | ) |
|
◆ addedDescriptors_
std::map<int, cv::Mat> rtabmap::FlannIndex::addedDescriptors_ |
|
private |
◆ featuresDim_
int rtabmap::FlannIndex::featuresDim_ |
|
private |
◆ featuresType_
int rtabmap::FlannIndex::featuresType_ |
|
private |
◆ index_
void* rtabmap::FlannIndex::index_ |
|
private |
◆ isLSH_
bool rtabmap::FlannIndex::isLSH_ |
|
private |
◆ nextIndex_
unsigned int rtabmap::FlannIndex::nextIndex_ |
|
private |
◆ rebalancingFactor_
float rtabmap::FlannIndex::rebalancingFactor_ |
|
private |
◆ removedIndexes_
std::list<int> rtabmap::FlannIndex::removedIndexes_ |
|
private |
◆ useDistanceL1_
bool rtabmap::FlannIndex::useDistanceL1_ |
|
private |
The documentation for this class was generated from the following files: