mkGauss
[ XITE Reference Manual | XITE home ]
Name
mkGauss - make an image with gaussian random noise
Syntax
mkGauss <output image> <my> <sigma> [<xsize> [<ysize>]]
Description
mkGauss creates a one-band image of size xsize*ysize
with UNS_BYTE pixels, and inserts gaussian random noise.
my - mean value of gaussian distribution
sigma - standard deviation of gaussian distribution
xsize - horizontal image size, default 512
ysize - vertical image size, default xsize
See also
addGauss(1), multGauss(1), addPoisson(1), mkPoisson(1)
Return value
0 when ok, positive otherwise.
Author
Tor L|nnestad, BLAB, ifi, UiO
Examples
mkGauss monaGauss.img 100 25
Id
$Id: mkGauss.c,v 1.21 1996/11/08 14:04:59 svein Exp $