histoNorm
[ XITE Reference Manual | XITE home ]
Name
histoNorm - histogram normalization
Syntax
#include <xite/histo.h>
int histoNorm( IBAND b1, IBAND b2, double my,
double sigma );
Description
Perform histogram normalization; approximate hi-
stogram of output image to the normal (gaussian)
distribution with mean value my and st.dev.=sigma.
Input and output may be identical. Only the largest
rectangle common to b1 and b2 is transformed.
b1 - input band
b2 - output band
my - desired mean value
sigma - desired standard deviation
Return value
0 => ok
1 => bad input pixel type
2 => bad output pixel type
Author
Tor L|nnestad
Id
$Id: histoNorm.c,v 1.19 1996/11/08 14:04:02 svein Exp $