Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: 2D Convolution

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76163] Re: 2D Convolution
  • From: Mathieu G <ellocomateo at free.fr>
  • Date: Thu, 17 May 2007 05:55:06 -0400 (EDT)
  • References: <f29389$m7p$1@smc.vnet.net><f29bko$pjn$1@smc.vnet.net> <f2emd1$2r6$1@smc.vnet.net>

CKWong a =E9crit :
> 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.
>
>
Thank you for your replies!!

I have a few questions still since I am neither a mathematician  or a
mathematica expert:

Is it necessary to use the <?NumberQ> part since using the Convolve
function for anything else would be non-sense? Does that bring any
improvement in the Mathematica computation?

Why does it make a difference that the kernel is the f or g function?

Best regards,
MG


  • Prev by Date: Re: Integrate[s^s(1-s)^(1-s)Sin[Pi s],{s,0,1}]
  • Next by Date: Mathematica 6.0 and MatrixManipulations
  • Previous by thread: Re: Re: 2D Convolution
  • Next by thread: Re: 2D Convolution