Fast sparse fractal image compression

Jianji Wang, Pei Chen, Bao Xi, Jianyi Liu, Zhang Yi, Shujian YuPLoS 2017

Abstract

Fractal Image Compression (FIC) is a structure-based technology that leverages self-similarity within images. Despite its mathematical elegance, FIC has historically been limited by two major bottlenecks: the high computational cost of the encoding phase and the poor reconstruction quality of images with low structural similarity. This paper presents Fast Sparse Fractal Image Compression (FSFIC), a novel approach that integrates a sparse searching strategy with an acceleration method based on the Absolute value of Pearson’s Correlation Coefficient (APCC). Experimental results demonstrate that FSFIC significantly improves both the efficiency and effectiveness of fractal compression, achieving sub-second encoding times and substantial gains in image quality.

Introduction

Fractal Image Compression (FIC) operates on the principle that an image can be represented as a set of contractive transformations. By finding a "domain block" (source) that closely matches a "range block" (target), the image can be stored as a series of mapping parameters. However, the search for optimal matches is exhaustive and time-consuming. Furthermore, traditional FIC relies on a single domain block to represent each range block, which often fails to capture complex textures, leading to unacceptable reconstruction artifacts.

Methodology

The proposed FSFIC framework addresses these limitations through two primary innovations:

1. Sparse Fractal Image Compression (SFIC)

To improve reconstruction quality, the researchers introduced SFIC, which treats the range block as a sparse combination of multiple domain blocks rather than a single match. By utilizing Orthogonal Matching Pursuit (OMP), the algorithm iteratively selects the best $k$ domain blocks from an overcomplete basis set to minimize residual error. This increases the dimensionality of the approximation space, allowing for a much more accurate representation of complex image structures.

2. APCC-based Acceleration

To mitigate the increased computational load of searching for multiple domain blocks, the authors employed an acceleration method based on the Absolute value of Pearson’s Correlation Coefficient (APCC). Domain blocks are classified into three categories using Fisher’s 3-class method and sorted by their correlation to a reference block. This allows the algorithm to skip the majority of the search space, focusing only on a small subset of statistically likely candidates. Because the domain pool is fixed, this sorting process only occurs once, ensuring high efficiency even with sparse coding.

Experimental Results

The FSFIC algorithm was evaluated using a benchmark suite of 13 standard 512 × 512 grayscale images, including well-known samples like Lena, Baboon, and Peppers.

  • Quality Improvement: The Bilinear Sparse FIC (BSFIC, where $k=2$) achieved an average Peak Signal-to-Noise Ratio (PSNR) improvement of 2.38 dB over baseline FIC. For the Lena image specifically, the PSNR increased from 32.20 dB to 35.43 dB.
  • Encoding Speed: Despite the complexity of sparse searching, the FSFIC algorithm encoded a 512 × 512 image in approximately 0.3 seconds on a standard i3-2100 CPU. This is significantly faster than traditional adaptive quadtree methods, which can take upwards of 18 seconds for similar quality levels.
  • Convergence and Stability: Unlike quadtree partitioning, which can suffer from decoding convergence issues when blocks become too small, SFIC maintains a consistent block size, ensuring stable and reliable reconstruction.

Discussion and Limitations

While FSFIC offers a superior trade-off between quality and speed, it introduces a trade-off in compression ratio. Utilizing multiple domain blocks ($k > 1$) requires storing additional coefficients and indices, which increases the bit rate. Users must balance the desired PSNR against the required compression level. Additionally, while the paper provides a parameter analysis for the error threshold ($e$) and the maximum number of domain blocks ($k_1$), future work could explore automated parameter optimization for diverse image types and extensions to color imagery and video sequences.

Conclusion

Fast Sparse Fractal Image Compression effectively resolves the long-standing bottlenecks of FIC. By combining sparse coding with APCC-based acceleration, the FSFIC algorithm provides a high-performance solution that is both computationally efficient and capable of high-fidelity image reconstruction, revitalizing fractal-based methods for modern image processing applications.

Summary updated

BibTeX
@inproceedings{wang2017fast,
  author = {Jianji Wang and Pei Chen and Bao Xi and Jianyi Liu and Zhang Yi and Shujian Yu},
  title = {{Fast sparse fractal image compression}},
  booktitle = {PLoS},
  year = {2017},
  doi = {10.1371/journal.pone.0184408},
}
[Paper] Quality Estimation Method for Fractal Compressed ImagesIte · 2013
An Efficient Criterion for Fractal Image Coding and Its GA-Based OptimizationThe Journal of The Institute of Image Information and Television Engineers · 2004
Fractal Image Coding for Improve the Quality of Medical ImagesJournal of the Korean Society of Radiology · 2014
Quality Improvement of JPEG Images Based on Fractal Image CodingThe Journal of The Institute of Image Information and Television Engineers · 2004
An IFS-Parameter Quantization Method for Fractal Image Coding with Genetic Algorithms.The Journal of The Institute of Image Information and Television Engineers · 2002
A GA and SA-Based Fractal Image CodingThe Journal of The Institute of Image Information and Television Engineers · 2003
Figure