An Adaptive Tone Mapping Algorithm for High Dynamic Range Images

Jian Zhang, Sei‐ichiro KamataThe Journal of The Institute of Image Information and Television Engineers 2010

Abstract

A common task of tone mapping algorithms is to reproduce high dynamic range images (HDR) on low dynamic range (LDR) display devices such as printers and monitors. We present a new tone mapping algorithm for the display of HDR images that was inspired by the adaptive process of the human visual system. The proposed algorithm is based on center/surround Retinex processing. Our method has two novel aspects. The input luminance image is first compressed by a global tone mapping curve. The curvature of the compression curve is adapted locally based on the pseudo-Hilbert scan technique, so it can provide a better overall impression before the subsequent local processing. Second, the local details are enhanced according to a non-linear adaptive spatial filter (Gaussian filter), whose shape (filter variance) is adapted to the high-contrast edges of the image. The proposed method takes advantage of the properties of both global and local processing while overcoming their respective disadvantages. Therefore, the algorithm can preserve visibility and contrast impression of high dynamic range scenes in standard display devices. We tested the proposed method on a variety of HDR images and also compared it to previous research. The results indicated that our method was effective for displaying images with high visual quality.

Introduction: The Dynamic Range Dilemma

High Dynamic Range (HDR) images capture the full spectrum of light in a scene, from the deepest shadows to the brightest sunlight. However, standard displays (LDR) and printers can only show a fraction of this range. Existing solutions generally fall into two camps: Global Operators, which are fast but often result in "flat" images, and Local Operators, which preserve detail but frequently introduce "halos" around high-contrast edges.

This paper presents a sophisticated approach to bridge this gap, creating a method that maintains the natural "feel" of global mapping while providing the crisp detail of local mapping, all without the artifacts common in traditional techniques.

Methodology: A Two-Stage Approach

The proposed algorithm mimics the human visual system by combining global luminance compression with local detail enhancement. The process follows a structured pipeline to ensure both overall brightness balance and local contrast preservation.

Figure 3: The proposed tone mapping pipeline, transitioning from the original HDR image to the final LDR output through global and local processing stages.

1. Adaptive Global Luminance Mapping

The algorithm first converts the image to the LHS (Luminance, Hue, Saturation) color space. It employs a logarithmic compression curve where the "key value" (controlling overall brightness) is not static. Instead, the researchers use a pseudo-Hilbert scan—a space-filling curve that visits every pixel while preserving spatial neighborhoods—to analyze the image. This allows the system to detect high-contrast regions and adapt the compression curve locally before any local processing begins.

2. Adaptive Gaussian Processing (Retinex-based)

To enhance local details, the method builds on Retinex theory, which models human light perception. While standard Retinex uses a fixed Gaussian filter that often causes halo artifacts, this paper introduces an Adaptive Gaussian Filter. The filter’s variance and shape change based on the local gradient. When the filter encounters a sharp edge, it "shrinks" to avoid blurring across the boundary, effectively preventing halos from forming.

Key Insights and Results

The algorithm was evaluated using several classic HDR benchmark images, such as "Memorial Church" and "The Desk." The researchers focused on three primary performance areas:

  • Detail Preservation: The method reveals textures in dark ceilings and bright windows simultaneously, avoiding the "blown out" or "pitch black" extremes of other methods.
  • Artifact Reduction: There is a marked absence of the "glow" or "halo" effect around bright light sources compared to traditional local operators.
  • Efficiency: The global stage is computationally efficient ($O(N)$), making the overall process viable for high-resolution imagery.
Figure 2: Resulting LDR image produced by the proposed algorithm, showing preserved details in both shadows and highlights.

Conclusion

By combining an edge-aware adaptive Gaussian filter with a pseudo-Hilbert scan for global mapping, the proposed algorithm successfully reproduces HDR scenes on standard devices with high visual quality. While evaluation remains somewhat subjective due to a lack of objective HDR metrics, the visual results demonstrate a superior balance of contrast and detail without the typical drawbacks of local tone mapping.

Summary updated

BibTeX
@article{zhang2010adaptive,
  author = {Jian Zhang and Sei‐ichiro Kamata},
  title = {{An Adaptive Tone Mapping Algorithm for High Dynamic Range Images}},
  journal = {The Journal of The Institute of Image Information and Television Engineers},
  year = {2010},
  doi = {10.3169/itej.64.850},
}
Figure