{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,21]],"date-time":"2026-10-21T14:26:59Z","timestamp":1792592819930,"version":"4.5.0"},"reference-count":41,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,4,16]],"date-time":"2025-04-16T00:00:00Z","timestamp":1744761600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Artif. Intell."],"abstract":"<jats:sec><jats:title>Introduction<\/jats:title><jats:p>Accurate segmentation of anatomical structures in chest X-ray images remains challenging, especially for regions with low contrast and overlapping structures. This limitation significantly affects the diagnosis of cardiothoracic diseases. Existing deep learning methods often struggle with preserving structural boundaries, leading to segmentation artifacts.<\/jats:p><\/jats:sec><jats:sec><jats:title>Methods<\/jats:title><jats:p>To address these challenges, I propose a novel segmentation approach that integrates contour detection techniques with the U-net deep learning architecture. Specifically, the method employs Sobel and Scharr edge detection filters to enhance structural boundaries in chest X-ray images before segmentation. The pipeline involves pre-processing using contour detection, followed by segmentation with a U-net model trained to identify lungs, heart, and clavicles.<\/jats:p><\/jats:sec><jats:sec><jats:title>Results<\/jats:title><jats:p>Experimental evaluation demonstrated that using edge-enhancing filters, particularly the Sobel operator, leads to a marked improvement in segmentation accuracy. For lung segmentation, the model achieved an accuracy of 99.26%, a Dice coefficient of 98.88%, and a Jaccard index of 97.54%. Heart segmentation results included 99.47% accuracy and 94.14% Jaccard index, while clavicle segmentation reached 99.79% accuracy and 89.57% Jaccard index. These results consistently outperform the baseline U-net model without edge enhancement.<\/jats:p><\/jats:sec><jats:sec><jats:title>Discussion<\/jats:title><jats:p>The integration of contour detection methods with the U-net model significantly improves the segmentation quality of complex anatomical regions in chest X-rays. Among the tested filters, the Sobel operator proved to be the most effective in enhancing boundary information and reducing segmentation artifacts. This approach offers a promising direction for more accurate and robust computer-aided diagnosis systems in radiology.<\/jats:p><\/jats:sec>","DOI":"10.3389\/frai.2025.1522730","type":"journal-article","created":{"date-parts":[[2025,4,16]],"date-time":"2025-04-16T05:28:16Z","timestamp":1744781296000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":15,"title":["Approach for enhancing the accuracy of semantic segmentation of chest X-ray images by edge detection and deep learning integration"],"prefix":"10.3389","volume":"8","author":[{"given":"Lesia","family":"Mochurad","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2025,4,16]]},"reference":[{"key":"ref1","doi-asserted-by":"publisher","first-page":"108464","DOI":"10.1016\/j.cmpb.2024.108464","article-title":"Multi-scale dual-channel feature embedding decoder for biomedical image segmentation","volume":"257","author":"Agarwal","year":"2024","journal-title":"Comput. Methods Prog. Biomed."},{"key":"ref2","doi-asserted-by":"publisher","first-page":"106325","DOI":"10.1016\/j.bspc.2024.106325","article-title":"Synthesis of convolutional neural network architectures for biomedical image classification","volume":"95","author":"Berezsky","year":"2024","journal-title":"Biomed. Signal Process. Control"},{"key":"ref3","doi-asserted-by":"publisher","first-page":"1059","DOI":"10.1016\/j.aej.2019.12.013","article-title":"Polynomial decay rate for a new class of viscoelastic Kirchhoff equation related with Balakrishnan-Taylor dissipation and logarithmic source terms","volume":"59","author":"Boulaaras","year":"2020","journal-title":"Alex. Eng. J."},{"key":"ref4","doi-asserted-by":"crossref","first-page":"519","DOI":"10.1007\/978-3-031-43898-1_50","article-title":"Joint dense-point representation for contour-aware graph segmentation","volume-title":"Medical image computing and computer assisted intervention \u2013 MICCAI 2023","author":"Bransby","year":"2023"},{"key":"ref5","doi-asserted-by":"publisher","first-page":"299","DOI":"10.46649\/fjiece.v3.2.20a.29.5.2024","article-title":"Segmentation and classification of medical images using artificial intelligence: a review","volume":"3","author":"Breesam","year":"2024","journal-title":"Al-Furat J. Innov. Electr. Comput. Eng."},{"key":"ref6","doi-asserted-by":"publisher","first-page":"105","DOI":"10.3390\/technologies10050105","article-title":"Deep neural network for lung image segmentation on chest X-Ray","volume":"10","author":"Chavan","year":"2022","journal-title":"Technologies"},{"key":"ref7","doi-asserted-by":"publisher","first-page":"53","DOI":"10.3390\/computation13020053","article-title":"Artificial intelligence applications in public health","volume":"13","author":"Chumachenko","year":"2025","journal-title":"Computation"},{"key":"ref8","author":"Costa","year":"2021"},{"key":"ref9","doi-asserted-by":"publisher","first-page":"1342","DOI":"10.1038\/s41591-018-0107-6","article-title":"Clinically applicable deep learning for diagnosis and referral in retinal disease","volume":"24","author":"De Fauw","year":"2018","journal-title":"Nat. Med."},{"key":"ref10","doi-asserted-by":"publisher","first-page":"546","DOI":"10.1109\/TMI.2022.3224660","article-title":"Improving anatomical plausibility in medical image segmentation via hybrid graph neural networks: applications to chest X-Ray analysis","volume":"42","author":"Gaggion","year":"","journal-title":"IEEE Trans. Med. Imaging"},{"key":"ref11","first-page":"1","article-title":"Multi-center anatomical segmentation with heterogeneous labels via landmark-based models","volume-title":"In","author":"Gaggion","year":""},{"key":"ref12","doi-asserted-by":"publisher","first-page":"2398","DOI":"10.3390\/app13042398","article-title":"Multiclass segmentation of concrete surface damages using U-net and DeepLabV3+","volume":"13","author":"Hadinata","year":"2023","journal-title":"Appl. Sci."},{"key":"ref13","doi-asserted-by":"publisher","first-page":"102204","DOI":"10.1016\/j.jksuci.2024.102204","article-title":"Real-time segmentation and classification of whole-slide images for tumor biomarker scoring","volume":"36","author":"Hasan","year":"2024","journal-title":"J. King Saud Univ. Comput. Inform. Sci."},{"key":"ref14","doi-asserted-by":"publisher","first-page":"e084311","DOI":"10.1136\/bmjopen-2024-084311","article-title":"Early prediction of long COVID-19 syndrome persistence at 12 months after hospitalisation: a prospective observational study from Ukraine","volume":"15","author":"Honchar","year":"2025","journal-title":"BMJ Open"},{"key":"ref15","doi-asserted-by":"publisher","first-page":"988","DOI":"10.3390\/jpm12060988","article-title":"CardioNet: automatic semantic segmentation to calculate the cardiothoracic ratio for cardiomegaly and other chest diseases","volume":"12","author":"Jafar","year":"2022","journal-title":"J. Pers. Med."},{"key":"ref16","year":"2024"},{"key":"ref17","doi-asserted-by":"publisher","first-page":"1567","DOI":"10.3390\/e25121567","article-title":"Small stochastic data compactification concept justified in the entropy basis","volume":"25","author":"Kovtun","year":"2023","journal-title":"Entropy"},{"key":"ref18","doi-asserted-by":"publisher","first-page":"161","DOI":"10.3991\/ijoe.v18i07.30807","article-title":"U-net based chest X-Ray segmentation with ensemble classification for Covid-19 and pneumonia","volume":"18","author":"Kumarasinghe","year":"2022","journal-title":"Int. J. Online Biomed. Eng."},{"key":"ref19","doi-asserted-by":"publisher","first-page":"60","DOI":"10.1016\/j.media.2017.07.005","article-title":"A survey on deep learning in medical image analysis","volume":"42","author":"Litjens","year":"2017","journal-title":"Med. Image Anal."},{"key":"ref20","doi-asserted-by":"publisher","first-page":"8649","DOI":"10.1038\/s41598-022-12743-y","article-title":"Automatic lung segmentation in chest X-Ray images using improved U-net","volume":"12","author":"Liu","year":"2022","journal-title":"Sci. Rep."},{"key":"ref21","doi-asserted-by":"publisher","first-page":"012015","DOI":"10.1088\/1742-6596\/1769\/1\/012015","article-title":"RU-net for heart segmentation from CXR","volume":"1769","author":"Lyu","year":"2021","journal-title":"J. Phys. Conf. Ser."},{"key":"ref22","doi-asserted-by":"publisher","first-page":"654","DOI":"10.1038\/s41467-024-44824-z","article-title":"Segment anything in medical images","volume":"15","author":"Ma","year":"2024","journal-title":"Nat. Commun."},{"key":"ref23","doi-asserted-by":"crossref","DOI":"10.21203\/rs.3.rs-365278\/v1","volume-title":"Multi-path aggregation U-net for lung segmentation in chest radiographs","author":"Ma","year":"2021"},{"key":"ref24","doi-asserted-by":"publisher","first-page":"109319","DOI":"10.1016\/j.asoc.2022.109319","article-title":"Chest X-Ray analysis empowered with deep learning: a systematic review","volume":"126","author":"Meedeniya","year":"2022","journal-title":"Appl. Soft Comput."},{"key":"ref25","first-page":"269","article-title":"Classification of X-Ray images of the chest using convolutional neural networks","author":"Mochurad","year":"2021"},{"key":"ref26","first-page":"1509","article-title":"Parallel algorithms assessment usage of Image\u2019s segmentation quality in medicine","author":"Mochurad","year":"2022"},{"key":"ref27","doi-asserted-by":"publisher","first-page":"12","DOI":"10.1186\/s12880-020-00543-7","article-title":"MIScnn: a framework for medical image segmentation with convolutional neural networks and deep learning","volume":"21","author":"M\u00fcller","year":"2021","journal-title":"BMC Med. Imaging"},{"key":"ref28","doi-asserted-by":"crossref","first-page":"327","DOI":"10.1109\/CyMaEn57228.2023.10050951","article-title":"CXLSeg dataset: chest X-Ray with lung segmentation","volume-title":"2023 international conference on cyber management and engineering (CyMaEn)","author":"Nimalsiri","year":"2023"},{"key":"ref29","doi-asserted-by":"publisher","first-page":"99045","DOI":"10.1109\/ACCESS.2024.3429332","article-title":"Compliance source authentication technique for person adaptation networks utilizing deep learning-based patterns segmentation","volume":"12","author":"Oliinyk","year":"2024","journal-title":"IEEE Access"},{"key":"ref30","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1080\/09507116.2024.2378818","article-title":"Edge detection in X-Ray images of Drill mast welds based on an improved Scharr operator","volume":"38","author":"Qian","year":"2024","journal-title":"Welding Int."},{"key":"ref31","year":""},{"key":"ref32","doi-asserted-by":"publisher","first-page":"101504","DOI":"10.1016\/j.imu.2024.101504","article-title":"Deep learning for medical image segmentation: state-of-the-art advancements and challenges","volume":"47","author":"Rayed","year":"2024","journal-title":"Inform. Med. Unlocked"},{"key":"ref33","doi-asserted-by":"publisher","DOI":"10.48550\/ARXIV.1505.04597","article-title":"U-net: convolutional networks for biomedical image segmentation","author":"Ronneberger","year":"2015","journal-title":"arXiv [Preprint]"},{"key":"ref34","article-title":"Adaptive thresholding: a comparative study","volume-title":"In","author":"Roy","year":"2014"},{"key":"ref35","author":"Shamir","year":"2019"},{"key":"ref36","doi-asserted-by":"publisher","first-page":"938","DOI":"10.3390\/healthcare9080938","article-title":"Loss weightings for improving imbalanced brain structure segmentation using fully convolutional networks","volume":"9","author":"Sugino","year":"2021","journal-title":"Healthcare"},{"key":"ref37","doi-asserted-by":"publisher","first-page":"791","DOI":"10.1038\/s41598-023-27815-w","article-title":"A deep learning based dual encoder\u2013decoder framework for anatomical structure segmentation in chest X-Ray images","volume":"13","author":"Ullah","year":"2023","journal-title":"Sci. Rep."},{"key":"ref38","author":"van Ginneken","year":"2024"},{"key":"ref39","doi-asserted-by":"crossref","first-page":"441","DOI":"10.1109\/CBMS.2019.00092","article-title":"Instance segmentation of anatomical structures in chest radiographs","volume-title":"2019 IEEE 32nd international symposium on computer-based medical systems (CBMS)","author":"Wang","year":"2019"},{"key":"ref40","doi-asserted-by":"publisher","first-page":"1183","DOI":"10.3390\/mi12101183","article-title":"A high-precision implementation of the sigmoid activation function for computing-in-memory architecture","volume":"12","author":"Xu","year":"2021","journal-title":"Micromachines"},{"key":"ref41","doi-asserted-by":"publisher","first-page":"3","DOI":"10.26636\/jtit.2022.155721","article-title":"Enhancing moon crescent visibility using contrast-limited adaptive histogram equalization and bilateral filtering techniques","volume":"1","author":"Yussof","year":"2022","journal-title":"J. Telecommun. Inform. Technol."}],"container-title":["Frontiers in Artificial Intelligence"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1522730\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,4,16]],"date-time":"2025-04-16T05:28:18Z","timestamp":1744781298000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1522730\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,4,16]]},"references-count":41,"alternative-id":["10.3389\/frai.2025.1522730"],"URL":"https:\/\/doi.org\/10.3389\/frai.2025.1522730","relation":{},"ISSN":["2624-8212"],"issn-type":[{"value":"2624-8212","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,4,16]]},"article-number":"1522730"}}