Meltem Kurt Pehlivanoğlu, Nur Banu Albayrak, Deniz Karhan, İhsan Doğan
{"title":"Towards Robust Brain Midline Shift Detection: A YOLO-Based 3D Slicer Extension with a Novel Dataset.","authors":"Meltem Kurt Pehlivanoğlu, Nur Banu Albayrak, Deniz Karhan, İhsan Doğan","doi":"10.1007/s12021-025-09748-z","DOIUrl":null,"url":null,"abstract":"<p><p>Accurate detection of brain midline shift is critical for the diagnosis and monitoring of neurological conditions such as traumatic brain injuries, strokes, and tumors. This study aims to address the lack of dedicated datasets and tools for this task by introducing a novel dataset and a 3D Slicer extension, evaluating the effectiveness of multiple deep learning models for automatic detection of brain midline shift. We introduce the brain-midline-detection dataset, specifically designed for identifying three brain landmarks-Anterior Falx (AF), Posterior Falx (PF), and Septum Pellucidum (SP)-in MRI scans. A comprehensive performance evaluation was conducted using deep learning models including YOLOv5 (n, s, m, l), YOLOv8, and YOLOv9 (GELAN-C model). The best-performing model was integrated into the 3D Slicer platform as a custom extension, incorporating steps such as MRI preprocessing, filtering, skull stripping, registration, and midline shift computation. Among the evaluated models, YOLOv5l achieved the highest precision (0.9601) and recall (0.9489), while YOLOv5m delivered the best mAP@0.5:0.95 score (0.6087). YOLOv5n and YOLOv5s exhibited the lowest loss values, indicating high efficiency. Although YOLOv8s achieved a higher mAP@0.5:0.95 score (0.6382), its high loss values reduced its practical effectiveness. YOLOv9-GELAN-C performed the worst, with the highest losses and lowest overall accuracy. YOLOv5m was selected as the optimal model due to its balanced performance and was successfully integrated into 3D Slicer as an extension for automated midline shift detection. By offering a new annotated dataset, a validated detection pipeline, and open-source tools, this study contributes to more accurate, efficient, and accessible AI-assisted medical imaging for brain midline assessment.</p>","PeriodicalId":49761,"journal":{"name":"Neuroinformatics","volume":"23 4","pages":"50"},"PeriodicalIF":3.1000,"publicationDate":"2025-10-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neuroinformatics","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1007/s12021-025-09748-z","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate detection of brain midline shift is critical for the diagnosis and monitoring of neurological conditions such as traumatic brain injuries, strokes, and tumors. This study aims to address the lack of dedicated datasets and tools for this task by introducing a novel dataset and a 3D Slicer extension, evaluating the effectiveness of multiple deep learning models for automatic detection of brain midline shift. We introduce the brain-midline-detection dataset, specifically designed for identifying three brain landmarks-Anterior Falx (AF), Posterior Falx (PF), and Septum Pellucidum (SP)-in MRI scans. A comprehensive performance evaluation was conducted using deep learning models including YOLOv5 (n, s, m, l), YOLOv8, and YOLOv9 (GELAN-C model). The best-performing model was integrated into the 3D Slicer platform as a custom extension, incorporating steps such as MRI preprocessing, filtering, skull stripping, registration, and midline shift computation. Among the evaluated models, YOLOv5l achieved the highest precision (0.9601) and recall (0.9489), while YOLOv5m delivered the best mAP@0.5:0.95 score (0.6087). YOLOv5n and YOLOv5s exhibited the lowest loss values, indicating high efficiency. Although YOLOv8s achieved a higher mAP@0.5:0.95 score (0.6382), its high loss values reduced its practical effectiveness. YOLOv9-GELAN-C performed the worst, with the highest losses and lowest overall accuracy. YOLOv5m was selected as the optimal model due to its balanced performance and was successfully integrated into 3D Slicer as an extension for automated midline shift detection. By offering a new annotated dataset, a validated detection pipeline, and open-source tools, this study contributes to more accurate, efficient, and accessible AI-assisted medical imaging for brain midline assessment.
期刊介绍:
Neuroinformatics publishes original articles and reviews with an emphasis on data structure and software tools related to analysis, modeling, integration, and sharing in all areas of neuroscience research. The editors particularly invite contributions on: (1) Theory and methodology, including discussions on ontologies, modeling approaches, database design, and meta-analyses; (2) Descriptions of developed databases and software tools, and of the methods for their distribution; (3) Relevant experimental results, such as reports accompanie by the release of massive data sets; (4) Computational simulations of models integrating and organizing complex data; and (5) Neuroengineering approaches, including hardware, robotics, and information theory studies.