Analysis of casting surface anomalies captured through spatial mapping