X-Ray Image Compression Using Convolutional Recurrent Neural Networks

Asif Shahriyar Sushmit, Shakib Uz Zaman, Ahmed Imtiaz Humayun, Taufiq Hasan, Mohammed Imamul Hassan Bhuiyan

Abstract

The rapid digitization of healthcare has led to an explosion of high-resolution medical data, creating significant challenges for storage and transmission, particularly in bandwidth-limited environments like teleradiology. This paper presents a novel image compression framework based on Convolutional Recurrent Neural Networks (RNN-Conv). By integrating multi-level pooling and LSTM-based recurrent units within an encoder-decoder architecture, the proposed method effectively captures salient features while maintaining high reconstruction quality. Experimental results on the NIH ChestX-Ray8 dataset demonstrate that the model significantly outperforms traditional JPEG 2000 standards and existing deep learning approaches in terms of Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index (SSIM), especially at high compression ratios.

Introduction

The "digital health revolution" has transformed medical diagnostics, but it has also generated massive volumes of high-resolution imaging data. In teleradiology, where specialists often review images transmitted from remote clinics, limited bandwidth can become a bottleneck. Traditional compression standards, such as JPEG and JPEG 2000, are frequently used to mitigate these issues. However, at high compression ratios, these methods often introduce "blocking artifacts" or noise that can obscure critical clinical details, potentially leading to misdiagnosis. Consequently, there is an urgent need for compression techniques that can achieve high reduction factors without sacrificing the diagnostic integrity of medical images.

Methodology

The proposed framework consists of three primary components: a Compression Sub-network (Encoder), a Bottleneck Layer, and a Decompression Sub-network (Decoder).

The proposed RNN-Conv architecture for X-ray image compression.
  • RNN-Conv Architecture: Unlike standard Convolutional Neural Networks (CNNs), the model utilizes 2D Convolutional Recurrent Neural Networks with Long Short-Term Memory (LSTM) units. This design allows the network to learn complex dependencies within the feature space, making it highly effective for full-resolution image compression.
  • Dual-Branch Encoder: To capture contextualized features at multiple scales, the encoder's front-end employs two parallel paths. One path performs a $3\times3$ strided convolution, while the other utilizes $2\times2$ pooling followed by a $1\times1$ convolution. This "multi-level pooling" scheme ensures that both local details and broader regional summaries are preserved.
  • Variable Compression Bottleneck: The bottleneck layer introduces a parameter $\beta$, representing the number of kernels. By adjusting $\beta$, the compression ratio ($r = 256/\beta$) can be varied, allowing the architecture to adapt to different storage and transmission requirements.
  • Depth-to-Space (D2S) Upsampling: In the decoder, the model replaces traditional deconvolution or interpolation with Depth-to-Space (D2S) operations. D2S rearranges data from the depth dimension into the spatial dimension, enabling upsampling with minimal information loss.

Experimental Setup

The model was evaluated using the NIH Clinical Center’s ChestX-Ray8 Dataset, which contains 112,120 high-quality X-ray images. Due to hardware constraints, training and testing were conducted on randomly sampled patches of $128\times128$ and $256\times256$ pixels. The dataset was split into 20,000 training samples and 500 test samples, ensuring no patient overlap between the sets to prevent data leakage. The model was optimized using $L1$ loss and the Adam optimizer.

Results and Discussion

The RNN-Conv model was compared against the JPEG 2000 standard and a state-of-the-art RNN-based method by Toderici et al.

Quantitative Performance

At a compression ratio of 8x, the proposed model achieved a PSNR of 35.93 dB for $128\times128$ patches, significantly higher than Toderici et al. (30.47 dB) and JPEG 2000 (24.86 dB). In terms of SSIM, the model reached 0.9579 at the same ratio. While JPEG 2000 showed competitive SSIM at low compression (2x), its performance degraded sharply as the compression ratio increased, whereas the RNN-Conv model maintained high structural fidelity.

Qualitative Analysis

Visual comparison of reconstructed X-ray images: (a) Original, (b) Toderici et al., and (c) Proposed Method. X-Ray Image Compression Using Convolutional Recurrent Neural Networks, page 4

Visual comparison of reconstructed X-ray images: (a) Original, (b) Toderici et al., and (c) Proposed Method.

Visual inspections revealed that the reconstructed images from the proposed method were nearly indistinguishable from the originals. The model preserved sharper details and exhibited fewer artifacts compared to the baseline RNN model, which is crucial for clinical evaluation.

Conclusion

This research demonstrates the efficacy of Convolutional Recurrent Neural Networks for high-quality medical image compression. By leveraging multi-level pooling and iterative refinement through LSTM units, the proposed model offers a robust solution for transmitting high-resolution X-rays over limited bandwidth. Future work will focus on validating the model on full-scale $1024\times1024$ images and conducting clinical studies with radiologists to ensure diagnostic accuracy is maintained across various pathologies. Additionally, combining the learned representations with lossless entropy coding could further enhance compression efficiency.

Summary updated

BibTeX
@inproceedings{sushmit2019x,
  author = {Asif Shahriyar Sushmit and Shakib Uz Zaman and Ahmed Imtiaz Humayun and Taufiq Hasan and Mohammed Imamul Hassan Bhuiyan},
  title = {{X-Ray Image Compression Using Convolutional Recurrent Neural Networks}},
  booktitle = {BHI},
  year = {2019},
  doi = {10.1109/bhi.2019.8834656},
}
Figure