#include <legacy.hpp>
Inherits CvStatModel.
|
CV_WRAP | CvEM () |
|
| CvEM (const CvMat *samples, const CvMat *sampleIdx=0, CvEMParams params=CvEMParams(), CvMat *labels=0) |
|
virtual | ~CvEM () |
|
virtual bool | train (const CvMat *samples, const CvMat *sampleIdx=0, CvEMParams params=CvEMParams(), CvMat *labels=0) |
|
virtual float | predict (const CvMat *sample, CV_OUT CvMat *probs) const |
|
CV_WRAP | CvEM (const cv::Mat &samples, const cv::Mat &sampleIdx=cv::Mat(), CvEMParams params=CvEMParams()) |
|
virtual CV_WRAP bool | train (const cv::Mat &samples, const cv::Mat &sampleIdx=cv::Mat(), CvEMParams params=CvEMParams(), CV_OUT cv::Mat *labels=0) |
|
virtual CV_WRAP float | predict (const cv::Mat &sample, CV_OUT cv::Mat *probs=0) const |
|
virtual CV_WRAP double | calcLikelihood (const cv::Mat &sample) const |
|
CV_WRAP int | getNClusters () const |
|
CV_WRAP cv::Mat | getMeans () const |
|
CV_WRAP void | getCovs (CV_OUT std::vector< cv::Mat > &covs) const |
|
CV_WRAP cv::Mat | getWeights () const |
|
CV_WRAP cv::Mat | getProbs () const |
|
CV_WRAP double | getLikelihood () const |
|
virtual CV_WRAP void | clear () |
|
int | get_nclusters () const |
|
const CvMat * | get_means () const |
|
const CvMat ** | get_covs () const |
|
const CvMat * | get_weights () const |
|
const CvMat * | get_probs () const |
|
double | get_log_likelihood () const |
|
virtual void | read (CvFileStorage *fs, CvFileNode *node) |
|
virtual void | write (CvFileStorage *fs, const char *name) const |
|
virtual CV_WRAP void | save (const char *filename, const char *name=0) const |
|
virtual CV_WRAP void | load (const char *filename, const char *name=0) |
|
Enumerator |
---|
COV_MAT_SPHERICAL |
|
COV_MAT_DIAGONAL |
|
COV_MAT_GENERIC |
|
Enumerator |
---|
START_E_STEP |
|
START_M_STEP |
|
START_AUTO_STEP |
|
virtual float CvEM::predict |
( |
const CvMat * |
sample, |
|
|
CV_OUT CvMat * |
probs |
|
) |
| const |
|
virtual |
virtual CV_WRAP float CvEM::predict |
( |
const cv::Mat & |
sample, |
|
|
CV_OUT cv::Mat * |
probs = 0 |
|
) |
| const |
|
virtual |
virtual CV_WRAP double CvEM::calcLikelihood |
( |
const cv::Mat & |
sample | ) |
const |
|
virtual |
CV_WRAP int CvEM::getNClusters |
( |
| ) |
const |
CV_WRAP cv::Mat CvEM::getMeans |
( |
| ) |
const |
CV_WRAP void CvEM::getCovs |
( |
CV_OUT std::vector< cv::Mat > & |
covs | ) |
const |
CV_WRAP cv::Mat CvEM::getWeights |
( |
| ) |
const |
CV_WRAP cv::Mat CvEM::getProbs |
( |
| ) |
const |
CV_WRAP double CvEM::getLikelihood |
( |
| ) |
const |
virtual CV_WRAP void CvEM::clear |
( |
| ) |
|
|
virtual |
int CvEM::get_nclusters |
( |
| ) |
const |
const CvMat* CvEM::get_means |
( |
| ) |
const |
const CvMat** CvEM::get_covs |
( |
| ) |
const |
const CvMat* CvEM::get_weights |
( |
| ) |
const |
const CvMat* CvEM::get_probs |
( |
| ) |
const |
double CvEM::get_log_likelihood |
( |
| ) |
const |
void CvEM::set_mat_hdrs |
( |
| ) |
|
|
protected |
virtual CV_WRAP void CvStatModel::save |
( |
const char * |
filename, |
|
|
const char * |
name = 0 |
|
) |
| const |
|
virtualinherited |
virtual CV_WRAP void CvStatModel::load |
( |
const char * |
filename, |
|
|
const char * |
name = 0 |
|
) |
| |
|
virtualinherited |
double CvEM::logLikelihood |
|
protected |
std::vector<CvMat> CvEM::covsHdrs |
|
protected |
std::vector<CvMat*> CvEM::covsPtrs |
|
protected |
const char* CvStatModel::default_model_name |
|
protectedinherited |
The documentation for this class was generated from the following file: