Single Image Non-uniform Blur Kernel Estimation via Adaptive Basis Decomposition

Guillermo Carbajal, Patricia Vitoria, Mauricio Delbracio, Pablo Musé, José Lezama

Abstract

Motion blur estimation remains an important task for scene analysis and image restoration. In recent years, the removal of motion blur in photographs has seen impressive progress in the hands of deep learning-based methods, trained to map directly from blurry to sharp images. Characterization of the motion blur, on the other hand, has received less attention, and progress in model-based methods for deblurring lags behind that of data-driven end-to-end approaches. In this work we revisit the problem of characterizing dense, non-uniform motion blur in a single image and propose a general non-parametric model for this task. Given a blurry image, a neural network is trained to estimate a set of image-adaptive basis motion kernels as well as the mixing coefficients at the pixel level, producing a per-pixel motion blur field. We show that our approach overcomes the limitations of existing non-uniform motion blur estimation methods and leads to extremely accurate motion blur kernels. When applied to real motion-blurred images, a variational non-uniform blur removal method fed with the estimated blur kernels produces high-quality restored images. Qualitative and quantitative evaluation shows that these results are competitive or superior to results obtained with existing end-to-end deep learning (DL) based methods, thus bridging the gap between model-based and data-driven approaches.

Introduction

The restoration of images affected by motion blur is a long-standing challenge in computer vision. Real-world motion blur is typically non-uniform, resulting from complex camera trajectories, depth variations, and independent object motion. While recent end-to-end deep learning models have shown promise in direct image-to-image translation, they often lack the physical interpretability and generalization capabilities of model-based approaches. Conversely, traditional model-based methods frequently rely on overly restrictive parametric kernel models. This paper introduces a novel framework that bridges this gap by employing a neural network to estimate a flexible, non-parametric blur field, which is then utilized within a classical deblurring algorithm.

Methodology

The core of the proposed approach is Adaptive Basis Decomposition. Rather than attempting to estimate a unique blur kernel for every pixel—a computationally intractable task—the authors propose that the spatially-varying blur field can be represented as a weighted combination of a small set of image-adaptive basis kernels.

Overview of the proposed non-uniform blur estimation pipeline.

The architecture consists of a Convolutional Neural Network (CNN) with two specialized decoder heads:

  • GenK: Estimates a set of global basis kernels (e.g., $B=25$) specific to the input image.
  • GenM: Generates per-pixel mixing coefficient maps that determine the local composition of the blur kernel.

This decomposition allows for the representation of complex, non-parametric blur fields with minimal parameters. Furthermore, the model incorporates a saturation-aware response function to mitigate artifacts in high-dynamic-range regions. The final restoration is performed using a non-uniform variant of the Richardson-Lucy algorithm, optimized via Discrete Fourier Transforms (DFTs) for efficiency.

Experiments and Results

The model was trained on a synthetic dataset generated from the ADE20K semantic segmentation dataset, using realistic camera shake trajectories applied to segmented objects. Performance was evaluated on the Köhler, Lai, and RealBlur datasets.

The proposed method demonstrates significant improvements in generalization. On the Köhler benchmark, it achieved a PSNR gain of 0.5 to 2.5 dB over state-of-the-art end-to-end models like SRN and MPRNet. Qualitative results highlight the method's ability to recover sharp details and light streaks without the ringing artifacts common in previous model-based estimators.

Visualization of estimated per-pixel motion blur fields on real-world images.

Key insights include the sufficiency of a low-rank representation (25 basis kernels) and the robustness provided by image-adaptive kernel estimation compared to fixed-library approaches. By estimating the kernel rather than the sharp image directly, the method maintains physical interpretability while gaining the predictive power of deep learning.

Conclusion

This work demonstrates that a hybrid approach, combining deep learning-based kernel estimation with model-based restoration, offers superior performance and generalization for non-uniform motion deblurring. The adaptive basis decomposition provides a compact yet expressive representation of complex blur fields. While the iterative deblurring step is slower than one-pass networks, the gains in visual quality and robustness to real-world artifacts are substantial. Future research will explore the application of this framework to other spatially-varying degradations such as defocus blur.

Summary updated

BibTeX
@misc{carbajal2021single,
  author = {Guillermo Carbajal and Patricia Vitoria and Mauricio Delbracio and Pablo Musé and José Lezama},
  title = {{Single Image Non-uniform Blur Kernel Estimation via Adaptive Basis Decomposition}},
  year = {2021},
  eprint = {2102.01026},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.01026},
}
Figure