extrema2
[ XITE Reference Manual | XITE home ]
Name
extrema2 - detection of local minima and maxima
Syntax
extrema2 [-min <min>] [-max <max>] [-bg <bg>]
<inimage> <outimage>
Description
Local extrema (minima and maxima) are detected in
inband, and marked in outband. Minima are
marked with value min, maxima are marked max,
and all other pixels are marked bg, background.
If you do not want to distinguish between minima
and maxima, see extrema1.
The default for min is 0, the max default is 255,
the bg default is 128.
See also
extrema2(3), extrema1(1), minima(1), maxima(1)
Restrictions
Supports ony unsigned byte images. min, max and bg
should not be equal, and they should be in 0..255.
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
extrema2 -min 0 -max 1 -bg 2 mona.img monaextrem.img
Id
$Id: extrema2.c,v 1.20 1996/11/08 14:03:22 svein Exp $