conv2fft_reuse
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.
Zitieren als
Felipe G. Nievinski (2024). conv2fft_reuse (https://www.mathworks.com/matlabcentral/fileexchange/30656-conv2fft_reuse), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > Discrete Fourier and Cosine Transforms > Fast Fourier Transforms >
Tags
Quellenangaben
Inspiriert von: FFT-based convolution, testit
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
conv2fft_reuse/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | updated list of acknowledgements and list of incorporated submissions. |
||
1.0.0.0 |