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;}
std::map< int, int > _oldReferences
std::map< int, int > _references
const std::map< int, int > & getReferences() const
int getTotalReferences() const
void setSaved(bool saved)
const cv::Mat & getDescriptor() const