Spatially Directional Predictive Coding for Block-based Compressive Sensing of Natural Images

Jian Zhang, Debin Zhao, Feng JiangICIP 2013 · DOI

Abstract

Compressive Sensing (CS) offers a paradigm shift in signal acquisition, allowing for sampling below the Nyquist rate. However, for practical transmission and storage, the resulting continuous measurements must be quantized. This paper presents Spatially Directional Predictive Coding (SDPC), a novel strategy for block-based compressive sensing (BCS) that leverages the intrinsic spatial correlations of natural images. By employing four directional prediction modes in the measurement domain, SDPC significantly improves rate-distortion performance compared to standard scalar quantization and traditional differential pulse code modulation.

Introduction

While Compressive Sensing (CS) theory provides a robust framework for acquiring signals with fewer measurements, the information-theoretic requirement of quantization is often overlooked. In a practical digital system, continuous CS measurements must be converted into a discrete bitstream. Simple Scalar Quantization (SQ) is inefficient because it ignores the statistical redundancies between adjacent blocks of measurements.

Previous attempts to address this, such as Differential Pulse Code Modulation (DPCM), subtract the measurements of a previous block from the current one to quantize the residual. While DPCM outperforms SQ, it assumes a stationary, one-dimensional correlation. Natural images, however, are non-stationary and contain complex structures like edges and textures that flow in various directions. SDPC addresses this limitation by introducing a multi-mode directional prediction framework.

Methodology: Spatially Directional Predictive Coding

The proposed SDPC method is inspired by the "intra-prediction" techniques found in modern video codecs like H.264. Crucially, SDPC performs this prediction in the CS measurement domain rather than the spatial pixel domain.

Directional Prediction Modes

For each 16x16 block of CS measurements, the encoder evaluates four potential prediction candidates derived from previously reconstructed neighboring blocks:

  1. Vertical Mode: Predicts based on the block directly above.
  2. Horizontal Mode: Predicts based on the block to the left.
  3. DC Mode: Predicts using the average of the blocks above and to the left.
  4. Diagonal Mode: Predicts based on the block to the upper-left.

Encoding and Quantization

The encoder selects the optimal mode by identifying the candidate that yields the smallest residual, calculated using the $L_1$ norm. This residual is then processed via scalar quantization and entropy coding. To allow the decoder to replicate the process, a 2-bit flag is assigned to each block to signal the chosen mode. Given the 16x16 block size, this introduces a negligible overhead of approximately 0.0078 bits per pixel (bpp).

Experimental Results

The authors evaluated SDPC using standard 512x512 grayscale test images (Clown, Peppers, and Lenna) with an orthogonal random Gaussian measurement matrix.

Rate-Distortion Performance

Experimental data demonstrates that SDPC-plus-SQ consistently outperforms existing methods across bitrates from 0.1 to 1.0 bpp. On average, SDPC achieved:

  • A 2.0 dB PSNR gain over Scalar Quantization (SQ) alone.
  • A 1.2 dB PSNR gain over DPCM-plus-SQ.

Prediction Accuracy and Mode Distribution

The effectiveness of the directional approach is further evidenced by the correlation coefficients. The average correlation between actual and predicted measurements rose from ~0.928 (using only the vertical/DPCM mode) to ~0.950 with SDPC.

Furthermore, the distribution of mode selection confirms the necessity of a multi-directional approach. In testing, the modes were utilized as follows:

  • Vertical: 43.1%
  • DC: 28.58%
  • Horizontal: 20.62%
  • Diagonal: 4.41%

This distribution highlights that while vertical correlation is prominent, nearly 60% of blocks benefit from alternative directional predictions.

Discussion and Conclusion

SDPC demonstrates that the spatial correlation inherent in natural images survives random projection into the CS domain. By adapting to the local structural flow of an image, SDPC provides a substantial boost in compression efficiency with minimal bitstream overhead.

While the current implementation uses a fixed 16x16 block size and increases encoder complexity due to the multi-mode search, it establishes a high-performance baseline for future research. Potential extensions include the integration of adaptive block sizes or non-linear prediction models to further refine the efficiency of block-based compressive sensing.

Summary updated

BibTeX
@inproceedings{zhang2013spatially,
  author = {Jian Zhang and Debin Zhao and Feng Jiang},
  title = {{Spatially Directional Predictive Coding for Block-based Compressive Sensing of Natural Images}},
  booktitle = {ICIP},
  year = {2013},
  doi = {10.1109/icip.2013.6738211},
}
Figure