Abstract
This paper presents a unified framework for jointly estimating scene depth and removing non-uniform motion blur from a single image. While traditional deblurring methods often treat blur as a nuisance to be removed, this approach recognizes it as a valuable geometric cue. By employing an Expectation-Maximization (EM) scheme, the proposed method iteratively recovers a sharp latent image and a layered depth map. This joint optimization addresses the inherent "chicken-and-egg" problem where depth is needed for accurate deblurring, and a sharp image is required for precise depth estimation.
Introduction
Camera shake during long exposures typically results in non-uniform motion blur. This complexity arises from two primary factors: the intricate trajectory of the camera's motion and the varying distances (depth) of objects within the scene. Objects closer to the lens generally exhibit more pronounced blur than those in the background.
Most existing deblurring algorithms simplify this problem by assuming a "fronto-parallel" scene, where all objects are at a uniform distance. However, in scenes with significant depth variation—such as a long hallway or a cluttered desk—these methods often fail because they apply a single deblurring kernel globally. This paper tackles the challenge of deblurring a single image where depth variation is a primary driver of blur complexity, effectively turning a perceived limitation into a feature for depth inference.
Methodology
The authors propose a layer-based model solved via an Expectation-Maximization (EM) framework to jointly optimize for depth and the sharp latent image.
Image Partitioning and Layering
The process begins by dividing the image into disjoint regions using a matting algorithm. This step is crucial for handling complex boundaries where objects at different depths intersect. The scene is modeled as a set of discrete depth layers.
The EM Framework
The core of the approach is an iterative EM scheme:
- E-Step (Depth Estimation): The algorithm calculates the likelihood of each image region belonging to a specific depth layer. It treats depth as a discrete set of potential values and uses the current estimate of the sharp image to determine which depth best explains the observed blur.
- M-Step (Image & Motion Recovery): Given the current depth estimates, the algorithm optimizes for the latent sharp image and the camera's motion trajectory, represented as weights of various camera poses.
Regularization and Constraints
To ensure mathematical tractability, $L_0$ smoothing is applied to suppress distracting small edges during depth estimation. Additionally, the model specifically accounts for the interaction between translational camera motion and depth, noting that purely rotational motion produces depth-invariant blur.
Experimental Results
The framework was evaluated on both synthetic and real-world datasets.
Synthetic Evaluation
A synthetic dataset of 420 blurry/sharp image pairs was created using images from the Make3D dataset and various synthesized camera trajectories. Quantitative results showed that depth estimation achieved an average error between 1.03 and 2.02 meters, with accuracy improving as the magnitude of camera translation increased.
Real-World Performance
On challenging real-world "hand-shake" photos, such as the "Boxes" and "Parking Sign" examples, the proposed method demonstrated qualitative superiority. It successfully recovered sharp text and textures that were lost or distorted by methods assuming constant depth.
Discussion and Limitations
While the joint framework provides a significant advancement in depth-aware deblurring, several limitations remain. The algorithm is computationally intensive, requiring approximately 2.5 hours to process a standard 480x640 image in MATLAB. Furthermore, the model assumes a simplified geometry of constant-depth layers, which may struggle with objects that span a continuous range of depths. Future work will focus on improving numerical efficiency and handling more complex scene geometries.
Summary updated