Brain Tumor Detection and Segmentation Using YOLO11 and SAM2

Authors

DOI:

https://doi.org/10.54361/ajmas.261154

Keywords:

Brain Tumor, Magnetic Resonance Imaging; YOLO11, SAM2, Object Detection, Medical Image

Abstract

Accurate delineation of brain tumors in magnetic resonance imaging (MRI) is important for diagnosis, treatment planning, and longitudinal assessment. Manual interpretation and segmentation are time-consuming and may vary between observers. This study evaluates an integrated deep learning framework that combines YOLO11-s for tumor localization with the Segment Anything Model 2 (SAM2) for prompt-guided pixel-level segmentation. The framework uses multimodal MRI information from T1-weighted, T2-weighted, and fluid-attenuated inversion recovery (FLAIR) sequences. It was trained and evaluated on a processed subset of the BraTS 2023 dataset and subsequently assessed using clinical MRI data collected from Zliten Medical Center and Misurata Medical Center in Libya. Five YOLO11 variants were compared under a common training configuration. YOLO11-s provided the strongest overall balance of detection performance and inference time, achieving 96.10% precision, 97.06% recall, an F1-score of 96.58%, and mAP@0.5 of 95.01% on the BraTS 2023 test set. Its inference time was 11.88 ms per image. Bounding boxes predicted by YOLO11-s were passed to SAM2 without task-specific fine-tuning. The integrated framework achieved a mean Dice coefficient of 0.7190 and mean intersection over union (IoU) of 0.6267 on 433 test images. On the external hospital evaluation subset, detection mAP@0.5 was 93.50%, while segmentation achieved a mean Dice of 0.6855 and mean IoU of 0.5718 on 26 images. These results indicate that detector-guided SAM2 segmentation is a promising modular approach, although the decrease in stricter localization and segmentation metrics highlights the need for broader clinical validation.

Downloads

Published

2026-11-26

How to Cite

1.
Algaet M, Salima Hindi. Brain Tumor Detection and Segmentation Using YOLO11 and SAM2. Alq J Med App Sci [Internet]. 2026 Nov. 26 [cited 2026 Nov. 26];:3953-6. Available from: https://journal.utripoli.edu.ly/index.php/Alqalam/article/view/2154

Issue

Section

Articles