Segmenteverygrain: A Python module for segmentation of grains in images
Segmenteverygrain is a Python module that addresses the need for quantifying grain size in granular materials.It combines the Segment Anything Model (SAM) with a U-Net-style convolutional neural network to detect and measure grains or clasts in diverse image types, ranging from photomicrographs of sand, mineral grains, and thin sections to photographic images of gravel and boulder fields.Segmenteverygrain supports segmentation of large images, georeferencing, and interactive editing of the results.
Authors
- N. Howes
- Daniel F. Stöckli (ORCID: https://orcid.org/0000-0001-7652-2129)
- Rowan C. Martindale (ORCID: https://orcid.org/0000-0003-2681-083X)
- Zoltán Sylvester (ORCID: https://orcid.org/0000-0002-4890-4063)
- Wenjia Bai (ORCID: https://orcid.org/0000-0003-2943-7698)
- Zsófia Poros
- Kalinda Roberts
- Matthew A. Malkowski (ORCID: https://orcid.org/0000-0002-7781-6249)
Institutions
- Bureau of Economic Analysis (US)
- ConocoPhillips (United States) (US)
- Water Institute of the Gulf (US)
- Analysis Group (United States) (US)
- The University of Texas at Austin (US)
Publication Details
- Journal
- The Journal of Open Source Software
- Published
- 2025-08-11
- DOI
- https://doi.org/10.21105/joss.07953
- Citations
- 4
- Primary Topic
- Image Processing and 3D Reconstruction
- Type
- article
- Field-Weighted Citation Impact
- 5.10
Funders
- University of Texas at Austin