[Numpy-discussion] convolve2d

Todd Miller jmiller at stsci.edu
Tue Jun 22 11:18:07 CDT 2004


On Tue, 2004-06-22 at 11:51, Michel Sanner wrote:
> Hello,
> 
> I started using numarray for doing 2D convolutions on images.  I noticed 
> that
> 
> import numarray.examples.convolve.high_level as convolve
> convolve.Convolve2d(kernel, in, out)
> 

Here's another (quick?) test which might help localize the problem.  Do:

convolve.Convolve2d(kernel, in, out, fft=1)

The underlying Convolve2d implementations are very different depending
on the use of FFT.

Regards,
Todd





More information about the Numpy-discussion mailing list