Quantitative Evaluation of Base and Detail Decomposition Filters Based on their Artifacts

Charles Hessel, Jean-Michel MorelarXiv 2018

Introduction

In computational photography, "base+detail decomposition" serves as the fundamental mechanism for local contrast enhancement and High Dynamic Range (HDR) tone mapping. By separating an image into large-scale variations (the base) and fine-scale textures (the detail), editors can selectively boost details to achieve a crisper aesthetic. However, while numerous edge-aware filters—such as the Bilateral or Guided Filter—exist, objectively comparing them has historically been challenging. Most evaluations rely on subjective user preferences, which are inherently inconsistent. This paper proposes a shift toward an engineering-centric approach: evaluating filters based on the specific visual artifacts they introduce when pushed to their limits.

Identifying Canonical Artifacts

The authors categorize the failure modes of decomposition filters into four canonical artifacts that degrade image quality during enhancement:

  1. Luminance Halo: Glowing edges appearing where high-contrast boundaries are incorrectly smoothed.
  2. Staircase Effect: Artificial banding or gradient reversal in what should be smooth transitions.
  3. Compartmentalization: The artificial brightening or darkening of small, enclosed regions, such as gaps between foliage.
  4. Contrast Halo: The improper smoothing or loss of texture near sharp edges.

Evaluation Methodology

To quantify these artifacts, the researchers developed a novel evaluation pipeline. First, they designed synthetic test patterns specifically engineered to trigger and isolate each artifact. Second, they established mathematical metrics to measure the severity of these failures (e.g., calculating variance differences to detect contrast halos).

Crucially, the study addresses the issue of parameter tuning. Filters cannot be compared using default settings, as a conservative default might appear "cleaner" simply by doing less work. The authors cross-calibrated all seven tested filters by tuning them to extract a detail layer with an identical average $L^2$-norm across a set of natural images. Finally, to bridge the gap between math and perception, five photography experts established "objectionable" thresholds for each artifact, allowing the independent metrics to be fused into a single, normalized ranking.

Key Results and Filter Rankings

The study benchmarked seven prominent filters: Bilateral Filter (FBF), Domain Transform (DT), Guided Filter (GF), Weighted Least Squares (WLS), Fast Local Laplacian (FLL), TV-$L^1$, and $L^0$ gradient minimization (IS-$L^0$).

  • The Winner: The Fast Local Laplacian (FLL) filter emerged as the superior choice, being the only algorithm to pass all expert tests without producing objectionable artifacts.
  • The Losers: The Guided Filter (GF) and $L^0$ smoothing performed poorly. Specifically, GF was highly susceptible to contrast and luminance halos, while $L^0$ smoothing and the Bilateral Filter frequently exhibited the staircase effect.
  • Other Vulnerabilities: Weighted Least Squares (WLS) and Domain Transform (DT) suffered significantly from compartmentalization.

Conclusion

By formalizing niche artifacts like compartmentalization and providing a standardized measurement framework, this work offers a robust tool for developers of image processing algorithms. Rather than chasing subjective "beauty," this methodology measures the objective bounds of a filter's utility, identifying which techniques provide the most headroom for professional contrast enhancement without degrading image quality. Future work aims to extend this protocol to "black-box" enhancement filters that do not explicitly use base/detail decomposition.

Summary updated

Abstract

This paper introduces a quantitative evaluation of filters that seek to separate an image into its large-scale variations, the base layer, and its fine-scale variations, the detail layer. Such methods have proliferated with the development of HDR imaging and the proposition of many new tone-mapping operators. We argue that an objective quality measurement for all methods can be based on their artifacts. To this aim, the four main recurrent artifacts are described and mathematically characterized. Among them two are classic, the luminance halo and the staircase effect, but we show the relevance of two more, the contrast halo and the compartmentalization effect. For each of these artifacts we design a test-pattern and its attached measurement formula. Then we fuse these measurements into a single quality mark, and obtain in that way a ranking method valid for all filters performing a base+detail decomposition. This synthetic ranking is applied to seven filters representative of the literature and shown to agree with expert artifact rejection criteria.
BibTeX
@misc{hessel2018quantitative,
  author = {Charles Hessel and Jean-Michel Morel},
  title = {{Quantitative Evaluation of Base and Detail Decomposition Filters Based on their Artifacts}},
  year = {2018},
  eprint = {1808.09411},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1808.09411},
}
Figure