Texture digital analysis for corrosion monitoring