Event-Based Fusion for Motion Deblurring with Cross-modal Attention

Lei Sun, Christos Sakaridis, Jingyun Liang, Qi Jiang, Kailun Yang, Peng Sun, Yaozu Ye, Kaiwei Wang, Luc Van Gool

TL;DR

This paper introduces EFNet, a novel two-stage network that fuses information from traditional cameras and event cameras for motion deblurring. By proposing a new event representation and a cross-modal attention mechanism, EFNet significantly improves deblurring performance, especially in challenging real-world scenarios, and introduces a new dataset, REBlur, for this task.

What Problem Does This Paper Address?

Traditional cameras struggle with motion blur because their sensors capture information over an extended exposure time. This leads to smeared images where fine details and sharp edges are lost. While deep learning has made strides in image deblurring, these methods often falter on real-world, extreme blur due to limitations in training data and the inherent inability of static image data to fully capture motion dynamics. Event cameras, on the other hand, offer a unique solution. They asynchronously record pixel-wise intensity changes with high temporal resolution, providing rich information about motion within the exposure time. However, effectively fusing this event data with traditional image data for deblurring has been a challenge, with existing methods showing only marginal improvements. This paper aims to bridge this gap by developing a more effective way to leverage event camera data for motion deblurring.

Methods

The core of EFNet is a two-stage, end-to-end network designed to progressively restore sharp images.

  • Symmetric Cumulative Event Representation (SCER): The authors propose a novel way to represent event data specifically for deblurring. SCER is a 3D voxel grid that captures relative intensity changes between a central latent sharp image and other latent images within the exposure time. This representation is inspired by the physical model of event-based deblurring and aims to better utilize the temporal information from events.
  • Event-Image Cross-modal Attention (EICA): To effectively fuse features from the image and event branches, EFNet employs a novel EICA module. Unlike self-attention, EICA uses queries from the image branch and keys/values from the event branch. This allows the network to selectively focus on relevant event features that aid deblurring and filter out noise. The module is applied at multiple levels within the network for richer feature fusion.
  • Event Mask Gated Connection (EMGC): To facilitate information flow between the two stages of EFNet, an EMGC module is introduced. This module uses a binary event mask derived from SCER to selectively transfer features. It masks out blurry regions from the encoder and sharp regions from the decoder of the first stage, helping to preserve important information and refine the deblurring process in the second stage.
  • Two-Stage Architecture: EFNet utilizes a two-stage U-Net-like backbone. The first stage fuses image and event features to produce an initial deblurred image. The second stage then refines this output, acting as a denoising step to correct any remaining artifacts, particularly in regions with significant motion blur.

Datasets

  • GoPro Dataset: A widely used benchmark for motion deblurring, consisting of synthetic blurry images generated from sharp images. The authors used this dataset for training and initial evaluation. They also generated synthetic events for GoPro using the ESIM simulator.
  • REBlur Dataset: A newly introduced dataset specifically for event-based motion deblurring. It comprises real-world blurry images, corresponding event streams, and ground-truth sharp images captured in a controlled laboratory environment. REBlur aims to address the domain gap between synthetic and real events and includes diverse motion categories and challenging blur conditions.

Key Insights and Ideas

  • Event data is crucial for extreme blur: The paper strongly suggests that event camera data is not just an enhancement but a necessity for effectively deblurring images with severe motion blur, where traditional image-only methods struggle.
  • Physics-inspired event representation matters: The SCER representation, derived from the physical model of event-based deblurring, proves more effective than generic event representations (like simple temporal accumulation or 3D voxel grids) for this task.
  • Cross-modal attention is key for fusion: Simply concatenating or multiplying features from different modalities is insufficient. The EICA module's ability to selectively attend to relevant event features based on image features is critical for successful fusion.
  • Two-stage refinement is beneficial: A two-stage approach, where the first stage performs initial deblurring with event-image fusion and the second stage refines the output, significantly improves robustness and detail recovery.

Key Results

  • State-of-the-art performance: EFNet achieves state-of-the-art results on both the GoPro and REBlur datasets.
  • Significant PSNR/SSIM improvements: On the GoPro dataset, EFNet achieved up to 2.47 dB PSNR improvement over the best event-based method and 2.75 dB over the best image-based method. On REBlur, it also outperformed existing methods.
  • Effective fusion: The EICA fusion block improved PSNR by 0.6 dB or more compared to simpler fusion strategies.
  • Robustness to real-world blur: EFNet demonstrates superior performance on the REBlur dataset, which contains real-world blur, highlighting its robustness compared to methods trained solely on synthetic data.
  • Efficient parameter count: Despite its advanced capabilities, EFNet maintains a relatively low parameter count (8.47M).

Limitations and Future Work

  • Domain Gap: While REBlur aims to bridge the gap between synthetic and real events, the authors acknowledge that a domain gap can still exist. Future work could explore further methods to improve the generalization of models trained on synthetic data to real-world scenarios.
  • Computational Cost: Although EFNet is efficient, the use of event data and attention mechanisms inherently adds computational overhead compared to purely image-based methods.
  • Further Exploration of Event Representations: The paper highlights the importance of event representation. Future research could explore even more sophisticated representations that capture different aspects of event data for deblurring.
  • Real-time Applications: While the method shows strong performance, achieving real-time deblurring with event-based fusion could be a direction for future work, potentially through network optimization or specialized hardware.

Summary updated

BibTeX
@inproceedings{sun2022event,
  author = {Lei Sun and Christos Sakaridis and Jingyun Liang and Qi Jiang and Kailun Yang and Peng Sun and Yaozu Ye and Kaiwei Wang and Luc Van Gool},
  title = {{Event-Based Fusion for Motion Deblurring with Cross-modal Attention}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19797-0\_24},
}
Figure