journal article·2026-06Open access

Implementation of Deep Learning-Based Segmentation for Quantitative Microstructure Analysis and 3D Reconstruction in Aluminum Alloys

Angelos Theofilatos, Alexandre Viardin, Laszlo Sturz

Abstract

Abstract Manual quantitative analysis of large microstructural datasets is a challenging process. To address this, we present a novel pipeline for automated microstructure segmentation and 3D reconstruction in aluminum alloys, combining Mask R-CNN with a custom reconstruction algorithm. Datasets generated from light optical microscopy (LOM), computed tomography (CT) and phase field simulations (PFS) were used to train and evaluate the Mask R-CNN deep learning model. The alloys investigated include AlSi6Cu4Fe1, AlSi6Cu4Fe2 and AlCu10. The microstructures in sections comprise needle-like intermetallic precipitates and irregularly shaped precipitates in the former two alloys, and columnar dendrites formed during directional solidification in the latter. A 3D reconstruction algorithm was developed to generate three-dimensional representations from CT slices of individual dendrites and full monolithic structures of interconnected precipitates based on the Mask R-CNN detections. This reconstruction algorithm was validated using a 3D dataset from phase-field simulations to ensure accuracy and reliability. The deep learning model consistently achieved high detection accuracy across LOM and CT datasets for all investigated microstructural objects, reaching average accuracy of 73%, average precision of 82%, average recall of 79%, and average F1 score of 79%. Additionally, the model demonstrates the ability to distinguish specific geometries that traditional contrast- or color-based techniques cannot reliably differentiate. Furthermore, the 3D reconstruction method enhances the deep learning model capabilities by enabling three-dimensional visualization as well as qualitative and quantitative analyses of the detected objects. An example of quantitative analysis presented in this study includes the calculation of growth misorientation of the reconstructed directionally solidified dendrites.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Solidification and crystal growth phenomena · Machine Learning in Materials Science · Aluminum Alloy Microstructure Properties

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (40)

Show source-provided references
1. Liao L, Sun Z, Liu S et al (2024) Applying a mask R-CNN machine learning algorithm for segmenting electron microscope images of ceramic bronze-casting moulds. J Archaeol Sci 170:106049. https://doi.org/10.1016/j.jas.2024.10604910.1016/j.jas.2024.106049 ↗
2. Tanoglidis D, Ćiprijanović A, Drlica-Wagner A et al (2022) DeepGhostBusters: using Mask R-CNN to detect and mask ghosting and scattered-light artifacts from optical survey images. Astron Comput 39:100580. https://doi.org/10.1016/j.ascom.2022.10058010.1016/j.ascom.2022.100580 ↗
3. Zhu H, Peng T, Dai Y et al (2022) Fault detection of electrolyzer plate based on improved Mask R-CNN and infrared images. Meas Sci Technol 33:085405. https://doi.org/10.1088/1361-6501/ac5b2910.1088/1361-6501/ac5b29 ↗
4. Cabrera C, Cervantes D, Muñoz F et al (2020) Mask R-CNN to classify chemical compounds in nanostructured materials. In: González Díaz CA, Chapa González C, Laciar Leber E et al (eds) VIII Latin American Conference on biomedical engineering and XLII National Conference on biomedical engineering. Springer International Publishing, Cham, pp 401–41110.1007/978-3-030-30648-9_52 ↗
5. Bakas G, Dimitriadis S, Deligiannis S et al (2022) A tool for rapid analysis using image processing and artificial intelligence: automated interoperable characterization data of metal powder for additive manufacturing with SEM case. Metals 12:1816. https://doi.org/10.3390/met1211181610.3390/met12111816 ↗
6. Cohn R, Anderson I, Prost T et al (2021) Instance segmentation for direct measurements of satellites in metal powders and automated microstructural characterization from image data. JOM 73:2159–2172. https://doi.org/10.1007/s11837-021-04713-y10.1007/s11837-021-04713-y ↗
7. Alrfou K, Zhao T, Kordijazi A (2024) Deep learning methods for microstructural image analysis: the state-of-the-art and future perspectives. Integr Mater Manuf Innov 13:703–731. https://doi.org/10.1007/s40192-024-00369-z10.1007/s40192-024-00369-z ↗
8. Ackermann M, Iren D, Wesselmecking S et al (2022) Automated segmentation of martensite-austenite islands in bainitic steel. Mater Charact 191:112091. https://doi.org/10.1016/j.matchar.2022.11209110.1016/j.matchar.2022.112091 ↗
9. Agbozo R, Jin W (2020) Quantitative metallographic analysis of GCr15 microstructure using Mask R-CNN. KSPE 37:361–369. https://doi.org/10.7736/JKSPE.019.14410.7736/JKSPE.019.144 ↗
10. Che L, He Z, Zheng K et al (2025) An automatic segmentation and quantification method for austenite and ferrite phases in duplex stainless steel based on deep learning. J Mater Chem A 13:772–785. https://doi.org/10.1039/D4TA05421K10.1039/D4TA05421K ↗
11. Ni Y, Topham R, Skippon T et al (2023) Detection of zirconium hydrides in transmission electron micrographs using deep neural networks. Eng Appl Artif Intell 117:105573. https://doi.org/10.1016/j.engappai.2022.10557310.1016/j.engappai.2022.105573 ↗
12. Li M, Chen D, Liu S, Liu F (2020) Grain boundary detection and second phase segmentation based on multi-task learning and generative adversarial network. Measurement 162:107857. https://doi.org/10.1016/j.measurement.2020.10785710.1016/j.measurement.2020.107857 ↗
13. Chen D, Guo D, Liu S, Liu F (2020) Microstructure instance segmentation from aluminum alloy metallographic image using different loss functions. Symmetry 12:639. https://doi.org/10.3390/sym1204063910.3390/sym12040639 ↗
14. Liang Y (2020) Fundamental research on electronic image recognition of cylindrical Zno nanorods based on deep learning. IOP Conf Ser Mater Sci Eng 782:022034. https://doi.org/10.1088/1757-899X/782/2/02203410.1088/1757-899X/782/2/022034 ↗
15. Gorynski C, Frei M, Kruis FE, Winterer M (2023) Machine learning based quantitative characterization of microstructures. Acta Mater 256:119106. https://doi.org/10.1016/j.actamat.2023.11910610.1016/j.actamat.2023.119106 ↗
16. Song H, Nguyen BD, Govind K et al (2025) Enabling quantitative analysis of in situ TEM experiments: a high-throughput, deep learning-based approach tailored to the dynamics of dislocations. Acta Mater 282:120455. https://doi.org/10.1016/j.actamat.2024.12045510.1016/j.actamat.2024.120455 ↗
17. Yu J, Xi S, Pan S, et al (2021) Machine learning-guided design and development of metallic structural materials. JMI https://doi.org/10.20517/jmi.2021.0810.20517/jmi.2021.08 ↗
18. Xiong J, Shi S-Q, Zhang T-Y (2021) Machine learning of phases and mechanical properties in complex concentrated alloys. J Mater Sci Technol 87:133–142. https://doi.org/10.1016/j.jmst.2021.01.05410.1016/j.jmst.2021.01.054 ↗
19. Fang H, Hovad E, Zhang Y, Juul Jensen D (2023) Application of Mask R-CNN for lab-based X-ray diffraction contrast tomography. Mater Charact 201:112983. https://doi.org/10.1016/j.matchar.2023.11298310.1016/j.matchar.2023.112983 ↗
20. Özdem S, Orak İM (2025) A novel method based on deep learning algorithms for material deformation rate detection. J Intell Manuf 36:3249–3270. https://doi.org/10.1007/s10845-024-02409-z10.1007/s10845-024-02409-z ↗
21. Chatterjee S, Yormatov R, Theofilatos A, Viardin A (2025) Micro-XCT imaging and synthetic data generation for deep learning-based computer vision of microstructural defects. eJNDT 30. https://doi.org/10.58286/3191310.58286/31913 ↗
22. Bimrose MV, Hu T, McGregor DJ et al (2025) Detecting and classifying hidden defects in additively manufactured parts using deep learning and X-ray computed tomography. J Intell Manuf 36:3465–3479. https://doi.org/10.1007/s10845-024-02416-010.1007/s10845-024-02416-0 ↗
23. Zhang W, Ren Q, Wan W et al (2024) Three-dimensional quantitative characterization of defects in Inconel 625 superalloy based on deep learning image identification. Prog Nat Sci Mater Int 34:1000–1008. https://doi.org/10.1016/j.pnsc.2024.07.01510.1016/j.pnsc.2024.07.015 ↗
24. Viardin A, Nöth K, Pickmann C, Sturz L (2025) Automatic detection of dendritic microstructure using computer vision deep learning models trained with phase field simulations. Integr Mater Manuf Innov 14:89–105. https://doi.org/10.1007/s40192-025-00392-810.1007/s40192-025-00392-8 ↗
25. Zimmermann G, Theofilatos A, Steinbach S et al (2025) The influence of convection and iron content on the solidification microstructure of technical aluminum alloys. JOM. https://doi.org/10.1007/s11837-025-07361-810.1007/s11837-025-07361-8 ↗
26. Rezaei S, Taghikhani K, Viardin A et al (2025) Digitalizing metallic materials from image segmentation to multiscale solutions via physics informed operator learning. npj Comput Mater 11:262. https://doi.org/10.1038/s41524-025-01718-y10.1038/s41524-025-01718-y ↗
27. Jacobs R, Patki P, Lynch MJ et al (2023) Materials swelling revealed through automated semantic segmentation of cavities in electron microscopy images. Sci Rep 13:5178. https://doi.org/10.1038/s41598-023-32454-210.1038/s41598-023-32454-2 ↗
28. Govind K, Oliveros D, Dlouhy A et al (2024) Deep learning of crystalline defects from TEM images: a solution for the problem of ‘never enough training data.’ Mach Learn Sci Technol 5:015006. https://doi.org/10.1088/2632-2153/ad1a4e10.1088/2632-2153/ad1a4e ↗
29. Enz T, Steinbach S, Simicic D et al (2011) First experiments using the materials science laboratory on board the International Space Station: experiment preparations, execution, and first results. Microgravity Sci Technol 23:345–353. https://doi.org/10.1007/s12217-010-9254-110.1007/s12217-010-9254-1 ↗
30. He K, Gkioxari G, Dollar P, Girshick R (2020) Mask R-CNN. IEEE Trans Pattern Anal Mach Intell 42:386–397. https://doi.org/10.1109/TPAMI.2018.284417510.1109/TPAMI.2018.2844175 ↗
31. Chen K, Wang J, Pang J, et al (2019) MMDetection: Open MMLab detection toolbox and benchmark. https://doi.org/10.48550/arXiv.1906.0715510.48550/arXiv.1906.07155 ↗
32. Lin T-Y, Maire M, Belongie S, et al (2015) Microsoft COCO: common objects in context. https://doi.org/10.48550/arXiv.1405.031210.48550/arXiv.1405.0312 ↗
33. Zhuang X, Zhou S, Huynh GD et al (2022) Phase field modeling and computer implementation: a review. Eng Fract Mech 262:108234. https://doi.org/10.1016/j.engfracmech.2022.10823410.1016/j.engfracmech.2022.108234 ↗
34. Chen L-Q (2002) Phase-field models for microstructure evolution. Annu Rev Mater Res 32:113–140. https://doi.org/10.1146/annurev.matsci.32.112001.13204110.1146/annurev.matsci.32.112001.132041 ↗
35. Böttger B, Apel M, Daniels B et al (2019) Systematic phase-field study on microstructure formation during brazing of Mar-M247 with a Si-based AMS4782 filler. Metall Mater Trans A 50:1732–1747. https://doi.org/10.1007/s11661-019-05113-310.1007/s11661-019-05113-3 ↗
36. Micress 7 - https://www.micress.de/
37. Bradski G (2000) The OpenCV library. Dr Dobb’s J Softw Tools. https://opencv.org/
38. Merkblatt “Künstliche Intelligenz für die Zerstörungsfreie Prüfung” (ZfP 4.0 -02). DGZfP-Fachausschuss ZfP 4.0 Arbeitsgruppe Artificial Intelligence im Unterausschuss Schnittstellen, Dokumention, Datenformate, Oktober 2024
39. Abràmoff MD, Magalhães PJ, Ram SJ (2004) Image processing with ImageJ. Biophotonics Int 11:36–42
40. Hansen CD, Johnson CR (2005) The visualization handbook. Elsevier-Butterworth Heinemann, Burlington