Microstructural porosity segmentation using machine learning techniques in wire-based direct energy deposition of AA6061.