SLProject 4.0.000
WAIOrbVocabulary Class Reference

#include <WAIOrbVocabulary.h>

Public Member Functions

 WAIOrbVocabulary (int layer=2)
 
 ~WAIOrbVocabulary ()
 
void loadFromFile (std::string strVocFile)
 
void create (std::vector< cv::Mat > &features, int k, int l)
 
void transform (const cv::Mat &descriptors, WAIBowVector &bow, WAIFeatVector &feat)
 
double score (WAIBowVector &bow1, WAIBowVector &bow2)
 
size_t size ()
 
void save (std::string path)
 
void setLayer (int layer)
 

Public Attributes

fbow::Vocabulary * _vocabulary = nullptr
 

Private Attributes

int _layer
 

Constructor & Destructor Documentation

◆ WAIOrbVocabulary()

WAIOrbVocabulary::WAIOrbVocabulary ( int  layer = 2)

◆ ~WAIOrbVocabulary()

WAIOrbVocabulary::~WAIOrbVocabulary ( )

Member Function Documentation

◆ create()

void WAIOrbVocabulary::create ( std::vector< cv::Mat > &  features,
int  k,
int  l 
)

◆ loadFromFile()

void WAIOrbVocabulary::loadFromFile ( std::string  strVocFile)

◆ save()

void WAIOrbVocabulary::save ( std::string  path)

◆ score()

double WAIOrbVocabulary::score ( WAIBowVector bow1,
WAIBowVector bow2 
)

◆ setLayer()

void WAIOrbVocabulary::setLayer ( int  layer)
inline

◆ size()

size_t WAIOrbVocabulary::size ( )

◆ transform()

void WAIOrbVocabulary::transform ( const cv::Mat &  descriptors,
WAIBowVector bow,
WAIFeatVector feat 
)

Member Data Documentation

◆ _layer

int WAIOrbVocabulary::_layer
private

◆ _vocabulary

fbow::Vocabulary* WAIOrbVocabulary::_vocabulary = nullptr

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