histoEq
[ XITE Reference Manual | XITE home ]
Name
histoEq - histogram equalization
Syntax
#include <xite/histo.h>
BiffStatus histoEq( IBAND input, IBAND output,
int graylevels );
Description
Perform histogram equalization. input and output
may be identical. The whole input band is used
to generate the histogram transformation, but
only the largest rectangle common to input and output
is transformed.
graylevels is the maximum number of levels in output.
Restrictions
input and output must have pixel type unsigned byte.
Return value
0 => ok
1 => bad pixel type b1
2 => bad pixel type b2
3 => bad value graylevels
Author
Tor Lønnestad, BLAB, Ifi, UiO
Id
$Id: histoEq.c,v 1.21 1997/01/14 13:01:05 svein Exp $