Blur kernel estimation using normalized color-line priors

Wei-Sheng Lai, Jian-Jiun Ding, Yen-Yu Lin, Yung-Yu Chuang

Introduction

Blind deconvolution is a fundamental challenge in computer vision, aimed at recovering a sharp latent image $x$ and a blur kernel $k$ from a single observed blurry image $y$. The process is typically modeled as $y = k \otimes x + n$, where $n$ represents noise. Because this problem is ill-posed—infinitely many pairs of $(x, k)$ can satisfy the equation—researchers rely on image "priors" to guide optimization toward a sharp solution. Traditional priors often struggle to distinguish between true image edges and blur, frequently falling into the "no-blur" local minimum.

The Normalized Color-Line Prior

The core innovation of this work is the normalized color-line prior. It builds on the observation that pixels in a local image patch tend to form a linear cluster in RGB space, anchored by two primary color centroids ($c_1$ and $c_2$).

Visualizing the "shrinkage" effect: In a sharp patch (a), color clusters are distinct and far apart. In a blurred patch (b), the clusters are compressed toward the mean, shortening the color line.

As shown in the figure above, blurring acts as a "shrinkage" operator, compressing the distribution of colors toward their mean and reducing the distance between centroids. To counteract this, the authors propose a normalized prior $\rho(P)$: $$\rho(P) = \frac{\sum \|x_j - c_k\|^2}{\|c_1 - c_2\|^2}$$ By minimizing this ratio, the optimization process is forced to either tighten the pixel clusters around their centers or, more importantly, push the color centers further apart. This "stretching" effectively restores the original contrast and dynamic range of the image, providing a strong cue for accurate kernel estimation.

Optimization Framework

The method employs a coarse-to-fine iterative framework to jointly estimate the latent image and the blur kernel.

The proposed blind deconvolution pipeline. It iteratively optimizes patch centers and the latent image (x-step) followed by blur kernel estimation (k-step) within an edge-masked region.

The process consists of two main alternating steps:

  1. Latent Image Estimation (x-step): The intermediate image $\hat{x}$ is updated using the normalized color-line prior to enhance salient edges. An edge mask $M$ is used to focus the prior on informative structures while ignoring noise and complex textures that might violate the two-color assumption.
  2. Kernel Estimation (k-step): Given the current estimate of the sharp image, the blur kernel $k$ is updated.

This cycle repeats across multiple scales of an image pyramid, ensuring that large-scale structures guide the initial kernel shape before refining fine details.

Results and Performance

The algorithm was evaluated against several state-of-the-art methods on synthetic and real-world datasets. On the Sun et al. benchmark (640 images), the proposed method achieved a success rate of 97.81% and the lowest average error ratio (2.0738), outperforming established techniques like those by Xu & Jia and Cho & Lee. Qualitatively, the results on real-world photos demonstrate a significant reduction in "ringing" artifacts and superior restoration of fine details, largely due to the robust information provided by leveraging all three RGB color channels.

Conclusion

By introducing a normalized prior that explicitly models the contrast-reducing effects of blur in color space, this method provides a powerful and self-contained solution for blind deconvolution. While the current two-color assumption is highly effective for edges, future work aims to extend the model to handle more complex multi-color textures and corners.

Summary updated

BibTeX
@inproceedings{lai2015blur,
  author = {Wei-Sheng Lai and Jian-Jiun Ding and Yen-Yu Lin and Yung-Yu Chuang},
  title = {{Blur kernel estimation using normalized color-line priors}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7298601},
}
Figure