OpenCV  2.4.13
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

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

Member Function Documentation

void cv::BOWTrainer::add ( const Mat descriptors)
virtual void cv::BOWTrainer::clear ( )
virtual
virtual Mat cv::BOWTrainer::cluster ( ) const
pure virtual
virtual Mat cv::BOWTrainer::cluster ( const Mat descriptors) const
pure virtual
int cv::BOWTrainer::descripotorsCount ( ) const
const vector<Mat>& cv::BOWTrainer::getDescriptors ( ) const

Member Data Documentation

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

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