A free, open-source method for automated mapping of quantitative mineralogy from energy-dispersive X-ray spectroscopy scans of rock thin sections

Abstract. Quantitative mapping of minerals in rock thin sections delivers data on mineral abundance, size, and spatial arrangement that are useful for many geoscience and engineering disciplines. Although automated methods for mapping mineralogy exist, these are often expensive, associated with proprietary software, or require programming skills, which limits their usage. Here we present a free, open-source method for automated mineralogy mapping from energy-dispersive spectroscopy (EDS) scans of rock thin sections. This method uses a random forest (RF) machine-learning image classification algorithm within the QGIS geographic information system and Orfeo ToolBox, which are both free and open-source. To demonstrate the utility of this method, we apply it to 14 rock thin sections from the well-studied Rio Blanco tonalite lithology of Puerto Rico. Measurements of mineral abundance inferred from our method compare favorably to previous measurements of mineral abundance inferred from X-ray diffraction and point counts on thin sections. The model-generated mineral maps agree with independent, manually delineated mineral maps at a mean rate of 95 %, with accuracies as high as 96 % for the most abundant mineral (plagioclase) and as low as 72 % for the least abundant mineral (apatite) in these samples. We show that the default random forest hyperparameters (i.e., tuneable settings that control behavior) in Orfeo ToolBox yielded high accuracy in the model-generated mineral maps, and we demonstrate how users can determine the sensitivity of the mineral maps to hyperparameter values and input features. These results show that this method can be used to generate accurate maps of major minerals in rock thin sections using entirely free and open-source applications.

Authors

Institutions

Publication Details

Journal
Geoscientific instrumentation, methods and data systems
Published
2025-09-02
DOI
https://doi.org/10.5194/gi-14-193-2025
Primary Topic
Mineral Processing and Grinding
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A free, open-source method for automated mapping of quantitative mineralogy from energy-dispersive X-ray spectroscopy scans of rock thin sections

Miles Reed, William O. Nachlas, Chloé F. Arson, Xianda Shen et al.
Geoscientific instrumentation, methods and data systems
Mineral Processing and Grinding
article

A free, open-source method for automated mapping of quantitative mineralogy from energy-dispersive X-ray spectroscopy scans of rock thin sections

Miles Reed, William O. Nachlas, Chloé F. Arson, Xianda Shen, Tingting Xu, Ken L. Ferrier, Bil Schneider, Nicole West
article en

Abstract

Abstract. Quantitative mapping of minerals in rock thin sections delivers data on mineral abundance, size, and spatial arrangement that are useful for many geoscience and engineering disciplines. Although automated methods for mapping mineralogy exist, these are often expensive, associated with proprietary software, or require programming skills, which limits their usage. Here we present a free, open-source method for automated mineralogy mapping from energy-dispersive spectroscopy (EDS) scans of rock thin sections. This method uses a random forest (RF) machine-learning image classification algorithm within the QGIS geographic information system and Orfeo ToolBox, which are both free and open-source. To demonstrate the utility of this method, we apply it to 14 rock thin sections from the well-studied Rio Blanco tonalite lithology of Puerto Rico. Measurements of mineral abundance inferred from our method compare favorably to previous measurements of mineral abundance inferred from X-ray diffraction and point counts on thin sections. The model-generated mineral maps agree with independent, manually delineated mineral maps at a mean rate of 95 %, with accuracies as high as 96 % for the most abundant mineral (plagioclase) and as low as 72 % for the least abundant mineral (apatite) in these samples. We show that the default random forest hyperparameters (i.e., tuneable settings that control behavior) in Orfeo ToolBox yielded high accuracy in the model-generated mineral maps, and we demonstrate how users can determine the sensitivity of the mineral maps to hyperparameter values and input features. These results show that this method can be used to generate accurate maps of major minerals in rock thin sections using entirely free and open-source applications.

Geoscientific instrumentation, methods and data systemsVol. 14(2)
Tongji University (CN), University of Wisconsin–Madison (US), Johns Hopkins University (US), Cornell University (US), Johns Hopkins Medicine (US), University of Baltimore (US)
National Science Foundation, Division of Earth Sciences
Openalex Percentile: Top 77%
Mineral Processing and Grinding
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.