MAN page from Mandrake Other XITE-3.3-3.i386.rpm
CONVOLVE
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
convolve - perform an n x m convolution
SYNTAX
#include <
xite/convolve.h>
BiffStatus convolve( IBAND input, IBAND output,
ISS_BAND convk, double scale, double offset,
int verbose );
DESCRIPTION
convolveperforms the convolution betweena band
inputand a convolution kernel
convk.convkis a signed short band.The result of the convolution is scaled
pix = (conv. result) * scale + offset;
If scaleis zero, an autoscaling is performed.If verboseflag is nonzero, the number of underflows andoverflows are printed. If verboseflag is nonzeroand autoscaling is performed, the scale and offsetvalues are displayed.
convolve_overflowand convolve_underflowareglobal variabels and may be declared as
extern int convolve_overflow, convolve_underflow
SEE ALSO
ascii2biff(3),
convolve(1),
conv3x3(3),
laplace(3),
gradient(3),
sobel(3),
prewitt(3),
roberts(3)
RETURN VALUE
0 - ok
1 - Bad pixeltype of input or output
2 - Bad pixeltype of convk
3 - Input band and output band must be of equal size
4 - Not enough memory
RESTRICTIONS
Works on unsigned byte and signed short images.Unsigned short images will be treated as if theywere signed short.
AUTHOR
Otto Milvang
ID
$Id: convolve.c,v 1.33 1997/01/09 17:16:41 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- SEE ALSO
- RETURN VALUE
- RESTRICTIONS
- AUTHOR
- ID
This document was created byman2html,using the manual pages.