Image analysis of samples of steel with corrosion damage