Automated Pneumothorax Segmentation with a Spatial Prior Contrast Adapter
Source abstract
Abstract
Pneumothorax is a critical condition that requires rapid and accurate diagnosis from standard chest radiographs. Identifying and segmenting the location of the pneumothorax are essential for developing an effective treatment plan. nnUNet is a self-configuring, deep learning-based framework for medical image segmentation. Despite adjusting its parameters automatically through data-driven optimization strategies and offering robust feature extraction and segmentation capabilities across diverse datasets, our initial experiments revealed that nnUNet alone struggled to achieve consistently accurate segmentation for pneumothorax, particularly in challenging scenarios where subtle intensity variations and anatomical noise obscure the target regions. This study aims to enhance the accuracy and robustness of pneumothorax segmentation in low-contrast chest radiographs by integrating spatial prior information and attention mechanism into the nnUNet framework. In this study, we introduce the spatial prior contrast adapter (SPCA)-enhanced nnUNet by implementing two modules. First, we integrate an SPCA utilizing the MedSAM foundation model to incorporate spatial prior information of the lung region, effectively guiding the segmentation network to focus on anatomically relevant areas. In the meantime, a probabilistic atlas, which shows the probability of an area prone to pneumothorax, is generated based on the ground truth masks. Both the lung segmentation results and the probabilistic atlas are used as attention maps in nnUNet. Second, we combine the two attention maps as additional input into nnUNet and integrate an attention mechanism into standard nnUNet by using a convolutional block attention module (CBAM). We validate our method by experimenting on the dataset CANDID-PTX, a benchmark dataset representing 19,237 chest radiographs. By introducing spatial awareness and intensity adjustments, the model reduces false positives and improves the precision of boundary delineations, ultimately overcoming many of the limitations associated with low-contrast radiographs. Compared with standard nnUNet, SPCA-enhanced nnUNet achieves an average Dice coefficient of 0.81, which indicates an improvement of standard nnUNet by 15%. This study provides a novel approach toward enhancing the segmentation performance of pneumothorax with low contrast in chest X-ray radiographs.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: COVID-19 diagnosis using AI · Lung Cancer Diagnosis and Treatment · Dental Radiography and Imaging
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Graduate School of Information Science, University of Hyogo, Kobe 650-0047, Japan
Advanced Medical Engineering Research Institute, University of Hyogo, Himeji 670-0836, Japan
Funding
JST
References (40)
Show source-provided references
1. Chest X-ray pneumothorax segmentation using U-Net with EfficientNet and ResNet architectures10.7717/peerj-cs.607 ↗
2. Pneumothorax10.1111/j.1440-1843.2004.00577.x ↗
3. Clinical Presentation of Patients with Tension Pneumothorax: A Systematic Review10.1097/SLA.0000000000001073 ↗
4. Recurrence of primary spontaneous pneumothorax10.1136/thx.52.9.805 ↗
5. Automatic diagnosis of pneumothorax from chest radiographs: A systematic literature review10.1109/ACCESS.2021.3122998 ↗
6. Olaf, R., Philipp, F., and Thomas, B. (2015). U-Net: Convolutional Networks for Biomedical Image Segmentation. Medical Image Computing and Computer-Assisted Intervention—MICCAI 2015, Proceedings of the 18th International Conference, Munich, Germany, 5–9 October 2015, Springer.
7. nnU-Net: A self-configuring method for deep learning-based biomedical image segmentation10.1038/s41592-020-01008-z ↗
8. Segment anything in medical images10.1038/s41467-024-44824-z ↗
9. Kirillov, A., Mintun, E., Ravi, N., Mao, H., Rolland, C., Gustafson, L., Xiao, T., Whitehead, S., Berg, A.C., and Lo, W.Y. (2023, January 1–6). Segment Anything. Proceedings of the 2023 IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France.10.1109/ICCV51070.2023.00371 ↗
10. Nouman, M., Khoriba, G., and Rashed, E.A. (2024, January 20–23). Rethinking MedSAM: Performance Discrepancies in Clinical Applications. Proceedings of the 2024 IEEE International Conference on Future Machine Learning and Data Science (FMLDS), Sydney, Australia.10.1109/FMLDS63805.2024.00061 ↗
11. Liu, L., Wolterink, J.M., Brune, C., and Veldhuis, R.N.J. (2021). Anatomy-aided deep learning for medical image segmentation: A review. Phys. Med. Biol., 66.10.1088/1361-6560/abfbf4 ↗
12. Wang, H., Gu, H., Qin, P., and Wang, J. (2020). CheXLocNet: Automatic localization of pneumothorax in chest radiographs using deep convolutional neural networks. PLoS ONE, 15.10.1371/journal.pone.0242013 ↗
13. Automatic segmentation of pneumothorax in chest radiographs based on a two-stage deep learning method10.1109/TCDS.2020.3035572 ↗
14. Lee, S., Kim, E.K., Han, K., Ryu, L., Lee, E.H., and Shin, H.J. (2024). Factors for increasing positive predictive value of pneumothorax detection on chest radiographs using artificial intelligence. Sci. Rep., 14.10.1038/s41598-024-70780-1 ↗
15. Curation of the candid-ptx dataset with free-text reports10.1148/ryai.2021210136 ↗
16. Deep Learning for Detecting Pneumothorax on Chest Radiographs after Needle Biopsy: Clinical Implementation10.1148/radiol.211706 ↗
17. Deep multi-instance transfer learning for pneumothorax classification in chest X-ray images10.1002/mp.15328 ↗
18. Kamalakannan, N., Macharla, S.R., Kanimozhi, M., and Sudhakar, M.S. (2024). Exponential Pixelating Integral transform with dual fractal features for enhanced chest X-ray abnormality detection. Comput. Biol. Med., 182.10.1016/j.compbiomed.2024.109093 ↗
19. Automated pneumothorax segmentation and quantification algorithm based on deep learning
20. Leveraging anatomical constraints with uncertainty for pneumothorax segmentation10.1002/hcs2.119 ↗
21. Liu, Y., Liang, P., Liang, K., and Chang, Q. (2023). Automatic and efficient pneumothorax segmentation from CT images using EFA-Net with feature alignment function. Sci. Rep., 13.10.1038/s41598-023-42388-4 ↗
22. Deep learning-enabled system for rapid pneumothorax screening on chest CT10.1016/j.ejrad.2019.108692 ↗
23. Liang, P., Chen, J., Yao, L., Yu, Y., Liang, K., and Chang, Q. (2023). DAWTran: Dynamic adaptive windowing transformer network for pneumothorax segmentation with implicit feature alignment. Phys. Med. Biol., 68.10.1088/1361-6560/aced79 ↗
24. Woo, S., Park, J., Lee, J.Y., and Kweon, I.S. (2018). CBAM: Convolutional Block Attention Module. Computer Vision—ECCV 2018, Proceedings of the 15th European Conference, Munich, Germany, 8–14 September 2018, Springer. Part VII.10.1007/978-3-030-01234-2_1 ↗
25. Zhao, Z., Chen, K., and Yamane, S. (2021, January 12–15). CBAM-Unet++:easier to find the target with the attention module “CBAM”. Proceedings of the 2021 IEEE 10th Global Conference on Consumer Electronics (GCCE), Kyoto, Japan.10.1109/GCCE53005.2021.9622008 ↗
26. Jannat, M., Birahim, S., Hasan, M., Roy, T., Sultana, L., Sarker, H., Fairuz, S., and Abdallah, H. (2025). Lung Segmentation with Lightweight Convolutional Attention Residual U-Net. Diagnostics, 15.10.3390/diagnostics15070854 ↗
27. Pizer, S., Johnston, R., Ericksen, J., Yankaskas, B., and Muller, K. (1990, January 22–25). Contrast-limited adaptive histogram equalization: Speed and effectiveness. Proceedings of the [1990] First Conference on Visualization in Biomedical Computing, Atlanta, GA, USA.
28. Kancherla, D.S.V., Mannava, P., Tallapureddy, S., Chintala, V., P, K., and Iwendi, C. (2023, January 18–20). Pneumothorax: Lung Segmentation and Disease Classification Using Deep Neural Networks. Proceedings of the 2023 International Conference on Self Sustainable Artificial Intelligence Systems (ICSSAS), Erode, India.10.1109/ICSSAS57918.2023.10331853 ↗
29. Drozdzal, M., Vorontsov, E., Chartrand, G., Kadoury, S., and Pal, C. (2016). The importance of skip connections in biomedical image segmentation. Deep Learning and Data Labeling for Medical Applications, Proceedings of the First International Workshop, LABELS 2016, and Second International Workshop, DLMIA 2016, Held in Conjunction with MICCAI 2016, Athens, Greece, 21 October 2016, Springer.10.1007/978-3-319-46976-8_19 ↗
30. Isensee, F., Jaeger, P., Full, P., Wolf, I., Engelhardt, S., and Maier-Hein, K. (2017). Automatic cardiac disease assessment on cine-MRI via time-series segmentation and domain specific features. International Workshop on Statistical Atlases and Computational Models of the Heart, Proceedings of the 8th International Workshop, STACOM 2017, Held in Conjunction with MICCAI 2017, Quebec City, QC, Canada, 10–14 September 2017, Springer.
31. Sudre, C., Li, W., Vercauteren, T., Ourselin, S., and Cardoso, M. (2017). Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentations. Deep Learning in Medical Image Analysis and Multimodal Learning for Clinical Decision Support, Proceedings of the Third International Workshop, DLMIA 2017, and 7th International Workshop, ML-CDS 2017, Held in Conjunction with MICCAI 2017, Québec City, QC, Canada, 14 September 2017, Springer.10.1007/978-3-319-67558-9_28 ↗
32. Girshick, R., Donahue, J., Darrell, T., and Malik, J. (2014, January 23–28). Rich feature hierarchies for accurate object detection and semantic segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.10.1109/CVPR.2014.81 ↗
33. Zawacki, A., Wu, C., Shih, G., Elliott, J., Fomitchev, M., Hussain, M., Lakhani, P., Culliton, P., and Bao, S. (2025, June 02). SIIM-ACR Pneumothorax Segmentation 2019. Available online: https://www.kaggle.com/competitions/siim-acr-pneumothorax-segmentation.
34. ConTEXTual Net: A Multimodal Vision-Language Model for Segmentation of Pneumothorax10.1007/s10278-024-01051-8 ↗
35. He, K., Zhang, X., Ren, S., and Sun, J. (2015). Deep Residual Learning for Image Recognition. arXiv.10.1109/CVPR.2016.90 ↗
36. Huang, S.C., Shen, L., Lungren, M.P., and Yeung, S. (2021, January 10–17). GLORIA: A Multimodal Global-Local Representation Learning Framework for Label-Efficient Medical Image Recognition. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada.10.1109/ICCV48922.2021.00391 ↗
37. Hatamizadeh, A., Nath, V., Tang, Y., Yang, D., Roth, H., and Xu, D. (2022). Swin UNETR: Swin Transformers for Semantic Segmentation of Brain Tumors in MRI Images. arXiv.10.1007/978-3-031-08999-2_22 ↗
38. Yang, Z., Wang, J., Tang, Y., Chen, K., Zhao, H., and Torr, P.H.S. (2022). LAVT: Language-Aware Vision Transformer for Referring Image Segmentation. arXiv.10.1109/CVPR52688.2022.01762 ↗
39. Zhang, Q., Jin, G., Zhu, Y., Wei, H., and Chen, Q. (2024). BPT-PLR: A Balanced Partitioning and Training Framework with Pseudo-Label Relaxed Contrastive Loss for Noisy Label Learning. Entropy, 26.10.3390/e26070589 ↗
40. AI in health and medicine10.1038/s41591-021-01614-0 ↗