minarea

[ XITE Reference Manual | XITE home ]

Name

minarea - min operator over a local window

Syntax

 minarea <inimage> <outimage> [<dx> [<dy>]]

Description

minarea performs a min operation on the input image inimage and writes the result to outimage. The size of the local window is dx * dy. If only one is given, the area is assumed to be quadratic. If none, area is set to 3x3.

Restrictions

The bands of inimage must have pixel type unsigned byte.

Return value

0 if ok, positive otherwise

See also

maxarea(1)

Author

Otto Milvang & Tor Lønnestad, BLAB, Ifi, UiO

Examples

 minarea mona.img monamin.img
 minarea mona.img monamin.img 7
 minarea mona.img monamin.img 3 5

Id

$Id: minarea.c,v 1.29 1997/01/10 16:11:15 svein Exp $