#include <features2d.hpp>
Public Member Functions | |
BOWKMeansTrainer (int clusterCount, const TermCriteria &termcrit=TermCriteria(), int attempts=3, int flags=KMEANS_PP_CENTERS) | |
virtual | ~BOWKMeansTrainer () |
virtual Mat | cluster () const |
virtual Mat | cluster (const Mat &descriptors) const |
Public Member Functions inherited from cv::BOWTrainer | |
BOWTrainer () | |
virtual | ~BOWTrainer () |
void | add (const Mat &descriptors) |
const vector< Mat > & | getDescriptors () const |
int | descripotorsCount () const |
virtual void | clear () |
Protected Attributes | |
int | clusterCount |
TermCriteria | termcrit |
int | attempts |
int | flags |
Protected Attributes inherited from cv::BOWTrainer | |
vector< Mat > | descriptors |
int | size |
cv::BOWKMeansTrainer::BOWKMeansTrainer | ( | int | clusterCount, |
const TermCriteria & | termcrit = TermCriteria() , |
||
int | attempts = 3 , |
||
int | flags = KMEANS_PP_CENTERS |
||
) |
|
virtual |
|
virtual |
Implements cv::BOWTrainer.
Implements cv::BOWTrainer.
|
protected |
|
protected |
|
protected |
|
protected |