Weld analysis using an inverse-problem approach based on quasi-one-dimensional interpolation