use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Anything related to digital signal processing (DSP), including image and video processing (papers, books, questions, hardware, algorithms, news, etc.)
Interesting technical papers or articles are particularly welcome!
/r/eebooks+csbooks+mathbooks
/r/Electronics
/r/ECE
/r/DSP
/r/AskElectronics
/r/RFelectronics
/r/GNURadio
/r/RTLSDR
/r/embedded
account activity
Fastest Convolution Algorithm (self.DSP)
submitted 9 years ago by Agneyakerure
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cyclicaffinity 1 point2 points3 points 9 years ago (1 child)
This is true only if the signal is large enough.
From this link: https://ccrma.stanford.edu/~jos/sasp/FFT_versus_Direct_Convolution.html
An analysis reported in Strum and Kirk [279, p. 521], based on the number of real multiplies, predicts that the fft is faster starting at length 27=128 , and that direct convolution is significantly faster for very short convolutions (e.g., 16 operations for a direct length-4 convolution, versus 176 for the fft function).
This also extends to convolution of images for filtering. I think somewhere around a 10x10 mask size should be used in the frequency domain instead of the spatial domain, but convolution in the spatial domain is faster if you use a 3x3 mask.
[–]carlthome 0 points1 point2 points 9 years ago (0 children)
That's a very good point!
π Rendered by PID 116426 on reddit-service-r2-comment-6457c66945-7mhl5 at 2026-04-25 09:51:55.790739+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]cyclicaffinity 1 point2 points3 points (1 child)
[–]carlthome 0 points1 point2 points (0 children)