[SciPy-user] shift FFT2D...
fred
fredmfp at gmail.com
Wed May 9 17:40:28 EDT 2007
Stefan van der Walt a écrit :
> On Wed, May 09, 2007 at 04:40:36PM +0200, fred wrote:
>
>> I use an FFT 2D on a matrix to compute a convolution like this:
>>
>> a = fft2(input_data)
>> b = fft2(output_data)
>> c = real(ifft2(a*b))
>>
>
> Also take a look at scipy.signal.fftconvolve.
>
Hmm, seems that does not work for my purpose.
By the way, I now use ndimage.convolve() which fits my needs.
Thanks anyway.
Cheers,
--
http://scipy.org/FredericPetit
More information about the SciPy-User
mailing list