Ábel Dániel
2011-01-18 19:58:28 UTC
[apologies if this might get duplicated, it appears my first
submission didn't show up on the mailling list]
Hi!
I would like to ask some help with the use of scipy.signal.convolve
and scipy.signal.fftconvolve. (On a greyscale 2d image.)
Based on the documentation of fftconvolve (which is simply 'See
convolve.'), I am assuming that they should give (mostly) the same
result. (I.e. the result won't be exactly identical since they are
using different methods, but they shouldn't be too different.)
However, I am getting drastically different results: using convolve
results in basically random noise, while fftconvolve gives a very
sharp peak.
I uploaded a short program with the input and the results I am getting
to http://hal.elte.hu/~abeld/scipy_signal_issue/
Am I doing something wrong? Should there be such a difference in the
output of these functions? What is causing the difference?
(I am using Ubuntu Lucid, version of python-scipy package is
0.7.0-2ubuntu0.1)
Thanks in advance,
Daniel Abel
***@freemail.hu
submission didn't show up on the mailling list]
Hi!
I would like to ask some help with the use of scipy.signal.convolve
and scipy.signal.fftconvolve. (On a greyscale 2d image.)
Based on the documentation of fftconvolve (which is simply 'See
convolve.'), I am assuming that they should give (mostly) the same
result. (I.e. the result won't be exactly identical since they are
using different methods, but they shouldn't be too different.)
However, I am getting drastically different results: using convolve
results in basically random noise, while fftconvolve gives a very
sharp peak.
I uploaded a short program with the input and the results I am getting
to http://hal.elte.hu/~abeld/scipy_signal_issue/
Am I doing something wrong? Should there be such a difference in the
output of these functions? What is causing the difference?
(I am using Ubuntu Lucid, version of python-scipy package is
0.7.0-2ubuntu0.1)
Thanks in advance,
Daniel Abel
***@freemail.hu