TL;DR
This paper introduces an end-to-end image compression system leveraging compressive sensing (CS). It demonstrates that CS-based compression can achieve image quality comparable to JPEG, with a significant advantage at low bitrates. The work also explores the impact of various design choices, including sensing matrices and reconstruction algorithms, on performance.
What Problem Does This Paper Address?
Traditional image compression methods like JPEG and JPEG2000 are highly effective, but they rely on complex encoding and decoding processes. Compressive Sensing (CS) offers a different paradigm: it acquires signals at a rate lower than the Nyquist rate, assuming the signal is sparse in some domain. While CS is excellent for signal acquisition and reconstruction, it's not a complete compression system out-of-the-box. The "compressed signal" in CS is a set of real-valued measurements, not a bitstream. This paper addresses the challenge of building a practical, end-to-end image compression system by integrating CS with quantization and entropy coding, and then comparing its performance against established standards like JPEG. The authors aim to understand how CS can be practically applied for image compression, particularly in scenarios where low bitrates are crucial.
Methods
The proposed system, dubbed CSbIC (Compressive Sensing based Image Compression system), consists of an encoder and a decoder.
Encoder: 1. Compressive Sensing (Projection): The image is projected onto a lower-dimensional space using a sensing matrix ($\Phi$). This step is lossy and reduces the data size. The authors explore various sensing matrices, including deterministic ones like 2D-DCT and 2D-WHT, and structurally random matrices (SRMs). 2. Quantization: The real-valued measurements are mapped to discrete codewords using a scalar quantizer. The authors investigate the trade-off between quantization step size and compression ratio. 3. Entropy Coding: The sequence of codewords is then losslessly compressed using arithmetic coding, partitioned into sections for efficiency.
Decoder: 1. Entropy Decoding: The compressed bitstream is decoded to recover the quantized measurements. 2. Dequantization: The quantized measurements are mapped back to approximate real-valued measurements. 3. Reconstruction: A reconstruction algorithm is used to recover the original image from the (potentially noisy) measurements. The authors compare several reconstruction algorithms, including GAP-TV, D-AMP, and NLR-CS, which leverage different image priors like sparsity, low-rank properties, and denoising.
A key aspect is the joint bit-rate/quality control, which is managed by adjusting both the compression ratio (by changing the number of measurements, M) and the quantization step size.
Datasets
The paper evaluates its system on several standard monochrome images, including "Monarch," "Barbara," "Boats," "Cameraman," "House," "Lena," "Parrots," and "Foreman." For broader validation, they also tested on 200 images from the BSDS300 dataset. No new datasets were introduced.
Key Insights and Ideas
- CS for Compression is Viable: The core insight is that an end-to-end CS-based compression system can indeed be competitive with established methods like JPEG, especially at low bitrates.
- Deterministic Sensing Matrices Shine: Contrary to some CS theory that favors random matrices, deterministic matrices (like 2D-DCT and 2D-WHT) performed significantly better for image compression in this context. This is attributed to their ability to capture more signal energy from natural images.
- Reconstruction Algorithm Matters: The choice of reconstruction algorithm has a substantial impact on image quality. More advanced algorithms like D-AMP and NLR-CS offer better performance but come with higher computational complexity.
- Quantization is a Critical Trade-off: The paper highlights that the interplay between quantization step size and compression ratio is crucial for optimizing quality at a given bitrate. They propose an empirical method to find near-optimal combinations.
- CSbIC's Unique Advantages: The system offers a simpler encoder (potentially implementable in hardware like single-pixel cameras) and a more flexible decoder, where different reconstruction algorithms can be applied to the same measurements. This allows for dynamic quality adjustment.
Key Results
- Competitive Performance: CSbIC achieved image quality (measured by SSIM) comparable to JPEG and, in some cases, better, particularly at low bitrates (e.g., below 4000 bytes).
- Low Bitrate Advantage: For compressed file sizes below 4000 bytes, the NLR-CS/2D-DCT combination outperformed JPEG on average and showed lower variance in SSIM across the BSDS300 dataset, indicating better robustness.
- Sensing Matrix Impact: Deterministic sensing matrices (2D-DCT, 2D-WHT) consistently outperformed structurally random matrices (SRMs) for image compression. 2D-DCT generally yielded better results than 2D-WHT.
- Reconstruction Algorithm Performance: NLR-CS and D-AMP generally provided better SSIM scores than GAP-TV, especially at lower quality settings. However, their computational complexity was significantly higher (e.g., 35-147 seconds vs. 0.6 seconds for GAP-TV on the same hardware).
- Quantization Sensitivity: The system's performance is sensitive to quantization. The paper shows that without quantization, SSIM is consistently higher, and the gap between quantized and unquantized results highlights the impact of quantization error. NLR-CS was found to be the most sensitive to quantization.
Limitations and Future Work
- Empirical Optimization: The paper relies on empirical analysis and approximations (like Eq. 11 for quality control) rather than a fully derived theoretical solution for optimal parameter selection. The constant C in Eq. 11 was found to vary between images, suggesting room for improvement.
- Computational Complexity: While the encoder is potentially simpler, the advanced reconstruction algorithms used in the decoder can be computationally intensive. The authors suggest that optimized implementations (e.g., using GPUs) could mitigate this.
- Parameter Tuning: Modern reconstruction algorithms like D-AMP and NLR-CS require careful manual parameter tuning and data normalization, which can be challenging.
- Future Work: The authors suggest exploring deep learning-based reconstruction algorithms, which have shown promise in solving inverse problems in CS. They also point to the potential for CS in applications like snapshot compressive video imaging and hyperspectral image compression. Further theoretical work on the joint optimization of quantization and reconstruction is also needed.
Summary updated