Main Page | Class Hierarchy | Class List | File List | Class Members

MarschnerLobb Class Reference

Taken partially from vuVolume2. The Marschner Lobb 3D function. More...

#include <vuML.h>

List of all members.

Public Member Functions

void initialize (double x, double y, double z)
 Scale the function for sampling purposes.
double getValue (const vuVector &p) const
 Get the function value at p.
double getValueGaussianNoise (const vuVector &p, const double &stdDev) const
 Add white Guassian noise to function value at p.
double getValueSaltPepperNoise (const vuVector &p, const double &percentage) const
 Apply salt & pepper noise model to function value at p.


Detailed Description

Taken partially from vuVolume2. The Marschner Lobb 3D function.


Member Function Documentation

double MarschnerLobb::getValueGaussianNoise const vuVector p,
const double &  stdDev
const
 

Add white Guassian noise to function value at p.

The noise has mean 0 and std deviation stdDev. Makes use the Central Limit Theorem; the sum of N random numbers has an approximately normal distribution w hen N is large. N is chosen to be 50.


The documentation for this class was generated from the following files:
Generated on Thu Apr 13 04:55:56 2006 by  doxygen 1.4.4