Lossless Recompression of Vector Quantization Index Table for Texture Images Based on Adaptive Huffman Coding Through Multi-Type Processing

Yijie Lin, Jui-Chuan Liu, Ching-Chun Chang, Chin-Chen ChangSymmetry 2024

TL;DR

This paper introduces a novel method for losslessly recompressing Vector Quantization (VQ) index tables, specifically targeting texture images. By leveraging spatial symmetry and employing a multi-type processing approach combined with adaptive Huffman coding, the method achieves superior compression ratios compared to existing techniques, while ensuring perfect reconstruction of the original VQ index table.

What Problem Does This Paper Address?

The ever-increasing volume of data transmitted and stored online necessitates efficient compression techniques. While Vector Quantization (VQ) is a widely used lossy compression method for images, its index tables can still be large. Recompressing these index tables losslessly is crucial for applications requiring perfect image reconstruction. Existing methods for VQ index table recompression often struggle with texture images, which exhibit inherent spatial symmetries and correlations. This paper aims to address this gap by developing a more effective lossless recompression scheme tailored for VQ-compressed texture images.

Methods

The proposed scheme involves several key steps:

  • VQ Compression: The original images are first compressed using standard VQ.
  • PCA Sorting: To exploit the spatial symmetry in texture images, the VQ codebook is sorted using Principal Component Analysis (PCA). This step aims to place similar codewords near each other, which in turn leads to more correlated indices in the VQ index table.
  • Multi-Type Processing: The core innovation lies in the "multi-type processing" phase. The sorted VQ index table is processed using eight different types of operations. These types combine four distinct scanning paths (serpentine, zigzag, etc.) with two calculation methods: difference and XOR. This generates eight different "processed index tables." The rationale is that different texture characteristics might be better captured by different processing types.
  • Adaptive Huffman Coding: Each of the eight processed index tables is then compressed using adaptive Huffman coding. This technique builds a Huffman tree tailored to the specific symbol frequencies of each processed table, leading to efficient compression.
  • Indicator Selection: The scheme selects the processing type that yields the smallest compressed file size and records this choice using a 3-bit indicator.
  • Lossless Decompression: The decoder uses the indicator to identify the correct processing type. It then reconstructs the processed index table using the inverse of the adaptive Huffman coding and subsequently reconstructs the original VQ index table by applying the inverse of the selected multi-type processing operation.

Datasets

The paper evaluates its method on two types of datasets:

  • Monochrome Texture Images: Six images from the USC-SIPI image database were used, including "Herringbone Weave," "Woolen Cloth," "Pressed Calf Leather," "Beach Sand," "Water," and "Wood Grain."
  • Earth Height Map Images: Six height map images from the Earth Terrain, Height, and Segmentation Map Images dataset were used.

The authors also tested the method on common images (Airplane, Baboon, Boat, Goldhill, Lake, and Peppers) to demonstrate its general applicability.

Key Insights and Ideas

  • Exploiting Texture Symmetry: The paper highlights that spatial symmetry in texture images is a key characteristic that can be leveraged for better compression. PCA sorting of the VQ codebook is a novel way to exploit this for index table recompression.
  • Multi-Type Processing for Adaptability: The introduction of eight different processing types (path x method combinations) allows the scheme to adapt to the varying characteristics of different texture images, leading to more robust compression.
  • Adaptive Huffman Coding's Role: Using adaptive Huffman coding for each processed index table is crucial. It ensures that the compression is optimized for the specific symbol distributions generated by the multi-type processing, which often exhibit high-frequency symbols.
  • Lossless Reconstruction is Key: The emphasis on lossless recompression ensures that no information is lost, which is critical for applications where image fidelity is paramount.

Key Results

The proposed scheme consistently outperformed existing methods (SOC, SOC+SC, SOC+SM) in terms of bit rate across various texture images and codebook sizes.

  • Texture Images: For monochrome texture images with a VQ codebook size of 64, the proposed scheme achieved bit rates as low as 0.2188 (Wood Grain image), showing a significant improvement (over 22%) compared to other schemes. Similar improvements were observed for larger codebook sizes.
  • Earth Height Map Images: The scheme also demonstrated superior performance on earth height map images, achieving improvement rates of over 30% for certain images and codebook sizes.
  • Common Images: While not always achieving the absolute best compression for common images, the proposed method performed competitively, indicating its broad applicability.
  • Execution Time: The encoder has a time complexity of O(n log n) and the decoder of O(n). The fastest execution time observed was approximately 0.1 seconds with a codebook size of 64, demonstrating efficiency.

Limitations and Future Work

  • Codebook Size Impact: The paper notes that larger codebook sizes generally lead to longer execution times due to the increased number of symbols to encode.
  • General Image Performance: While the scheme performs well on texture and height map images, its performance on common images, though competitive, is not always the absolute best.
  • Future Work: The authors suggest exploring different datasets and investigating more effective compression algorithms in the future. This implies a desire to further refine the method and test its limits on a wider range of image types.

Summary updated

BibTeX
@article{lin2024lossless,
  author = {Yijie Lin and Jui-Chuan Liu and Ching-Chun Chang and Chin-Chen Chang},
  title = {{Lossless Recompression of Vector Quantization Index Table for Texture Images Based on Adaptive Huffman Coding Through Multi-Type Processing}},
  journal = {Symmetry},
  year = {2024},
  doi = {10.3390/sym16111419},
}
Figure