minima

[ XITE Reference Manual | XITE home ]

Name

minima - detection of local minima

Syntax

minima [-bg <bg>] [-fg <fg>] <inimage> <outimage>

Description

Local minima 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.

See also

minima(3), extrema1(1), extrema2(1), maxima(1)

Restrictions

Supports ony unsigned byte images. bg and fg 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

 minima -fg 0 -bg 1 mona.img monamin.img

Id

$Id: minima.c,v 1.19 1996/11/08 14:03:25 svein Exp $