Patch Ordering as a Regularization for Inverse Problems in Image Processing

Gregory Vaksman, Michael Zibulevsky, Michael Elad

TL;DR

This paper introduces a novel regularization technique for image processing tasks like denoising and deblurring. By ordering image patches based on their similarity and applying a smoothness constraint to this ordered sequence, the authors achieve state-of-the-art results, particularly for highly ill-posed problems.

What Problem Does This Paper Address?

Image processing tasks, such as denoising, deblurring, and super-resolution, often involve solving "inverse problems." These problems are typically ill-posed, meaning that a small amount of noise or uncertainty in the input can lead to a wide range of possible solutions, making it difficult to recover the original clean image. Traditional methods often process the image as a whole, which can struggle with local details and noise. More recent approaches have focused on processing local image patches, leveraging statistical priors. However, combining these local patches effectively and ensuring global consistency remains a challenge. This paper addresses the challenge of creating a robust and effective regularization method that can handle various inverse problems by exploiting the relationships between image patches in a novel way.

Methods

The core of the proposed method is "patch ordering" as a regularization technique. The authors build upon the idea of arranging image patches to form an approximate shortest path, inspired by the Traveling Salesman Problem (TSP). This ordering is then used to create a 1D signal from the 2D image. A novel regularization term is introduced within a Maximum A'posteriori (MAP) framework. This regularization encourages smoothness in the 1D permuted signal using a robust L1 norm applied to a Laplacian operator.

Key aspects of the method include:

  • Patch Extraction and Ordering: All possible overlapping patches are extracted from the image. A permutation is generated by finding an approximate shortest path through these patches, treating them as nodes in a graph. A randomized Nearest Neighbor heuristic is used as the TSP solver to avoid artifact magnification that can occur with deterministic solvers.
  • Permutation-Based Regularization: A smoothness penalty is applied to the 1D signal obtained by ordering the pixels according to the patch permutation. This penalty is weighted to account for the distances between consecutive patches.
  • Subimage Accumulation: To further improve results, the regularization is extended to consider all pixels within a patch, not just the central ones, by accumulating smoothness terms over multiple shifted subimages.
  • Objective Function: The overall objective function combines a negative log-likelihood term (representing the data fidelity) with the proposed patch-ordering regularization term, along with boundary constraints.
  • Optimization: The optimization problem is solved using the L-BFGS algorithm, which is a quasi-Newton method suitable for large-scale problems.

Datasets

The paper evaluates its method on standard image datasets commonly used in image processing research. Specific images mentioned include:

  • House
  • Cameraman
  • Lena
  • Peppers
  • Montage
  • Barbara
  • Boats
  • Fprint (Fingerprint)
  • Man
  • Couple
  • Hill
  • Butterfly
  • Flag

The paper does not introduce new datasets or benchmarks.

Key Insights and Ideas

  • Patch Similarity Implies Pixel Proximity: The core assumption is that if two image patches are similar, their corresponding central pixels are likely to be close in the clean image. This assumption drives the patch ordering.
  • Randomized TSP for Robustness: Using a randomized TSP solver (like the Nearest Neighbor heuristic) is crucial. Deterministic TSP solvers can amplify existing artifacts in the input image by creating orderings that group similar (but artifact-laden) patches together. The randomized approach leads to a more robust smoothing effect.
  • Smoothness on Ordered Pixels: Applying a smoothness constraint (Laplacian with L1 norm) to the 1D sequence of pixels derived from the ordered patches effectively regularizes the inverse problem.
  • Subimage Accumulation Enhances Spatial Priors: Extending the regularization to all pixels within patches (subimage accumulation) enforces similarity between entire patches, not just their centers, leading to better spatial coherence.
  • Initialization is Key: The method's performance is highly dependent on a good initial estimate of the image. Using outputs from state-of-the-art methods like BM3D or NCSR as initialization significantly improves the final results.

Key Results

The proposed method achieves state-of-the-art results across several inverse problems:

  • Gaussian Denoising: Significant PSNR improvements are reported, especially for higher noise levels (e.g., σ=50, 75, 100), often exceeding 1dB compared to initial images. For medium noise (σ=25), the method sometimes struggles to improve PSNR, potentially due to over-smoothing of distinctive details.
  • Image Deblurring: The method demonstrates improved image quality compared to the initial images, with quantitative results showing PSNR and SSIM gains.
  • Single Image Super-Resolution: Similar to other tasks, the algorithm shows improvements in image quality, particularly for noiseless scenarios.
  • Poisson Denoising: The method achieves competitive results, outperforming some existing methods.

Qualitative results (shown in figures) demonstrate visually sharper and cleaner images compared to initial estimates, especially in challenging, ill-posed scenarios.

Limitations and Future Work

  • Initialization Dependency: The most significant limitation acknowledged is the method's strong reliance on a good initialization. Without a high-quality starting point (e.g., from BM3D), the results are considerably worse. The authors suggest further work is needed to find alternatives to this initialization strategy.
  • Greedy Ordering Artifacts: While the randomized TSP helps, the greedy nature of the NN heuristic can still lead to less smooth regions at the end of the reordered sequence. However, the authors show that subimage accumulation mitigates the negative impact of these "poorly ordered pixels."
  • Iterative Ordering: The current approach orders patches once based on the initialization. The authors suggest that iterating the process, updating the ordering based on improved images, could potentially lead to further improvements, but initial tests with the same ordering algorithm were not conclusive.
  • Alternative TSP Solvers: The paper explores the impact of different TSP solvers, noting that more exact solvers can magnify artifacts. Future work could investigate other ordering strategies.
  • SSIM-based Ordering: The authors experimented with using SSIM instead of L2 distance for patch similarity but found it detrimental, suggesting future work in redefining the regularizer to work with SSIM measures.

Summary updated

BibTeX
@article{vaksman2016patch,
  author = {Gregory Vaksman and Michael Zibulevsky and Michael Elad},
  title = {{Patch Ordering as a Regularization for Inverse Problems in Image Processing}},
  journal = {SIAM J. Imaging Sci.},
  year = {2016},
  url = {https://openreview.net/forum?id=-Up_DTzN_nt},
}

Loading related content...

Figure