Skip to content

jiinjung/MineralClassifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

MineralClassifier

The purpose of this repository is for the code example and visualization for the current research.

Dataset and Model Description

This current system employs deep learning semantic segmentation models to process the input Scanning Electron Microscopy (SEM) images of lunar mare basalts and corresponding pixel scales, and generated a segmented mineral map as output.

inputoutput

Typically, SEM images (or other microscopic images) is given a unique scale, the pixel scale ranging approximately between 0.01 µm/px and 10 µm/px. As this scale variability leads to different patterns or mineral occurrences within the same sample, we employed multi U-Net architectures, that assign images to different U-Net architectures based on their scale.

arc3-01

The model has been trained on a dataset of 3457 images of Apollo mare basalt SEM images (split into 2605 images for training, 652 for validation, and 200 for testing)

Performances of the current model

Overall, the Multi U-Net outperformed the Single U-Net. Both algorithms effectively captured larger and commonly occurring mineral grains such as Spinel, Pyroxene, Plagioclase, and Void, identifiable based on their intensity and shapes. The smaller grains became more apparent for Multi U-Net model (e.g., FeNi grains or Troilite). However, mineral groups underrepresented in the dataset due to their minimal occurrences in the actual rocks and the scale of the image (e.g., Zircon, Phosphate, and Olivine) exhibited a Intersection over Union (IoU) scores.

comparison_poster-01

The model gives a pixel accuracy (PA) of 0.90 for the training set, 0.90 for the validation set, and 0.91 for the test set, when applied to the large scale (> 0.25µm/px) image dataset. The confusion matrix for this datset indicated successful identification of Pyroxene and Void. However, given that the Pyroxene group is the most abundant mineral in Apollo mare basalt samples, these large scale images often misclassified other minerals as Pyroxene. This may be due to blurry boundaries in SEM images, leading to misclassification into the adjacent mineral category. Nonetheless, apart from the Pyroxene column, commonly occurred minerals such as Spinel and Plagioclase were correctly-classified, and their normalized abundances closely matched the actual modal abundances described in the Apollo sample compendium. As for the minerals FeNi and FeS, their small size made their allocations in the confusion matrix seem incorrect and leading low IoU values.

As for the small scale image dataset (< 0.25µm/px), the model demonstrated a PA of 0.83 for the training set, 0.86 for the validation set, and 0.88 for the test set. The confusion matrix revealed excellent identification of well-represented groups such as Void, FeNi, FeS, Spinel, Pyroxene, and Plagioclase, with respectable IoU scores. However, Glass in small scale images often blended indistinguishably with Plagioclase, making it difficult to be accurately identified.

confusion_matrix

To improve the detection of these underrepresented groups, the dataset could be expanded to include more of these minerals, and the image scale could be further divided into more than just two categories for the future work.

About

Computer Vision Methods for Petrology: Automated identification and classification of minerals in Scanning Electron Microscope (SEM) images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published