#include <covariance.h>
Inheritance diagram for FD::DiagonalCovariance:
Public Member Functions | |
DiagonalCovariance (std::istream &in) | |
DiagonalCovariance (int dim) | |
DiagonalCovariance (const DiagonalCovariance &cov) | |
double | mahalanobisDistance (const float *x1, const double *x2) const |
double & | operator[] (int i) |
double & | operator() (int i) |
double & | operator() (int i, int) |
void | compute_determinant () const |
void | accumFrame (const float *v) |
void | accumFrame (const std::vector< float > &v) |
void | reset () |
Covariance * | copy () |
void | invert () |
void | processMean (RCPtr< Mean > mean) |
virtual void | printOn (std::ostream &out=std::cout) const |
void | readFrom (std::istream &in=std::cin) |
Friends | |
class | GMM |
std::istream & | operator>> (std::istream &in, DiagonalCovariance &cov) |
|
Constructs a Diagonal Covariance with dimension dim |
|
Copy Constructor |
|
accumulates a frame to the covariance Implements FD::Covariance. |
|
accumulates a frame to the covariance Implements FD::Covariance. |
|
Computes the determinant Implements FD::Covariance. |
|
Returns a copy of the covariance Implements FD::Covariance. |
|
Converts from accumulate mode to real Implements FD::Covariance. |
|
returns the mahalanobis distance between x1 and x2 using the covariance Implements FD::Covariance. |
|
virtual, should not be used Implements FD::Covariance. |
|
virtual, should not be used |
|
virtual, should not be used Implements FD::Covariance. |
|
print function used for operator << Implements FD::Covariance. |
|
Substract mean^2, before the covariance can be inverted Implements FD::Covariance. |
|
Read function used for operator >> Reimplemented from FD::Object. |
|
Reset accumulation to zero Implements FD::Covariance. |
|
extractor operator |