Edge-based Denoising Image Compression

Ryugo Morita, Hitoshi Nishimura, Ko Watanabe, Andreas Dengel, Jinjia Zhou · DOI

Abstract

Traditional image compression often faces a trade-off between bit-rate and visual sharpness, frequently resulting in blurry reconstructions at high compression ratios. This paper presents an edge-based denoising image compression model that utilizes a dedicated Edge Estimation Network (EEN) to extract structural priors from the latent space. By integrating these priors with a pre-trained diffusion model, the system achieves significantly sharper image contours and improved foreground fidelity. Furthermore, the model introduces a "Temporary Data Complement" feature that leverages generative inpainting to recover missing data from transmission errors, enhancing robustness in low-bandwidth scenarios.

Introduction

Modern learned codecs, while outperforming traditional standards like JPEG, still struggle with maintaining high-frequency details. Generative models such as Variational Autoencoders (VAEs) and Generative Adversarial Networks (GANs) often produce artifacts or "blurry" results when pushed to high compression limits. Additionally, real-world data transmission is prone to packet loss, which typically requires costly re-transmissions.

This research addresses three primary challenges: the loss of edge sharpness in reconstructed images, the training instability of GAN-based architectures, and the lack of resilience to partial data loss during transmission.

Methodology

The proposed architecture employs a multi-stage pipeline designed to prioritize structural integrity through edge-based guidance.

System architecture overview showing the Transmitter and Receiver components, including the Edge Estimation Network.
  1. Latent Encoding and Quantization: The input image is mapped to a latent space $z$ via a VAE and quantized for efficient transmission.
  2. Edge Estimation Network (EEN): At the receiver, the unquantized latent $z'$ is processed by the EEN. This network is specifically trained to predict Canny edges directly from the compressed latent data, providing a structural "skeleton" for reconstruction.
  3. Canny-based Denoising Step (CDS): The model utilizes a pre-trained Stable Diffusion foundation. Using a ControlNet-inspired approach, the estimated edges guide the denoising process, ensuring the final output maintains sharp boundaries.
  4. Temporary Data Complement: In the event of data loss, the system treats missing latent regions as an inpainting task. The generative power of the diffusion model allows it to synthesize visually consistent content based on surrounding context and estimated edges.

Experimental Setup

The model was trained on a subset of one million images from the Laion-Aesthetics dataset to fine-tune the conditional diffusion components. Evaluation was conducted using standard benchmarks:

  • Kodak: 24 high-resolution images for qualitative assessment.
  • Tecnick: 100 natural scene images.
  • DIV2K: 100 high-definition images for quantitative validation of foreground details.

Results and Discussion

The proposed model demonstrates a significant improvement in perceptual quality, particularly regarding edge definition and foreground clarity.

Qualitative comparison of image reconstruction quality across various codecs, demonstrating superior edge sharpness in the proposed model.

Superior Sharpness and Foreground Fidelity

Qualitative results show that the model produces much sharper contours compared to existing diffusion-based compression (SDC) and traditional codecs like WebP or JPEG. Quantitatively, the model excels in foreground-specific metrics on the DIV2K dataset. It achieved a foreground SSIM (F-SSIM) of 0.951, outperforming HiFiC (0.945) and SDC (0.930).

Transmission Resilience

The "Temporary Data Complement" feature successfully reconstructed images even when up to 1/8th of the image dimensions were lost. This generative approach maintains higher visual consistency than standard interpolation methods, potentially reducing the need for re-transmission in unstable network conditions.

Conclusion

By explicitly modeling edges as a prior, this framework bridges the gap between high compression and visual sharpness. While the overall PSNR may be slightly lower than some state-of-the-art models due to its focus on perceptual rather than pixel-wise accuracy in non-essential areas, the gain in visual fidelity is substantial. Future work will focus on reducing the computational latency associated with the diffusion denoising process and exploring additional priors like depth maps to further enhance reconstruction.

Summary updated

BibTeX
@inproceedings{morita2024edge,
  author = {Ryugo Morita and Hitoshi Nishimura and Ko Watanabe and Andreas Dengel and Jinjia Zhou},
  title = {{Edge-based Denoising Image Compression}},
  booktitle = {EUSIPCO},
  year = {2024},
}
Figure