TL;DR
This paper introduces a novel framework for converting a single Low Dynamic Range (LDR) image into a High Dynamic Range (HDR) image using conditional diffusion models. By combining a CNN-based autoencoder with a specialized "Exposure Loss," the authors successfully reconstruct intricate details in overexposed highlights and underexposed shadows without needing a complex, multi-stage camera pipeline.
What Problem Does This Paper Address?
Standard digital cameras capture images in Low Dynamic Range (LDR), typically 8-bit integers. These cameras often fail to capture the full range of light in a real-world scene, leading to "blown-out" highlights (pure white) or "crushed" shadows (pure black).
High Dynamic Range (HDR) imaging aims to store much more lighting information (32-bit floating point), but creating HDR content usually requires taking multiple photos at different exposures and merging them—a process prone to "ghosting" if anything in the scene moves. Reconstructing HDR from a single LDR image is a classic "ill-posed" problem because the missing information must be "hallucinated" or intelligently predicted by a model.
Methods
The authors propose a framework based on Conditional Denoising Diffusion Probabilistic Models (DDPM). Unlike traditional CNNs that map input to output directly, diffusion models learn to reverse a process of adding noise to an image.
Key components include:
- Conditional DDPM with Classifier-Free Guidance: The model generates the HDR image by starting from Gaussian noise and iteratively refining it, conditioned on the input LDR image.
- CNN-based Autoencoder: Instead of conditioning the diffusion process on the raw LDR image, they use an encoder to create a compact latent representation ($z_{sem}$). A decoder is used during training to reconstruct the LDR image, ensuring the latent space captures meaningful semantic details.
- Modified Noise Scheduler: Standard diffusion models often struggle with high-resolution images (256x256). The authors adopted a modified $\alpha$-cosine noise scheduler to maintain a constant signal-to-noise ratio across scales.
- Exposure Loss ($L_{exp}$): This is the paper's primary algorithmic innovation. It is a specialized loss function designed to push gradients in the opposite direction of saturation. If an area is over-exposed in the LDR, the loss encourages the model to "pull back" the exposure in the HDR reconstruction to recover detail.
Datasets
The model was trained and evaluated on two prominent publicly available datasets:
- HDR-REAL: A large-scale dataset containing 1,838 LDR-HDR image pairs in the test set.
- HDR-Eye: A smaller, specialized dataset containing 46 LDR-HDR image pairs used for benchmarking.
Key Insights and Ideas
- Diffusion vs. Pipelines: Most previous SOTA methods (like HDRCNN or Liu et al.) rely on an "inverse camera pipeline" that explicitly models dequantization and linearization. This paper shows that a well-conditioned diffusion model can achieve similar or better results with a more streamlined, end-to-end architecture.
- The Power of the Decoder: Ablation studies revealed that including a decoder in the conditioning branch significantly sharpens the final HDR output. It forces the encoder to preserve high-frequency details that the diffusion process can then leverage.
- Balancing Exposure via Loss: The "Exposure Loss" acts as a corrective force. By penalizing the model when the predicted HDR exposure matches the "bad" exposure of the LDR input, it forces the model to hallucinate details in regions that were previously just flat white or black.
Key Results
The proposed method was compared against several state-of-the-art (SOTA) models, including DrTMO, HDRCNN, ExpandNet, and SingleHDR.
- Quantitative: On the HDR-REAL dataset, the model achieved the second-best SSIM (0.66) and competitive PSNR (15.76). On the HDR-Eye dataset, it achieved the highest SSIM (0.81) and the second-best VDP 2.2 (52.29), a metric specifically designed to measure perceived visual difference in HDR.
- Qualitative: Visual results (Table 2 in the paper) show that the model is particularly adept at recovering textures in bright skies and indoor light sources where other models produce flat or grayish artifacts.
Limitations and Future Work
Despite the improvements, the authors note a few areas for growth:
- Extreme Saturation: In regions with very high saturation and few surrounding cues, the model can still produce minor artifacts.
- Hybrid Approaches: The authors suggest that the quality could be further improved by incorporating "masking" (treating under- and over-exposed regions with different sub-networks) or re-integrating an explicit inverse camera pipeline into the diffusion framework.
- Inference Speed: Like most diffusion models, the iterative denoising process is computationally more expensive than a single-pass CNN, which may limit real-time applications without further optimization.
Summary updated