minima
[ XITE Reference Manual | XITE home ]
Name
minima - detection of local minima
Syntax
#include <xite/extrema.h>
int minima( IBAND inband, IBAND outband,
int fg, int bg );
Description
Local minima are detected in inband, and marked
in outband with value fg, foreground. All
other pixels are marked bg, background.
Restrictions
Supports only unsigned byte.
See also
minima(1), extrema1(3), extrema2(3), maxima(3)
Return value
0 => ok
1 => bad input pixel type
2 => bad output pixel type
3 => bad fg or bg value
Reference
B.B. Chaudhuri and B.Uma Shankar:
"An efficient algorithm for extrema detection in
digital images"
Pattern Recognition Letters 10 (1989), 81-85.
Author
Tor L|nnestad, BLAB, ifi, UiO
Id
$Id: minima.c,v 1.19 1996/11/08 14:03:25 svein Exp $