Assessment of surface geometry using confocal scanning optical microscope