Expand description
FFT-based convolution, similar to scipy.signal.fftconvolve.
Convolution in the time domain is multiplication in the frequency domain, so a length-N
signal convolved with a length-M kernel costs O((N + M) log(N + M)) instead of O(N M).
The 1D routine works for any IsAnalytic sample type (real or complex); the 2D routine works
on real images and is the basis for frequency-domain image filtering.
See the book entry Convolution and correlation.
Functionsยง
- fft_
convolve - 1D convolution of
in1andin2computed with FFTs. - fft_
convolve_ 2d - 2D convolution of real images computed with FFTs.