A Novel Approach for Detecting and Classifying Defects in Metallic Plates