Public Member Functions | |
unsigned int | addPoint (const cv::Mat &feature) |
void | build (const cv::Mat &features, const rtflann::IndexParams ¶ms, bool useDistanceL1) |
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, const rtflann::SearchParams ¶ms=rtflann::SearchParams()) |
unsigned int | memoryUsed () const |
void | release () |
void | removePoint (unsigned int index) |
virtual | ~FlannIndex () |
Private Attributes | |
std::map< int, cv::Mat > | addedDescriptors_ |
int | featuresDim_ |
int | featuresType_ |
void * | index_ |
bool | isLSH_ |
unsigned int | nextIndex_ |
std::list< int > | removedIndexes_ |
bool | useDistanceL1_ |
Definition at line 56 of file VWDictionary.cpp.
rtabmap::FlannIndex::FlannIndex | ( | ) | [inline] |
Definition at line 59 of file VWDictionary.cpp.
virtual rtabmap::FlannIndex::~FlannIndex | ( | ) | [inline, virtual] |
Definition at line 68 of file VWDictionary.cpp.
unsigned int rtabmap::FlannIndex::addPoint | ( | const cv::Mat & | feature | ) | [inline] |
Definition at line 199 of file VWDictionary.cpp.
void rtabmap::FlannIndex::build | ( | const cv::Mat & | features, |
const rtflann::IndexParams & | params, | ||
bool | useDistanceL1 | ||
) | [inline] |
Definition at line 148 of file VWDictionary.cpp.
int rtabmap::FlannIndex::featuresDim | ( | ) | const [inline] |
Definition at line 197 of file VWDictionary.cpp.
int rtabmap::FlannIndex::featuresType | ( | ) | const [inline] |
Definition at line 196 of file VWDictionary.cpp.
unsigned int rtabmap::FlannIndex::indexedFeatures | ( | ) | const [inline] |
Definition at line 100 of file VWDictionary.cpp.
bool rtabmap::FlannIndex::isBuilt | ( | ) | [inline] |
Definition at line 191 of file VWDictionary.cpp.
void rtabmap::FlannIndex::knnSearch | ( | const cv::Mat & | query, |
cv::Mat & | indices, | ||
cv::Mat & | dists, | ||
int | knn, | ||
const rtflann::SearchParams & | params = rtflann::SearchParams() |
||
) | [inline] |
Definition at line 297 of file VWDictionary.cpp.
unsigned int rtabmap::FlannIndex::memoryUsed | ( | ) | const [inline] |
Definition at line 124 of file VWDictionary.cpp.
void rtabmap::FlannIndex::release | ( | ) | [inline] |
Definition at line 73 of file VWDictionary.cpp.
void rtabmap::FlannIndex::removePoint | ( | unsigned int | index | ) | [inline] |
Definition at line 268 of file VWDictionary.cpp.
std::map<int, cv::Mat> rtabmap::FlannIndex::addedDescriptors_ [private] |
Definition at line 345 of file VWDictionary.cpp.
int rtabmap::FlannIndex::featuresDim_ [private] |
Definition at line 339 of file VWDictionary.cpp.
int rtabmap::FlannIndex::featuresType_ [private] |
Definition at line 338 of file VWDictionary.cpp.
void* rtabmap::FlannIndex::index_ [private] |
Definition at line 336 of file VWDictionary.cpp.
bool rtabmap::FlannIndex::isLSH_ [private] |
Definition at line 340 of file VWDictionary.cpp.
unsigned int rtabmap::FlannIndex::nextIndex_ [private] |
Definition at line 337 of file VWDictionary.cpp.
std::list<int> rtabmap::FlannIndex::removedIndexes_ [private] |
Definition at line 346 of file VWDictionary.cpp.
bool rtabmap::FlannIndex::useDistanceL1_ [private] |
Definition at line 341 of file VWDictionary.cpp.