#include <VWDictionary.h>
Definition at line 46 of file VWDictionary.h.
◆ NNStrategy
Enumerator |
---|
kNNFlannNaive | |
kNNFlannKdTree | |
kNNFlannLSH | |
kNNBruteForce | |
kNNBruteForceGPU | |
kNNUndef | |
Definition at line 49 of file VWDictionary.h.
◆ VWDictionary()
◆ ~VWDictionary()
rtabmap::VWDictionary::~VWDictionary |
( |
| ) |
|
|
virtual |
◆ addNewWords()
std::list< int > rtabmap::VWDictionary::addNewWords |
( |
const cv::Mat & |
descriptors, |
|
|
int |
signatureId |
|
) |
| |
|
virtual |
◆ addWord()
void rtabmap::VWDictionary::addWord |
( |
VisualWord * |
vw | ) |
|
|
virtual |
◆ addWordRef()
void rtabmap::VWDictionary::addWordRef |
( |
int |
wordId, |
|
|
int |
signatureId |
|
) |
| |
◆ clear()
void rtabmap::VWDictionary::clear |
( |
bool |
printWarningsIfNotEmpty = true | ) |
|
◆ convert32FToBin()
cv::Mat rtabmap::VWDictionary::convert32FToBin |
( |
const cv::Mat & |
descriptorsIn, |
|
|
bool |
byteToFloat = true |
|
) |
| |
|
static |
◆ convertBinTo32F()
cv::Mat rtabmap::VWDictionary::convertBinTo32F |
( |
const cv::Mat & |
descriptorsIn, |
|
|
bool |
byteToFloat = true |
|
) |
| |
|
static |
◆ deleteUnusedWords()
void rtabmap::VWDictionary::deleteUnusedWords |
( |
| ) |
|
◆ exportDictionary()
void rtabmap::VWDictionary::exportDictionary |
( |
const char * |
fileNameReferences, |
|
|
const char * |
fileNameDescriptors |
|
) |
| const |
◆ findNN() [1/2]
std::vector< int > rtabmap::VWDictionary::findNN |
( |
const cv::Mat & |
descriptors | ) |
const |
◆ findNN() [2/2]
std::vector< int > rtabmap::VWDictionary::findNN |
( |
const std::list< VisualWord * > & |
vws | ) |
const |
◆ getIndexedWordsCount()
unsigned int rtabmap::VWDictionary::getIndexedWordsCount |
( |
| ) |
const |
◆ getIndexMemoryUsed()
unsigned int rtabmap::VWDictionary::getIndexMemoryUsed |
( |
| ) |
const |
◆ getLastIndexedWordId()
int rtabmap::VWDictionary::getLastIndexedWordId |
( |
| ) |
const |
◆ getMemoryUsed()
unsigned long rtabmap::VWDictionary::getMemoryUsed |
( |
| ) |
const |
◆ getNextId()
int rtabmap::VWDictionary::getNextId |
( |
| ) |
|
|
protected |
◆ getNndrRatio()
float rtabmap::VWDictionary::getNndrRatio |
( |
| ) |
const |
|
inline |
◆ getNotIndexedWordsCount()
unsigned int rtabmap::VWDictionary::getNotIndexedWordsCount |
( |
| ) |
const |
|
inline |
◆ getTotalActiveReferences()
int rtabmap::VWDictionary::getTotalActiveReferences |
( |
| ) |
const |
|
inline |
◆ getUnusedWord()
VisualWord * rtabmap::VWDictionary::getUnusedWord |
( |
int |
id | ) |
const |
◆ getUnusedWordIds()
std::vector< int > rtabmap::VWDictionary::getUnusedWordIds |
( |
| ) |
const |
◆ getUnusedWords()
std::vector< VisualWord * > rtabmap::VWDictionary::getUnusedWords |
( |
| ) |
const |
◆ getUnusedWordsSize()
unsigned int rtabmap::VWDictionary::getUnusedWordsSize |
( |
| ) |
const |
|
inline |
◆ getVisualWords()
const std::map<int, VisualWord *>& rtabmap::VWDictionary::getVisualWords |
( |
| ) |
const |
|
inline |
◆ getWord()
const VisualWord * rtabmap::VWDictionary::getWord |
( |
int |
id | ) |
const |
◆ isIncremental()
bool rtabmap::VWDictionary::isIncremental |
( |
| ) |
const |
|
inline |
◆ isIncrementalFlann()
bool rtabmap::VWDictionary::isIncrementalFlann |
( |
| ) |
const |
|
inline |
◆ nnStrategyName()
◆ parseParameters()
void rtabmap::VWDictionary::parseParameters |
( |
const ParametersMap & |
parameters | ) |
|
|
virtual |
◆ removeAllWordRef()
void rtabmap::VWDictionary::removeAllWordRef |
( |
int |
wordId, |
|
|
int |
signatureId |
|
) |
| |
◆ removeWords()
void rtabmap::VWDictionary::removeWords |
( |
const std::vector< VisualWord * > & |
words | ) |
|
◆ setFixedDictionary()
void rtabmap::VWDictionary::setFixedDictionary |
( |
const std::string & |
dictionaryPath | ) |
|
◆ setIncrementalDictionary()
void rtabmap::VWDictionary::setIncrementalDictionary |
( |
| ) |
|
◆ setLastWordId()
void rtabmap::VWDictionary::setLastWordId |
( |
int |
id | ) |
|
|
inline |
◆ setNNStrategy()
bool rtabmap::VWDictionary::setNNStrategy |
( |
NNStrategy |
strategy | ) |
|
◆ update()
void rtabmap::VWDictionary::update |
( |
| ) |
|
|
virtual |
◆ _byteToFloat
bool rtabmap::VWDictionary::_byteToFloat |
|
private |
◆ _dataTree
cv::Mat rtabmap::VWDictionary::_dataTree |
|
private |
◆ _dictionaryPath
◆ _flannIndex
◆ _incrementalDictionary
bool rtabmap::VWDictionary::_incrementalDictionary |
|
private |
◆ _incrementalFlann
bool rtabmap::VWDictionary::_incrementalFlann |
|
private |
◆ _lastWordId
int rtabmap::VWDictionary::_lastWordId |
|
private |
◆ _mapIdIndex
std::map<int ,int> rtabmap::VWDictionary::_mapIdIndex |
|
private |
◆ _mapIndexId
std::map<int ,int> rtabmap::VWDictionary::_mapIndexId |
|
private |
◆ _newDictionaryPath
◆ _newWordsComparedTogether
bool rtabmap::VWDictionary::_newWordsComparedTogether |
|
private |
◆ _nndrRatio
float rtabmap::VWDictionary::_nndrRatio |
|
private |
◆ _notIndexedWords
◆ _rebalancingFactor
float rtabmap::VWDictionary::_rebalancingFactor |
|
private |
◆ _removedIndexedWords
std::set<int> rtabmap::VWDictionary::_removedIndexedWords |
|
private |
◆ _strategy
◆ _totalActiveReferences
int rtabmap::VWDictionary::_totalActiveReferences |
|
protected |
◆ _unusedWords
◆ _visualWords
◆ ID_INVALID
const int rtabmap::VWDictionary::ID_INVALID = 0 |
|
static |
◆ ID_START
const int rtabmap::VWDictionary::ID_START = 1 |
|
static |
◆ useDistanceL1_
bool rtabmap::VWDictionary::useDistanceL1_ |
|
private |
The documentation for this class was generated from the following files: