#include <vuML.h>
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. |
|
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. |