OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
StatAccumulator< MAX_MOMENT, DATATYPE > Class Template Reference

#include <stat_accumulator.hh>

Public Member Functions

 StatAccumulator ()
 
 StatAccumulator (DATATYPE val, Real w=1.0)
 
void operator() (DATATYPE val, Real w=1.0)
 
StatAccumulator< MAX_MOMENT,
DATATYPE > 
operator+ (const StatAccumulator< MAX_MOMENT, DATATYPE > &acc2) const
 
StatAccumulator< MAX_MOMENT,
DATATYPE > & 
operator+= (const StatAccumulator< MAX_MOMENT, DATATYPE > &acc)
 
Real GetNumSamples () const
 
DATATYPE GetMaximum () const
 
DATATYPE GetMinimum () const
 
Real GetWeight () const
 
DATATYPE GetMoment (unsigned int i) const
 
DATATYPE GetMean () const
 
DATATYPE GetSum () const
 
DATATYPE GetVariance () const
 
DATATYPE GetStandardDeviation () const
 
DATATYPE GetRootMeanSquare () const
 
DATATYPE GetSkewness () const
 
DATATYPE GetKurtosis () const
 

Detailed Description

template<unsigned int MAX_MOMENT = 4, typename DATATYPE = Real>
class ost::img::alg::StatAccumulator< MAX_MOMENT, DATATYPE >

Definition at line 45 of file stat_accumulator.hh.

Constructor & Destructor Documentation

StatAccumulator ( )
inline

Definition at line 48 of file stat_accumulator.hh.

StatAccumulator ( DATATYPE  val,
Real  w = 1.0 
)
inline

Definition at line 63 of file stat_accumulator.hh.

Member Function Documentation

DATATYPE GetKurtosis ( ) const
inline

Definition at line 228 of file stat_accumulator.hh.

DATATYPE GetMaximum ( ) const
inline

Definition at line 153 of file stat_accumulator.hh.

DATATYPE GetMean ( ) const
inline

Definition at line 179 of file stat_accumulator.hh.

DATATYPE GetMinimum ( ) const
inline

Definition at line 158 of file stat_accumulator.hh.

DATATYPE GetMoment ( unsigned int  i) const
inline

Definition at line 168 of file stat_accumulator.hh.

Real GetNumSamples ( ) const
inline

Definition at line 148 of file stat_accumulator.hh.

DATATYPE GetRootMeanSquare ( ) const
inline

Definition at line 208 of file stat_accumulator.hh.

DATATYPE GetSkewness ( ) const
inline

Definition at line 216 of file stat_accumulator.hh.

DATATYPE GetStandardDeviation ( ) const
inline

Definition at line 203 of file stat_accumulator.hh.

DATATYPE GetSum ( ) const
inline

Definition at line 187 of file stat_accumulator.hh.

DATATYPE GetVariance ( ) const
inline

Definition at line 192 of file stat_accumulator.hh.

Real GetWeight ( ) const
inline

Definition at line 163 of file stat_accumulator.hh.

void operator() ( DATATYPE  val,
Real  w = 1.0 
)
inline

Definition at line 80 of file stat_accumulator.hh.

StatAccumulator<MAX_MOMENT,DATATYPE> operator+ ( const StatAccumulator< MAX_MOMENT, DATATYPE > &  acc2) const
inline

Definition at line 85 of file stat_accumulator.hh.

StatAccumulator<MAX_MOMENT,DATATYPE>& operator+= ( const StatAccumulator< MAX_MOMENT, DATATYPE > &  acc)
inline

Definition at line 92 of file stat_accumulator.hh.


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