#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) |
|
§ anonymous enum
Enumerator |
---|
COV_MAT_SPHERICAL | |
COV_MAT_DIAGONAL | |
COV_MAT_GENERIC | |
§ anonymous enum
Enumerator |
---|
START_E_STEP | |
START_M_STEP | |
START_AUTO_STEP | |
§ CvEM() [1/3]
§ CvEM() [2/3]
§ ~CvEM()
§ CvEM() [3/3]
§ calcLikelihood()
virtual double CvEM::calcLikelihood |
( |
const cv::Mat & |
sample | ) |
const |
|
virtual |
§ clear()
virtual void CvEM::clear |
( |
| ) |
|
|
virtual |
§ get_covs()
const CvMat** CvEM::get_covs |
( |
| ) |
const |
§ get_log_likelihood()
double CvEM::get_log_likelihood |
( |
| ) |
const |
|
inline |
§ get_means()
const CvMat* CvEM::get_means |
( |
| ) |
const |
§ get_nclusters()
int CvEM::get_nclusters |
( |
| ) |
const |
§ get_probs()
const CvMat* CvEM::get_probs |
( |
| ) |
const |
§ get_weights()
const CvMat* CvEM::get_weights |
( |
| ) |
const |
§ getCovs()
§ getLikelihood()
double CvEM::getLikelihood |
( |
| ) |
const |
|
inline |
§ getMeans()
§ getNClusters()
int CvEM::getNClusters |
( |
| ) |
const |
§ getProbs()
§ getWeights()
§ predict() [1/2]
virtual float CvEM::predict |
( |
const CvMat * |
sample, |
|
|
CV_OUT CvMat * |
probs |
|
) |
| const |
|
virtual |
§ predict() [2/2]
§ read()
§ set_mat_hdrs()
void CvEM::set_mat_hdrs |
( |
| ) |
|
|
protected |
§ train() [1/2]
§ train() [2/2]
§ write()
§ covsHdrs
std::vector<CvMat> CvEM::covsHdrs |
|
protected |
§ covsPtrs
std::vector<CvMat*> CvEM::covsPtrs |
|
protected |
§ emObj
§ logLikelihood
double CvEM::logLikelihood |
|
protected |
§ meansHdr
§ probs
§ probsHdr
§ weightsHdr
The documentation for this class was generated from the following file: