Abstract
Pneumothorax is a life-threatening condition requiring rapid and accurate diagnosis. This study proposes a two-stage deep learning-based clinical decision support system for automated pneumothorax detection and size classification from posteroanterior chest X-ray images, with separate validation on right and left lung datasets. The dataset comprised 1,170 images: 700 healthy and 470 pneumothorax cases, equally divided into size ≤20% and >20%. In Stage 1, a ResNet50-based binary classifier distinguished pneumothorax from healthy with an AUC of 0.9684 (left) and 0.9475 (right). In Stage 2, a DenseNet201- based classifier further classified detected pneumothorax cases into size ≤20% vs. >20%. The full pipeline achieved high specificity (left: 96.84% for non-pneumothorax; right: 97.75% for high-grade pneumothorax). The system demonstrates strong potential as an AI-assisted triage tool, with separate performance reporting for each lung side enabling clinical validation.