Skip to content
Clemex
· 2 min read

Grain Size Analysis: A Universal Automated Method for ASTM E112

Grain size analysis on a metallographic sample

In many manufacturing processes, accurate grain size measurement from metallographic images is essential. Grain size directly influences a material's mechanical properties — strength, ductility, toughness, and fatigue resistance — making it a cornerstone of quality control in metals, aerospace, automotive, and electronics industries.

The primary standard governing grain size measurement is ASTM E112, complemented by ASTM E930 and ASTM E1382. Together they define intercept, intersection, and planimetric methods for quantifying grain size in a reproducible, auditable way.

The Challenge: Conventional Automation Falls Short

Despite decades of progress in image analysis, conventional automated methods often struggle with real-world samples. Common metallographic imperfections — twins, compression slip lines, over- or under-etching, scratches, and background noise — are enough to defeat rule-based segmentation algorithms tuned for ideal conditions.

The result: analysts must intervene manually, adjust parameters sample by sample, or accept unreliable results. None of these outcomes is compatible with a modern quality control workflow.

Twinned copper alloy microstructure — a challenging case for conventional automation

Twinned copper alloy microstructure: a classic case where conventional automated methods fail. The AI plugin handles it reliably.

A Universal Method Powered by AI

Clemex's AI-powered grain size solution changes the equation. Rather than requiring per-sample parameter tuning, it applies a single, validated method across a wide range of microstructures and materials — truly plug-and-play.

The algorithm is validated by experts at the National Research Council Canada for metallography, and supports all measurement methods defined in the ASTM E112 standard.

One method for different materials. Copper alloys, austenitic steels, titanium alloys containing twins, and dendritic grains in aluminum are all recognized and correctly measured.

Cast aluminum with dendritic grains viewed under polarized light — one of many material types supported

Cast aluminum imaged with polarized light and a lambda plate. Dendritic and color-differentiated grains are recognized automatically.

Key Capabilities

Twinned microstructures — solved

With the AI plugin, segmenting even the most difficult twinned images is fast and reliable. Twins are recognized and correctly excluded from grain boundary detection — no manual intervention required.

Twinned steel microstructure automatically segmented by Clemex AI

Twinned microstructure correctly segmented. Twin boundaries are identified and excluded from grain size calculations.

Under-etched samples — handled

When etching is incomplete, grain boundaries appear as dotted or faint lines. The AI correctly segments these boundaries while ignoring twins and common deformation artifacts.

Under-etched steel sample with dotted grain boundaries, correctly segmented

Under-etched sample: dotted grain boundaries are recognized and accurately segmented.

More than 160× faster than manual methods

Compared to conventional approaches such as the comparison chart or the circular intercept method, the AI plugin is more accurate, more reproducible, and dramatically faster. Scan any sample with the same method and export results in just a few seconds.

Clemex grain size analysis report showing ASTM E112 results with grain size distribution charts

Automated ASTM E112 report: grain size rating, distribution histogram, and field-to-field statistics — generated in seconds.

Microstructures Supported

The solution covers the full range of microstructure types encountered in industrial metallography:

Martensitic steel — no visible grain boundaries

No visible grain boundaries: martensitic steel after heat treatment, and exotic non-ferrous metals such as NiTiNol (shape-memory titanium/nickel alloy).

Medium-carbon steel showing ferrite and pearlite phases

Medium-carbon ferrite/pearlite: a special Clemex algorithm distinguishes pearlite from ferrite in a single step, despite intensity variation between the two phases.

Austenitic steel with etching stains detected and excluded from measurements

Austenitic steel: etching stains are automatically detected and excluded from grain size measurements.

Aluminum alloy and pure titanium with various grey levels in polarized light

Solid grains with various grey levels: aluminum alloy or pure titanium viewed in polarized light without a lambda plate.

Light grains with dark outlines — austenitic, ferritic, or prior-austenitic grain structures

Light grains with dark outlines: austenitic, ferritic, or prior-austenitic grain structures.

Elongated grains from cold-rolled steel

Elongated grains from cold-rolled steel.

What the Software Measures

The Grain and Cell Size Application Package measures grain intercept, intercept counts, intersection counts, grain boundary length, and grain areas — all in conformance with ASTM E112, ASTM E930, and ASTM E1382, with validation using the Heyn method.

Validated Results You Can Trust

The segmentation algorithm is validated by experts at the National Research Council Canada for metallography — providing the confidence needed for audit-ready, compliance-grade reporting.

Grid of diverse microstructure types all analyzed by the same universal Clemex grain size method

A single method across dozens of microstructure types — from copper and titanium alloys to cast aluminum and cold-rolled steel.

Conclusion

Grain size analysis no longer needs to be a bottleneck. With an AI-powered universal method, laboratories can achieve consistent, audit-ready results across the full range of microstructures they encounter — without the manual intervention, parameter tuning, or subjectivity that traditional methods require.

Explore the application page or try Vision AI today.