A Spatio-temporal Aligned SUNet Model for Low-light Video Enhancement

Ruirui Lin, Nantheera Anantrasirichai, Alexandra Malyugina, David Bull · DOI

Abstract: Distortions caused by low-light conditions are not only visually unpleasant but also degrade the performance of computer vision tasks. The restoration and enhancement have proven to be highly beneficial. However, there are only a limited number of enhancement methods explicitly designed for videos acquired in low-light conditions. We propose a Spatio-Temporal Aligned SUNet (STA-SUNet) model using a Swin Transformer as a backbone to capture low light video features and exploit their spatio-temporal correlations. The STA-SUNet model is trained on a novel, fully registered dataset (BVI), which comprises dynamic scenes captured under varying light conditions. It is further analysed comparatively against various other models over three test datasets. The model demonstrates superior adaptivity across all datasets, obtaining the highest PSNR and SSIM values. It is particularly effective in extreme low-light conditions, yielding fairly good visualisation results.

Introduction

Capturing video in low light is a significant challenge for both human perception and computer vision algorithms. To compensate for insufficient photons, cameras often increase ISO (adding grainy noise) or slow shutter speeds (causing motion blur). While single-image enhancement techniques have advanced, applying them frame-by-frame to video often results in distracting flickering and temporal inconsistencies. The STA-SUNet model addresses these issues by combining the global modeling power of Swin Transformers with a dedicated spatio-temporal alignment module.

The Nature of Low-Light Distortion

A key insight of this research is that real-world low-light noise is far more complex than the synthetic noise models often used in training. Traditional denoising often relies on Additive White Gaussian Noise (AWGN), but real low-light noise is signal-dependent and tied to motion artifacts. Training on real-world captures, such as those in the BVI dataset, provides a significant edge in restoring natural textures.

Comparison of ground truth (L100%), real low-light noise (L10%), and synthetic Gaussian noise (AWGN).

Methodology: The STA-SUNet Architecture

The architecture of STA-SUNet is built on three main pillars designed to maximize the use of temporal redundancy:

  1. Feature Alignment (STA): Before enhancement, the model processes a window of five frames. It uses a feature-level alignment module employing Deformable Convolutions (DCN) to "warp" features from neighboring frames to match the target frame, effectively compensating for motion blur.
  2. Swin Transformer Backbone: Instead of standard CNNs with limited receptive fields, the model uses Swin Transformers. Their hierarchical window-based self-attention mechanism allows the model to capture long-range dependencies and global context, which is crucial for reconstructing details lost in deep shadows.
  3. SUNet Structure: The model follows an encoder-decoder structure but implements Dual Upsampling (a hybrid of Bilinear interpolation and Pixel Shuffle) to avoid the checkerboard artifacts common in standard upsampling methods.

Training and Datasets

The model's success is heavily tied to the BVI Low-light Dataset, a novel collection of 40 dynamic scenes captured at 10%, 20%, and 100% (ground truth) light levels. Crucially, these scenes are "fully registered," meaning the dark and bright versions match perfectly in space and time, allowing for highly accurate supervised learning. To ensure generalizability, the model was also evaluated on the DRV and SDSD benchmarks.

Key Results and Discussion

STA-SUNet outperformed several established models, including PCDUNet and SDSD-net. Quantitatively, on the BVI dataset, it achieved a PSNR of 26.14 dB and an SSIM of 0.873, significantly higher than the standard SUNet (18.95 dB).

Visual enhancement result from the STA-SUNet model.

Qualitatively, the model effectively removes heavy "speckle" noise and restores color balance in extreme 10% light conditions where other models produced muddy results. The authors found that increasing the input window to five frames was critical, boosting PSNR by approximately 6 dB compared to single-frame processing.

Conclusion and Future Work

While STA-SUNet provides state-of-the-art restoration, its reliance on Transformers and multi-frame alignment introduces high computational and memory costs. Future work may focus on optimizing these architectures for real-time applications on mobile devices. Nonetheless, the model demonstrates that combining spatio-temporal alignment with global attention is a powerful strategy for overcoming the limitations of low-light video capture.

Summary updated

BibTeX
@misc{lin2024spatio,
  author = {Ruirui Lin and Nantheera Anantrasirichai and Alexandra Malyugina and David Bull},
  title = {{A Spatio-temporal Aligned SUNet Model for Low-light Video Enhancement}},
  year = {2024},
  eprint = {2403.02408},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.02408},
}
Figure