Self-Supervised Linear Motion Deblurring

Peidong Liu, Joel Janai, Marc Pollefeys, Torsten Sattler, Andreas GeigerIEEE RA-L 2020 · DOI

Abstract: Motion blurry images challenge many computer vision algorithms, e.g., feature detection, motion estimation, or object recognition. Deep convolutional neural networks are state-of-the-art for image deblurring. However, obtaining training data with corresponding sharp and blurry image pairs can be difficult. In this letter, we present a differentiable reblur model for self-supervised motion deblurring, which enables the network to learn from real-world blurry image sequences without relying on sharp images for supervision. Our key insight is that motion cues obtained from consecutive images yield sufficient information to inform the deblurring task. We therefore formulate deblurring as an inverse rendering problem, taking into account the physical image formation process: we first predict two deblurred images from which we estimate the corresponding optical flow. Using these predictions, we re-render the blurred images and minimize the difference with respect to the original blurry inputs. Our experiments demonstrate that self-supervised single image deblurring is really feasible and leads to visually compelling results.

Introduction

Motion blur is a significant hurdle for computer vision tasks such as object detection and autonomous navigation, particularly in low-light or high-speed scenarios. While deep learning has revolutionized deblurring, most models are supervised, requiring pairs of blurry images and their perfectly sharp counterparts for training. Generating these pairs is challenging, often requiring high-speed cameras or complex hardware setups that may not generalize to "in the wild" scenarios. This paper addresses this data gap by enabling a network to learn directly from raw, blurry video sequences through a self-supervised framework.

Methods

The core innovation is a differentiable reblur model. Instead of guessing sharp images in isolation, the system formulates deblurring as an inverse rendering problem.

Overview of the self-supervised training and testing pipeline.

As illustrated in the pipeline above, the process involves:

  1. Deblurring & Flow Estimation: Given two consecutive blurry frames ($B_a, B_b$), a "DeblurNet" predicts two latent sharp images ($I_a, I_b$). Simultaneously, an optical flow network estimates the motion between these predicted sharp images.
  2. Reblurring Module: Using the estimated optical flow and predicted sharp images, the system mathematically re-renders the blur. It assumes a locally linear blur kernel, representing pixel movement in straight lines during short exposure times.
  3. Self-Supervision: The model is trained by minimizing the difference between the original blurry inputs and the newly rendered blurry images. If the predicted sharp image and motion are correct, the re-rendered blur matches the original input.
  4. Forward Warping: To handle spatially varying blur, a differentiable forward warping technique based on a triangular mesh is used, allowing gradients to flow back through the entire network during training.

At test time, the flow and reblurring modules are discarded; the network processes a single blurry image in approximately 50ms.

Experimental Results

The approach was validated using a synthetic Fastec dataset (3,606 pairs) and a real-world dataset (2,302 images) captured at night and dusk.

Quantitative comparison of the proposed method against state-of-the-art supervised and self-supervised methods.

On synthetic data, the self-supervised model achieved a PSNR of 32.24 dB, remarkably close to the 34.64 dB of the state-of-the-art supervised SRN-Deblur model. Notably, it significantly outperforms previous self-supervised methods like Madam et al. (21.69 dB). In real-world tests, the method produced visually cleaner results with fewer artifacts compared to supervised models that often overfit to their specific training blur characteristics.

Conclusion

This work demonstrates that motion cues between consecutive frames provide sufficient information to constrain the deblurring task effectively. By embedding the physical image formation process into the loss function, the network learns physically plausible deblurring. While currently limited by a linear motion assumption, the framework offers a robust solution for real-time applications where ground-truth sharp data is unavailable.

Summary updated

BibTeX
@article{liu2020self,
  author = {Peidong Liu and Joel Janai and Marc Pollefeys and Torsten Sattler and Andreas Geiger},
  title = {{Self-Supervised Linear Motion Deblurring}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2020},
  doi = {10.1109/lra.2020.2972873},
}
Figure