Skip to main content
QUICK REVIEW

[Paper Review] A New Image Codec Paradigm for Human and Machine Uses

Sien Chen, Jian Jin|arXiv (Cornell University)|Dec 19, 2021
Image Processing Techniques and ApplicationsEngineering5 citations
TL;DR

This paper proposes a novel image codec paradigm that jointly optimizes for human and machine vision by encoding a 16-bit gray-scale instance segmentation map and low-level signal features via lossless compression, while using a learned image predictor to reconstruct general-quality images and a lossy codec for residual compression. The method achieves superior performance in both image reconstruction (PSNR and MS-SSIM) and machine vision tasks (mAP) compared to traditional and learning-based codecs.

ABSTRACT

With the AI of Things (AIoT) development, a huge amount of visual data, e.g., images and videos, are produced in our daily work and life. These visual data are not only used for human viewing or understanding but also for machine analysis or decision-making, e.g., intelligent surveillance, automated vehicles, and many other smart city applications. To this end, a new image codec paradigm for both human and machine uses is proposed in this work. Firstly, the high-level instance segmentation map and the low-level signal features are extracted with neural networks. Then, the instance segmentation map is further represented as a profile with the proposed 16-bit gray-scale representation. After that, both 16-bit gray-scale profile and signal features are encoded with a lossless codec. Meanwhile, an image predictor is designed and trained to achieve the general-quality image reconstruction with the 16-bit gray-scale profile and signal features. Finally, the residual map between the original image and the predicted one is compressed with a lossy codec, used for high-quality image reconstruction. With such designs, on the one hand, we can achieve scalable image compression to meet the requirements of different human consumption; on the other hand, we can directly achieve several machine vision tasks at the decoder side with the decoded 16-bit gray-scale profile, e.g., object classification, detection, and segmentation. Experimental results show that the proposed codec achieves comparable results as most learning-based codecs and outperforms the traditional codecs (e.g., BPG and JPEG2000) in terms of PSNR and MS-SSIM for image reconstruction. At the same time, it outperforms the existing codecs in terms of the mAP for object detection and segmentation.

Motivation & Objective

  • Address the growing need for image codecs that serve both human visual perception and machine vision tasks in AIoT and smart city environments.
  • Overcome limitations of traditional codecs optimized only for human viewing and descriptor-based codecs that are unreadable to humans.
  • Enable scalable image compression where partial bitstreams support machine tasks, while full decoding supports high-quality human viewing.
  • Improve compression efficiency for both image reconstruction and downstream machine vision tasks like object detection and segmentation.
  • Design a unified framework that leverages high-level semantic information (instance segmentation) for dual-purpose use without sacrificing perceptual quality or task accuracy.

Proposed method

  • Extract high-level instance segmentation maps and low-level signal features using deep neural networks.
  • Represent the instance segmentation map as a compact 16-bit gray-scale profile to reduce redundancy while preserving semantic content.
  • Compress the 16-bit profile and signal features using a lossless codec (FLIF) for robust transmission and decoding.
  • Train a deep image predictor using the 16-bit profile and signal features to generate a general-quality image reconstruction.
  • Encode the residual between the original image and the predicted image using a lossy codec (VVC) for high-fidelity reconstruction.
  • Enable scalable decoding: partial bitstreams support machine vision tasks, while full bitstreams enable high-quality human viewing.

Experimental results

Research questions

  • RQ1Can a unified image codec framework simultaneously support high-quality human image reconstruction and high-accuracy machine vision tasks?
  • RQ2How does representing instance segmentation as a 16-bit gray-scale profile affect compression efficiency and task performance compared to raw or compressed feature representations?
  • RQ3To what extent does the inclusion of high-level semantic information (via the 16-bit profile) improve both image reconstruction and downstream machine vision accuracy?
  • RQ4How does the proposed predictive coding framework compare to traditional codecs (e.g., BPG, JPEG2000) and learning-based codecs in terms of PSNR, MS-SSIM, and mAP?
  • RQ5Which normalization technique (channel, batch, instance) best enhances the compression efficiency of the proposed image predictor and reconstruction pipeline?

Key findings

  • The proposed codec achieves PSNR and MS-SSIM performance comparable to state-of-the-art learning-based codecs and outperforms traditional codecs like BPG and JPEG2000 in image reconstruction quality.
  • The method significantly improves mAP for object detection and instance segmentation compared to existing codecs, demonstrating superior performance for machine vision tasks.
  • Channel normalization in the learned encoder and image predictor modules yields the best compression efficiency, outperforming batch and instance normalization in PSNR and MS-SSIM.
  • Ablation studies confirm that the 16-bit instance segmentation profile enhances both image reconstruction quality (PSNR and MS-SSIM) and machine vision accuracy (mAP).
  • The bitstream structure enables scalable decoding: partial bitstreams (stream1 and stream2) support machine vision tasks, while full bitstream (stream3) enables high-fidelity human viewing.
  • The residual compression via VVC at varying QPs shows that higher quality reconstruction is achieved with lower QP values, confirming the effectiveness of the residual-based refinement.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.