TL;DR
This paper introduces HDRTransDC, a novel deep learning framework for reconstructing High Dynamic Range (HDR) images from multiple Low Dynamic Range (LDR) exposures. It tackles the persistent challenges of ghosting artifacts and fusion distortions, particularly in scenes with significant motion, by employing a Transformer-based alignment module and a dynamic feature fusion mechanism.
What Problem Does This Paper Address?
Capturing the full range of light and detail in a scene, much like the human eye, is the goal of High Dynamic Range (HDR) imaging. This is typically achieved by merging multiple Low Dynamic Range (LDR) images taken at different exposure levels. However, this process is fraught with difficulties. When objects move between exposures, or when parts of the scene are severely under- or over-exposed, the resulting HDR image can suffer from "ghosting artifacts" (blurry duplicates of moving objects) and "fusion distortions" (loss of detail or unnatural blending). Existing methods, whether traditional or deep learning-based, struggle to effectively handle large motions and occlusions, leading to imperfect HDR reconstructions.
Methods
HDRTransDC is built upon two core novel components:
- Transformer Deformable Convolution Alignment Module (TDCAM): This module is designed to address ghosting artifacts caused by misalignment and occlusions. It leverages a Transformer Offset Estimator (TOE) that uses both local and global Transformers. The TOE captures long-range contextual information to understand global scene content and identify similar features across different exposures, even when objects are moving significantly. This information is then used to predict precise offsets. These offsets are fed into a deformable convolution layer, which geometrically transforms the non-reference LDR features to align them with the reference image, effectively compensating for motion and filling in occluded regions.
- Dynamic Weight Fusion Block (DWFB): To combat fusion distortions and ensure accurate merging of features, the DWFB adaptively selects useful information from each exposure. It employs a spatial attention mechanism to generate dynamic weights that highlight the most relevant information for each region of the image. This allows the network to prioritize well-exposed regions from the reference image while effectively incorporating complementary details from other exposures, especially in under- or over-exposed areas. The framework also uses Residual Dynamic Weight Fusion Blocks (RDWFBs) to preserve image information during fusion.
Datasets
The paper primarily uses the Kalantari's dataset for training and evaluation. This dataset consists of 74 training scenes and 15 test scenes, each with three LDR images at different exposures and a ground truth HDR image. Additionally, qualitative evaluations were performed on Tursun's dataset and Sen's dataset to assess the method's generalization capabilities, even though these datasets lack ground truth HDR images.
Key Insights and Ideas
- Long-range dependencies are crucial for motion alignment: The paper highlights that traditional CNNs, with their limited receptive fields, struggle with large motions. By incorporating Transformers, HDRTransDC can effectively capture long-range spatial relationships, enabling more robust alignment and occlusion handling.
- Deformable convolutions are powerful for geometric transformation: The use of deformable convolutions, guided by learned offsets, allows for precise pixel-level adjustments to align features, which is more effective than fixed grid sampling.
- Adaptive feature fusion is key to avoiding distortions: Simply stacking features is insufficient. The DWFB's ability to dynamically weigh information from different exposures based on content ensures that the best available details are used for reconstruction, leading to more natural and artifact-free results.
- Combining alignment and fusion is synergistic: The paper demonstrates that addressing both misalignment (via TDCAM) and feature merging (via DWFB) in a unified framework leads to superior HDR reconstruction quality.
Key Results
- Quantitative Performance: HDRTransDC outperforms several state-of-the-art methods on the Kalantari's dataset, achieving the best results in PSNR-µ, PSNR-l, and HDR-VDP-2 metrics. For instance, it surpasses the Liu et al. method by 0.34 dB in PSNR-µ.
- Qualitative Performance: Visually, HDRTransDC effectively removes ghosting artifacts in challenging scenes with large motions and severe under-/over-exposure. It also successfully mitigates fusion distortions, producing HDR images with rich details and realistic structures, as evidenced by comparisons in Figures 6, 7, 8, and 9.
- Inference Time: The paper reports an acceptable inference time of 1.503 seconds per image on an NVIDIA RTX 3090 GPU, which is competitive with other deep learning-based methods.
Limitations and Future Work
- Computational Cost: While acceptable, the inference time is still higher than some very fast methods, particularly those relying on simpler CNN architectures or pre-aligned inputs. The paper notes that some methods' reported times are not directly comparable due to CPU usage for alignment.
- Generalization to Unseen Datasets: While qualitative results on Tursun's and Sen's datasets show promise, further quantitative evaluation on diverse datasets would strengthen the generalization claims.
- Future Work: The paper implicitly suggests that further exploration of Transformer architectures for feature extraction and fusion could lead to even more robust and efficient HDR reconstruction. Investigating more efficient ways to integrate local and global context within the Transformer could also be a direction.
Summary updated