Skip to main content
U.S. flag

An official website of the United States government

Case study of deep learning image segmentation for the purposes of rapid 2D petrographic analysis in volcanic rocks

October 5, 2025

Automation using deep learning methods is a useful alternative to manual methods of petrographic segmentation, but often requires user familiarity with coding and/or algorithms. We examine the DragonflyTM program's deep learning tools for application by users with a variety of skill levels as a method for petrographic image segmentation. An image processing methodology, bimodal image stacking, was created for low-input-data, high-efficacy training of models which can then be applied to varied samples. Using backscatter electron images we show that the resulting model segmentations agree with manual segmentation total and modal crystallinity values within 5%, and calculated plagioclase crystal size distribution (CSD) values within 2σ, despite limitations in discriminating mafic phases. Model creation and training takes <24 hours, 1–3 hours of which are supervised, and the resultant model can then be applied to new uncharacterized samples in <15 minutes per image. This allows for non-experts to create and utilize deep learning models to segment images of variable brightness and texture, at low user-time cost and resulting in size and shape data which are within uncertainty of manual segmentation. While some limitations are noted (for example, sieve-textured phases may need manual correction, and different minerals with similar BSE intensity may not be resolved as separate phases), this methodology can be utilized for general application of models to wide ranges of volcanic crystalline and bubble textures, and to create a library of models for rapid petrological analysis during volcanic eruptions.

Publication Year 2025
Title Case study of deep learning image segmentation for the purposes of rapid 2D petrographic analysis in volcanic rocks
DOI 10.30909/vol/gsfc1696
Authors Brenna A. Halverson, Matthew W. Loewen, Hannah R. Dietterich, Alan Whittington
Publication Type Article
Publication Subtype Journal Article
Series Title Volcanica
Index ID 70273513
Record Source USGS Publications Warehouse
USGS Organization Volcano Science Center
Was this page helpful?