Efficient microstructure segmentation in three-dimensional imaging: Combining few-shot learning with the segment anything model
The application of three-dimensional (3D) imaging techniques, such as X-ray tomography and focussed ion beam scanning electron microscopy (FIB-SEM), is increasingly widespread in microstructural analysis of natural materials. However, our ability to collect high-resolution tomographic datasets, each comprising thousands of two-dimensional (2D) images with millions of pixels, far outstrips our ability to analyse them. Pixel-level segmentation of each 2D image is the first step in any analysis pipeline, but creates a considerable human bottleneck in the workflow that can now be overcome using machine learning. Although advanced pre-trained models such as the Segment Anything Model (SAM) have emerged, conventional segmentation workflows for 3D tomographic data remain limited in comparison. To tackle this, we propose a machine learning workflow that combines SAM with a few-shot learning framework, automating segmentation and minimising user bias. Using SAM, we generate precise annotations from a limited subset of 2D images through basic input prompts, such as points and boxes. These annotations serve as the training data for the few-shot learning model. We benchmark this workflow using a complex 3D FIB-SEM tomographic dataset of the C2 ungrouped carbonaceous chondrite WIS91600. With only 0.6 % of the training data, our method achieves an intersection over union (IoU) score of 80.62 % compared to the ground truth, significantly outperforming widely used methods that achieve a maximum IoU score of 67.07 %. The strong performance on the challenging meteorite dataset highlights its potential for broader application across materials and imaging modalities.
Authors
- Po‐Yen Tung (ORCID: https://orcid.org/0000-0002-2338-1219)
- Richard J. Harrison (ORCID: https://orcid.org/0000-0002-3307-3519)
Institutions
- University of Cambridge (GB)
- Department of Earth Sciences (RU)
Publication Details
- Journal
- Next Materials
- Published
- 2025-04-16
- DOI
- https://doi.org/10.1016/j.nxmate.2025.100663
- Citations
- 2
- Primary Topic
- Photoacoustic and Ultrasonic Imaging
- Type
- article
- Field-Weighted Citation Impact
- 1.35
Funders
- Horizon 2020 Framework Programme