Patch Group Based Nonlocal Self-Similarity Prior Learning for Image Denoising

Jun Xu, Lei Zhang, Wangmeng Zuo, David Zhang, Xiangchu Feng

Abstract

Traditional image denoising methods often rely on nonlocal self-similarity (NSS) within a single noisy image. This paper presents a novel framework, Patch Group Prior based Denoising (PGPD), which learns a prior from clean natural images by modeling groups of similar patches. By applying group mean subtraction, the method isolates structural variations, which are then modeled using a Gaussian Mixture Model (GMM). This approach results in a highly efficient denoising algorithm that outperforms classic benchmarks like BM3D in visual quality and offers a significant speed advantage over state-of-the-art optimization-based methods.

Introduction

Image denoising remains a fundamental challenge in computer vision, aimed at recovering a clean image $x$ from a noisy observation $y = x + v$. The most successful classical approaches leverage Nonlocal Self-Similarity (NSS), the principle that small image patches often repeat throughout an image. While methods like BM3D have set high standards by grouping similar noisy patches, they lack an explicit prior of what "clean" similarity looks like.

Recent learning-based methods have attempted to bridge this gap by training priors on individual patches. However, these often ignore the joint structural information present in groups of similar patches. This paper introduces a method to explicitly model the "DNA" of image similarity by learning from millions of patch groups extracted from clean natural images.

Methodology

The proposed PGPD framework operates in two distinct stages: an offline learning stage and an online denoising stage.

1. Learning the Patch Group Prior

Instead of learning from isolated patches, the authors extract "Patch Groups" (PG) by finding a patch and its $M$ most similar neighbors. The core innovation lies in Group Mean Subtraction. For each group, the average of all patches is calculated and subtracted from every patch in that group. This process isolates the internal variations and structural patterns from the absolute intensity levels.

Illustration of the Group Mean Subtraction process, which isolates structural variations within similar patch clusters.

A Gaussian Mixture Model (PG-GMM) is then trained on these mean-subtracted variations. Because the variations are more structurally consistent than raw patches, the model requires significantly fewer components—only 32, compared to the 200 typically needed for patch-based models like EPLL.

2. The Denoising Pipeline

During the denoising phase, the algorithm performs the following steps:

  1. Patch Grouping: Similar patches are identified in the noisy image.
  2. Mean Subtraction: The noisy group mean is subtracted to isolate variations.
  3. Component Selection: The most appropriate Gaussian component from the pre-trained PG-GMM is selected to represent the group.
  4. Weighted Sparse Coding: Using the eigenvectors of the selected Gaussian component as a dictionary, the clean variations are estimated. This step benefits from a closed-form solution, ensuring high computational efficiency.
  5. Reconstruction: The group mean is added back, and the patches are aggregated to form the final recovered image.
The complete PGPD framework, illustrating the offline learning of Gaussian components and the online denoising process using weighted sparse coding.

Experimental Results

The model was trained on one million patch groups from the Kodak PhotoCD Dataset and evaluated against 20 standard natural images.

Quantitative and Qualitative Performance

PGPD consistently outperformed BM3D, LSSC, and NCSR in terms of Peak Signal-to-Noise Ratio (PSNR). While it slightly trailed the computationally intensive WNNM in pure metrics, PGPD demonstrated superior preservation of fine details. For instance, in the Airplane and Cameraman test images, PGPD successfully recovered sharp edges and fine textures that were often over-smoothed or smudged by BM3D.

Computational Efficiency

A major advantage of PGPD is its speed. By moving the complex dictionary learning to an offline stage and utilizing a closed-form solution for sparse coding, PGPD is approximately 10 to 16 times faster than WNNM. It stands as one of the fastest high-performance denoising algorithms available, second only to highly optimized C++ implementations of BM3D.

Conclusion

By shifting the focus from individual patches to the variations within patch groups, the PGPD framework provides a powerful and efficient prior for image restoration. The method effectively captures the structural regularities of natural images, leading to state-of-the-art denoising results with significantly reduced computational overhead. Future work may extend this patch group prior to other restoration tasks such as image deblurring and super-resolution.

Summary updated

BibTeX
@inproceedings{xu2015patch,
  author = {Jun Xu and Lei Zhang and Wangmeng Zuo and David Zhang and Xiangchu Feng},
  title = {{Patch Group Based Nonlocal Self-Similarity Prior Learning for Image Denoising}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2015},
  doi = {10.1109/iccv.2015.36},
}
Figure