#include <gmm.h>
Public Member Functions | |
float | density (const GMMFloatPnt &x) const |
void | deserialize (std::ifstream &fd) |
void | dispparams () const |
Gaussian () | |
GMMSigmaVal | GetSigma () |
float | mahal (const GMMFloatPnt &x) const |
void | serialize (std::ofstream &fd) const |
void | SetMean (const GMMFloatPnt &mean_val) |
void | SetSigma (const GMMSigmaVal &gmm_sigma_val) |
Static Public Member Functions | |
static GMMSigmaVal | returnFixedSigma (const float &sigma) |
Public Attributes | |
cv::Mat | mat |
GMMFloatPnt | mv |
Static Public Attributes | |
static const float | MIN_GMM_VARIANCE = 0.0 |
Private Member Functions | |
void | adjustForPSD () |
void | adjustProbNorm () |
Private Attributes | |
cv::Mat | imat |
double | prob_norm |
Gaussian::Gaussian | ( | ) | [inline] |
void Gaussian::adjustForPSD | ( | ) | [inline, private] |
void Gaussian::adjustProbNorm | ( | ) | [inline, private] |
float Gaussian::density | ( | const GMMFloatPnt & | x | ) | const |
void Gaussian::deserialize | ( | std::ifstream & | fd | ) |
void Gaussian::dispparams | ( | ) | const [inline] |
GMMSigmaVal Gaussian::GetSigma | ( | ) | [inline] |
float Gaussian::mahal | ( | const GMMFloatPnt & | x | ) | const |
static GMMSigmaVal Gaussian::returnFixedSigma | ( | const float & | sigma | ) | [inline, static] |
void Gaussian::serialize | ( | std::ofstream & | fd | ) | const |
void Gaussian::SetMean | ( | const GMMFloatPnt & | mean_val | ) | [inline] |
void Gaussian::SetSigma | ( | const GMMSigmaVal & | gmm_sigma_val | ) | [inline] |
cv::Mat Gaussian::imat [private] |
cv::Mat Gaussian::mat |
const float Gaussian::MIN_GMM_VARIANCE = 0.0 [static] |
double Gaussian::prob_norm [private] |