Robotsystem from Robot Group Leipzig: ColorNormalNoise Class Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Alphabetical List
- Class Hierarchy
- Class Members

# ColorNormalNoise Class Reference

`#include <noisegenerator.h>`

Inheritance diagram for ColorNormalNoise:

[legend]
Collaboration diagram for ColorNormalNoise:

[legend]
List of all members.

## Detailed Description

like ColorUniformNoise but averaging over normal distributed noise instead.

Definition at line 173 of file noisegenerator.h.

## Public Member Functions
| ColorNormalNoise (double tau=0.3)
virtual | ~ColorNormalNoise ()
virtual void | init (unsigned int dimension)
| initialization with the the given dimension for multidimensional noise
virtual double | generate (double variance, double meanvalue)
| generate somehow distributed random number between parameterized with p1 and p2 valid only for ONE random number, use add(.
virtual void | add (double *value, double variance, double meanvalue)
| adds multidimensional noise to the value field.
## Protected Attributes
double | tau
double * | mean
double | mean1channel
double | factor

## Constructor & Destructor Documentation

ColorNormalNoise | ( | double | tau = `0.3` | ) | `[inline]`

| Definition at line 175 of file noisegenerator.h.

virtual ~ColorNormalNoise | ( |  | ) | `[inline, virtual]`

| Definition at line 185 of file noisegenerator.h.

## Member Function Documentation

virtual void add | ( | double * | value,
|  | double | variance,
|  | double | meanvalue
| ) | `[inline, virtual]`

  | adds multidimensional noise to the value field. Generic implementation calls generate for each channel. Overload this if you need different behavior. Parameters:
  | value | field where noise is added. Must have length dimension (see init())
  | p1 | first parameter for random number distribution
  | p2 | second parameter for random number distribution
Reimplemented from NoiseGenerator. Definition at line 199 of file noisegenerator.h.

virtual double generate | ( | double | variance,
|  | double | meanvalue
| ) | `[inline, virtual]`

| generate somehow distributed random number between parameterized with p1 and p2 valid only for ONE random number, use add(. ..) for adding this kind of noise to several channels Reimplemented from WhiteNormalNoise. Definition at line 195 of file noisegenerator.h.

virtual void init | ( | unsigned int | dimension | ) | `[inline, virtual]`

| initialization with the the given dimension for multidimensional noise See also: add() Reimplemented from NoiseGenerator. Definition at line 187 of file noisegenerator.h.

## Member Data Documentation

double factor`[protected]`

| Definition at line 210 of file noisegenerator.h.

double* mean`[protected]`

| Definition at line 208 of file noisegenerator.h.

double mean1channel`[protected]`

| Definition at line 209 of file noisegenerator.h.

double tau`[protected]`

| Definition at line 207 of file noisegenerator.h.