31 #include <QtCore/QMultiMap>    32 #include <QtCore/QVector>    33 #include <opencv2/opencv.hpp>    43         QMultiMap<int, int> 
addWords(
const cv::Mat & descriptors, 
int objectId);
    45         void search(
const cv::Mat & descriptors, cv::Mat & results, cv::Mat & dists, 
int k);
    52         void save(QDataStream & streamSessionPtr, 
bool saveVocabularyOnly = 
false) 
const;
    53         void load(QDataStream & streamSessionPtr, 
bool loadVocabularyOnly = 
false);
    55         bool load(
const QString & filename);
 
cv::Mat indexedDescriptors_
const QMultiMap< int, int > & wordToObjects() const
cv::Mat notIndexedDescriptors_
QVector< int > notIndexedWordIds_
const cv::Mat & indexedDescriptors() const
cv::flann::Index flannIndex_
QMultiMap< int, int > addWords(const cv::Mat &descriptors, int objectId)
void search(const cv::Mat &descriptors, cv::Mat &results, cv::Mat &dists, int k)
QMultiMap< int, int > wordToObjects_
void load(QDataStream &streamSessionPtr, bool loadVocabularyOnly=false)
void save(QDataStream &streamSessionPtr, bool saveVocabularyOnly=false) const