A Two-Stage Framework Combining U-Net++ Lung Segmentation and DenseNet121 for Multi-Class Classification from Chest X-Ray

Chest X-rays (CXRs) are widely used to detect lung diseases, but deep learning classifiers may rely on visual cues outside the lungs rather than relevant clinical features. This study evaluates three lung segmentation models (U-Net, U-Net++, and fine-tuned SAM ViT-B) and four ImageNet-pretrained classifiers (DenseNet121, ResNet50, VGG19, and Xception) using the COVID-19 Radiography Database of 21,165 images. U-Net++ achieved the best segmentation performance, while DenseNet121 performed best in classification. Based on these findings, we developed a two-stage framework that uses U-Net++ to segment the lungs and DenseNet121 to classify the extracted regions as COVID-19, Lung Opacity, Normal, or Viral Pneumonia. The framework was tested on unlabeled DICOM radiographs from a diagnostic center without additional fine-tuning. A medical doctor reviewed 15 cases flagged as low-confidence during an earlier run, revealing disagreements in which abnormal cases were classified as Normal, sometimes with very high confidence. Grad-CAM and insertion/deletion curves were used to examine the image regions influencing the model's predictions. These findings demonstrate the feasibility of integrating lung segmentation and disease classification for native DICOM images while highlighting the need for careful clinical validation beyond benchmark performance.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-25
DOI
https://doi.org/10.21203/rs.3.rs-11759481/v1
Primary Topic
COVID-19 diagnosis using AI
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A Two-Stage Framework Combining U-Net++ Lung Segmentation and DenseNet121 for Multi-Class Classification from Chest X-Ray

Mohammad Shamsul Arefin, Abdur Rahaman, Mohammed Borhan Uddin, Sanjida Tasneem et al.
Research Square
COVID-19 diagnosis using AI
preprint

A Two-Stage Framework Combining U-Net++ Lung Segmentation and DenseNet121 for Multi-Class Classification from Chest X-Ray

Mohammad Shamsul Arefin, Abdur Rahaman, Mohammed Borhan Uddin, Sanjida Tasneem, Md. Nurul Alam, Shahariar Nafiz
preprint en

Abstract

Chest X-rays (CXRs) are widely used to detect lung diseases, but deep learning classifiers may rely on visual cues outside the lungs rather than relevant clinical features. This study evaluates three lung segmentation models (U-Net, U-Net++, and fine-tuned SAM ViT-B) and four ImageNet-pretrained classifiers (DenseNet121, ResNet50, VGG19, and Xception) using the COVID-19 Radiography Database of 21,165 images. U-Net++ achieved the best segmentation performance, while DenseNet121 performed best in classification. Based on these findings, we developed a two-stage framework that uses U-Net++ to segment the lungs and DenseNet121 to classify the extracted regions as COVID-19, Lung Opacity, Normal, or Viral Pneumonia. The framework was tested on unlabeled DICOM radiographs from a diagnostic center without additional fine-tuning. A medical doctor reviewed 15 cases flagged as low-confidence during an earlier run, revealing disagreements in which abnormal cases were classified as Normal, sometimes with very high confidence. Grad-CAM and insertion/deletion curves were used to examine the image regions influencing the model's predictions. These findings demonstrate the feasibility of integrating lung segmentation and disease classification for native DICOM images while highlighting the need for careful clinical validation beyond benchmark performance.

Research Square
Chittagong University of Engineering & Technology (BD), International Islamic University Chittagong (BD)
COVID-19 diagnosis using AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon