There are several algorithms to solve the shape from shading problem. Most of these algorithms rely on basic assumptions about the surface reflective properties, camera projection and location, and the light source distribution. In this paper, we implemented an algorithm based on a Wiener filter to obtain surface estimation from a single image. We tested the algorithm with images generated synthetically and also employing images from a real object. We were able to obtain the shape of objects with different geometries.
A simple technique for wavefront measurement is presented. This technique is based on the use of a computer display (LCD monitor) to generate color fringe patterns, which are imaged by a single-CCD color camera; whereas a phase object is placed in the ray path for imaging. The ray de ections distort the image of the pattern. By measuring this distortion, the gradients of the phase change caused by the object can be obtained. For the evaluation of the acquired fringe patterns, we use a classical phase-shifting technique with three fringe patterns encoded in a single color image displayed by the monitor; therefore, this proposed technique allows for real-time object shape measurement. Experiments are presented to demonstrate the success of this technique.