On Shape from Shading and SAR Images: An Overview and a New Perspective