image thumbnail

Bilateral Filtering

version 1.0.0.0 (118 KB) by Douglas Lanman
Implements bilateral filtering for grayscale and color images.

39.4K Downloads

Updated 06 Sep 2006

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

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

Cite As

Douglas Lanman (2021). Bilateral Filtering (https://www.mathworks.com/matlabcentral/fileexchange/12191-bilateral-filtering), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!