maxima
[ XITE Reference Manual | XITE home ]
Name
maxima - detection of local maxima
Syntax
maxima [-bg <bg>] [-fg <fg>] <inimage> <outimage>
Description
Local maxima are detected in inimage, and marked
in outimage with value fg, foreground. All other
pixels are marked bg, background.
The default for fg is 255, the bg default is 0.
Files
See also
maxima(3), extrema1(1), extrema2(1), minima(1)
Diagnostics
Restrictions
Supports ony unsigned byte images. bg and fg should
not be equal, and they should be in 0..255.
Return 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
Examples
maxima -fg 0 -bg 1 mona.img monamax.img
Id
$Id: maxima.c,v 1.19 1996/11/08 14:03:23 svein Exp $