ColorNormalNoise Class Reference

like ColorUniformNoise but averaging over normal distributed noise instead. More...

#include <noisegenerator.h>

Inherits WhiteNormalNoise.

Inheritance diagram for ColorNormalNoise:

Inheritance graph
[legend]
Collaboration diagram for ColorNormalNoise:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ColorNormalNoise (double tau=0.05)
virtual ~ColorNormalNoise ()
virtual void init (unsigned int dimension)
 initialization with the the given dimension for multidimensional noise
virtual double generate (double stddev, double meanvalue)
 generate somehow distributed random number parameterized with min and max.
virtual void add (double *value, double stddev, double meanvalue)
 adds multidimensional noise to the value field.

Protected Attributes

double tau
double sqrttau
double * mean
double mean1channel
double factor

Detailed Description

like ColorUniformNoise but averaging over normal distributed noise instead.


Constructor & Destructor Documentation

ColorNormalNoise double  tau = 0.05  )  [inline]
 

virtual ~ColorNormalNoise  )  [inline, virtual]
 


Member Function Documentation

virtual void add double *  value,
double  stddev,
double  meanvalue
[inline, virtual]
 

adds multidimensional noise to the value field.

Parameters:
value field where noise is added. Must have length dimension (init())
stddev stddev of normal distribution
meanvalue mean value of normal distribution

Reimplemented from NoiseGenerator.

virtual double generate double  stddev,
double  meanvalue
[inline, virtual]
 

generate somehow distributed random number parameterized with min and max.

valid only for ONE random number, use add() for adding this kind of noise to several channels

Reimplemented from WhiteNormalNoise.

virtual void init unsigned int  dimension  )  [inline, virtual]
 

initialization with the the given dimension for multidimensional noise

See also:
add()

Reimplemented from NoiseGenerator.


Member Data Documentation

double factor [protected]
 

double* mean [protected]
 

double mean1channel [protected]
 

double sqrttau [protected]
 

double tau [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Jan 16 02:14:45 2007 for Robotsystem of the Robot Group Leipzig by doxygen 1.3.8