Multivariate image analysis in gaussian multi-scale space for defect detection