Re: 2D Convolution
- To: mathgroup at smc.vnet.net
- Subject: [mg76141] Re: 2D Convolution
- From: CKWong <CKWong.P at gmail.com>
- Date: Wed, 16 May 2007 05:52:28 -0400 (EDT)
- References: <f29389$m7p$1@smc.vnet.net><f29bko$pjn$1@smc.vnet.net>
Errata:
g should be the kernel in the function
Convolve[f_, g_, x_?NumberQ, y_?NumberQ] := NIntegrate[f[
xPrime, yPrime] *g[x - xPrime,
y - yPrime], {xPrime, -=A1=DB, =A1=DB}, {yPrime, -=A1=DB, =A1=DB}]
Sorry for the snafu.