Deep Lossy Plus Residual Coding for Lossless and Near-lossless Image Compression

Yuanchao Bai, Xianming Liu, Kai Wang, Xiangyang Ji, Xiaolin Wu +1 more
9/11/2022
eess.IVcs.CV

Official code: BYchao100/Deep-Lossy-Plus-Residual-Coding (36 stars, Python, last commit 2026-08-14).

Abstract

Lossless and near-lossless image compression is of paramount importance to professional users in many technical fields, such as medicine, remote sensing, precision engineering and scientific research. But despite rapidly growing research interests in learning-based image compression, no published method offers both lossless and near-lossless modes.

Show full abstract

In this paper, we propose a unified and powerful deep lossy plus residual (DLPR) coding framework for both lossless and near-lossless image compression. In the lossless mode, the DLPR coding system first performs lossy compression and then lossless coding of residuals. We solve the joint lossy and residual compression problem in the approach of VAEs, and add autoregressive context modeling of the residuals to enhance lossless compression performance. In the near-lossless mode, we quantize the original residuals to satisfy a given $\ell_\infty$ error bound, and propose a scalable near-lossless compression scheme that works for variable $\ell_\infty$ bounds instead of training multiple networks. To expedite the DLPR coding, we increase the degree of algorithm parallelization by a novel design of coding context, and accelerate the entropy coding with adaptive residual interval. Experimental results demonstrate that the DLPR coding system achieves both the state-of-the-art lossless and near-lossless image compression performance with competitive coding speed.

View on arXivView PDF

Code Implementations(1)

Deep Lossy Plus Residual Coding for Lossless and Near-lossless Image Compression (TPAMI'24, Journal Extension of our CVPR'21 work)

363PythonJan 11, 20243 months ago

Similar Papers

Cite this paper

@article{bai2022deep,
  title  = {Deep Lossy Plus Residual Coding for Lossless and Near-lossless Image Compression},
  author = {Yuanchao Bai and Xianming Liu and Kai Wang and Xiangyang Ji and Xiaolin Wu and Wen Gao},
  year   = {2022},
  eprint = {2209.04847},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.04847}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.04847.svg)](https://codeofpaper.com/paper/2209.04847)

Discussion