Functions
contrib/tbl/vepl1/vepl1_add_random_noise.h File Reference

add random noise to all pixels More...

#include <vil1/vil1_image.h>

Go to the source code of this file.

Functions

vil1_image vepl1_add_random_noise (vil1_image const &, double maxdev)
 add random noise to all pixels.

Detailed Description

add random noise to all pixels

The function vepl1_add_random_noise takes two arguments: the input image and the average `width' of the noise.

Note that the input image data type must support "operator+(double)", or that it has a constructor taking `double' as argument. Thus when random noise is to be added to colour images, the operator `vil1_rgb<ubyte>+double' must be defined. This should be changed in the future.

Author:
Peter Vanroose, K.U.Leuven (ESAT/PSI)
Date:
28 April 2001

Definition in file vepl1_add_random_noise.h.


Function Documentation

vil1_image vepl1_add_random_noise ( vil1_image const &  ,
double  maxdev 
)

add random noise to all pixels.

Definition at line 12 of file vepl1_add_random_noise.cxx.