Weka Trainable Segmentation Plugin in ImageJ: A Semi-Automatic Tool Applied to Crystal Size Distributions of Microlites in Volcanic Rocks

Microsc Microanal. 2018 Dec;24(6):667-675. doi: 10.1017/S1431927618015428.

Abstract

Crystals within volcanic rocks record geochemical and textural signatures during magmatic evolution before eruption. Clues to this magmatic history can be examined using crystal size distribution (CSD) studies. The analysis of CSDs is a standard petrological tool, but laborious due to manual hand-drawing of crystal margins. The trainable Weka segmentation (TWS) plugin in ImageJ is a promising alternative. It uses machine learning and image segmentation to classify an image. We recorded back-scattered electron (BSE) images of three volcanic samples with different crystallinity (35, 50 and ≥85 vol. %), using scanning electron microscopes (SEM) of variable image resolutions, which we then tested using TWS. Crystal measurements obtained from the automatically segmented images are compared with those of the manual segmentation. Samples up to 50 vol. % crystallinity are successfully segmented using TWS. Segmentation at significantly higher crystallinities fails, as crystal boundaries cannot be distinguished. Accuracy performance tests for the TWS classifiers yield high F-scores (>0.930), hence, TWS is a successful and fast computing tool for outlining crystals from BSE images of glassy rocks. Finally, reliable CSD's can be derived using a low-cost desktop SEM, paving the way for a wide range of research to take advantage of this new petrological method.

Keywords: automation; crystal size distributions; electron microprobe; image segmentation; microlites.

Publication types

  • Research Support, Non-U.S. Gov't