Soft-Segmentation Guided Object Motion Deblurring

Jin-shan Pan, Zhe Hu, Zhixun Su, Hsin-Ying Lee, Ming-Hsuan Yang

Abstract

This paper presents a robust framework for restoring images affected by object motion blur, where different parts of a scene exhibit distinct blur kernels. Traditional methods often struggle with the "chicken-and-egg" problem of needing accurate segmentation for deblurring and sharp images for segmentation. We introduce a joint optimization approach using soft-segmentation (alpha matting) within a Maximum A Posterior (MAP) framework. By allowing continuous confidence maps at object boundaries, our method effectively handles the "smear" of motion blur, leading to superior restoration of both foreground and background details compared to existing hard-segmentation techniques.

Introduction

Object motion blur remains a significant challenge in computer vision. Unlike global camera shake, real-world scenes often involve multiple objects moving at different speeds and directions relative to the camera. To restore such images, one must segment the scene into layers and estimate specific blur kernels for each. However, obtaining precise segmentation from a blurry image is inherently difficult, while deblurring without accurate masks leads to ringing artifacts and distorted edges.

Input image with bounding boxes defining the foreground cyclist and background layers.

Methodology

The proposed solution is a unified framework that jointly optimizes segmentation and deblurring.

Soft-Segmentation and Alpha Matting

Instead of binary "hard" masks, the model utilizes a continuous confidence map ($s_i$). This "soft-segmentation" is inspired by alpha matting, which is better suited for representing the gradual transitions and light blending that occur at the boundaries of moving objects during exposure.

The MAP Framework

The core of the algorithm is a Maximum A Posterior (MAP) framework that iterates through three primary stages:

  1. Segment Estimation: The soft-segmentation maps are updated based on the current estimate of the latent sharp image.
  2. Latent Image Estimation: The sharp image is reconstructed using the current segments and estimated kernels.
  3. Kernel Estimation: The specific motion paths for each layer are refined.

To ensure the segmentation respects the image's underlying structure, the authors employ the Matting Laplacian as a regularizer. Furthermore, the optimization is made computationally efficient through the use of fast edge-preserving filters.

Experimental Results

The framework was evaluated on both synthetic and real-world datasets.

Quantitative Performance

On a synthetic dataset of 16 layered images with ground-truth blur, the proposed method achieved an average Peak Signal-to-Noise Ratio (PSNR) of 22.79 dB. This outperforms previous state-of-the-art approaches, such as Kim et al. (21.66 dB) and Xu & Jia (21.71 dB).

Qualitative Analysis

In real-world scenarios, the method successfully recovers fine details that are typically lost. As shown in the restored crops below, the algorithm recovers sharp textures on the cyclist's jersey and legible text on background signage, which other methods often render as unreadable smudges.

Deblurring results showing recovered details in both the foreground cyclist and the background banner.

Conclusion

By integrating soft-segmentation into the deblurring process, this work provides a powerful tool for handling complex dynamic scenes. The joint optimization ensures that as the image sharpens, segmentation accuracy improves, creating a virtuous cycle of restoration. While the current model primarily assumes uniform blur per layer, future work involving 3D depth information and non-uniform motion paths promises to further extend the robustness of this approach.

Summary updated

BibTeX
@inproceedings{pan2016soft,
  author = {Jin-shan Pan and Zhe Hu and Zhixun Su and Hsin-Ying Lee and Ming-Hsuan Yang},
  title = {{Soft-Segmentation Guided Object Motion Deblurring}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.56},
}
Figure