Self-supervised HDR Imaging from Motion and Exposure Cues

Michal Nazarczuk, Sibi Catley-Chandar, Ales Leonardis, Eduardo Pérez-Pellitero

TL;DR

This paper introduces a novel self-supervised method for High Dynamic Range (HDR) imaging that bypasses the need for manually curated ground-truth HDR data. By cleverly leveraging motion and exposure cues within existing LDR image sequences, the approach generates its own training data, achieving performance competitive with fully supervised methods and outperforming prior unsupervised techniques.

What Problem Does This Paper Address?

Capturing scenes with a wide range of illumination (high dynamic range) is a challenge for standard cameras, often resulting in blown-out highlights or lost shadow detail. Traditional HDR imaging techniques involve capturing multiple Low Dynamic Range (LDR) images with different exposures and merging them. While effective for static scenes, this becomes problematic for dynamic scenes due to the difficulty of accurately aligning moving objects across frames. Existing data-driven methods that learn to perform this merge require paired LDR-HDR training data. However, creating this ground-truth data for dynamic scenes is a laborious and complex process, often requiring controlled environments and stop-motion techniques, which limits the diversity of captured scenes and motions. This paper addresses the critical need for an HDR estimation method that can be trained without this expensive ground-truth data, particularly for dynamic scenes.

Methods

The core innovation lies in a self-supervised strategy that generates "pseudo-labels" for HDR training directly from unconstrained LDR image sequences. The method operates on a patch level and utilizes two primary "domains of supervision":

  • Motion Domain: This leverages the observation that static regions within a sequence can be reliably fused using traditional methods. Optical flow is used to identify static patches, which are then fused to create HDR pseudo-labels. For dynamic patches, the well-exposed reference frame is used as an HDR pseudo-label, providing supervision for motion alignment.
  • Exposure Domain: This exploits well-exposed regions within LDR images. These regions are considered good local approximations of the HDR image and are used as HDR pseudo-labels. To create more challenging training examples, synthetic illumination changes (gain masks) are applied to these pseudo-labels, simulating over-exposure and generating LDR-HDR supervision pairs.

To further enhance robustness, the method incorporates motion augmentation, simulating camera shake and free movement to train the network on misaligned patches.

Datasets

The paper evaluates its method on several established datasets:

  • Kalantari et al. dataset [14]: A benchmark for dynamic HDR imaging.
  • Chen et al. datasets [4]: This includes:
  • D (dynamic dataset with ground truth)
    • DnGT (dynamic dataset without ground truth)
    • S (static dataset)
    • SRM (static dataset with random synthetic movement)
  • HdM2 [7]: Two sequences from this dataset.

The authors do not introduce a new dataset but rather demonstrate the effectiveness of their self-supervised approach on existing ones, highlighting its ability to leverage unconstrained data.

Key Insights and Ideas

  • Leveraging "Free" Supervision: The most significant insight is that valuable supervision signals for HDR estimation can be extracted from the inherent statistics of LDR image sequences themselves, without requiring manual ground truth.
  • Patch-Level Analysis: Operating at the patch level allows for more granular analysis and selection of regions that satisfy specific conditions (static or well-exposed), overcoming limitations that might arise from analyzing entire images.
  • Dual Supervision Strategy: Combining insights from both motion (alignment) and exposure (luminance range) domains provides a comprehensive and robust training signal, addressing the challenges of dynamic scenes.
  • Synthetic Augmentation for Realism: The use of synthetic illumination changes and motion augmentation effectively creates realistic training scenarios that mimic real-world capture challenges, improving the model's generalization.

Key Results

  • Competitive Performance: The self-supervised approach achieves performance comparable to fully supervised methods on standard benchmarks like Kalantari et al. and Chen et al. datasets.
  • Superior to Unsupervised Methods: The proposed method significantly outperforms previous unsupervised HDR estimation techniques.
  • Quantitative Metrics: Results are reported using PSNR, PSNR for μ-law tonemapped images, and HDR-VDP2. For instance, on the Chen et al. dynamic dataset, the method achieves a 0.47dB improvement over the runner-up fully supervised method.
  • Qualitative Improvements: Visual comparisons show that the proposed method produces HDR images with fewer ghosting artifacts and better color reconstruction compared to other methods, especially in challenging dynamic scenarios.

Limitations and Future Work

  • Camera Response Function (CRF) Assumption: The current approach assumes a gamma transformation approximates the CRF. For scenes with arbitrarily complex or unknown CRFs, estimating the CRF would be necessary.
  • Noise Modelling: The method does not explicitly model noise, assuming carefully collected datasets with negligible noise. For highly noisy data, patch classification and LDR modeling would need adjustments.
  • Motion Modelling: While translation-only motion augmentation is effective, exploring more sophisticated transformations like perspective transforms or motion transfer could further improve results.
  • Weak Supervision and Pre-training: The authors suggest their approach could serve as a "pre-training" step for weakly supervised methods, and future work could explore the impact of dataset size on both labeled and unlabeled data for a deeper understanding of the dynamics between these paradigms.

Summary updated

BibTeX
@inproceedings{nazarczuk2024self,
  author = {Michal Nazarczuk and Sibi Catley-Chandar and Ales Leonardis and Eduardo Pérez-Pellitero},
  title = {{Self-supervised HDR Imaging from Motion and Exposure Cues}},
  booktitle = {Workshops @ ECCV},
  year = {2024},
  url = {https://openreview.net/forum?id=vR7XVJXFrc},
}
Figure