Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Apr 30;15(1):15229.
doi: 10.1038/s41598-025-98355-8.

A brain tumor segmentation method based on attention mechanism

Affiliations

A brain tumor segmentation method based on attention mechanism

Juan Cao et al. Sci Rep. .

Abstract

The rise in brain tumor incidence due to the global population aging has intensified the need for precise segmentation methods in clinical settings. Current segmentation networks often fail to capture comprehensive contextual information and fine edge details of brain tumors, which are crucial for accurate diagnosis and treatment. To address these challenges, we introduce BSAU-Net, a novel segmentation algorithm that employs attention mechanisms and edge feature extraction modules to enhance performance. Our approach aims to assist clinicians in making more accurate diagnostic and therapeutic decisions. BSAU-Net incorporates an edge feature extraction module (EA) based on the Sobel operator, enhancing the model's sensitivity to tumor regions while preserving edge contours. Additionally, a spatial attention module (SPA) is introduced to establish global feature correlations, critical for accurate tumor segmentation. To address class imbalance, which can hinder performance, we propose BADLoss, a loss function tailored to mitigate this issue. Experimental results on the BraTS2018 and BraTS2021 datasets demonstrate the effectiveness of BSAU-Net, achieving average Dice coefficients of 0.7506 and 0.7556, PPV of 0.7863 and 0.7843, sensitivity of 0.8998 and 0.9017, and HD95 of 2.1701 and 2.1543, respectively. These results highlight BSAU-Net's potential to significantly improve brain tumor segmentation in clinical practice.

Keywords: Attention mechanism; Brain tumor segmentation; Edge refinement.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Overall framework of the proposed BSAU-Net.
Fig. 2
Fig. 2
Structure of the EA module.
Fig. 3
Fig. 3
Structure of the SPA module.
Fig. 4
Fig. 4
Comparison of MRI image preprocessing effects. (a) The original image; (b) The image after initial processing; (c) The image after CLAHE enhancement.
Fig. 5
Fig. 5
Comparative segmentation results of four modalities in a sample from the BraTS2018 dataset. From left to right: sample image, ground truth (mask), U-Net, U-Net++, MDU-net, AMSU-net and BSAU-net.
Fig. 6
Fig. 6
Comparative segmentation results of four modalities in a sample from the BraTS2021 dataset. From left to right: sample image, ground truth (mask), U-Net, U-Net++, MDU-net, AMSU-net and BSAU-net.
Fig. 7
Fig. 7
Comparison of detail regions in sample segmentation results of BraTS2018 dataset. From left to right: sample image, ground truth (mask), U-Net, U-Net++, MDU-net, AMSU-net and BSAU-net.
Fig. 8
Fig. 8
Comparison of detail regions in sample segmentation results of BraTS2021 dataset. From left to right: sample image, ground truth (mask), U-Net, U-Net++, MDU-net, AMSU-net and BSAU-net.
Fig. 9
Fig. 9
Segmentation mask refined by CRF. From left to right: original image, mask, processed mask.

Similar articles

References

    1. Ping, Q. & Qingqing, W. The clinical application value of multimodal combination of CT angiography and CT perfusion imaging in ischemic cerebrovascular disease. Imaging Res. Med. Appl.6(23), 97–99 (2022).
    1. Nong, A. et al. MicroRNA miR-126 attenuates brain injury in septic rats via NF-KB signaling pathway. Bioengineered12(1), 2639–2648 (2021). - PMC - PubMed
    1. Qian, W. & Xuefeng, H. Overview of neurological diseases. Biol. Teach.46(10), 70–72 (2021).
    1. Mehul, R.A., & Raval, S. Brain Tumor segmentation and survival prediction. In Proceedings of the International MICCAI Brainlesion Workshop, 338–348 (2019).
    1. Amin, F. Mammalian cystatin and protagonists in brain diseases. J. Biomol. Struct. Dyn.38(7), 2171–2196 (2020). - PubMed

MeSH terms

LinkOut - more resources