B-Scan image analysis for position and shape defect definition in plates