Quality Improvement of JPEG Images Based on Fractal Image Coding

Megumi Takezawa, Ren TogoThe Journal of The Institute of Image Information and Television Engineers 2004

Abstract

Standard JPEG compression often suffers from quantization errors in high-frequency regions, leading to visible artifacts around object edges. This paper proposes a hybrid coding scheme that integrates Fractal Image Coding with the baseline JPEG standard. By applying fractal coding specifically to the residual errors at edges, the method restores lost detail and achieves superior Peak Signal-to-Noise Ratio (PSNR) compared to traditional JPEG.

Introduction

While the Discrete Cosine Transform (DCT) used in JPEG is highly efficient for low-frequency image data, it frequently discards the fine details necessary for sharp edges. This results in "ringing" and blurring artifacts that degrade visual quality. Conversely, Fractal Image Coding (FIC) excels at maintaining sharp features through self-similarity but is computationally intensive and less effective in smooth regions. This research explores a synergistic approach: using fractal coding to "patch" the specific high-frequency weaknesses of the JPEG standard.

Methodology

The proposed hybrid codec operates through a multi-stage process:

  1. Initial Compression: The image is first processed using standard JPEG.
  2. Edge Identification: A Laplacian filter is applied to the JPEG-decoded image to locate high-frequency edge pixels.
  3. Residual Extraction: The system calculates the difference between the original and JPEG-decoded images only for pixels exceeding a specific edge threshold ($T$).
  4. Fractal Error Compression: These residual errors are compressed using Iterated Function System (IFS) parameters. Fractal coding is particularly effective here as quantization errors at edges often exhibit structural self-similarity.
  5. Decoding: The final image is reconstructed by applying the fractal "patch" to the identified edge coordinates of the JPEG-decoded base.

Experimental Results

The method was evaluated using standard benchmark images, including Lena and Peppers. Quantitative analysis showed a consistent improvement in PSNR. For instance, at a bitrate of approximately 0.7 bpp, the hybrid method yielded a gain of nearly 1.0 dB over standard JPEG.

Qualitatively, the reduction in artifacts is significant. As shown in the comparison below, the hybrid approach effectively mitigates the blockiness and blurring typically found in JPEG-compressed edges.

Comparison of standard JPEG and the proposed hybrid method on the 'Lena' image. Sub-figures (e) and (f) highlight the improvement in edge sharpness at the hat brim compared to the original (g).

Conclusion

By targeting the specific failure modes of JPEG with fractal-based residual coding, this hybrid approach offers a viable path toward higher-fidelity image compression. While the computational cost of fractal encoding remains a consideration, the significant gains in edge sharpness and PSNR demonstrate the potential of combining transform-based and fractal-based techniques for advanced image processing.

Summary updated

BibTeX
@article{takezawa2004quality,
  author = {Megumi Takezawa and Ren Togo},
  title = {{Quality Improvement of JPEG Images Based on Fractal Image Coding}},
  journal = {The Journal of The Institute of Image Information and Television Engineers},
  year = {2004},
  doi = {10.3169/itej.58.1317},
}
Figure