w2img::Correlogram::Sample Class Reference

List of all members.

Detailed Description

Describes correlation of samples separated by a distance h Typical usage is to keep calling update() with new sample pairs and then call rho() whenever the correlation is needed.

Author:
Lakshman
Version:
Id
w2img_Correlogram.h,v 1.5 2009/06/02 20:17:57 lakshman Exp


Public Member Functions

 Sample ()
void update (float z1, float z2)
 update the correlogram at this distance based on these two values.
bool isValid () const
float rho () const
 find value of rho, computing it if needed.


Constructor & Destructor Documentation

w2img::Correlogram::Sample::Sample (  ) 


Member Function Documentation

bool w2img::Correlogram::Sample::isValid (  )  const [inline]

float w2img::Correlogram::Sample::rho (  )  const [inline]

find value of rho, computing it if needed.

Rho is the correlation estimated amongst all the sample pairs in this bin.

void w2img::Correlogram::Sample::update ( float  z1,
float  z2 
)

update the correlogram at this distance based on these two values.


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