Main Page   Modules   File List  

convol.c File Reference

convolution More...


Detailed Description

convolution

Usage: convol in.pgm kernel.pgm [mode] out.pgm

Description: Convolution of in.pgm by kernel.pgm. The result is a float image. Depending on the value given for the (optional) parameter mode:

Types supported: byte 2d, long 2d, float 2d

Category: signal

Warning:
Naive convolution algorithm is in O(|in|*|kernel|). For large kernels, use FFT version which is in O(n log n) where n = max(|in|,|kernel|)
Author:
Michel Couprie

Generated on Fri Dec 17 11:59:37 2004 for Pink by doxygen1.2.18