Rethinking Motion Deblurring Training: A Segmentation-Based Method for Simulating Non-Uniform Motion Blurred Images

Guillermo Carbajal, Patricia Vitoria, Pablo Musé, José Lezama · DOI

Abstract

Motion deblurring has seen significant progress with deep learning, yet a persistent "generalization gap" remains: models trained on synthetic datasets often fail on real-world blurry images. This research identifies that the primary bottleneck is not model architecture, but the quality of training data. We introduce the Segmentation-Based Deblurring Dataset (SBDD), which incorporates non-uniform blur, photon-domain processing, and sensor saturation. Our findings show that training older architectures on SBDD allows them to surpass modern state-of-the-art models trained on conventional datasets, highlighting the critical importance of realistic data simulation for real-world performance.

Introduction

In recent years, deep learning models like NAFNet and MIMO-UNet+ have achieved state-of-the-art results on standard motion deblurring benchmarks such as the GoPro dataset. However, these models frequently struggle when applied to real-world photography. This phenomenon, termed "kernel overfitting," occurs because the models learn to invert the specific artifacts of synthetic data rather than the physics of real motion blur. While the community has largely focused on developing more complex neural architectures, this paper argues that the key to closing the generalization gap lies in rethinking how we generate training data.

The Synthetic Data Bottleneck

Most existing datasets are created by averaging frames from high-speed videos. This process introduces several unrealistic artifacts:

  • Dotted Kernels: Discrete frame averaging creates a "ghosting" effect rather than a continuous blur path.
  • CRF Mismatch: Real blur occurs in the linear photon domain before the camera applies a non-linear Camera Response Function (CRF). Standard datasets often ignore this, blurring images that have already been gamma-corrected.
  • Sensor Saturation: Bright light sources in real blurry images often saturate pixels and "bleed" into neighboring areas, a feature missing from standard synthetic sets.

The Segmentation-Based Deblurring Dataset (SBDD)

To address these flaws, we propose a data-centric methodology to generate the Segmentation-Based Deblurring Dataset (SBDD). Key technical innovations include:

  1. Piece-wise Constant Blur: Using Mask-RCNN to segment images into objects and backgrounds, we apply distinct motion kernels to different segments. This accurately simulates non-uniform blur where a moving subject and a static background exhibit different blur patterns.
  2. Photon Domain Processing: We transform sharp images back into a linear "photon domain" before applying blur, then re-apply non-linear processing. This ensures the blur physics match real-world sensor behavior.
  3. Saturation Augmentation: We introduce specific augmentations to simulate the saturation and light-streaking common in night-time motion blur.
  4. Continuous Kernels: Instead of discrete frame averaging, we utilize a physiological camera shake model to generate smooth, continuous motion paths.

Experimental Evaluation

We conducted cross-dataset evaluations to measure how well models generalize to real-world data. One of the most striking findings is that the Scale-Recurrent Network (SRN)—a model from 2018—outperforms 2022's state-of-the-art architectures on real images when trained on SBDD.

Figure 1: Performance improvement of various models (SRN, MiMO-UNet+, NAFNet) when trained on SBDD compared to standard datasets. The arrows indicate the significant jump in PSNR on real-world benchmarks like RealBlur and Köhler.

Quantitatively, on the RealBlur-J dataset, models trained with SBDD achieved a PSNR of 30.84 dB, a significant improvement over the 28.56 dB achieved by the same models trained on the standard GoPro dataset. Qualitatively, the SBDD-trained models handle boundaries and bright light streaks with far fewer artifacts.

Figure 2: Qualitative comparison of deblurring results across three real-world datasets. Models trained on SBDD (Ours) show superior clarity and fewer artifacts compared to those trained on the GoPro dataset.

Conclusion

This research demonstrates that the current limitations in motion deblurring are primarily data-driven rather than architectural. By simulating the complexities of real-world imaging—such as non-uniform motion, sensor saturation, and the camera response function—we can significantly improve the generalization of deblurring models. Our SBDD approach allows even older, more efficient models to surpass modern networks, suggesting that future research should prioritize data realism alongside model complexity.

Summary updated

BibTeX
@article{carbajal2025rethinking,
  author = {Guillermo Carbajal and Patricia Vitoria and Pablo Musé and José Lezama},
  title = {{Rethinking Motion Deblurring Training: A Segmentation-Based Method for Simulating Non-Uniform Motion Blurred Images}},
  journal = {J. Math. Imaging Vis.},
  year = {2025},
  doi = {10.1007/s10851-025-01246-w},
}
Figure