Bilateral filtering was proposed by Tomasi and Manduchi in 1998 as a non-iterative method for edge-preserving smoothing. For a complete description see the following publication:
C. Tomasi and R. Manduchi. Bilateral Filtering for Gray and Color Images. In Proceedings of the IEEE International Conference on Computer Vision, 1998.
This package contains a basic implementation (bfilter2.m) of their method for both grayscale and color images. In order to demonstrate the utility of bilateral filtering, the main function is used to implement an automatic image abstraction routine (cartoon.m) inspired by:
Holger Winnemoller, Sven C. Olsen, and Bruce Gooch. Real-Time Video Abstraction. In Proceedings of ACM SIGGRAPH, 2006.
A demonstration program (runDemo.m) summarizes the typical use of all included files.
A gallery of image and video abstraction results is available at: http://mesh.brown.edu/dlanman/photos/Bilateral
Douglas Lanman (2021). Bilateral Filtering (https://www.mathworks.com/matlabcentral/fileexchange/12191-bilateral-filtering), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!