Abstract
With the increasing popularity and accessibility of high dynamic range (HDR) photography, tone mapping operators (TMOs) for dynamic range compression are practically demanding. In this paper, we develop a two-stage neural network-based TMO that is self-calibrated and perceptually optimized. In Stage one, motivated by the physiology of the early stages of the human visual system, we first decompose an HDR image into a normalized Laplacian pyramid. We then use two lightweight deep neural networks (DNNs), taking the normalized representation as input and estimating the Laplacian pyramid of the corresponding LDR image. We optimize the tone mapping network by minimizing the normalized Laplacian pyramid distance (NLPD), a perceptual metric aligning with human judgments of tone-mapped image quality. In Stage two, the input HDR image is self-calibrated to compute the final LDR image. We feed the same HDR image but rescaled with different maximum luminances to the learned tone mapping network, and generate a pseudo-multi-exposure image stack with different detail visibility and color saturation. We then train another lightweight DNN to fuse the LDR image stack into a desired LDR image by maximizing a variant of the structural similarity index for multi-exposure image fusion (MEF-SSIM). The proposed self-calibration mechanism through MEF enables our TMO to accept uncalibrated HDR images, while being physiology-driven. Extensive experiments show that our method produces images with consistently better visual quality. Additionally, since our method builds upon three lightweight DNNs, it is among the fastest local TMOs.
Introduction
Modern camera sensors can capture High Dynamic Range (HDR) images with up to eight orders of magnitude of light, but standard monitors and printers are Low Dynamic Range (LDR) devices. Tone Mapping Operators (TMOs) are algorithms designed to compress this massive dynamic range into a displayable format while preserving local details, global contrast, and natural colors.
Historically, TMOs have faced two major hurdles:
- Manual Calibration: Most HDR images in the wild are "uncalibrated" (pixel values aren't tied to absolute physical light measurements). Traditional TMOs require users to manually guess the maximum luminance of the scene to avoid over- or under-exposing the result.
- The Ground-Truth Dilemma: Training deep neural networks typically requires a "ground truth." For tone mapping, there is no single objectively perfect LDR image for a given HDR scene. Relying on human experts or existing algorithms to create training data is slow, expensive, and bakes subjective biases into the network.
Methods
To bypass the need for paired LDR ground truths, we propose a two-stage unsupervised/self-supervised pipeline called PS-TMO (Perceptually optimized and Self-calibrated TMO):
Stage 1: Tone Mapping Network
The HDR image is decomposed into a normalized Laplacian pyramid, a format that mimics the early stages of the human visual system. Two lightweight Context Aggregation Networks (CANs) process this pyramid to predict the LDR equivalent. Crucially, this network is trained by minimizing the Normalized Laplacian Pyramid Distance (NLPD)—a perceptual metric that evaluates image quality across different dynamic ranges, treating the rich HDR input itself as the ground truth.
Stage 2: Self-Calibration via Fusion
To automatically handle uncalibrated HDR images, the system feeds the input HDR image into the Stage 1 network five times, each time simulating a different maximum luminance (ranging from $10^3$ to $10^7$ cd/m$^2$). This generates a "pseudo-multi-exposure" stack of LDR images—some with great shadow detail, others with rich color saturation.
A third lightweight CAN then fuses this stack into a single optimal LDR image. This fusion network is trained by maximizing a variant of MEF-SSIM (Multi-Exposure Fusion Structural Similarity Index). To handle noise, we modified the metric to select the median signal contrast rather than the maximum, resulting in much cleaner fused images.
Key Results
PS-TMO demonstrates significant improvements in both quantitative and qualitative benchmarks. It outperformed 15 competing TMOs on standard cross-dynamic-range metrics, achieving the highest TMQI (Tone Mapped Image Quality Index) score of 0.9509.
In a formal subjective experiment with 15 human subjects, PS-TMO ranked #1, producing images with better local contrast and more engaging color reproduction. Furthermore, the entire pipeline is incredibly fast, processing high-resolution images in under 0.13 seconds on an NVIDIA GTX 3080Ti, making it real-time capable and the fastest among local TMOs.
Conclusion
PS-TMO provides a robust, physiology-driven solution for HDR tone mapping that eliminates the need for manual calibration and ground-truth LDR data. While currently optimized for fixed target display constraints, future work will focus on adapting the framework to variable luminance capabilities of modern HDR monitors and exploring its application in general low-light image enhancement.
Summary updated