AI & Computingarticle2026-11-25

Zero-Shot Mineral Segmentation in Reflected-Light Microscopy Using the Segment Anything Model

Open access0 citations

Abstract

Automated mineral segmentation underpins quantitative mineralogy and stereological characterization, but supervised deep-learning methods require annotated data and may generalize poorly across mineralogical domains. This study evaluated the Segment Anything Model (SAM), a general-purpose foundation model, for reflected-light microscopy (RLM) mineral-image analysis in a purely zero-shot setting, without task-specific training, fine-tuning, or domain adaptation. Two complementary case studies were conducted. First, three SAM encoder variants (ViT-B, ViT-L, and ViT-H) were evaluated on publicly available iron-ore (FeM) and copper-ore (Cu) RLM datasets using SEM-derived reference masks. SAM achieved mean F1-scores of 0.77–0.88, with ViT-L and ViT-H reaching 93–94% of the previously reported supervised DeepLabv3+ F1-score benchmark for FeM and approximately 93% for Cu. Second, SAM was applied to polarized RLM image stacks of dolomite to assess its influence on downstream stereological characterization. No significant differences from the gradient-based method were detected for any RGB configuration or PCA ViT-B in major or minor intercept length or bireflectance. The largest deviations occurred for PCA-preprocessed ViT-H, with median major and minor intercept lengths approximately 21% and 17% higher, respectively, and bireflectance approximately 16% lower. No significant method-dependent difference was detected in principal anisotropy orientation. These results show that zero-shot SAM can support mineral-image segmentation and downstream stereological characterization without annotated training data, while highlighting the influence of preprocessing and encoder choice on the derived grain representation.

// Source

View paper (DOI)Open access versionOpenAlexImage Analysis & StereologyPublished 2026-11-25

Authors: Adriaan Campo, Éric Pirard

Institutions: Ghent University, University of Liège