Code covered by the BSD License  

Highlights from
Guided Filter


4.0 | 1 rating Rate this file 65 Downloads (last 30 days) File Size: 2.54 KB File ID: #33143

Guided Filter



An 2D edge-preserving filter derived from a local linear model. Related to bilateral filter.

| Watch this File

File Information

This is a novel type of explicit image filter - guided filter. Derived from a local linear model, the guided filter
generates the filtering output by considering the content of a guidance
image, which can be the input image itself or another different image.

The guided filter can perform as an edge-preserving smoothing operator
like the popular bilateral filter, but has better behavior near the edges. It also has a theoretical connection with the matting Laplacian matrix, so is a more generic concept than a smoothing operator and can better utilize the structures in the guidance image. Moreover, the
guided filter has a fast and on-approximate linear-time algorithm, whose
computational complexity is independent of the filtering kernel size. The guided filter is both effective and efficient in a great variety of computer vision and computer graphics applications including
noise reduction, detail smoothing/enhancement, HDR compression, image matting/feathering, haze removal, and joint upsampling.

There are two files: 'guided_filter.m' contains the guided filter function; 'guided.m' is an example script demonstrating the use of the filter.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
01 Jul 2014 Spandan Tiwari

Guided filter is offered in the Image Processing Toolbox, as function imguidedfilter, since R2014a.

24 Oct 2011 jun

Another codes from Kaiming He,author of the paper 'Guided Filter', are here:

24 Oct 2011 jun

The code doing smooth well @ epsilon in range[0.05,0.1]. And what about HDR compression?

Contact us