next up previous contents index
Next: fgrain Up: Reference Previous: erosion   Contents   Index

fconvol

$ \bigcirc$Name


fconvol 2D-direct convolution of a fimage




$ \bigcirc$Command Synopsis


fconvol in filter out



in : Input fimage

filter : convolution filter (fimage)

out : Output fimage




$ \bigcirc$Function Summary


void fconvol (in , filtre , out )

Fimage in , filtre , out ;




$ \bigcirc$Description


This module computes the convolution of the Fimage in with the Fimage filter. The result out is defined by

out(i, j) = $\displaystyle \sum_{{k,l}}^{}$in(i - k, j - l ) . filter(k, l ).

In this sum, it is assumed that functions are zero outside their domain. You can use predefined filters put in the $MEGAWAVE2/data/image directory (with .ir extension for Impulse Response), or you can type your own filter using the module freadasc.

In the case of a separable filter, that is, a filter than can be written

filter(i, j) = a(i)b(j),

it is much faster to use the module fsepconvol.




$ \bigcirc$Version 1.1


Last Modification date : Mon Feb 4 00:04:56 2002


$ \bigcirc$Author


Jacques Froment






next up previous contents index
Next: fgrain Up: Reference Previous: erosion   Contents   Index
mw 2004-05-05