Optical Surface Characterization With The Structure Function