PedestrainCounting
Public Member Functions | Public Attributes | List of all members
EstimatedGaussianDistribution< N > Class Template Reference

#include <EstimatedGaussianDistribution.h>

Public Member Functions

 EstimatedGaussianDistribution (float pm=1000.0f, float ps=1000.0f, float rm=0.01f, float rs=0.01f)
 
void Reset (float pm=1000.0f, float ps=1000.0f, float rm=0.01f, float rs=0.01f)
 
void Update (const float *value)
 
void SetValues (const float *m, const float *s)
 

Public Attributes

float mean [N]
 
float sigma [N]
 
float pMean
 
float pSigma
 
float rMean
 
float rSigma
 

Detailed Description

template<int N>
class EstimatedGaussianDistribution< N >

Estimate a N dimension Gaussian distribution with Kalman filter.

Member Function Documentation

template<int N>
void EstimatedGaussianDistribution< N >::Reset ( float  pm = 1000.0f,
float  ps = 1000.0f,
float  rm = 0.01f,
float  rs = 0.01f 
)
inline

Reset everything to the start state.

template<int N>
void EstimatedGaussianDistribution< N >::Update ( const float *  value)

Use Kalman filter to update the Gaussian distribution.


The documentation for this class was generated from the following file: