Skip to main content
QUICK REVIEW

[Paper Review] Fast Guided Filter.

Kaiming He, Jian Sun|arXiv (Cornell University)|May 5, 2015
Image Enhancement TechniquesComputer Science1 references92 citations
TL;DR

This paper proposes a fast variant of the guided filter that accelerates computation from O(N) to O(N/s²) time using a subsampling ratio s, achieving over 10x speedup with negligible visual degradation. The method enables real-time performance in applications like image editing and stereo reconstruction while preserving the original filter's edge-aware quality.

ABSTRACT

The guided filter is a technique for edge-aware image filtering. Because of its nice visual quality, fast speed, and ease of implementation, the guided filter has witnessed various applications in real products, such as image editing apps in phones and stereo reconstruction, and has been included in official MATLAB and OpenCV. In this note, we remind that the guided filter can be simply sped up from O(N) time to O(N/s^2) time for a subsampling ratio s. In a variety of applications, this leads to a speedup of >10x with almost no visible degradation. We hope this acceleration will improve performance of current applications and further popularize this filter. Code is released.

Motivation & Objective

  • To address the computational cost of the guided filter in real-time applications.
  • To enable faster processing without sacrificing visual quality in edge-aware filtering.
  • To develop a subsampling-based acceleration technique that maintains filter fidelity.
  • To make the guided filter more practical for deployment in mobile and real-time systems.

Proposed method

  • The method applies the guided filter on a downsampled version of the input image using a subsampling ratio s.
  • It then upsamples the output to the original resolution using bilinear interpolation.
  • The subsampling reduces the number of pixels processed from N to N/s², reducing computational complexity.
  • The approach maintains edge-awareness by leveraging the structure of the guidance image at multiple scales.
  • The final output is a fast, high-quality filtered image with minimal visual artifacts.
  • The method is simple to implement and compatible with existing frameworks like OpenCV and MATLAB.

Experimental results

Research questions

  • RQ1Can the guided filter be accelerated significantly without perceptible quality loss?
  • RQ2What is the optimal subsampling ratio s that balances speed and visual fidelity?
  • RQ3How does the subsampled guided filter compare to the original in terms of speed and output quality?
  • RQ4Can the accelerated method be efficiently integrated into real-time applications?

Key findings

  • The proposed method achieves over 10x speedup in practice with minimal visual degradation.
  • The subsampled guided filter maintains high visual quality, preserving edges and textures effectively.
  • The method is robust across diverse image types and applications, including stereo reconstruction and mobile image editing.
  • The acceleration is achieved with minimal implementation overhead, making it suitable for production use.
  • The approach is compatible with existing software stacks, including MATLAB and OpenCV.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.