OpenCV  2.4.13.7
Open Source Computer Vision
cv::BOWTrainer Class Referenceabstract

#include <features2d.hpp>

Inheritance diagram for cv::BOWTrainer:
cv::BOWKMeansTrainer cv::of2::BOWMSCTrainer

Public Member Functions

 BOWTrainer ()
 
virtual ~BOWTrainer ()
 
void add (const Mat &descriptors)
 
const vector< Mat > & getDescriptors () const
 
int descripotorsCount () const
 
virtual void clear ()
 
virtual Mat cluster () const =0
 
virtual Mat cluster (const Mat &descriptors) const =0
 

Protected Attributes

vector< Matdescriptors
 
int size
 

Constructor & Destructor Documentation

§ BOWTrainer()

cv::BOWTrainer::BOWTrainer ( )

§ ~BOWTrainer()

virtual cv::BOWTrainer::~BOWTrainer ( )
virtual

Member Function Documentation

§ add()

void cv::BOWTrainer::add ( const Mat descriptors)

§ clear()

virtual void cv::BOWTrainer::clear ( )
virtual

§ cluster() [1/2]

virtual Mat cv::BOWTrainer::cluster ( ) const
pure virtual

§ cluster() [2/2]

virtual Mat cv::BOWTrainer::cluster ( const Mat descriptors) const
pure virtual

§ descripotorsCount()

int cv::BOWTrainer::descripotorsCount ( ) const

§ getDescriptors()

const vector<Mat>& cv::BOWTrainer::getDescriptors ( ) const

Member Data Documentation

§ descriptors

vector<Mat> cv::BOWTrainer::descriptors
protected

§ size

int cv::BOWTrainer::size
protected

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