Segmentation of Pneumothorax on Chest CTs Using Deep Learning Based on Unet-Resnet-50 Convolutional Neural Network Structure

Abstract views: 182 / PDF downloads: 53




Pneumothorax segmentation, Deep learning, Convolutional neural networks, Medical imaging, Artificial intelligence


Objective: Pneumothorax refers to an abnormal accumulation of air in the pleural cavity. This condition is significant in terms of health and can provide a life-threatening risk, particularly when it is extensive or occurs alongside other medical conditions. Nevertheless, the scarcity of work on chest CT segmentation arises from the challenge of acquiring pixel-level annotations for chest X-rays. This paper presents and assesses a deep learning approach utilizing the Unet-Resnet-50 convolutional neural network architecture for accurately segmenting pneumothoraces on chest computed tomography (CT) images.

Methods: We employed a private dataset including 2627 manually annotated slices obtained from 16 patients. We assessed the model's performance by measuring the dice similarity coefficient (DSC or F1 score), accuracy, area under the curve (AUC), precision, and recall on both the validation and test sets.

Results: The binary accuracy of the test set was 0.9990; the precision was 0.9681; and the DSC was 0.9644. Although it contains less data (16 patients), we found that our deep learning-based artificial intelligence model has effective and compatible results with the literature.

Conclusion: Deep learning models that will be used to detect common pathologies in thoracic surgery practice, such as pneumothorax, to determine their localization and size, will provide faster diagnosis and treatment to patients, and especially improve radiology workflow.


Metrics Loading ...


Wang Q, Liu Q, Luo G, Liu Z, Huang J, Zhou Y, et al. Automated segmentation and diagnosis of pneumothorax on chest X-rays with fully convolutional multi-scale ScSE-DenseNet: a retrospective study. BMC Med Inform Decis Mak. 2020 Dec;20(S14):317.

Wu W, Liu G, Liang K, Zhou H. Pneumothorax Segmentation in Routine Computed Tomography Based on Deep Neural Networks. In: 2021 4th International Conference on Intelligent Autonomous Systems (ICoIAS) [Internet]. Wuhan, China: IEEE; 2021 [cited 2023 Jan 3]. p. 78–83. Available from:

Malhotra P, Gupta S, Koundal D, Zaguia A, Enbeyle W. Deep Neural Networks for Medical Image Segmentation. Chakraborty C, editor. Journal of Healthcare Engineering. 2022 Mar 10;2022:1–15.

Ibtehaz N, Rahman MS. MultiResUNet : Rethinking the U-Net architecture for multimodal biomedical image segmentation. Neural Networks. 2020 Jan;121:74–87.

Wang H, Gu H, Qin P, Wang J. CheXLocNet: Automatic localization of pneumothorax in chest radiographs using deep convolutional neural networks. Xie H, editor. PLoS ONE. 2020 Nov 9;15(11):e0242013.

Taylor AG, Mielke C, Mongan J. Automated detection of moderate and large pneumothorax on frontal chest X-rays using deep convolutional neural networks: A retrospective study. Saria S, editor. PLoS Med. 2018 Nov 20;15(11):e1002697.

Yi PH, Kim TK, Yu AC, Bennett B, Eng J, Lin CT. Can AI outperform a junior resident? Comparison of deep neural network to first-year radiology residents for identification of pneumothorax. Emerg Radiol. 2020 Aug;27(4):367–75.

Thian YL, Ng D, Hallinan JTPD, Jagmohan P, Sia SY, Tan CH, et al. Deep Learning Systems for Pneumothorax Detection on Chest Radiographs: A Multicenter External Validation Study. Radiology: Artificial Intelligence. 2021 Jul 1;3(4):e200190.

Malhotra P, Gupta S, Koundal D, Zaguia A, Kaur M, Lee HN. Deep Learning-Based Computer-Aided Pneumothorax Detection Using Chest X-ray Images. Sensors. 2022 Mar 15;22(6):2278.

Tian Y, Wang J, Yang W, Wang J, Qian D. Deep multi‐instance transfer learning for pneumothorax classification in chest X‐ray images. Medical Physics. 2022 Jan;49(1):231–43.

Hallinan JTPD, Feng M, Ng D, Sia SY, Tiong VTY, Jagmohan P, et al. Detection of Pneumothorax with Deep Learning Models: Learning From Radiologist Labels vs Natural Language Processing Model Generated Labels. Academic Radiology. 2022 Sep;29(9):1350–8.

Seah J, Tang C, Buchlak QD, Milne MR, Holt X, Ahmad H, et al. Do comprehensive deep learning algorithms suffer from hidden stratification? A retrospective study on pneumothorax detection in chest radiography. BMJ Open. 2021 Dec;11(12):e053024.

Hillis JM, Bizzo BC, Mercaldo S, Chin JK, Newbury-Chaet I, Digumarthy SR, et al. Evaluation of an Artificial Intelligence Model for Detection of Pneumothorax and Tension Pneumothorax in Chest Radiographs. JAMA Netw Open. 2022 Dec 15;5(12):e2247172.

Kitamura G, Deible C. Retraining an open-source pneumothorax detecting machine learning algorithm for improved performance to medical images. Clinical Imaging. 2020 May;61:15–9.

Al-antari MA, Hua CH, Bang J, Lee S. “Fast deep learning computer-aided diagnosis of COVID-19 based on digital chest x-ray images.” Appl Intell. 2021 May;51(5):2890–907.

Li X, Thrall JH, Digumarthy SR, Kalra MK, Pandharipande PV, Zhang B, et al. Deep learning-enabled system for rapid pneumothorax screening on chest CT. European Journal of Radiology. 2019 Nov;120:108692.

Hoi K, Turchin B, Kelly AM. How accurate is the Light index for estimating pneumothorax size? Australas Radiol. 2007 Apr;51(2):196–8.

Do S, Salvaggio K, Gupta S, Kalra M, Ali NU, Pien H. Automated Quantification of Pneumothorax in CT. Computational and Mathematical Methods in Medicine. 2012;2012:1–7.

Feng S, Liu Q, Patel A, Bazai SU, Jin C, Kim JS, et al. Automated pneumothorax triaging in chest X‐rays in the New Zealand population using deep‐learning algorithms. J Med Imag Rad Onc. 2022 Dec;66(8):1035–43.

Abedalla A, Abdullah M, Al-Ayyoub M, Benkhelifa E. Chest X-ray pneumothorax segmentation using U-Net with EfficientNet and ResNet architectures. PeerJ Computer Science. 2021 Jun 29;7:e607.

Röhrich S, Schlegl T, Bardach C, Prosch H, Langs G. Deep learning detection and quantification of pneumothorax in heterogeneous routine chest computed tomography. Eur Radiol Exp. 2020 Dec;4(1):26.

Pavel Y. Segmentation Models [Internet]. GitHub; Available from:

Müller D, Soto-Rey I, Kramer F. Towards a guideline for evaluation metrics in medical image segmentation. BMC Res Notes. 2022 Dec;15(1):210




How to Cite

Gencer, A., & Toker, Y. İlter. (2024). Segmentation of Pneumothorax on Chest CTs Using Deep Learning Based on Unet-Resnet-50 Convolutional Neural Network Structure. European Journal of Therapeutics, 30(3), 249–257.