#include <covariance.h>
Inheritance diagram for FD::Covariance:


Public Member Functions | |
| Covariance (int dim) | |
| Covariance (const Covariance &cov) | |
| virtual | ~Covariance () | 
| virtual void | accumFrame (const float *v)=0 | 
| virtual void | accumFrame (const std::vector< float > &v)=0 | 
| unsigned int | size () const | 
| double | getDeterminant () const | 
| virtual void | compute_determinant () const =0 | 
| virtual void | printOn (std::ostream &out=std::cout) const =0 | 
| virtual double | mahalanobisDistance (const float *x1, const double *x2) const =0 | 
| virtual double & | operator[] (int)=0 | 
| virtual double & | operator() (int, int)=0 | 
| virtual void | reset ()=0 | 
| virtual Covariance * | copy ()=0 | 
| virtual void | invert ()=0 | 
| virtual void | processMean (RCPtr< Mean > mean)=0 | 
Protected Types | |
| enum | Mode { accum, real, rotated, inverted } | 
Protected Attributes | |
| int | dimension | 
| double | determinant | 
| bool | determinant_is_valid | 
| int | mode | 
| int | accum_count | 
Friends | |
| class | GMM | 
      
  | 
  
| 
 Create a Covariance with dim dimensions  | 
  
      
  | 
  
| 
 Copy constructor  | 
  
      
  | 
  
| 
 Virtual Destructor  | 
  
      
  | 
  
| 
 accumulates a frame to the covariance Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  
| 
 accumulates a frame to the covariance Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  
| 
 Computes the determinant Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  
| 
 Returns a copy of the covariance Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  
| 
 Returns (and compute if necessary) the covariance log determinant  | 
  
      
  | 
  
| 
 Converts from accumulate mode to real Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  ||||||||||||
| 
 Computed the mahalanobis distance between the vectors using the covariance Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  ||||||||||||
| 
 Virtual indexing operator 2D Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  
| 
 Virtual indexing operator 1D (for diagonal covariance) Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  
| 
 Prints the covariance Implements FD::Object. Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  
| 
 Substract mean^2, before the covariance can be inverted Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  
| 
 Resets accumulation to zero Implemented in FD::DiagonalCovariance.  | 
  
      
  | 
  
| 
 Returns the covariance size (dimension)  | 
  
      
  | 
  
| 
 Number of frames accumulated  | 
  
      
  | 
  
| 
 Log of the determinant  | 
  
      
  | 
  
| 
 Whether or not the determinant has been computed  | 
  
      
  | 
  
| 
 Size of the covariance matrix  | 
  
      
  | 
  
| 
 Mode  | 
  
 1.4.4