International Journal of Computer Sciences and Engineering
ROI-Aware Quantum Autoencoder Framework for Efficient Medical Image Compression
Gangadhar Durgada, Surekha Samsani
Abstract
Medical imaging systems generate large volumes of high-resolution images, making efficient storage, transmission, and real-time clinical analysis challenging. This work proposes a Region of Interest (ROI)-Aware Quantum Autoencoder (ROI-QAE) framework to achieve high compression efficiency while preserving diagnostic image quality. The ROI-Aware Quantum Autoencoder (ROI-QAE) is a four-stage pipeline for compressing computed tomography (CT), magnetic resonance imaging (MRI), and COVID-19 chest X-ray images within a single unified implementation. The first stage uses a Vision Transformer (ViT) with eight-head multi-head self-attention over 32×32-pixel patches to generate a binary region-of-interest (ROI) mask, requiring no labelled annotations. The second stage applies an ROI-aware adaptive JPEG engine. The third stage introduces a Quantum Autoencoder (QAE) built in PennyLane that operates on 8×8-pixel patches. A three-layer classical encoder maps each 64-dimensional patch to four qubit angle values, a three-layer Strongly Entangling Layers parameterized quantum circuit (PQC) on a lightning Qubit device processes these angles, and a three-layer classical decoder reconstructs 64-pixel values. The fourth stage applies lossless Huffman entropy coding. Three modality-specific QAE models are trained on 60,000 patches each (300 training images × 200 patches per image) using the Adam optimizer (initial learning rate 5×10⁻³, weight decay 1×10⁻⁵) with a cosine-annealed learning-rate schedule and gradient-norm clipping. Evaluated on 50 held-out test images per modality (drawn from pools of 120 CT, 120 MRI, and 100 X-ray test images), the framework yields mean PSNR of 23.70 dB, 24.73 dB, and 29.18 dB; SSIM of 0.7969, 0.7256, and 0.7396; and space savings of 81.6%, 81.2%, and 80.5% for CT, MRI, and X-ray respectively. Huffman compression ratios reach 1.7304 (CT), 1.3544 (MRI), and 1.1470 (X-Ray). The framework demonstrates that parameterized quantum circuits with as few as 36 quantum parameters can be embedded into a clinically aware compression pipeline and trained on commodity cloud hardware.