Public Member Functions | Private Attributes
find_object::Vocabulary Class Reference

#include <Vocabulary.h>

List of all members.

Public Member Functions

QMultiMap< int, int > addWords (const cv::Mat &descriptors, int objectId, bool incremental)
void clear ()
const cv::Mat & indexedDescriptors () const
void load (QDataStream &streamPtr)
void save (QDataStream &streamPtr) const
void search (const cv::Mat &descriptors, cv::Mat &results, cv::Mat &dists, int k)
int size () const
void update ()
 Vocabulary ()
const QMultiMap< int, int > & wordToObjects () const
virtual ~Vocabulary ()

Private Attributes

cv::flann::Index flannIndex_
cv::Mat indexedDescriptors_
cv::Mat notIndexedDescriptors_
QVector< int > notIndexedWordIds_
QMultiMap< int, int > wordToObjects_

Detailed Description

Definition at line 37 of file Vocabulary.h.


Constructor & Destructor Documentation

Definition at line 38 of file Vocabulary.cpp.

Definition at line 42 of file Vocabulary.cpp.


Member Function Documentation

QMultiMap< int, int > find_object::Vocabulary::addWords ( const cv::Mat &  descriptors,
int  objectId,
bool  incremental 
)

Definition at line 89 of file Vocabulary.cpp.

Definition at line 46 of file Vocabulary.cpp.

const cv::Mat& find_object::Vocabulary::indexedDescriptors ( ) const [inline]

Definition at line 48 of file Vocabulary.h.

void find_object::Vocabulary::load ( QDataStream &  streamPtr)

Definition at line 73 of file Vocabulary.cpp.

void find_object::Vocabulary::save ( QDataStream &  streamPtr) const

Definition at line 54 of file Vocabulary.cpp.

void find_object::Vocabulary::search ( const cv::Mat &  descriptors,
cv::Mat &  results,
cv::Mat &  dists,
int  k 
)

Definition at line 258 of file Vocabulary.cpp.

int find_object::Vocabulary::size ( ) const [inline]

Definition at line 46 of file Vocabulary.h.

Definition at line 233 of file Vocabulary.cpp.

const QMultiMap<int, int>& find_object::Vocabulary::wordToObjects ( ) const [inline]

Definition at line 47 of file Vocabulary.h.


Member Data Documentation

cv::flann::Index find_object::Vocabulary::flannIndex_ [private]

Definition at line 54 of file Vocabulary.h.

Definition at line 55 of file Vocabulary.h.

Definition at line 56 of file Vocabulary.h.

Definition at line 58 of file Vocabulary.h.

QMultiMap<int, int> find_object::Vocabulary::wordToObjects_ [private]

Definition at line 57 of file Vocabulary.h.


The documentation for this class was generated from the following files:


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Aug 27 2015 13:00:34