CONVOL2FFT is a matlab function that returns the 2-dimensional linear convolution between a given image and a 2-dimensional impulse response of a filter. The filter must be a (2-dimensional) matrix. The image can be a matrix for a grayscale image and a 3D array for an RGB image. Maybe It is faster than IMFILTER, when size(h) > around 128. Typical syntaxes are as follows.
(1) x = convol2fft(x, h); where x * h is returned.
(2) [H,mns] = convol2fft(size(x),h); where H = DFT(h) and mns are returned.
(3) x = convol2fft(x,H,mns); where x * h is returned by using the given H = DFT(h) and mns.
引用
Hisa (2024). 2-dimensional linear convolution by FFT (https://www.mathworks.com/matlabcentral/fileexchange/54476-2-dimensional-linear-convolution-by-fft), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Filtering >
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |