MAN page from RedHat Other XITE-3.3-3.i386.rpm
ADDGAUSS
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
addGauss - add gaussian random noise to a band
SYNTAX
#include <
xite/noise.h>
BiffStatus addGauss( IBAND b1, IBAND b2,
double my, double sigma );
DESCRIPTION
Adds random noise with Gaussian distribution toband b1, places the result in band b2. Thedistribution has mean value my and standarddeviation sigma. If resulting value is largerthan 255 output is set to 255, and if resultingvalue is less than 0 output is set to 0.
RETURN VALUE
0 => ok
1 => Bad input pixel type
2 => Bad output pixel type
AUTHOR
Tor L|nnestad, BLAB, IfI, UiO
ID
$Id: addGauss.c,v 1.25 1996/11/08 14:04:57 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RETURN VALUE
- AUTHOR
- ID
This document was created byman2html,using the manual pages.