Scale-aware Two-stage High Dynamic Range Imaging

Hui Li, Xuyang Yao, Wuyuan Xie, Miaohui WangarXiv 2023 · DOI

Introduction

High Dynamic Range (HDR) imaging is a critical technique in modern photography, enabling the capture of scenes with a wide range of luminance by merging multiple Low Dynamic Range (LDR) images taken at varying exposures. Despite its popularity, two persistent challenges hinder the quality of merged HDR results: ghosting artifacts and saturation ambiguity. Ghosting occurs when objects move or the camera shakes between exposures, leading to misaligned features. Saturation ambiguity arises in overexposed regions where information is lost, making it difficult for algorithms to accurately reconstruct the scene.

The Scale-aware Two-stage High Dynamic Range Imaging (STHDR) framework addresses these issues through a novel architecture that prioritizes both feature alignment and progressive refinement, achieving state-of-the-art visual quality with industry-leading processing speeds.

Methodology

The STHDR framework is built upon three primary innovations designed to handle motion and exposure discrepancies effectively.

Spatial Correct Module (SCM)

Traditional HDR methods often rely on optical flow for alignment, which frequently fails when dealing with different exposure levels. The SCM performs implicit feature alignment using a dual-pronged approach. It utilizes a Global Context Block (GCB) to capture the overall scene structure and Deformable Convolutions to precisely align local details from non-reference frames to the reference frame. This combination ensures that both large-scale movements and fine textures are correctly mapped before fusion.

Scale-aware Two-Stage Fusion

As shown in the architecture overview, the network operates across three distinct image scales. Coarse details are processed at lower resolutions, providing a foundation that guides the refinement of finer details at higher resolutions. This scale-aware approach ensures spatial consistency across the image.

The STHDR architecture features a scale-aware, two-stage fusion process with shared weights for efficiency.

The fusion itself occurs in two stages. The first stage generates a preliminary HDR result and identifies attention features. These features act as a "rough draft," highlighting areas with residual artifacts. The second stage then uses this information to clean up ghosts and enhance fine textures, resulting in a polished final output.

Experimental Results

Quantitative Performance

The model was rigorously evaluated using the Kalantari HDR dataset, consisting of 74 training groups and 15 test groups. STHDR achieved highly competitive scores on standard industry metrics, including a PSNR-μ of 42.84 dB and an SSIM-μ of 0.9893. Notably, it also performed exceptionally well on the HDR-VDP-2 metric, which measures visual perception quality.

Efficiency and Speed

A major highlight of the STHDR framework is its computational efficiency. By utilizing weight sharing across different scales, the model maintains a manageable parameter count. It is currently the fastest deep-learning method in its class, processing a 512x512 image in approximately 2.3 seconds on an NVIDIA RTX 3090—significantly outperforming previous models like AHDR or DHDR.

Qualitative Comparison

Visually, STHDR produces superior results compared to existing state-of-the-art methods. It effectively eliminates "holes" and highlight artifacts that often plague other algorithms in saturated regions.

Qualitative comparison showing STHDR (OURS) producing cleaner details and fewer artifacts than competing methods.

Conclusion

STHDR represents a significant advancement in HDR imaging by combining global and local alignment within a progressive, scale-aware framework. While the model may occasionally introduce slight blurring in cases of extreme reference frame saturation, its ability to produce ghost-free, high-detail images at high speeds makes it a robust solution for real-world HDR applications. Future research will focus on further refining high-frequency detail recovery in overexposed regions.

Summary updated

BibTeX
@misc{li2023scale,
  author = {Hui Li and Xuyang Yao and Wuyuan Xie and Miaohui Wang},
  title = {{Scale-aware Two-stage High Dynamic Range Imaging}},
  year = {2023},
  eprint = {2303.06575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.06575},
}
Figure