maxarea
[ XITE Reference Manual | XITE home ]
Name
maxarea - max operator over a local window
Syntax
#include <xite/minmax.h>
BiffStatus maxarea( IBAND in_band,
IBAND out_band, int dx, int dy );
Description
Compute maximum over a local region around (x,y)
of size dx * dy in in_band. This maximum 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 input pixel type
2 => Bad output pixel type
3 => Bad dx value
4 => Bad dy value
Author
Otto Milvang and Tor Lønnestad, BLAB, Ifi, UiO
Examples
maxarea(b1, b2, 3, 5);
Id
$Id: maxarea.c,v 1.28 1997/01/30 18:26:57 svein Exp $