Functions
contrib/tbl/vepl/vepl_add_random_noise.h File Reference

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.

Detailed Description

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.

Author:
Peter Vanroose, K.U.Leuven (ESAT/PSI)
Date:
7 October 2002
    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.


Function Documentation

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.