Go to the documentation of this file.
60 _references.insert(std::pair<int, int>(signatureId, 1));
74 unsigned long memoryUsage =
sizeof(
VisualWord);
75 memoryUsage +=
_references.size() * (
sizeof(
int)*2+
sizeof(std::map<int ,int>::iterator)) +
sizeof(std::map<int ,int>);
76 memoryUsage +=
_oldReferences.size() * (
sizeof(
int)*2+
sizeof(std::map<int ,int>::iterator)) +
sizeof(std::map<int ,int>);
VisualWord(int id, const cv::Mat &descriptor, int signatureId=0)
void addRef(int signatureId)
std::map< int, int > _references
int removeAllRef(int signatureId)
unsigned long getMemoryUsed() const
std::map< int, int > _oldReferences
V uTake(std::map< K, V > &m, const K &key, const V &defaultValue=V())
ULogger class and convenient macros.
iterator iter(handle obj)
Wrappers of STL for convenient functions.
rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:24