add random noise to all pixels More...
#include <vil/vil_image_resource.h>
Go to the source code of this file.
Functions | |
vil_image_resource_sptr | vepl_add_random_noise (vil_image_resource_sptr, double maxdev) |
add random noise to all pixels. |
add random noise to all pixels
The function vepl_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.
Modifications Peter Vanroose - 20 aug 2003 - changed parameter and return types from vil_image_view_base_sptr to vil_image_resource_sptr
Definition in file vepl_add_random_noise.h.
vil_image_resource_sptr vepl_add_random_noise | ( | vil_image_resource_sptr | , |
double | maxdev | ||
) |
add random noise to all pixels.
Definition at line 14 of file vepl_add_random_noise.cxx.