Local patch encoding-based method for single image super-resolution

Yang Zhao, Ronggang Wang, Wei Jia, Jianchao Yang, Wenmin Wang, Wen GaoInformation 2017 · DOI

TL;DR

This paper introduces a novel single image super-resolution (SISR) method called Local Patch Encoding (LPE). Instead of relying on complex dictionary learning or deep neural networks, LPE classifies image patches based on their local distributions and then learns a projection matrix for each class. This approach offers a more efficient and extendable way to reconstruct high-resolution images from low-resolution inputs.

What Problem Does This Paper Address?

Single Image Super-Resolution (SISR) aims to enhance the resolution of an image from a single low-resolution (LR) input. While traditional interpolation methods are fast but produce artifacts like blurring and ringing, more advanced learning-based methods, such as those using dictionary learning or deep neural networks, can recover finer details. However, these methods often come with high computational costs and can be complex to train. The paper addresses the challenge of achieving high-quality SR results efficiently, particularly by exploring alternatives to dictionary learning and deep networks, and by proposing a method that is both effective and computationally less demanding.

Methods

The proposed Local Patch Encoding (LPE)-based SR method consists of two main stages: a learning stage and a reconstructing stage.

Learning Stage: 1. Local Patch Encoding (LPE): Image patches are first encoded using a novel LPE method. This method combines: * LPE_C (Central Pixel Value Encoding): Quantizes the grayscale value of the central pixel of a patch. * LPE_D (Local Difference Encoding): Quantizes the mean local gray value difference between the central pixel and its neighbors. * LBP (Local Binary Pattern): The traditional LBP code, which captures local texture structure. The concatenation of these codes forms the LPE code, which serves as a class label for the patch. This approach aims to capture both local structure and grayscale information, offering better discriminative capability than traditional LBP.

  1. Class-wise Projection Matrix Computation: Patches are classified into $N$ classes based on their LPE codes. For each class, a projection matrix ($P_n$) is computed by minimizing the reconstruction error between the downsampled HR patches and the original LR patches within that class. This is achieved using a least-squares solution derived from the constraint that the upsampled LR patch should be consistent with its HR counterpart.

Reconstructing Stage: 1. Patch Classification: An input LR patch is encoded using LPE to determine its class label. 2. Reconstruction: The LR patch is then multiplied by the corresponding pre-computed projection matrix ($P_n$) for its class to generate the HR patch. 3. Combination: The reconstructed HR patch is combined with a bicubic-interpolated version of the LR patch to produce the final HR output. This leverages the strengths of both learning-based reconstruction and interpolation.

The paper also discusses the conversion of projection matrices into filters ($P_3$) for further acceleration, particularly for the reconstruction of a single central pixel.

Datasets

The paper evaluates the proposed method on three standard image datasets:

  • Set5: Contains 5 commonly used images for SR evaluation.
  • Set14: Contains 14 commonly used images for SR evaluation.
  • B100: Consists of 100 images selected from the Berkeley Segmentation Dataset (BSD).

For training, the authors used the same training set proposed by Yang et al. [43], which includes 91 images.

Key Insights and Ideas

  • LPE as a Discriminative Local Descriptor: The LPE method effectively captures local patch distributions by combining central pixel value, local difference, and LBP. This provides a more robust classification than traditional LBP alone, allowing for better differentiation of patches.
  • Dictionary-Free SR: The LPE approach avoids the need for explicit dictionary learning, simplifying the SR pipeline and potentially reducing computational complexity. The LPE code itself acts as the class label, eliminating the need for a separate classifier.
  • Class-wise Projection for Efficiency: By learning projection matrices for classes of patches rather than individual patches, the method achieves a balance between reconstruction quality and computational efficiency.
  • Extendibility of the Framework: The LPE framework is highly extendable. It can readily incorporate other local feature extraction methods for patch classification and allows for different constraints to be used for computing projection matrices.
  • Filter-based Acceleration: Converting projection matrices to filters offers a significant speedup in the reconstruction process, making the method more practical for real-time applications.

Key Results

  • Performance Improvement with Bit-Depth: Increasing the bit-depth of the LPE code (e.g., from 2-bit to 12-bit) generally leads to improved SR performance, as indicated by higher PSNR, SSIM, and IFC values. This is attributed to more accurate characterization of local patches.
  • Projection Matrix Variants: The paper compares three variants of the projection matrix: $P_1$ (derived from the proposed constraint), $P_2$ (using traditional ridge regression), and $P_3$ (a filtered version). $P_1$ and $P_2$ generally yield more robust results than $P_3$, which reconstructs individual pixels and can be less stable.
  • Competitive Performance: The proposed LPE-based methods (especially LPE12bits_P1/P2) achieve comparable or better objective quality metrics (PSNR, SSIM, IFC) than several state-of-the-art learning-based SR methods, including LLE, ScSR, ASDS, ANR, and A+.
  • Efficiency: The LPE method demonstrates significantly faster reconstruction times compared to traditional learning-based methods like ScSR and ASDS. Even compared to ANR, LPE with $P_1/P_2$ is faster, and the $P_3$ (filter) mode is considerably faster. For a 512x512 image, LPE encoding takes around 90ms, while ANR atom selection takes about 480ms.
  • Textural Detail Recovery: Subjective evaluations suggest that the LPE method can recover better textural details compared to some methods that over-sharpen edges.

Limitations and Future Work

  • Bit-Depth vs. Matrix Count: Increasing the bit-depth of the LPE code leads to a substantial increase in the number of pre-computed projection matrices (e.g., $2^{12}=4096$ for 12-bit LPE). This requires more memory and computational resources for the learning stage.
  • Training Data Requirements: The paper suggests that increasing the bit-depth of the LPE code also necessitates an increase in the number of training images to ensure sufficient LR and HR samples for each class.
  • Single Pixel Reconstruction (P3): While the $P_3$ filter mode offers significant speedups, the reconstruction of a single pixel is noted to be less robust than reconstructing an entire patch.
  • Future Work: The authors suggest that further acceleration can be achieved through implementation with C or CUDA. They also highlight the flexibility of the framework, indicating that various local feature extraction methods and different constraints can be explored for improved performance. The potential for further improvement by utilizing larger training sets and deeper networks (similar to CNNs) is also implied.

Summary updated

BibTeX
@inproceedings{zhao2017local,
  author = {Yang Zhao and Ronggang Wang and Wei Jia and Jianchao Yang and Wenmin Wang and Wen Gao},
  title = {{Local patch encoding-based method for single image super-resolution}},
  booktitle = {Information},
  year = {2017},
  doi = {10.1016/j.ins.2017.12.032},
}
Figure