Semi-Automated Lung Segmentation Based on Region-Growing Methods in Interstitial Lung Disease
Abstract
1. Introduction
2. Materials and Methods
2.1. Region-Growing Technique Overview
- Seed Selection: The user selects one or more seed points within the region of interest (e.g., lung parenchyma).
- Growth Criteria: A homogeneity criterion (e.g., intensity difference threshold) determines whether adjacent voxels belong to the same region.
- Region Expansion: At each iteration, the algorithm includes neighboring voxels that meet the similarity condition until no more voxels satisfy the growth criteria.
- Post-Processing: Morphological operations (e.g., hole filling, smoothing, and edge refinement) are applied to improve segmentation quality.
2.2. Methodology
- Ground-glass opacities are areas of increased opacity that can indicate inflammation or early fibrosis. They appear hazy on the CT scan but still allow the underlying structures to be seen [16].
- Honeycombing is a classic sign of advanced fibrosis, characterized by clustered cystic spaces with thickened walls, often at the periphery of the lungs. It resembles the appearance of a honeycomb and is a sign of significant scarring and lung damage [16].
- Traction bronchiectasis refers to the dilation of the bronchi (airways) due to the pulling force of the fibrotic tissue. It is often seen in combination with honeycombing and reticular patterns [16].
- Preprocessing:
- -
- Apply noise reduction filters such as Gaussian or median filtering.
- -
- Normalize image intensities to enhance contrast.
- Seed-Point Selection:
- -
- The user manually selects a seed point inside the trachea.
- -
- Automatic seeding can be integrated using heuristic rules (e.g., selecting low-intensity regions within the thoracic cavity).
- Region-Growing:
- -
- A similarity threshold T for the lung parenchyma and the air regions is established.
- -
- We define an “embeddedness” filter that detects if a voxel of any intensity is embedded into lung intensities (parenchyma or air).
- -
- The algorithm performs a BFS (breadth-first search) starting from the seed points and expands the region until boundary conditions are met and the “embeddedness” filter can no longer select voxels.
- Morphological Refinement:
- -
- Apply morphological closing to remove small holes.
- -
- Optionally, exclude airways or trachea using shape filters.
- Histogram computation and visualization.
3. Results
Code Snippets
4. Discussion
4.1. Limitations
4.2. Future Work
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- LeLederer, D.J.; Martinez, F.J. Idiopathic pulmonary fibrosis. New Engl. J. Med. 2018, 378, 1811–1823. [Google Scholar] [CrossRef]
- Cottin, V.; Hirani, N.A.; Hotchkin, D.L.; Nambiar, A.M.; Ogura, T.; Otaola, M.; Skowasch, D.; Park, J.S.; Poonyagariyagorn, H.K.; Wuyts, W.; et al. Presentation, diagnosis and clinical course of the spectrum of progressive-fibrosing interstitial lung diseases. Eur. Respir. Rev. 2018, 27, 180076. [Google Scholar] [CrossRef]
- Raghu, G.; Collard, H.R.; Egan, J.J.; Martinez, F.J.; Behr, J.; Brown, K.K.; Colby, T.V.; Cordier, J.-F.; Flaherty, K.R.; Lasky, J.A.; et al. An official ATS/ERS/JRS/ALAT statement: Idiopathic pulmonary fibrosis: Evidence-based guidelines for diagnosis and management. Am. J. Respir. Crit. Care Med. 2011, 183, 788–824. [Google Scholar] [CrossRef]
- Althobiani, M.A.; Russell, A.M.; Jacob, J.; Ranjan, Y.; Folarin, A.A.; Hurst, J.R.; Porter, J.C. Interstitial lung disease: A review of classification, etiology, epidemiology, clinical diagnosis, pharmacological and non-pharmacological treatment. Front. Med. 2024, 11, 1296890. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Drimus, J.C.; Duma, R.C.; Trăilă, D.; Mogoșan, C.D.; Manolescu, D.L.; Fira-Mladinescu, O. High-Resolution CT Findings in Interstitial Lung Disease Associated with Connective Tissue Diseases: Differentiating Patterns for Clinical Practice-A Systematic Review with Meta-Analysis. J. Clin. Med. 2025, 14, 6164. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Huidrom, R.; Chanu, Y.J.; Singh, K.M. Automated Lung Segmentation on Computed Tomography Image for the Diagnosis of Lung Cancer. Comput. Sist. 2018, 22, 907–915. [Google Scholar] [CrossRef]
- Sluimer, I.C.; Niemeijer, M.; van Ginneken, B. Lung field segmentation from thin-slice CT scans in presence of severe pathology. In Proceedings Volume 5370, Medical Imaging 2004: Image Processing; SPIE: St. Bellingham, WA, USA, 2004. [Google Scholar] [CrossRef]
- Mansoor, A.; Bagci, U.; Foster, B.; Xu, Z.; Papadakis, G.Z.; Folio, L.R.; Udupa, J.K.; Mollura, D.J. Segmentation and Image Analysis of Abnormal Lungs at CT: Current Approaches, Challenges, and Future Trends. RadioGraphics 2015, 35, 1056–1076. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Park, B.; Park, H.; Lee, S.M.; Seo, J.B.; Kim, N. Lung Segmentation on HRCT and Volumetric CT for Diffuse Interstitial Lung Disease Using Deep Convolutional Neural Networks. J. Digit. Imaging 2019, 32, 1019–1026. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Yoo, S.J.; Yoon, S.H.; Lee, J.H.; Kim, K.H.; Choi, H.I.; Park, S.J.; Goo, J.M. Automated Lung Segmentation on Chest Computed Tomography Images with Extensive Lung Parenchymal Abnormalities Using a Deep Neural Network. Korean J. Radiol. 2021, 22, 476–488. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Trusculescu, A.A.; Manolescu, D.; Tudorache, E.; Oancea, C. Deep learning in interstitial lung disease-how long until daily practice. Eur. Radiol. 2020, 30, 6285–6292. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Rios Velazquez, E.; Aerts, H.J.; Gu, Y.; Goldgof, D.B.; De Ruysscher, D.; Dekker, A.; Korn, R.; Gillies, R.J.; Lambin, P. A semiautomatic CT-based ensemble segmentation of lung tumors: Comparison with oncologists’ delineations and with the surgical specimen. Radiother. Oncol. 2012, 105, 167–173. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Velazquez, E.R.; Parmar, C.; Jermoumi, M.; Mak, R.H.; van Baardwijk, A.; Fennessy, F.M.; Lewis, J.H.; De Ruysscher, D.; Kikinis, R.; Lambin, P.; et al. Volumetric CT-based segmentation of NSCLC using 3D-Slicer. Sci. Rep. 2013, 3, 3529. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Mansoor, A.; Bagci, U.; Xu, Z.; Foster, B.; Olivier, K.N.; Elinoff, J.M.; Suffredini, A.F.; Udupa, J.K.; Mollura, D.J. A generic approach to pathological lung segmentation. IEEE Trans. Med. Imaging 2014, 33, 2293–2310, Erratum in IEEE Trans. Med. Imaging 2015, 34, 354. https://doi.org/10.1109/TMI.2014.2384693. PMID: 25020069; PMCID: PMC5542015. [Google Scholar] [CrossRef]
- De Nunzio, G.; Tommasi, E.; Agrusti, A.; Cataldo, R.; De Mitri, I.; Favetta, M.; Maglio, S.; Massafra, A.; Quarta, M.; Torsello, M.; et al. Automatic lung segmentation in CT images with accurate handling of the hilar region. J. Digit. Imaging 2009, 24, 11–27. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Hansell, D.M.; Bankier, A.A.; MacMahon, H.; McLoud, T.C.; Müller, N.L.; Remy, J. Fleischner Society: Glossary of terms for thoracic imaging. Radiology 2008, 246, 697–722. [Google Scholar] [CrossRef] [PubMed]
- Hochhegger, B.; Marchiori, E.; Zanon, M.; Rubin, A.S.; Fragomeni, R.; Altmayer, S.; Carvalho, C.R.R.; Baldi, B.G. Imaging in idiopathic pulmonary fibrosis: Diagnosis and mimics. Clinics 2019, 74, e225. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Souza, C.A.; Müller, N.L.; Flint, J.; Wright, J.L.; Churg, A. Idiopathic pulmonary fibrosis: Spectrum of high-resolution CT findings. Am. J. Roentgenol. 2005, 185, 1531–1539. [Google Scholar] [CrossRef] [PubMed]
- Fedorov, A.; Beichel, R.; Kalpathy-Cramer, J.; Finet, J.; Fillion-Robin, J.-C.; Pujol, S.; Bauer, C.; Jennings, D.; Fennessy, F.; Sonka, M.; et al. 3D Slicer as an Image Computing Platform for the Quantitative Imaging Network. Magn. Reson. Imaging 2012, 30, 1323–1341. [Google Scholar] [CrossRef] [PubMed]
- Lung CT Analyzer—3D Slicer Extension. Available online: https://github.com/Slicer/SlicerLungCTAnalyzer (accessed on 2 January 2026).
- Wasserthal, J.; Breit, H.-C.; Meyer, M.T.; Pradella, M.; Hinck, D.; Sauter, A.W.; Heye, T.; Boll, D.T.; Cyriac, J.; Yang, S.; et al. TotalSegmentator: Robust Segmentation of 104 Anatomic Structures in CT Images. Radiol. Artif. Intell. 2023, 5, e230024. [Google Scholar] [CrossRef] [PubMed]
- Dumitrescu, C.I.; Ciobirca, C.; Popa, R.T.; Dumitrescu, D.; Tambura, C.G.; Ciobirca, D.M.; Stavaru, R.; Tiuca, M.F.; Maces, S.; Barbulescu, L.F.; et al. Preoperative Planning for Superior Mesenteric Artery Aneurysm. Appl. Sci. 2021, 11, 10311. [Google Scholar] [CrossRef]
- Ciobirca, C.; Gruionu, G.; Lango, T.; Leira, H.; Gruionu, L.; Amundsen, T.; Nutu, E.; Pastrama, S. An algorithm to obtain a theoretical model of the bronchial tree. Mater. Today Proc. 2017, 4, 5761–5766. [Google Scholar] [CrossRef]
- Kemerink, G.J.; Lamers, R.J.; Pellis, B.J.; Kruize, H.H.; van Engelshoven, J.M. On segmentation of lung parenchyma in quantitative computed tomography of the lung. Med. Phys. 1998, 25, 2432–2439. [Google Scholar] [CrossRef] [PubMed]
- Xu, M.; Qi, S.; Yue, Y.; Teng, Y.; Xu, L.; Yao, Y.; Qian, W. Segmentation of lung parenchyma in CT images using CNN trained with the clustering algorithm generated dataset. Biomed. Eng. Online 2019, 18, 2. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Palmucci, S.; Tiralongo, F.; Galioto, F.; Toscano, S.; Reali, L.; Scavone, C.; Fazio, G.; Ferlito, A.; Sambataro, G.; Vancheri, A.; et al. Histogram-based analysis in progressive pulmonary fibrosis: Relationships between pulmonary functional tests and HRCT indexes. Br. J. Radiol. 2023, 96, 20221160. [Google Scholar] [CrossRef]
- Best, A.C.; Lynch, A.M.; Bozic, C.M.; Miller, D.; Grunwald, G.K.; Lynch, D.A. Quantitative CT indexes in idiopathic pulmonary fibrosis: Relationship with physiologic impairment. Radiology 2003, 228, 407–414. [Google Scholar] [CrossRef]
- Taee, E.J. Developing a 3D Segmentation Technique by a Region-Growing Algorithm of CT Scan Lung Images. Rev. Intell. Artif. 2024, 38, 1327–1333. [Google Scholar] [CrossRef]
- Wang, M.; Li, D. An Automatic Segmentation Method for Lung Tumor Based on Improved Region Growing Algorithm. Diagnostics 2022, 12, 2971. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Bartholmai, B.J.; Raghunath, S.; Karwoski, R.A.; Moua, T.; Rajagopalan, S.; Maldonado, F.; Decker, P.A.; Robb, R.A. Quantitative computed tomography imaging of interstitial lung diseases. J. Thorac. Imaging 2013, 28, 298–307. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Lynch, D.A. Functional imaging of COPD by CT and MRI. Br. J. Radiol. 2021, 95, 20201005. [Google Scholar] [CrossRef] [PubMed]
- Sousa, C.; Rodrigues, M.; Carvalho, A.; Viamonte, B.; Cunha, R.; Guimarães, S.; de Moura, C.S.; Morais, A.; Pereira, J.M. Diffuse smoking-related lung diseases: Insights from a radiologic-pathologic correlation. Insights Imaging 2019, 10, 73. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]















| Dataset | Slicer Segmentation Method | Dice Score |
|---|---|---|
| Theoretical lungs model | Lung CT Segmenter—TotalSegmentator lung extended | |
| Patient 1 (healthy lungs) | Lung CT Segmenter—TotalSegmentator lung extended | 0.9699 |
| Patient 2 (fibrosis) | Lung CT Segmenter—TotalSegmentator lung extended | 0.9579 |
| Patient 3 (fibrosis, emphysema) | Lung CT Segmenter—TotalSegmentator lung extended | 0.9795 |
| Patient 4 (emphysema) | Lung CT Segmenter—TotalSegmentator lung extended | 0.9738 |
| Dataset | Voxels (Count) | Voxels (Size—mm) | Segmentation Duration (Milliseconds) |
|---|---|---|---|
| Theoretical lungs model | 512 × 512 × 512 | 0.5 × 0.5 × 0.5 | 5227 |
| Patient 1 (healthy lungs) | 781 × 512 × 373 | 0.5 × 0.5 × 1 | 58,696 |
| Patient 2 (fibrosis) | 640 × 512 × 370 | 0.6 × 0.6 × 1 | 38,113 |
| Patient 3 (fibrosis, emphysema) | 709 × 512 × 433 | 0.47 × 0.47 × 0.8 | 115,302 |
| Patient 4 (emphysema) | 621 × 512 × 498 | 0.6 × 0.6 × 0.8 | 54,926 |
| Dataset | Kernel | SliceThickness | Manufacturer | Model |
|---|---|---|---|---|
| Theoretical lungs model | ||||
| Patient 1 (healthy lungs) | Br60 | 1.5 | Siemens Healthineers | SOMATOM go.Top |
| Patient 2 (fibrosis) | Br60 | 1 | Siemens Healthineers | SOMATOM go.Top |
| Patient 3 (fibrosis, emphysema) | Br60 | 1 | Siemens Healthineers | SOMATOM go.Top |
| Patient 4 (emphysema) | Br60 | 1 | Siemens Healthineers | SOMATOM go.Top |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Moraru, M.-C.; Dumitrescu, C.-I.; Măceș, S.; Ciobîrcă, C.; Popescu, M.; Lascu, L.C.; Alexandru, D.-O.; Trască, D.-M.; Ciobîrcă, D.M.; Bălan, M.-R.; et al. Semi-Automated Lung Segmentation Based on Region-Growing Methods in Interstitial Lung Disease. J. Clin. Med. 2026, 15, 1339. https://doi.org/10.3390/jcm15041339
Moraru M-C, Dumitrescu C-I, Măceș S, Ciobîrcă C, Popescu M, Lascu LC, Alexandru D-O, Trască D-M, Ciobîrcă DM, Bălan M-R, et al. Semi-Automated Lung Segmentation Based on Region-Growing Methods in Interstitial Lung Disease. Journal of Clinical Medicine. 2026; 15(4):1339. https://doi.org/10.3390/jcm15041339
Chicago/Turabian StyleMoraru, Mădălin-Cristian, Cristiana-Iulia Dumitrescu, Suzana Măceș, Cătălin Ciobîrcă, Mihai Popescu, Luana Corina Lascu, Dragoș-Ovidiu Alexandru, Diana-Maria Trască, Diana Maria Ciobîrcă, Marian-Răzvan Bălan, and et al. 2026. "Semi-Automated Lung Segmentation Based on Region-Growing Methods in Interstitial Lung Disease" Journal of Clinical Medicine 15, no. 4: 1339. https://doi.org/10.3390/jcm15041339
APA StyleMoraru, M.-C., Dumitrescu, C.-I., Măceș, S., Ciobîrcă, C., Popescu, M., Lascu, L. C., Alexandru, D.-O., Trască, D.-M., Ciobîrcă, D. M., Bălan, M.-R., Tica, O. S., Popa, R. T., & Dumitrescu, D. (2026). Semi-Automated Lung Segmentation Based on Region-Growing Methods in Interstitial Lung Disease. Journal of Clinical Medicine, 15(4), 1339. https://doi.org/10.3390/jcm15041339

