#include <legacy.hpp>
|
| 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 |
|
| CvEM (const cv::Mat &samples, const cv::Mat &sampleIdx=cv::Mat(), CvEMParams params=CvEMParams()) |
|
virtual bool | train (const cv::Mat &samples, const cv::Mat &sampleIdx=cv::Mat(), CvEMParams params=CvEMParams(), CV_OUT cv::Mat *labels=0) |
|
virtual float | predict (const cv::Mat &sample, CV_OUT cv::Mat *probs=0) const |
|
virtual double | calcLikelihood (const cv::Mat &sample) const |
|
int | getNClusters () const |
|
cv::Mat | getMeans () const |
|
void | getCovs (CV_OUT std::vector< cv::Mat > &covs) const |
|
cv::Mat | getWeights () const |
|
cv::Mat | getProbs () const |
|
double | getLikelihood () const |
|
virtual 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 |
|
| CvStatModel () |
|
virtual | ~CvStatModel () |
|
virtual void | save (const char *filename, const char *name=0) const |
|
virtual 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 double CvEM::calcLikelihood |
( |
const cv::Mat & |
sample | ) |
const |
|
virtual |
virtual void CvEM::clear |
( |
| ) |
|
|
virtual |
const CvMat** CvEM::get_covs |
( |
| ) |
const |
double CvEM::get_log_likelihood |
( |
| ) |
const |
|
inline |
const CvMat* CvEM::get_means |
( |
| ) |
const |
int CvEM::get_nclusters |
( |
| ) |
const |
const CvMat* CvEM::get_probs |
( |
| ) |
const |
const CvMat* CvEM::get_weights |
( |
| ) |
const |
double CvEM::getLikelihood |
( |
| ) |
const |
|
inline |
int CvEM::getNClusters |
( |
| ) |
const |
virtual float CvEM::predict |
( |
const CvMat * |
sample, |
|
|
CV_OUT CvMat * |
probs |
|
) |
| const |
|
virtual |
void CvEM::set_mat_hdrs |
( |
| ) |
|
|
protected |
std::vector<CvMat> CvEM::covsHdrs |
|
protected |
std::vector<CvMat*> CvEM::covsPtrs |
|
protected |
double CvEM::logLikelihood |
|
protected |
The documentation for this class was generated from the following file: