Skip to main content
QUICK REVIEW

[Paper Review] Edge-Preserving Piecewise Linear Image Smoothing Using Piecewise Constant Filters

Wei Liu, Wei Xu|arXiv (Cornell University)|Jan 22, 2018
Image Enhancement TechniquesComputer Science19 references4 citations
TL;DR

This paper proposes a general framework to perform edge-preserving piecewise linear image smoothing using classical piecewise constant filters by reformulating the smoothing process to enforce spatially piecewise linear output models. The method effectively eliminates gradient reversal artifacts common in piecewise constant filters—especially in applications like detail enhancement, HDR tone mapping, and flash/no-flash filtering—while also reducing computational cost in quantized accelerated methods by enabling fewer bins without sacrificing quality.

ABSTRACT

Most image smoothing filters in the literature assume a piecewise constant model of smoothed output images. However, the piecewise constant model assumption can cause artifacts such as gradient reversals in applications such as image detail enhancement, HDR tone mapping, etc. In these applications, a piecewise linear model assumption is more preferred. In this paper, we propose a simple yet very effective framework to smooth images of piecewise linear model assumption using classical filters with the piecewise constant model assumption. Our method is capable of handling with gradient reversal artifacts caused by the piecewise constant model assumption. In addition, our method can further help accelerated methods, which need to quantize image intensity values into different bins, to achieve similar results that need a large number of bins using a much smaller number of bins. This can greatly reduce the computational cost. We apply our method to various classical filters with the piecewise constant model assumption. Experimental results of several applications show the effectiveness of the proposed method.

Motivation & Objective

  • To address gradient reversal artifacts in edge-preserving image smoothing caused by the piecewise constant model assumption in classical filters.
  • To enable piecewise linear smoothing using existing piecewise constant filters without modifying their core algorithms.
  • To reduce computational cost in accelerated methods that rely on intensity quantization by allowing fewer bins while maintaining quality.
  • To provide a unified framework applicable to multiple classical filters, including bilateral, adaptive manifold, domain transform, and weighted median filters.
  • To demonstrate effectiveness across key applications such as image detail enhancement, HDR tone mapping, and flash/no-flash image filtering.

Proposed method

  • Reformulates image smoothing using a spatially piecewise linear model: $\hat{I}_{\mathbf{p}} = \mathbf{a}_k^T\mathbf{p} + b_k$ for $\mathbf{p} \in N(k)$, where $N(k)$ defines local regions.
  • Applies classical piecewise constant filters (e.g., bilateral, weighted median) to the gradient of the input image, using the original image as guidance for the smoothing process.
  • Uses a two-step process: first, smooths the image gradients using the filter; second, integrates the smoothed gradients to reconstruct the piecewise linear output.
  • Introduces a parameter $\beta$ to control the trade-off between smoothing and edge preservation in the gradient domain.
  • Applies the framework to multiple filters: bilateral, adaptive manifold, domain transform, weighted median, and $L_0$ norm smoothing.
  • Leverages the structure of existing accelerated filters (e.g., weighted median) to reduce bin count in intensity quantization while suppressing quantization artifacts.

Experimental results

Research questions

  • RQ1Can a piecewise linear smoothing model be effectively approximated using classical piecewise constant filters?
  • RQ2Does applying piecewise linear smoothing reduce gradient reversal artifacts in image detail enhancement and HDR tone mapping?
  • RQ3Can the proposed method reduce computational cost in quantized accelerated filters without degrading output quality?
  • RQ4How does the performance of the proposed method compare to guided image filter in terms of artifact suppression and visual quality?
  • RQ5Can the framework be generalized across multiple classical filters with minimal modification?

Key findings

  • The proposed method successfully eliminates gradient reversal artifacts in image detail enhancement, as shown in Fig. 2 and Fig. 7, where results match the quality of the guided image filter [8].
  • In HDR tone mapping, the method preserves fine structures like leaves and avoids artifacts that appear in piecewise constant smoothing, as demonstrated in Fig. 8.
  • For flash/no-flash filtering, the method suppresses gradient reversal artifacts present in results from adaptive manifold and weighted median filters, as shown in Fig. 9.
  • The method enables the weighted median filter to achieve high-quality results with only 16 bins instead of hundreds, significantly reducing computational cost.
  • The framework is effective across multiple classical filters, including bilateral, domain transform, and $L_0$ norm smoothing, demonstrating broad applicability.
  • Visual comparisons show that the proposed method produces results visually indistinguishable from the guided image filter [8], a state-of-the-art piecewise linear filter.

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.