Tone Mapping Based on Multi-scale Histogram Synthesis

Jie Yang, Ziyi Liu, Ulian Shahnovich, Orly Yadid-PechtarXiv 2021

Abstract

This paper introduces a novel tone mapping algorithm, Multi-scale Histogram Synthesis (MS-Hist), designed to compress Wide Dynamic Range (WDR) images for standard Low Dynamic Range (LDR) displays. By mimicking the human visual system's local adaptation, the method calculates per-pixel tone curves across multiple scales and fuses them using local variance. This approach preserves fine details while maintaining global brightness consistency. The use of integral images and histograms enables efficient computation, allowing for sub-second performance on mobile devices.

Introduction

Modern image sensors can capture Wide Dynamic Range (WDR) scenes exceeding 120 dB, but standard displays are typically limited to 8-bit Low Dynamic Range (LDR). To bridge this gap, Tone Mapping Operators (TMOs) are employed. Global TMOs apply a uniform curve, often resulting in washed-out details. Local TMOs adapt to specific regions but can introduce blocky artifacts or "brightness inconsistency," where local dark patches in bright areas are incorrectly mapped. The challenge lies in building a local TMO that maximizes local contrast without destroying global lighting context or introducing artifacts, while remaining computationally efficient.

Figure 2: Analysis of a WDR scene (Memorial Church) showing the vast range of pixel values and the need for locally adapted tone curves to preserve details in both shadows and highlights.

Methods

The proposed Multi-scale Histogram Synthesis (MS-Hist) algorithm is inspired by the logarithmic response of the Human Visual System (HVS).

Per-Pixel Local Adaptation and Multi-Scale Pyramid

Instead of block-based processing, the algorithm computes a unique logarithmic tone mapping curve for every pixel based on its surrounding window's histogram. To address brightness inconsistency, these curves are computed across multiple window sizes (scales). Small windows capture fine textures, while large windows maintain global lighting context.

Variance-Based Fusion

The final pixel value is a weighted average of values across all scales, with weights determined by local variance. High-variance areas (textured) favor small-scale outputs to boost detail, while low-variance areas (flat) favor large-scale outputs to prevent noise and maintain global brightness.

Figure 5: Visualization of the multi-scale decomposition and fusion process, showing how different levels of detail are extracted across scales (a-f) to be combined into the final image.

Algorithmic Acceleration

To make per-pixel multi-scale histogram computation feasible, the authors utilize integral images and n-channel integral histograms. This allows $O(1)$ time complexity for window sums and histograms, making the algorithm highly parallelizable and suitable for mobile hardware.

Results

The MS-Hist algorithm was evaluated against seven state-of-the-art TMOs using 200 WDR radiance maps.

  • Objective Quality: MS-Hist achieved the highest average Tone-Mapped Image Quality Index (TMQI) score of 0.9048, ranking first on 10 of the 20 benchmark images.
  • Subjective Quality: In a blind survey of 129 volunteers, MS-Hist received the most votes for 14 out of 20 images, significantly outperforming competitors.
  • Performance: Implemented in the "CaptureWDR" app, the entire pipeline runs in less than one second on an iPhone 6 without GPU acceleration.

Conclusion

MS-Hist provides a robust solution for WDR tone mapping by balancing local detail and global consistency through a multi-scale approach. While aggressive detail preservation can occasionally impact "naturalness," the algorithm's efficiency and quality make it ideal for real-world mobile applications. Future work will focus on GPU acceleration for real-time video processing.

Summary updated

BibTeX
@misc{yang2021tone,
  author = {Jie Yang and Ziyi Liu and Ulian Shahnovich and Orly Yadid-Pecht},
  title = {{Tone Mapping Based on Multi-scale Histogram Synthesis}},
  year = {2021},
  eprint = {2102.00408},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.00408},
}
Figure