Evaluating SAM2 Automatic Mask Generation for Petrographic Thin Sections: Effects of Parameter Tuning
Marwa Boukadida, Kevin Bouchard, Julien Maitre, L. Paul Bedard
Key points
From the paper's conclusion- This study evaluates the effect of automatic mask-generator parameter tuning for a fixed pretrained SAM2 model in a fully automatic zero-shot setting.
Abstract
Optical thin-section segmentation remains difficult because petrographic images combine fine textures, strong local variability, and often ambiguous phase boundaries. This study evaluates the effect of automatic mask-generator parameter tuning for a fixed pretrained SAM2 model in a fully automatic zero-shot setting. The experiments were conducted on six petrographic thin sections, with five slides used for cross-slide parameter evaluation and one additional slide reserved for a final hold-out comparison. Predictions were evaluated at the mask level using prediction-dependent references derived from fixed semantic phase maps, with IoU, Dice, purity, and a weighted score. Within the tested parameter space and Optuna budget, the best configuration reached an objective value of 0.3121 during parameter selection. On the held-out thin section, the corrected tuned configuration produced only small descriptive changes relative to the default configuration. Because the reference is constructed from each generated proposal and entirely missed reference regions are not directly penalized, the reported scores characterize automatic mask proposals under the specified evaluation procedure rather than complete phase coverage or mineral identification accuracy. Under these experimental conditions, parameter tuning produced only modest gains, while spatial agreement with the associated references remained limited.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A foundation model for rock thin-section images analysisCommunications Engineering · 2025
- Evaluating classification and explainability in multimodal petrographic image analysisarXiv · 2026
- Generalizable digital rock image segmentation under limited data with the segment anything modelIntelligent geoengineering. · 2025
- SAMM: A general-purpose segmentation model for material micrographs based on the segment anything model 2Advanced Powder Materials · 2026
- Cross-polarization pairing for label-free few-shot thin-section classificationarXiv · 2026
- OrthoSAM: multi-scale extension of the Segment Anything Model for river pebble delineation from large orthophotosEarth Surface Dynamics · 2026