ACT-CV - Machine Vision for Cognitive Modeling
|
compute a trimmed mean More...
#include <statistiken.h>
Public Member Functions | |
void | Init () |
void | Add (double d) |
void | Compute (double margin=.2) |
double | GetMean () const |
double | GetVar () const |
double | GetStDev () const |
unsigned int | GetNumCases () const |
Private Attributes | |
std::vector< double > | data |
Var< double > | avg |
compute a trimmed mean
Definition at line 260 of file statistiken.h.
void TrimmedMean::Add | ( | double | d) |
Definition at line 267 of file statistiken.h.
References data.
Referenced by OpticalFlow::GetWinkel(), and OpticalFlow::PrintFlowField().
void TrimmedMean::Compute | ( | double | margin = .2 ) |
margin | in ]0.0, 0.5[ |
Definition at line 271 of file statistiken.h.
References Var< _t >::add(), avg, data, and Var< _t >::init().
Referenced by OpticalFlow::GetWinkel(), and OpticalFlow::PrintFlowField().
double TrimmedMean::GetMean | ( | ) | const |
statistics_exn |
Definition at line 280 of file statistiken.h.
References avg, and Mean< _t >::get_mean().
Referenced by OpticalFlow::GetWinkel(), and OpticalFlow::PrintFlowField().
unsigned int TrimmedMean::GetNumCases | ( | ) | const |
Definition at line 291 of file statistiken.h.
References avg, and Mean< _t >::get_num_cases().
Referenced by OpticalFlow::GetWinkel().
double TrimmedMean::GetStDev | ( | ) | const |
statistics_exn |
Definition at line 288 of file statistiken.h.
References GetVar().
Referenced by OpticalFlow::GetWinkel().
double TrimmedMean::GetVar | ( | ) | const |
statistics_exn |
Definition at line 284 of file statistiken.h.
References avg, and Var< _t >::get_var().
Referenced by GetStDev().
void TrimmedMean::Init | ( | ) |
Definition at line 264 of file statistiken.h.
References data.
|
private |
Definition at line 262 of file statistiken.h.
Referenced by Compute(), GetMean(), GetNumCases(), and GetVar().
|
private |
Definition at line 261 of file statistiken.h.