Skip to main content
QUICK REVIEW

[Paper Review] SAM vs BET: A Comparative Study for Brain Extraction and Segmentation of Magnetic Resonance Images using Deep Learning

Sovesh Mohapatra, Advait Gosai|arXiv (Cornell University)|Apr 10, 2023
Medical Image Segmentation TechniquesComputer Science20 citations
TL;DR

The paper compares Segment Anything Model (SAM) with FSL BET for brain extraction on diverse MRIs, showing SAM generally outperforms BET in Dice, IoU, and accuracy, especially with lesions and poor-quality images, and also demonstrates SAM’s potential for within-brain structure segmentation.

ABSTRACT

Brain extraction is a critical preprocessing step in various neuroimaging studies, particularly enabling accurate separation of brain from non-brain tissue and segmentation of relevant within-brain tissue compartments and structures using Magnetic Resonance Imaging (MRI) data. FSL's Brain Extraction Tool (BET), although considered the current gold standard for automatic brain extraction, presents limitations and can lead to errors such as over-extraction in brains with lesions affecting the outer parts of the brain, inaccurate differentiation between brain tissue and surrounding meninges, and susceptibility to image quality issues. Recent advances in computer vision research have led to the development of the Segment Anything Model (SAM) by Meta AI, which has demonstrated remarkable potential in zero-shot segmentation of objects in real-world scenarios. In the current paper, we present a comparative analysis of brain extraction techniques comparing SAM with a widely used and current gold standard technique called BET on a variety of brain scans with varying image qualities, MR sequences, and brain lesions affecting different brain regions. We find that SAM outperforms BET based on average Dice coefficient, IoU and accuracy metrics, particularly in cases where image quality is compromised by signal inhomogeneities, non-isotropic voxel resolutions, or the presence of brain lesions that are located near (or involve) the outer regions of the brain and the meninges. In addition, SAM has also unsurpassed segmentation properties allowing a fine grain separation of different issue compartments and different brain structures. These results suggest that SAM has the potential to emerge as a more accurate, robust and versatile tool for a broad range of brain extraction and segmentation applications.

Motivation & Objective

  • Assess the performance of SAM versus BET for automatic brain extraction across diverse MRI datasets.
  • Evaluate SAM's capability to segment specific brain regions and lesions beyond whole-brain extraction.
  • Identify scenarios where SAM offers robustness benefits over BET, including image quality variations and presence of lesions.
  • Discuss practical implications for preprocessing pipelines and potential limitations of SAM.

Proposed method

  • Use 45 anonymized MR brain images from ATLAS, WMH Challenge, and in-house datasets across five categories.
  • Standardize all images to MNI152 space for fair comparison.
  • Compare BET and SAM on brain extraction using metrics such as Dice, IoU, Accuracy, Recall, and Precision.
  • For SAM, employ a 2D slice workflow with a custom bounding box algorithm to include/exclude regions and generate masks.
  • Convert 3D MRI data to 2D slices for SAM input and reconstruct 3D brain-extracted outputs.
  • Provide qualitative visual comparisons across planes and modalities.
Figure 1: Comprehensive SAM workflow – visualizing the end-to-end process with custom box algorithm, highlighting blue dots (exclusion mask) and yellow dots (inclusion mask)
Figure 1: Comprehensive SAM workflow – visualizing the end-to-end process with custom box algorithm, highlighting blue dots (exclusion mask) and yellow dots (inclusion mask)

Experimental results

Research questions

  • RQ1Does SAM provide higher Dice, IoU, and accuracy than BET across diverse MRI modalities and pathological conditions?
  • RQ2How do image quality, normalization, and presence of lesions affect the performance of SAM and BET?
  • RQ3Can SAM reliably segment within-brain structures (e.g., corpus callosum, basal ganglia) and lesions beyond whole-brain extraction?
  • RQ4What are the practical trade-offs (e.g., computational requirements) when using SAM for brain extraction in neuroimaging pipelines.

Key findings

  • SAM generally outperforms BET on Dice, IoU, and Accuracy across most modalities and datasets.
  • BET performs relatively better in high-quality, normalized images but struggles with lesions near the brain boundary and lower-quality data.
  • SAM’s custom bounding box approach enables more accurate inclusion/exclusion of regions, aiding segmentation of structures and lesions near the outer brain regions.
  • In WMH 3DT1 datasets, SAM achieved Dice 0.914 and IoU 0.842, while BET scored Dice 0.628 and IoU 0.518 (examples cited).
  • SAM can over-crop in some FLAIR WMH cases but still shows robust performance across multiple modalities; overall, SAM demonstrates greater robustness and versatility for brain extraction and region segmentation.
  • The SAM-based workflow requires converting 3D data to 2D slices and may incur longer processing times (~30 seconds total) compared to BET.
Figure 2: Comparison of original MRI images and extraction outputs by BET and SAM for A. sagittal, B. coronal, and C. axial anatomical planes. BET extraction results in sagittal, coronal, and axial planes, respectively. SAM extraction results in sagittal, coronal, and axial planes, respectively. The
Figure 2: Comparison of original MRI images and extraction outputs by BET and SAM for A. sagittal, B. coronal, and C. axial anatomical planes. BET extraction results in sagittal, coronal, and axial planes, respectively. SAM extraction results in sagittal, coronal, and axial planes, respectively. The

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.