cv::BOWKMeansTrainer Class Reference

#include <features2d.hpp>

Inheritance diagram for cv::BOWKMeansTrainer:
cv::BOWTrainer

List of all members.

Public Member Functions

 BOWKMeansTrainer (int clusterCount, const TermCriteria &termcrit=TermCriteria(), int attempts=3, int flags=KMEANS_PP_CENTERS)
virtual Mat cluster (const Mat &descriptors) const
virtual Mat cluster () const
virtual ~BOWKMeansTrainer ()

Protected Attributes

int attempts
int clusterCount
int flags
TermCriteria termcrit

Constructor & Destructor Documentation

cv::BOWKMeansTrainer::BOWKMeansTrainer ( int  clusterCount,
const TermCriteria termcrit = TermCriteria(),
int  attempts = 3,
int  flags = KMEANS_PP_CENTERS 
)
virtual cv::BOWKMeansTrainer::~BOWKMeansTrainer (  )  [virtual]

Member Function Documentation

virtual Mat cv::BOWKMeansTrainer::cluster ( const Mat descriptors  )  const [virtual]

Implements cv::BOWTrainer.

virtual Mat cv::BOWKMeansTrainer::cluster (  )  const [virtual]

Implements cv::BOWTrainer.


Member Data Documentation

int cv::BOWKMeansTrainer::flags [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Dec 23 11:40:54 2010 for opencv by  doxygen 1.6.3