Machine Vision Guided 3D Medical Image Compression for Efficient Transmission and Accurate Segmentation in the Clouds

Zihao Liu, Xiaowei Xu, Tao Liu, Qi Liu, Yanzhi Wang, Yiyu Shi, Wujie Wen, Meiping Huang, Haiyun Yuan, Jian Zhuang

Abstract

Standard image compression algorithms are optimized for the Human Visual System (HVS), often discarding high-frequency information critical for Deep Neural Networks (DNNs). This paper proposes a machine-vision-oriented 3D medical image compression framework that prioritizes frequency features essential for automated segmentation. By integrating a frequency analysis module and a non-linear mapping function into the JPEG-2000 pipeline, the proposed method achieves a 30× compression ratio while maintaining or even improving segmentation accuracy, significantly reducing transmission latency for cloud-based medical AI services.

Introduction

The shift toward cloud-based AI for medical image analysis introduces a significant data transmission bottleneck. A typical 3D scan can exceed 300MB, requiring nearly a minute to upload over standard connections, whereas cloud processing takes only milliseconds. Traditional compression standards like JPEG-2000 mitigate this by optimizing for the Human Visual System (HVS), discarding high-frequency details imperceptible to humans. However, DNNs used for medical segmentation rely heavily on these high-frequency features to define precise organ and tumor boundaries. Consequently, "human-optimized" compression often degrades AI performance. This paper addresses this gap by proposing a compression framework tailored specifically for machine vision tasks.

Methodology

The proposed framework modifies the standard JPEG-2000 quantization process to better align with DNN requirements.

Frequency Analysis Module

The authors analyzed the impact of different frequency subbands, generated via 3D Discrete Wavelet Transform (3D-DWT), on a DNN’s loss function. They discovered that a subband's importance to a machine is proportional to its coefficient magnitude—a stark contrast to human vision, which is more sensitive to low frequencies. A "Statistic Index" (SI) was developed to rank subband importance based on these findings.

SI-QS Mapping and Optimization

To determine the optimal Quantization Step (QS) for each subband, a non-linear mapping function was implemented: $Q_n = a / (\delta_n + b)$, where $\delta_n$ is the SI of the $n$-th subband. This allows the compressor to preserve critical frequencies for the AI while aggressively compressing less relevant ones. The parameters $a$ and $b$ are optimized using a data-driven approach specific to the segmentation task.

Proposed machine-vision-oriented compression framework architecture, highlighting the Frequency Analysis and Mapping modules.

Experimental Setup

The framework was evaluated using the HVSMR 2016 Challenge dataset, containing 3D cardiac Magnetic Resonance (MR) scans. The task involved segmenting the myocardium and blood pool using two state-of-the-art models: DenseVoxNet and 3D-DSN. Performance was compared against standard JPEG-2000 compression across various metrics, including Dice coefficient and Hausdorff distance.

Results and Discussion

The proposed method consistently achieved a 30× compression ratio, representing a 3× improvement over standard JPEG-2000 at comparable accuracy levels.

Segmentation Accuracy

On the HVSMR 2016 dataset, the method outperformed JPEG-2000 across all key metrics. Notably, in some instances, the proposed compression acted as a denoising filter, resulting in higher segmentation accuracy than the original uncompressed images. Visual analysis shows that while JPEG-2000 blurs critical boundaries, the proposed method preserves the textures necessary for accurate DNN segmentation.

Visual comparison of segmentation results. The proposed method preserves boundary details better than JPEG-2000, leading to more accurate masks.

Efficiency Gains

By drastically reducing file sizes without sacrificing vital information, the total service time (transmission plus cloud processing) was reduced by 2.6× compared to standard methods. This demonstrates the feasibility of real-time cloud-based medical AI analysis.

Conclusion

This research demonstrates that machine vision and human vision have distinct frequency preferences. By aligning compression strategies with the specific needs of DNNs, it is possible to achieve extreme compression ratios while preserving—or even enhancing—the performance of automated medical analysis tools. Future work will explore the generalization of this approach to other tasks like classification and its applicability across different imaging modalities and DNN architectures.

Summary updated

BibTeX
@inproceedings{liu2019machine,
  author = {Zihao Liu and Xiaowei Xu and Tao Liu and Qi Liu and Yanzhi Wang and Yiyu Shi and Wujie Wen and Meiping Huang and Haiyun Yuan and Jian Zhuang},
  title = {{Machine Vision Guided 3D Medical Image Compression for Efficient Transmission and Accurate Segmentation in the Clouds}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.01297},
}
Figure