Source-linked AI summary

High throughput quantitative metallography for complex microstructures using deep learning: A case study in ultrahigh carbon steel

Brian L. DeCost, Bo Lei, Toby Francis, Elizabeth A. Holm

arXiv:1805.08693v2cs.CV

TL;DR

Manual and subjective microstructure analysis is difficult to extend to complex UHCS structures. The paper trains pixelwise CNN segmentation models for particle- and microconstituent-level analysis, then combines them for higher-order measurements. The approach demonstrates automated segmentation and quantitative analysis across multiple microstructural length scales, while annotation ambiguity and class imbalance constrain performance.

  • Problem

    Existing microstructure segmentation methods rely on expert-tuned low-level image features, limiting automated quantitative analysis of complex structures.

  • Method

    The study trains pixelwise CNN models on UHCS data to segment individual spheroidite particles and four larger-scale microconstituents, combining predictions for quantitative analysis.

  • Results

    The approach demonstrates microstructural segmentation and quantitative analysis at a high level of abstraction using two open UHCS benchmark datasets spanning different length scales.

  • Takeaways & Limitations

    Data-driven segmentation expands automated characterization to complex industrially relevant features and supports prospective high-throughput studies of structure, processing, design, and qualification.

  • Takeaways & Limitations

    Performance is constrained for less prevalent microconstituents by class imbalance and by ambiguity in expert annotations, including matrix labeling near Widmanstätten and carbide features.

Abstract

from arXiv · show

We apply a deep convolutional neural network segmentation model to enable novel automated microstructure segmentation applications for complex microstructures typically evaluated manually and subjectively. We explore two microstructure segmentation tasks in an openly-available ultrahigh carbon steel microstructure dataset: segmenting cementite particles in the spheroidized matrix, and segmenting larger fields of view featuring grain boundary carbide, spheroidized particle matrix, particle-free grain boundary denuded zone, and Widmanstätten cementite. We also demonstrate how to combine these data-driven microstructure segmentation models to obtain empirical cementite particle size and denuded zone width distributions from more complex micrographs containing multiple microconstituents. The full annotated dataset is available on materialsdata.nist.gov (https://materialsdata.nist.gov/handle/11256/964).

1 Introduction

Quantitative microstructure analysis is limited by expert-tuned, low-level segmentation methods, motivating deep-learning approaches for complex structures. This work applies pixelwise CNN segmentation to UHCS microstructures, establishes two open benchmark datasets, and explores broader automated measurement.

  • Motivation: Traditional quantitative analysis measures features such as volume fractions, size distributions, and shape descriptors, but often requires careful manual processing.These measurements connect to theoretical and empirical models of material properties.
  • Motivation: Specialized segmentation pipelines require expert tuning and restrict analysis of microstructures that cannot be separated using low-level intensity and connectivity features.The paper targets this limitation by using image representations at a higher level of abstraction.
  • Approach: A pixelwise CNN is trained to segment UHCS microstructures at high abstraction and evaluate whether it can support quantitative analyses otherwise requiring extensive hands-on image processing.The study uses a subset of the openly available UHCS microstructure dataset.
  • Approach: The study addresses both individual spheroidite-particle segmentation and semantic segmentation of four UHCS microconstituents: network, spheroidite, denuded-zone matrix, and Widmanstätten laths.The two tasks operate at different structural scales.
  • Contributions: The work establishes two open microstructure segmentation benchmark datasets and connects microstructure science with deep semantic segmentation methods.The annotated training data for both tasks is made publicly available through the NIST materials resource registry.
  • Implications: CNN-based tools require initial annotation and training investment but may support larger-scale characterization and statistical analysis of features such as particle sizes and denuded-zone widths.The stated tradeoff is especially relevant where industrial semi-automated segmentation data already exist.

2 Methods

The methods use a PixelNet-based pixel classifier for two annotated ultrahigh carbon steel segmentation tasks, with augmentation, regularization, and cross-validation supporting evaluation across complex microstructures.

  • PixelNet architecture: PixelNet concatenates bilinearly upsampled convolution-layer representations into hypercolumn features, which an MLP maps to pixel-level microstructure targets.This design combines information from multiple image scales while avoiding dense high-dimensional feature maps at input resolution.
  • Training details: Training uses ImageNet-pretrained VGG-16 features, randomly initialized pixel-classification layers, regularization, augmentation, and AdamW optimization.Augmentation includes rotations, mirror symmetry, scaling, and random intensity shifts; training also uses batch normalization, dropout, and weight decay.
  • Training details: Focal loss is compared with cross-entropy because one constituent accounts for only ∼3% of pixels, with γ = 2 and inverse-frequency class weighting.The focal-loss modulation emphasizes examples for which the classifier is less confident while α accounts for class imbalance.
  • Datasets: The semantic dataset contains 24 manually annotated 645 × 484 micrographs spanning cementite networks, denuded zones, spheroidized cementite, and Widmanstätten cementite.Multiple heat-treatment conditions and magnifications are represented.
  • Datasets: The particle dataset contains 24 single-magnification micrographs whose edge-based segmentations were manually verified and retouched.The workflow smooths contrast, detects Canny edges, fills particle outlines, and removes spurious edges with a 2px median filter.
  • Performance evaluation: Six-fold cross-validation evaluates pixel accuracy, precision, recall, and intersection over union, while particle segmentation additionally compares predicted and ground-truth particle size distributions with a KS test.Each fold validates four micrographs, and reported metrics average validation images with standard errors.

3 Results and Discussion

The semantic and particle CNNs produce useful microstructure segmentations, but performance depends on constituent scale, labeling ambiguity, and the selected loss function. Combining the models enables automated particle-size and denuded-zone measurements from complex micrographs.

  • Semantic microconstituent segmentation: Neither loss function was uniformly best: focal loss emphasized contiguous constituents, whereas crossentropy more closely followed fine features but produced noisier maps.The choice of model parameters and loss function therefore depends on the desired quantitative and qualitative segmentation behavior.
  • Semantic microconstituent segmentation: 86.5 ± 1.6 % overall accuracy was achieved by the focal-loss model for pixel-level semantic annotations.Spheroidite and network regions were identified consistently, while matrix and Widmanstätten classes showed lower and more variable performance.
  • Semantic microconstituent segmentation: Nearly ten points higher overall IU was obtained by the crossentropy model, although Widmanstätten recall remained depressed because of underprediction.Most per-microconstituent scores were higher for crossentropy, while the authors retained the focal model for subsequent analyses because of its spheroidite-task performance.
  • Spheroidite particle segmentation: Particle predictions were slightly better than Otsu thresholding on all metrics, but the model primarily missed very small particles one to five pixels in size.Larger particles remained consistently well predicted despite contrast gradients and complex backgrounds.
  • Spheroidite particle segmentation: The predicted and ground-truth particle size distributions were statistically equivalent for only one of 24 validation micrographs according to the KS test.Missed particles smaller than approximately 5 px and partially labeled particles caused overrepresentation of single-pixel predictions.
  • Quantitative analysis of higher-order features: Combining the semantic and particle CNNs enables automated particle-size distributions conditioned on other microstructure features and denuded-zone width distributions.The workflow suppresses particle predictions outside predicted spheroidite regions and derives denuded-zone widths from distances to network interfaces.

4 Conclusions

The study demonstrates high-level microstructural segmentation and quantitative analysis using an off-the-shelf pixel-wise deep neural network, supported by two open UHCS benchmark datasets at different length scales. This data-driven approach extends automated characterization to complex, industrially relevant features that were difficult to analyze automatically.

  • The study applies an off-the-shelf deep neural network architecture to pixel-wise microstructural prediction tasks.
  • Two open microstructure segmentation benchmark datasets represent ultrahigh carbon steel microstructures at different length scales.
  • Data-driven segmentation expands quantitative characterization to complex industrially relevant microstructure features that were previously difficult to treat automatically.
Loading 1805.08693v2…