Lucky High Dynamic Range Smartphone Imaging

Baiang Li, Ruyu Yan, Ethan Tseng, Zhoutong Zhang, Adam Finkelstein, Jiawen Chen, Felix Heide

TL;DR

LuckyHDR is a lightweight, measurement-driven framework that brings high-quality, hallucination-free High Dynamic Range (HDR) imaging to handheld smartphones. By predicting local alignment shifts and blending weights rather than directly synthesizing pixels, the method processes an arbitrary number of bracketed exposures in real-time while maintaining strict fidelity to the physical scene.

What Problem Does This Paper Address?

While the human eye can perceive roughly twenty stops of dynamic range, typical smartphone camera sensors are physically constrained to about twelve stops due to their small form factor. To bridge this gap, computational photography relies on multi-exposure bracketing—fusing a burst of short and long exposures.

However, standard handheld bracketing introduces major challenges: camera shake causes misalignment, and scene motion creates "ghosting" artifacts. While recent deep learning methods attempt to solve this by directly regressing or generating HDR pixels, they frequently introduce "hallucinations" (spurious textures or deformed details) and scale poorly to high resolutions due to massive computational overhead. LuckyHDR aims to deliver a lightweight, fast, and hallucination-free solution suitable for mobile deployment.

Methods

LuckyHDR takes inspiration from "lucky imaging" in astrophotography, where a final clean image is reconstructed by selecting and combining the sharpest, least-distorted pixels from a long sequence of short exposures.

Instead of directly synthesizing pixel values, LuckyHDR uses an iterative align-and-merge architecture that operates indirectly on linear RAW pixels. The pipeline processes an arbitrary sequence of bracketed frames from shortest exposure (the sharp "base frame") to longest exposure:

  1. Alignment Stage: A coarse-to-fine alignment network extracts exposure-invariant features (tone-mapped RGB and luma gradients) to predict a dense local shift map, compensating for hand shake and minor scene motion.
  2. Merge Stage: A lightweight three-layer CNN predicts a per-pixel blending weight map. A softmax function ensures that these weights form a convex combination of the input pixels.

Because the network only determines where to shift and how much to blend, the final output is strictly composed of actual observed pixels, preventing any generative hallucinations. Crucially, the network weights are shared across all iterations, allowing the system to process any number of input frames (from 3 to 9+) without retraining.

LuckyHDR Iterative Align-and-Merge Pipeline

Datasets

The authors trained LuckyHDR entirely on synthetic data, demonstrating remarkable zero-shot generalization to real-world cameras.

  • Training Dataset: Built using the SI-HDR dataset as a base, the authors designed a high-fidelity handheld exposure bracketing simulator. It explicitly models realistic degradations including local foreground motion (using random polygon masks), global hand shake (via translation offsets), exposure-tied motion blur, and shot/read noise.
  • Evaluation: Quantitatively tested on the synthetic SI-HDR-fast split and qualitatively validated on unseen real-world handheld bursts captured using modern smartphones (such as the iPhone 16 Pro Max).

Key Insights and Ideas

  • Hallucination-Free by Design: Restricting the neural network to predicting blending weights rather than raw pixel values guarantees that the model cannot invent fake textures. If a pixel is clipped or blurry, the network simply drives its merge weight to zero.
  • Short-to-Long Ordering: Starting the iteration with the shortest exposure ensures a sharp, unblurred anchor that preserves highlight details. Subsequent longer exposures are progressively merged to cleanly denoise the deep shadows.
  • Simulation Trumps Real Data Collection: Collecting perfectly aligned, ground-truth real-world HDR data is notoriously difficult. This paper proves that a meticulously modeled physical simulation (incorporating exposure-tied blur and noise profiles) is sufficient for a lightweight network to generalize flawlessly to real smartphone RAW captures.

Key Results

  • Unmatched Efficiency: LuckyHDR contains only 66K parameters—roughly 50× fewer than competing baselines like HDRFlow (3.27M) and 17× fewer than other deep networks.
  • Blazing Fast Speed: On a desktop GPU (RTX A6000), it runs in just 7 ms per merge step at $512\times512$ resolution (160× faster than HDR-Transformer). On an iPhone 17 Pro Max NPU, a single merge iteration executes in 8.33 ms.
  • Excellent Resolution Scaling: While transformer-based models crash due to out-of-memory errors at $4096\times4096$ resolutions, LuckyHDR processes full 4K images easily in 430 ms.
  • Superior Quality: LuckyHDR achieves state-of-the-art reconstruction scores (up to 52.0 dB PSNR in linear space) and significantly higher perceptual quality metrics (HDR-VDP2), effectively eliminating ghosting around moving objects and preserving fine high-frequency textures.
LuckyHDR Visual Comparison against Baseline Methods

Limitations and Future Work

  • Extreme Local Motion: The system is designed for static or slowly moving scenes (akin to a smartphone's "Night Mode"). It struggles with large local displacements (e.g., a fast vehicle moving more than 80 pixels across frames), which can leave visible ghosting artifacts.
  • Unmodeled Lens Effects: The synthetic training pipeline does not currently simulate exposure-dependent point spread function (PSF) changes or veiling glare around bright light sources.
  • Fixed ISO Assumption: The current capture schedule assumes a fixed ISO across the burst. The authors note that jointly varying both ISO and exposure time could further expand the captured dynamic range in future iterations.

Summary updated

BibTeX
@article{li2026lucky,
  author = {Baiang Li and Ruyu Yan and Ethan Tseng and Zhoutong Zhang and Adam Finkelstein and Jiawen Chen and Felix Heide},
  title = {{Lucky High Dynamic Range Smartphone Imaging}},
  journal = {ACM Trans. Graphics},
  year = {2026},
  doi = {10.1145/3811374},
}
Figure