Electronics Project:Finding Shape
Finding shape from shading using Matlab:
The problem of shape from shading deals
with estimation of the depth or the three dimensional surface from its
projection on the screen (E(X, Y)) and given source of light s(x, y, z). We
make some simplifying assumptions in order to give a method to solving this
problem which are as follows.
Assumptions
1. Orthographic Projection: The object is far off
from the viewing plane. Hence only the rays which are perpendicular to the
viewing plane are incident on it. As a result the (X, Y) coordinates on the
image are the same as the (x, y) coordinates of the object.
2. Lambertian /Matte Surface: Equal energy is
reflected by the object in all directions. The reflected energy depends only on
the cosine of the incidence angle.
3. Light source is far off from the object
4. The position and intensity of the light source is
known.
The project, “shape from shading” is
implemented in MATLAB. The code is written to calculate the shape from shading
using both p,q parameters and f,g parameters. The recursive equation for f,g parameters
was derived and used.
No comments:
Post a Comment