golib  0.5
goGaussImage Class Reference

Public Member Functions

void update (const goSignal3DBase< void > &u, int k=-1)
 Update the Gaussian for each pixel. More...
 
void reset ()
 
const goSignal3DBase< void > & getMean () const
 Get the mean. More...
 
const goSignal3DBase< void > & getVariance () const
 Get the variance. More...
 

Member Function Documentation

◆ getMean()

const goSignal3DBase< void > & goGaussImage::getMean ( ) const

Get the mean.

The mean is stored in linearly allocated memory and of type goFloat. So getMean().getPtr() gives a pointer to the linearly stored values.

Returns
The mean values for each data element (pixel).

◆ getVariance()

const goSignal3DBase< void > & goGaussImage::getVariance ( ) const

Get the variance.

The variance is stored in linearly allocated memory and of type goFloat. So getVariance().getPtr() gives a pointer to the linearly stored values.

Returns
The variance values for each data element (pixel).

◆ update()

void goGaussImage::update ( const goSignal3DBase< void > &  u,
int  k = -1 
)

Update the Gaussian for each pixel.

Parameters
uThe new data
kThe number of frames in the sliding window – k <= 0 means "infinite"

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