Kuwahara filter

Kuwahara edge-preserving filter.
5.6K Downloads
Updated 1 Aug 2005

No License

This function implements the Kuwahara filter, a 2D nonlinear filter that reduces noise in an image while at the same time preserving edge content. A code example follows:

RGB = imread('saturn.png');
I = rgb2gray(RGB);
J = imnoise(I,'gaussian',0,0.005);
Y = kuwahara(J,5,true);

Cite As

Arthur Barnes (2026). Kuwahara filter (https://uk.mathworks.com/matlabcentral/fileexchange/8171-kuwahara-filter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0