addPoisson
[ XITE Reference Manual | XITE home ]
Name
addPoisson - add Poisson noise to the output image
Syntax
addPoisson <inimage> <outimage>
Description
addPoisson generates Poisson distributed noise in outimage.
For each output pixel, the corresponding pixelvalue in
inimage is used as the mean value in the distribution.
If the resulting random value is larger than 255, output is
set to 255.
See also
mkPoisson(1), mkGauss(1), addGauss(1), multGauss(1)
Author
Helene Schulerud, BLAB, Ifi, UiO
Examples
addPoisson mona.img monaaddP.img
Id
$Id: addPoisson.c,v 1.19 1997/03/07 12:52:14 svein Exp $