Local Patch Classification Based Framework for Single Image Super-Resolution

Yang Zhao, Ronggang Wang, Wei Jia, Jianchao Yang, Wenmin Wang, Wen GaoarXiv 2017

Abstract

Recent learning-based super-resolution (SR) methods often focus on dictionary learning or network training. In this paper, we discuss in detail a new SR method based on local patch encoding (LPE) instead of traditional dictionary learning. The proposed method consists of a learning stage and a reconstructing stage. In the learning stage, image patches are classified into different classes by means of the proposed LPE, and then a projection matrix is computed for each class by utilizing a simple constraint. In the reconstructing stage, an input LR patch can be simply reconstructed by computing its LPE code and then multiplying the corresponding projection matrix. Furthermore, we discuss the relationship between the proposed method and the anchored neighborhood regression methods; we also analyze the extendibility of the proposed method. The experimental results on several image sets demonstrate the effectiveness of the LPE-based methods.

Introduction

Single Image Super-Resolution (SISR) aims to recover a high-resolution image (HRI) from a single low-resolution input (LRI). Traditionally, this task has faced a trade-off between speed and quality. Simple interpolation methods like Bicubic are fast but lack detail, while learning-based methods like Sparse Coding produce sharp results but are computationally heavy due to per-patch optimization. This framework bridges that gap by replacing complex optimization with a "classify-and-multiply" approach using Local Patch Encoding (LPE).

The LPE Framework

The proposed method operates in two distinct stages: a learning stage and a reconstructing stage.

Overview of the LPE-based super-resolution framework, illustrating the learning and reconstruction stages.
  1. Learning Stage: Millions of LR and HR patch pairs are extracted from training data. Each patch is encoded into a bit-string (the LPE code). For every unique class defined by these codes, a projection matrix $P_n$ is computed to map LR patches to their HR counterparts using a least-squares constraint.
  2. Reconstructing Stage: For a new LR image, the mean value is removed from each patch, its LPE code is calculated, and the corresponding pre-computed projection matrix is applied. The resulting high-frequency detail is then added back to a bicubic-interpolated version of the image.

Local Patch Encoding Details

The core of the classification is the LPE code, which captures geometric structure, brightness, and local contrast.

Example of calculating an LPE code for a 3x3 image patch, showing the integration of LBP, central pixel value (LPE_C), and local difference (LPE_D).

As shown above, the LPE code is a concatenation of three parts:

  • LBP (Local Binary Pattern): Encodes the geometric structure (edges, corners) by comparing neighbors to the center pixel.
  • LPE_C (Central Pixel Value): Captures the overall grayscale level using thresholds ($t_c$).
  • LPE_D (Mean Local Difference): Captures the intensity of local variation using thresholds ($t_d$).

By partitioning the texture space this way, the relationship between LR and HR patches within a class becomes approximately linear, allowing for efficient reconstruction via simple matrix multiplication.

Key Results and Insights

The LPE method demonstrates significant advantages in both speed and quality:

  • Efficiency: For a 512x512 image, LPE (12-bit) takes approximately 0.96 seconds on a standard CPU, outperforming Anchored Neighborhood Regression (ANR) and vastly exceeding the speed of Sparse Coding (ScSR).
  • Quality: On standard benchmarks like Set5, Set14, and B100, LPE achieves competitive PSNR values. For instance, LPE12bits_P1 achieved 32.41 dB on Set5 (3x), surpassing ANR and A+.
  • Scalability: The precision is tunable; increasing the bit-depth of the LPE code (e.g., to 17 bits) allows for finer partitioning of texture space and higher reconstruction quality at the cost of increased memory for storing more projection matrices.

Conclusion

The LPE-based framework offers a fast, non-deep-learning alternative for SISR. By using classification as a proxy for optimization, it achieves state-of-the-art speeds with high visual fidelity. While higher bit-depths increase memory overhead, the method's extendibility and uniform space partitioning make it a robust choice for various super-resolution applications.

Summary updated

BibTeX
@misc{zhao2017local,
  author = {Yang Zhao and Ronggang Wang and Wei Jia and Jianchao Yang and Wenmin Wang and Wen Gao},
  title = {{Local Patch Classification Based Framework for Single Image Super-Resolution}},
  year = {2017},
  eprint = {1703.04088},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.04088},
}
Figure