Characterization of surface roughness