32 #include <opencv2/core/core.hpp> 41 VisualWord(
int id,
const cv::Mat & descriptor,
int signatureId = 0);
44 void addRef(
int signatureId);
45 int removeAllRef(
int signatureId);
46 unsigned long getMemoryUsed()
const;
49 int id()
const {
return _id;}
const std::map< int, int > & getReferences() const
std::map< int, int > _oldReferences
int getTotalReferences() const
std::map< int, int > _references
const cv::Mat & getDescriptor() const
void setSaved(bool saved)