minarea
[ XITE Reference Manual | XITE home ]
Name
minarea - min operator over a local window
Syntax
#include <xite/minmax.h>
BiffStatus minarea( IBAND in_band,
IBAND out_band, int dx, int dy );
Description
minarea computes minimum over a local region
around (x,y) of size dx * dy. This minimum value
replaces the center pixel in out_band.
Restrictions
in_band and out_band must have pixel type unsigned byte.
Return value
0 => ok
1 => bad pixel type in_band
2 => bad pixel type out_band
3 => bad dx value
4 => bad dy value
Author
Otto Milvang and Tor Lønnestad, BLAB, Ifi, UiO
Examples
minarea(b1, b2, 3, 5);
Id
$Id: minarea.c,v 1.29 1997/01/10 16:11:15 svein Exp $