Shape Extraction from Shading Cues