Super-fast Kuwahara image filter (for n-dimensional real or complex data)

Edge preserving filter, fast Fourier-based implementation.

You are now following this Submission

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).

Cite As

Job (2026). 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. Retrieved .

Acknowledgements

Inspired by: Faster Kuwahara filter

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
3.0.0.0

Generalized to handle
- 4D and 5D data,
- complex-valued data

2.0.0.0

Generalized to work on 3D scalar images as well.

1.3.0.0

-

1.2.0.0

-

1.1.0.0

-

1.0.0.0