1
|
Din S, Shoaib M, Serpedin E. CXR-Seg: A Novel Deep Learning Network for Lung Segmentation from Chest X-Ray Images. Bioengineering (Basel) 2025; 12:167. [PMID: 40001687 PMCID: PMC11851456 DOI: 10.3390/bioengineering12020167] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 01/04/2025] [Revised: 01/26/2025] [Accepted: 02/07/2025] [Indexed: 02/27/2025] Open
Abstract
Over the past decade, deep learning techniques, particularly neural networks, have become essential in medical imaging for tasks like image detection, classification, and segmentation. These methods have greatly enhanced diagnostic accuracy, enabling quicker identification and more effective treatments. In chest X-ray analysis, however, challenges remain in accurately segmenting and classifying organs such as the lungs, heart, diaphragm, sternum, and clavicles, as well as detecting abnormalities in the thoracic cavity. Despite progress, these issues highlight the need for improved approaches to overcome segmentation difficulties and enhance diagnostic reliability. In this context, we propose a novel architecture named CXR-Seg, tailored for semantic segmentation of lungs from chest X-ray images. The proposed network mainly consists of four components, including a pre-trained EfficientNet as an encoder to extract feature encodings, a spatial enhancement module embedded in the skip connection to promote the adjacent feature fusion, a transformer attention module at the bottleneck layer, and a multi-scale feature fusion block at the decoder. The performance of the proposed CRX-Seg was evaluated on four publicly available datasets (MC, Darwin, and Shenzhen for chest X-rays, and TCIA for brain flair segmentation from MRI images). The proposed method achieved a Jaccard index, Dice coefficient, accuracy, sensitivity, and specificity of 95.63%, 97.76%, 98.77%, 98.00%, and 99.05%on MC; 91.66%, 95.62%, 96.35%, 95.53%, and 96.94% on V7 Darwin COVID-19; and 92.97%, 96.32%, 96.69%, 96.01%, and 97.40% on the Shenzhen Tuberculosis CXR Dataset, respectively. Conclusively, the proposed network offers improved performance in comparison with state-of-the-art methods, and better generalization for the semantic segmentation of lungs from chest X-ray images.
Collapse
Affiliation(s)
- Sadia Din
- Electrical and Computer Engineering Program, Texas A&M University, Doha 23874, Qatar
| | - Muhammad Shoaib
- Department of Electrical and Computer Engineering, Abbottabad Campus, COMSATS University Islamabad, Abbottabad 22060, Pakistan
| | - Erchin Serpedin
- Department of Electrical and Computer Engineering, Texas A&M University, College Station, TX 77840, USA
| |
Collapse
|
2
|
Zheng J, Wang L, Gui J, Yussuf AH. Study on lung CT image segmentation algorithm based on threshold-gradient combination and improved convex hull method. Sci Rep 2024; 14:17731. [PMID: 39085327 PMCID: PMC11291637 DOI: 10.1038/s41598-024-68409-4] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 12/20/2023] [Accepted: 07/23/2024] [Indexed: 08/02/2024] Open
Abstract
Lung images often have the characteristics of strong noise, uneven grayscale distribution, and complex pathological structures, which makes lung image segmentation a challenging task. To solve this problems, this paper proposes an initial lung mask extraction algorithm that combines threshold and gradient. The gradient used in the algorithm is obtained by the time series feature extraction method based on differential memory (TFDM), which is obtained by the grayscale threshold and image grayscale features. At the same time, we also proposed a lung contour repair algorithm based on the improved convex hull method to solve the contour loss caused by solid nodules and other lesions. Experimental results show that on the COVID-19 CT segmentation dataset, the advanced lung segmentation algorithm proposed in this article achieves better segmentation results and greatly improves the consistency and accuracy of lung segmentation. Our method can obtain more lung information, resulting in ideal segmentation effects with improved accuracy and robustness.
Collapse
Affiliation(s)
- Junbao Zheng
- School of Computer Science and Technology (School of Artificial Intelligence), Zhejiang Sci-tech University, Hangzhou, 310018, Zhejiang, People's Republic of China
| | - Lixian Wang
- School of Information Science and Engineering, Zhejiang Sci-tech University, Hangzhou, 310018, Zhejiang, People's Republic of China
| | - Jiangsheng Gui
- School of Computer Science and Technology (School of Artificial Intelligence), Zhejiang Sci-tech University, Hangzhou, 310018, Zhejiang, People's Republic of China.
| | - Abdulla Hamad Yussuf
- School of Computer Science and Technology (School of Artificial Intelligence), Zhejiang Sci-tech University, Hangzhou, 310018, Zhejiang, People's Republic of China
| |
Collapse
|
3
|
Iqbal A, Usman M, Ahmed Z. Tuberculosis chest X-ray detection using CNN-based hybrid segmentation and classification approach. Biomed Signal Process Control 2023. [DOI: 10.1016/j.bspc.2023.104667] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 03/06/2023]
|
4
|
Ghali R, Akhloufi MA. Vision Transformers for Lung Segmentation on CXR Images. SN COMPUTER SCIENCE 2023; 4:414. [PMID: 37252339 PMCID: PMC10206550 DOI: 10.1007/s42979-023-01848-4] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.5] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Subscribe] [Scholar Register] [Received: 12/20/2022] [Accepted: 04/17/2023] [Indexed: 05/31/2023]
Abstract
Accurate segmentation of the lungs in CXR images is the basis for an automated CXR image analysis system. It helps radiologists in detecting lung areas, subtle signs of disease and improving the diagnosis process for patients. However, precise semantic segmentation of lungs is considered a challenging case due to the presence of the edge rib cage, wide variation of lung shape, and lungs affected by diseases. In this paper, we address the problem of lung segmentation in healthy and unhealthy CXR images. Five models were developed and used in detecting and segmenting lung regions. Two loss functions and three benchmark datasets were employed to evaluate these models. Experimental results showed that the proposed models were able to extract salient global and local features from the input CXR images. The best performing model achieved an F1 score of 97.47%, outperforming recent published models. They proved their ability to separate lung regions from the rib cage and clavicle edges and segment varying lung shape depending on age and gender, as well as challenging cases of lungs affected by anomalies such as tuberculosis and the presence of nodules.
Collapse
Affiliation(s)
- Rafik Ghali
- Perception, Robotics, and Intelligent Machines (PRIME), Department of Computer Science, Université de Moncton, Moncton, NB E1A 3E9 Canada
| | - Moulay A. Akhloufi
- Perception, Robotics, and Intelligent Machines (PRIME), Department of Computer Science, Université de Moncton, Moncton, NB E1A 3E9 Canada
| |
Collapse
|
5
|
Agrawal T, Choudhary P. ReSE‐Net: Enhanced UNet architecture for lung segmentation in chest radiography images. Comput Intell 2023. [DOI: 10.1111/coin.12575] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 04/07/2023]
Affiliation(s)
- Tarun Agrawal
- Department of Computer Science and Engineering NIT Hamirpur Hamirpur Himachal Pradesh India
| | - Prakash Choudhary
- Department of Computer Science and Engineering Central University of Rajasthan Ajmer Rajasthan India
| |
Collapse
|
6
|
Akhter Y, Singh R, Vatsa M. AI-based radiodiagnosis using chest X-rays: A review. Front Big Data 2023; 6:1120989. [PMID: 37091458 PMCID: PMC10116151 DOI: 10.3389/fdata.2023.1120989] [Citation(s) in RCA: 2] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 12/10/2022] [Accepted: 01/06/2023] [Indexed: 04/25/2023] Open
Abstract
Chest Radiograph or Chest X-ray (CXR) is a common, fast, non-invasive, relatively cheap radiological examination method in medical sciences. CXRs can aid in diagnosing many lung ailments such as Pneumonia, Tuberculosis, Pneumoconiosis, COVID-19, and lung cancer. Apart from other radiological examinations, every year, 2 billion CXRs are performed worldwide. However, the availability of the workforce to handle this amount of workload in hospitals is cumbersome, particularly in developing and low-income nations. Recent advances in AI, particularly in computer vision, have drawn attention to solving challenging medical image analysis problems. Healthcare is one of the areas where AI/ML-based assistive screening/diagnostic aid can play a crucial part in social welfare. However, it faces multiple challenges, such as small sample space, data privacy, poor quality samples, adversarial attacks and most importantly, the model interpretability for reliability on machine intelligence. This paper provides a structured review of the CXR-based analysis for different tasks, lung diseases and, in particular, the challenges faced by AI/ML-based systems for diagnosis. Further, we provide an overview of existing datasets, evaluation metrics for different[][15mm][0mm]Q5 tasks and patents issued. We also present key challenges and open problems in this research domain.
Collapse
|
7
|
Li Z, Yang L, Shu L, Yu Z, Huang J, Li J, Chen L, Hu S, Shu T, Yu G. Research on CT Lung Segmentation Method of Preschool Children based on Traditional Image Processing and ResUnet. COMPUTATIONAL AND MATHEMATICAL METHODS IN MEDICINE 2022; 2022:7321330. [PMID: 36262868 PMCID: PMC9576440 DOI: 10.1155/2022/7321330] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 07/11/2022] [Revised: 09/13/2022] [Accepted: 09/21/2022] [Indexed: 11/22/2022]
Abstract
Lung segmentation using computed tomography (CT) images is important for diagnosing various lung diseases. Currently, no lung segmentation method has been developed for assessing the CT images of preschool children, which may differ from those of adults due to (1) presence of artifacts caused by the shaking of children, (2) loss of a localized lung area due to a failure to hold their breath, and (3) a smaller CT chest area, compared with adults. To solve these unique problems, this study developed an automatic lung segmentation method by combining traditional imaging methods with ResUnet using the CT images of 60 children, aged 0-6 years. First, the CT images were cropped and zoomed through ecological operations to concentrate the segmentation task on the chest area. Then, a ResUnet model was used to improve the loss for lung segmentation, and case-based connected domain operations were performed to filter the segmentation results and improve segmentation accuracy. The proposed method demonstrated promising segmentation results on a test set of 12 cases, with average accuracy, Dice, precision, and recall of 0.9479, 0.9678, 0.9711, and 0.9715, respectively, which achieved the best performance relative to the other six models. This study shows that the proposed method can achieve good segmentation results in CT of preschool children, laying a good foundation for the diagnosis of children's lung diseases.
Collapse
Affiliation(s)
- Zheming Li
- Department of Data and Information, The Children's Hospital Zhejiang University School of Medicine, Hangzhou 310052, China
- Sino-Finland Joint AI Laboratory for Child Health of Zhejiang Province, Hangzhou 310052, China
- National Clinical Research Center for Child Health, Hangzhou 310052, China
- Polytechnic Institute, Zhejiang University, 866 Yuhangtang Rd, Hangzhou 310058, China
| | - Li Yang
- National Clinical Research Center for Child Health, Hangzhou 310052, China
- Department of Radiology, Children's Hospital, Zhejiang University School of Medicine, Hangzhou 310052, China
| | - Liqi Shu
- Department of Neurology, The Warren Alpert Medical School of Brown University, USA
| | - Zhuo Yu
- Huiying Medical Technology (Beijing), Beijing 100192, China
| | - Jian Huang
- Department of Data and Information, The Children's Hospital Zhejiang University School of Medicine, Hangzhou 310052, China
- Sino-Finland Joint AI Laboratory for Child Health of Zhejiang Province, Hangzhou 310052, China
- National Clinical Research Center for Child Health, Hangzhou 310052, China
| | - Jing Li
- Department of Data and Information, The Children's Hospital Zhejiang University School of Medicine, Hangzhou 310052, China
- Sino-Finland Joint AI Laboratory for Child Health of Zhejiang Province, Hangzhou 310052, China
- National Clinical Research Center for Child Health, Hangzhou 310052, China
| | - Lingdong Chen
- Department of Data and Information, The Children's Hospital Zhejiang University School of Medicine, Hangzhou 310052, China
- Sino-Finland Joint AI Laboratory for Child Health of Zhejiang Province, Hangzhou 310052, China
- National Clinical Research Center for Child Health, Hangzhou 310052, China
| | - Shasha Hu
- The Children's Hospital Zhejiang University School of Medicine, Hangzhou 310052, China
| | - Ting Shu
- National Institute of Hospital Administration, NHC, Beijing 100044, China
| | - Gang Yu
- Department of Data and Information, The Children's Hospital Zhejiang University School of Medicine, Hangzhou 310052, China
- Sino-Finland Joint AI Laboratory for Child Health of Zhejiang Province, Hangzhou 310052, China
- National Clinical Research Center for Child Health, Hangzhou 310052, China
- Polytechnic Institute, Zhejiang University, 866 Yuhangtang Rd, Hangzhou 310058, China
| |
Collapse
|
8
|
Singh A, Lall B, Panigrahi BK, Agrawal A, Agrawal A, Thangakunam B, Christopher DJ. Semantic segmentation of bone structures in chest X-rays including unhealthy radiographs: A robust and accurate approach. Int J Med Inform 2022; 165:104831. [PMID: 35870303 DOI: 10.1016/j.ijmedinf.2022.104831] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 04/30/2022] [Revised: 06/14/2022] [Accepted: 07/08/2022] [Indexed: 10/17/2022]
Abstract
The chest X-ray is a widely used medical imaging technique for the diagnosis of several lung diseases. Some nodules or other pathologies present in the lungs are difficult to visualize on chest X-rays because they are obscured byoverlying boneshadows. Segmentation of bone structures and suppressing them assist medical professionals in reliable diagnosis and organ morphometry. But segmentation of bone structures is challenging due to fuzzy boundaries of organs and inconsistent shape and size of organs due to health issues, age, and gender. The existing bone segmentation methods do not report their performance on abnormal chest X-rays, where it is even more critical to segment the bones. This work presents a robust encoder-decoder network for semantic segmentation of bone structures on normal as well as abnormal chest X-rays. The novelty here lies in combining techniques from two existing networks (Deeplabv3+ and U-net) to achieve robust and superior performance. The fully connected layers of the pre-trained ResNet50 network have been replaced by an Atrous spatial pyramid pooling block for improving the quality of the embedding in the encoder module. The decoder module includes four times upsampling blocks to connect both low-level and high-level features information enabling us to retain both the edges and detail information of the objects. At each level, the up-sampled decoder features are concatenated with the encoder features at a similar level and further fine-tuned to refine the segmentation output. We construct a diverse chest X-ray dataset with ground truth binary masks of anterior ribs, posterior ribs, and clavicle bone for experimentation. The dataset includes 100 samples of chest X-rays belonging to healthy and confirmed patients of lung diseases to maintain the diversity and test the robustness of our method. We test our method using multiple standard metrics and experimental results indicate an excellent performance on both normal and abnormal chest X-rays.
Collapse
Affiliation(s)
- Anushikha Singh
- Bharti School of Telecommunication Technology and Management, Indian Institute of Technology Delhi, New Delhi, India.
| | - Brejesh Lall
- Department of Electrical Engineering, Indian Institute of Technology Delhi, New Delhi, India.
| | - B K Panigrahi
- Department of Electrical Engineering, Indian Institute of Technology Delhi, New Delhi, India
| | - Anjali Agrawal
- Teleradiology Solutions, Civil Lines, Delhi 110054, India.
| | - Anurag Agrawal
- CSIR-Institute of Genomics and Integrative Biology, New Delhi 110025, India.
| | | | | |
Collapse
|
9
|
Liu W, Luo J, Yang Y, Wang W, Deng J, Yu L. Automatic lung segmentation in chest X-ray images using improved U-Net. Sci Rep 2022; 12:8649. [PMID: 35606509 PMCID: PMC9127108 DOI: 10.1038/s41598-022-12743-y] [Citation(s) in RCA: 15] [Impact Index Per Article: 5.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 08/24/2021] [Accepted: 05/16/2022] [Indexed: 11/08/2022] Open
Abstract
The automatic segmentation of the lung region for chest X-ray (CXR) can help doctors diagnose many lung diseases. However, extreme lung shape changes and fuzzy lung regions caused by serious lung diseases may incorrectly make the automatic lung segmentation model. We improved the U-Net network by using the pre-training Efficientnet-b4 as the encoder and the Residual block and the LeakyReLU activation function in the decoder. The network can extract Lung field features efficiently and avoid the gradient instability caused by the multiplication effect in gradient backpropagation. Compared with the traditional U-Net model, our method improves about 2.5% dice coefficient and 6% Jaccard Index for the two benchmark lung segmentation datasets. Our model improves about 5% dice coefficient and 9% Jaccard Index for the private lung segmentation datasets compared with the traditional U-Net model. Comparative experiments show that our method can improve the accuracy of lung segmentation of CXR images and it has a lower standard deviation and good robustness.
Collapse
Affiliation(s)
- Wufeng Liu
- Henan University of Technology, Zhengzhou, 450001, China.
| | - Jiaxin Luo
- Henan University of Technology, Zhengzhou, 450001, China
| | - Yan Yang
- Henan University of Technology, Zhengzhou, 450001, China
| | - Wenlian Wang
- Nanyang Central Hospital, Nanyang, 473009, China
| | - Junkui Deng
- Nanyang Central Hospital, Nanyang, 473009, China
| | - Liang Yu
- Henan University of Technology, Zhengzhou, 450001, China
| |
Collapse
|