Brain-SAM: a general automatic SAM-based segmentation model for brain science images
Authors:
- Shilong ZhangSZShilong Zhang
- Peicong GongPGPeicong Gong
- Hong ZhangHZHong Zhang
- Jieyu LiJLJieyu Li
- Shukang BiSBShukang Bi
- Qingming LuoQingming Luo
- Zhao FengZFZhao Feng
- Chi XiaoCXChi Xiao
- 7 January 2026
- journal article
- Published by Optica Publishing Group in Biomedical Optics Express
- Vol. 17 (2) , 614-632
Abstract
Segmentation and analysis of microscopic optical images is a fundamental task in the field of biomedicine. However, efficiently, accurately, and robustly segmenting regions of interest in these images presents a significant challenge. The segment anything model (SAM) has demonstrated remarkable generalization capabilities in natural image segmentation tasks, revealing its potential for segmenting microscopic optical images. In this study, we propose Brain-SAM, a general automatic segmentation model based on SAM for the automatic segmentation of microscopic optical images. Specifically, we introduce an automatic prompt encoder to enable high-throughput automated segmentation of these images. Additionally, we propose a segmentation optimizer to further enhance the model’s segmentation performance. Testing on eight benchmark datasets, representing common scenarios in microscopic optical image segmentation, shows that Brain-SAM outperforms specialized segmentation models in the vast majority of segmentation tasks. Notably, on the Brain, Tek and Lectin3d datasets, Brain-SAM achieved IoU scores of 98.07%, 93.13% and 88.49% respectively, along with Dice scores of 99.03%, 96.44% and 93.89%. Moreover, we provide a series of rich, publicly available brain science image datasets created using fluorescence microscopic optical tomography (fMOST) technology.Keywords
Funding Information
- STI2030-Major Projects (2021ZD0200104)
- National Natural Science Foundation of China (62401185)
- Innovational Fund for Scientific and Technological Personnel of Hainan Province (KJRC2023A03)
- Collaborative Innovation Center of Life and Health, Hainan University (XTCX2022JKC06)
- Scientific Research Innovation Capability Support Project for Young Faculty (SRICSPYF-BS2025086)
This publication has 34 references indexed in Scilit:
- Medical SAM adapter: Adapting segment anything model for medical image segmentationMedical Image Analysis, 2025
- Roadmap on Label‐Free Super‐Resolution ImagingLaser & Photonics Reviews, 2023
- Brain tumor segmentation of MRI images: A comprehensive review on the application of artificial intelligence toolsComputers in Biology and Medicine, 2022
- Complex heatmap visualizationiMeta, 2022
- Petabyte-Scale Multi-Morphometry of Single Neurons for Whole BrainsNeuroinformatics, 2022
- An automatic retinal vessel segmentation approach based on Convolutional Neural NetworksExpert Systems with Applications, 2021
- ResUNet-a: A deep learning framework for semantic segmentation of remotely sensed dataISPRS Journal of Photogrammetry and Remote Sensing, 2020
- Deep learning in medical imaging and radiation therapyMedical Physics, 2018
- Optimization of optical lens-controlled scanning electron microscopic resolution using generalized regression neural network and genetic algorithmExpert Systems with Applications, 2010
- The effect of preparation technique on the optical parameters of biological tissueApplied Physics B, 1999