File Exchange

image thumbnail

conv2fft_reuse

version 1.1.0.0 (9.36 KB) by Felipe G. Nievinski
Reuse intermediary results in multiple related convolutions with the same data but different kernels

2 Downloads

Updated 07 Mar 2011

View License

Sometimes you have to perform multiple related convolutions, using the same data but different kernels. This function allows you to reuse intermediary results. When computing the convolution via multiplication in the frequency domain, we reuse the FFT of the data, and need to compute only the FFT of the kernel and the IFFT of their product. So this helps if the kernels are small and many and the data is large and unique. Matrix (not just vector) input is supported. Calling syntax is identical to Matlab's own conv2/filter2. If you need an FFT-based implementation of convolution without reuse, I'd recommend submission number 24504. Run test('filter2fft') to check your installation.

Cite As

Felipe G. Nievinski (2020). conv2fft_reuse (https://www.mathworks.com/matlabcentral/fileexchange/30656-conv2fft_reuse), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

Updates

1.1.0.0

updated list of acknowledgements and list of incorporated submissions.

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: FFT-based convolution, testit