This is a well-known filter that preserves edges by 'analyzing' the statistical variation in the environment.
The filtering procedure involves two convolutions: if the chosen kernel is relatively large, the convolutions are carried out by a multiplication in the Fourier domain.
If the input data is scalar, the convolutions are carried out in a single convolution, by processing the second convolution in the imaginary channel of the first convolution.
Compared to Luca Balbi's implementation, it is twice as fast for the smallest kernel, and up to five or six times as fast for larger kernels.
https://www.mathworks.com/matlabcentral/fileexchange/15027-faster-kuwahara-filter
The demo files compares this method on speed and accuracy with two other methods published on file exchange (on a 2D image).
引用格式
Job (2024). Super-fast Kuwahara image filter (for n-dimensional real or complex data) (https://www.mathworks.com/matlabcentral/fileexchange/58260-super-fast-kuwahara-image-filter-for-n-dimensional-real-or-complex-data), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Image Category Classification >
标签
致谢
参考作品: Faster Kuwahara filter
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!