StatBase Class Reference

#include <stat.hh>


Public Member Functions

 StatBase ()
template<typename T , class D >
void VisitState (const ImageStateImpl< T, D > &isi)
void VisitFunction (const Function &f)
Real GetMean () const
void SetMean (Real m)
Real GetMinimum () const
Point GetMinimumPosition () const
void SetMinimum (Real m)
Real GetMaximum () const
Point GetMaximumPosition () const
void SetMaximum (Real m)
Real GetSum () const
void SetSum (Real s)
Real GetVariance () const
void SetVariance (Real v)
Real GetStandardDeviation () const
void SetStandardDeviation (Real s)
Real GetRootMeanSquare () const
Real GetSkewness () const
Real GetKurtosis () const
Vec3 GetCenterOfMass () const

Static Public Member Functions

static String GetAlgorithmName ()

Protected Attributes

Real mean_
Real var_
Real std_dev_
Real sum_
Real min_
Real max_
Point maxpos_
Point minpos_
Real rms_
Real skewness_
Real kurtosis_
Vec3 center_of_mass_


Detailed Description

collect statistical information about data

Since this algorithm is implemented as a combined image stage visitor and algorithm, the main workhorse is this class StatBase, which will act as the parent class of the actual algorithm class, Stat

Definition at line 44 of file stat.hh.


Constructor & Destructor Documentation

StatBase (  )  [inline]

Definition at line 47 of file stat.hh.


Member Function Documentation

static String GetAlgorithmName (  )  [inline, static]

Definition at line 68 of file stat.hh.

Vec3 GetCenterOfMass (  )  const [inline]

Definition at line 89 of file stat.hh.

Real GetKurtosis (  )  const [inline]

Definition at line 88 of file stat.hh.

Real GetMaximum (  )  const [inline]

Definition at line 77 of file stat.hh.

Point GetMaximumPosition (  )  const [inline]

Definition at line 78 of file stat.hh.

Real GetMean (  )  const [inline]

Definition at line 72 of file stat.hh.

Real GetMinimum (  )  const [inline]

Definition at line 74 of file stat.hh.

Point GetMinimumPosition (  )  const [inline]

Definition at line 75 of file stat.hh.

Real GetRootMeanSquare (  )  const [inline]

Definition at line 86 of file stat.hh.

Real GetSkewness (  )  const [inline]

Definition at line 87 of file stat.hh.

Real GetStandardDeviation (  )  const [inline]

Definition at line 84 of file stat.hh.

Real GetSum (  )  const [inline]

Definition at line 80 of file stat.hh.

Real GetVariance (  )  const [inline]

Definition at line 82 of file stat.hh.

void SetMaximum ( Real  m  )  [inline]

Definition at line 79 of file stat.hh.

void SetMean ( Real  m  )  [inline]

Definition at line 73 of file stat.hh.

void SetMinimum ( Real  m  )  [inline]

Definition at line 76 of file stat.hh.

void SetStandardDeviation ( Real  s  )  [inline]

Definition at line 85 of file stat.hh.

void SetSum ( Real  s  )  [inline]

Definition at line 81 of file stat.hh.

void SetVariance ( Real  v  )  [inline]

Definition at line 83 of file stat.hh.

void VisitFunction ( const Function f  ) 

void VisitState ( const ImageStateImpl< T, D > &  isi  )  [inline]


Field Documentation

Vec3 center_of_mass_ [protected]

Definition at line 95 of file stat.hh.

Real kurtosis_ [protected]

Definition at line 94 of file stat.hh.

Real max_ [protected]

Definition at line 92 of file stat.hh.

Point maxpos_ [protected]

Definition at line 93 of file stat.hh.

Real mean_ [protected]

Definition at line 91 of file stat.hh.

Real min_ [protected]

Definition at line 92 of file stat.hh.

Point minpos_ [protected]

Definition at line 93 of file stat.hh.

Real rms_ [protected]

Definition at line 94 of file stat.hh.

Real skewness_ [protected]

Definition at line 94 of file stat.hh.

Real std_dev_ [protected]

Definition at line 91 of file stat.hh.

Real sum_ [protected]

Definition at line 92 of file stat.hh.

Real var_ [protected]

Definition at line 91 of file stat.hh.


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

Generated on Fri Jul 2 14:23:07 2010 for OpenStructure by  doxygen 1.5.8