Zero-Shot Mineral Segmentation in Reflected-Light Microscopy Using the Segment Anything Model
- 1Université de Liège GeMMe – Georesources and Geoimaging
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.
Related
- Conditioning Gaussian Processes on Almost Anything
- BAM! Bayesian Anything Model: a foundation model for generative computational imaging
- From skew to reflected SPDEs
- Reflected BSDEs under random horizons: Sharp support criteria, irregular reflection, and Cox reconstruction
- Reflected Schrödinger Bridge Problem over Noncharacteristic Sub-Riemannian Manifolds
BibTeX
@article{campo2026zeroshot,
title = {{Zero-Shot Mineral Segmentation in Reflected-Light Microscopy Using the Segment Anything Model}},
author = {Adriaan Campo and Eric Pirard},
journal = {Image Analysis and Stereology},
year = {2026},
month = nov,
doi = {10.5566/ias.4060},
url = {https://doi.org/10.5566/ias.4060},
note = {CC BY},
}
RIS
TY - JOUR
TI - Zero-Shot Mineral Segmentation in Reflected-Light Microscopy Using the Segment Anything Model
AU - Adriaan Campo
AU - Eric Pirard
PY - 2026
DA - 2026/11/25
JO - Image Analysis and Stereology
DO - 10.5566/ias.4060
UR - https://doi.org/10.5566/ias.4060
AB - 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.
SN - 1580-3139
SN - 1854-5165
ER -