laplace
[ XITE Reference Manual | XITE home ]
Name
laplace - edge and line detection
Syntax
#include <xite/convolve.h>
void laplace( IBAND input, IBAND output, int a,
int b, int c, double scale, double offset,
int verbose );
Description
laplace performs the convolution between
a band input and a convolution kernel conv.
a b a
b c b
a b a
The result of the convolution is scaled
pix = (conv. result) * scale + offset;
If scale is zero an autoscaling is performed.
If verbose flag is set, the number of underflows and
overflows are printed. If verbose flag is set
and autoscale is performed the scale and offset
factors are displayed
conv3x3_overflow and conv3x3_underflow are
global variabels and may be declared as
extern int conv3x3_overflow, conv3x3_underflow
See also
laplace(1), conv3x3(3), lapZeroCross(3)
Author
Otto Milvang
Examples
Id
$Id: laplace.c,v 1.25 1996/11/08 14:03:05 svein Exp $