w2qcref::Entropy Class Reference

List of all members.

Detailed Description

Calculates the information content (entropy).

w2img_Entropy.h,v 1.2 2009/06/02 20:18:01 lakshman Exp

Public Member Functions

 Entropy (float min, float max, float incr)
 Specify the expected values.
void update (float v)
 add a value
float calc () const
 get entropy of values so far.

Constructor & Destructor Documentation

w2qcref::Entropy::Entropy ( float  min,
float  max,
float  incr 

Specify the expected values.

Values < min or > max will be assumed to fall in the lowest/highest bin respectively.

Member Function Documentation

float w2qcref::Entropy::calc (  )  const

get entropy of values so far.

void w2qcref::Entropy::update ( float  v  )  [inline]

add a value

Generated on Fri May 4 13:40:25 2012 for WDSS-IIw2algs by  doxygen 1.4.7