Learned HDR Image Compression for Perceptually Optimal Storage and Display

Peibei Cao, Haoyu Chen, Jingzhe Ma, Yu-Chieh Yuan, Zhiyong Xie, Xin Xie, Haiqing Bai, Kede Ma

Abstract

High Dynamic Range (HDR) imaging captures the vast range of luminance found in the real world, yet its adoption is hindered by high storage requirements and the need for backward compatibility with standard Low Dynamic Range (LDR) displays. This paper presents EPIC-HDR (End-to-end and Perceptually optimized Image Coder for HDR), a novel compression framework that bridges the gap between high-quality HDR storage and LDR accessibility. By optimizing for perceptual metrics rather than raw pixel accuracy, EPIC-HDR achieves state-of-the-art reconstruction quality and visually superior tone-mapped images at significantly lower bitrates than traditional codecs.

Introduction

Standard compression methods often struggle with two conflicting goals: efficiency and compatibility. Storing full HDR data typically results in a massive data footprint. To maintain compatibility with standard monitors, traditional solutions like JPEG-HDR or JPEG-XT employ a "two-layer" approach, compressing a standard LDR image and storing a "residual" or "gain map" as metadata to reconstruct the HDR version. However, because these layers are rarely optimized jointly, the resulting files are often suboptimal in size and can suffer from "muddy" visual quality in both the LDR and HDR versions.

EPIC-HDR addresses these challenges by treating HDR compression as an end-to-end optimization problem, prioritizing how humans actually perceive light and texture over mathematical pixel-to-pixel parity.

Methodology

The EPIC-HDR Architecture

The EPIC-HDR framework follows the transform coding paradigm but bifurcates the process into two specialized paths to handle the dual requirements of LDR display and HDR reconstruction:

  1. The LDR Path: An analysis network extracts latent codes from the HDR input to generate a high-quality LDR image. This process is conditioned on the maximum scene luminance, effectively mimicking the behavior of physical tone-mapping operators to ensure the LDR version is aesthetically pleasing and usable on standard displays.
  2. The Side Information Path: A secondary set of networks extracts specific "HDR latent codes." This side information is remarkably efficient, typically consuming only 0.04 to 0.05 bits per pixel (bpp).
  3. The Reconstruction Network: A UNet-based model serves as the synthesis engine. It takes the generated LDR image and the side information bitstream to reconstruct the final HDR image.

Perceptual Optimization

A core innovation of EPIC-HDR is its departure from Mean Squared Error (MSE) as a primary loss function. Standard codecs that minimize MSE often produce artifacts that are mathematically small but visually distracting. Instead, EPIC-HDR is trained using perceptually aligned distortion metrics:

  • ADISTS (Adaptive Deep Image Structure and Texture Similarity): Used for HDR reconstruction to preserve structural integrity and fine textures.
  • NLPD (Normalized Laplacian Pyramid Distance): Used for the LDR output to ensure visual fidelity in the tone-mapped version.

By hiding compression artifacts in areas where the human eye is least sensitive, the model achieves higher perceived quality at lower bitrates.

Experimental Setup

The researchers utilized panoramic HDR images from the Poly Haven dataset. To prepare the data for training and testing, they converted these panoramas into 3,880 central-perspective images for training and 780 for testing. All images were cropped to a resolution of 448 × 448 pixels. This dataset provides a wide variety of lighting conditions, ranging from harsh outdoor sunlight to dim indoor environments, ensuring the model generalizes well across diverse scenes.

Key Insights

Perception Over Pixels

The study demonstrates that optimizing for human vision metrics yields significantly better results than optimizing for physical accuracy. The model learns to preserve the "feel" of a texture or the sharpness of an edge, even if the underlying pixel values shift slightly from the original source.

Luminance Conditioning

By feeding the maximum scene luminance into the synthesis network, the model gains a "global context." This allows it to adjust tone mapping dynamically, similar to how a professional photographer adjusts exposure to preserve detail in both highlights and shadows.

Efficiency of Side Information

The side information path acts as the primary driver for restoring color fidelity and sharpness. Despite its low bitrate, it provides the necessary cues for the reconstruction network to transform the LDR image back into a high-fidelity HDR representation.

Results and Performance

EPIC-HDR consistently outperformed nine competing methods, including traditional standards (JPEG-HDR, JPEG-XT, VVC) and recent deep-learning models such as OoDHDR-codec.

  • Quantitative Performance: In BD-Quality tests, EPIC-HDR secured top positions by wide margins across multiple metrics, including HDR-VDP-3 and PU21-PSNR. It demonstrated superior bitrate efficiency compared to global tone-mapping-based schemes.
  • Qualitative Quality: Visually, EPIC-HDR avoids the blocking and blurring artifacts common in JPEG-based HDR extensions. It maintains significantly better detail in high-exposure areas (such as bright windows) and low-exposure regions (such as dark corners) simultaneously.

Limitations and Future Work

While EPIC-HDR represents a significant advancement, several challenges remain:

  • Calibration: Most available HDR images are "uncalibrated," meaning luminance values are relative. The current model uses a linear rescaling approach, but the authors suggest that joint HDR calibration and compression is a vital future direction.
  • Computational Complexity: As an end-to-end neural network, EPIC-HDR requires more computational power than traditional encoders. Widespread adoption on low-power mobile devices will likely depend on the continued proliferation of hardware acceleration for neural networks.
  • Perceptual Plausibility: Future research will aim to move beyond reconstruction toward "perceptual optimality"—creating images that look "right" to a human observer even if they are not a perfect physical match to the original scene.

Summary updated

BibTeX
@inproceedings{cao2024learned,
  author = {Peibei Cao and Haoyu Chen and Jingzhe Ma and Yu-Chieh Yuan and Zhiyong Xie and Xin Xie and Haiqing Bai and Kede Ma},
  title = {{Learned HDR Image Compression for Perceptually Optimal Storage and Display}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72967-6\_7},
}
Figure