cs.CVMar 31, 2026

Segmentation of Gray Matters and White Matters from Brain MRI data

Authors: Chang Sun, Rui Shi, Tsukasa Koike, Tetsuro Sekine, Akio Morita, Tetsuya Sakai

Organizations: Department of Computer Science and Engineering, Waseda University, Shinjuku, Tokyo, Japan · Department of Neurosurgery, Teraoka Memorial Hospital, Fukuyama, Hiroshima, Japan · Department of Radiology, Nippon Medical School Hospital, Tokyo, Japan · Tokyo Rosai Hospital, Ota, Tokyo, Japan

Abstract

Accurate segmentation of brain tissues such as gray matter and white matter from magnetic resonance imaging is essential for studying brain anatomy, diagnosing neurological disorders, and monitoring disease progression. Traditional methods, such as FSL FAST, produce tissue probability maps but often require task-specific adjustments and face challenges with diverse imaging conditions. Recent foundation models, such as MedSAM, offer a prompt-based approach that leverages large-scale pretraining. In this paper, we propose a modified MedSAM model designed for multi-class brain tissue segmentation. Our preprocessing pipeline includes skull stripping with FSL BET, tissue probability mapping with FSL FAST, and converting these into 2D axial, sagittal, coronal slices with multi-class labels (background, gray matter, and white matter). We extend MedSAM's mask decoder to three classes, freezing the pre-trained image encoder and fine-tuning the prompt encoder and decoder. Experiments on the IXI dataset achieve Dice scores up to 0.8751. This work demonstrates that foundation models like MedSAM can be adapted for multi-class medical image segmentation with minimal architectural modifications. Our findings suggest that such models can be extended to more diverse medical imaging scenarios in future work.

Figures & tables

Explore similar work

CardsList
  1. BrainNext: A General-Purpose Self-Supervised Foundation Model for Brain MRI Analysis

    Jul 20, 2026Moona Mazher, Abdul Qayyum, Steven A. Niederer +1Medical Imaging Foundation ModelsSelf-Supervised Pre-Training

  2. Combining General and Domain-Specific Pretext Tasks for Brain MR Image Segmentation

    Sep 25, 2026Tasneem Nasser, Susanne Schmid, Roberto Souza +1Medical Image Representation LearningSelf-Supervised Pre-Training

  3. LoGSAM: Parameter-Efficient Cross-Modal Grounding for MRI Segmentation

    Mar 18, 2026Mohammad Robaitul Islam Bhuiyan, Sheethal Bhat, Melika Qahqaie +4Image SegmentationMedical Imaging Foundation Models