Applications of Artificial Intelligence in Microstructural Characterization and Optimization of Metallic Materials