Phong Reflection Model - Inverse Phong Reflection Model

Inverse Phong Reflection Model

The Phong reflection model in combination with Phong shading is an approximation of shading of objects in real life. This means that the Phong equation can relate the shading seen in a photograph with the surface normals of the visible object. Inverse refers to the wish to estimate the surface normals given a rendered image, natural or computer-made.

The Phong reflection model contains many parameters, such as the surface diffuse reflection parameter (albedo) which may vary within the object. Thus the normals of an object in a photograph can only be determined, by introducing additive information such as the number of lights, light directions and reflection parameters.

For example we have a cylindrical object for instance a finger and wish to compute the normal on a line on the object. We assume only one light, no specular reflection, and uniform known (approximated) reflection parameters. We can then simplify the Phong equation to:

With a constant equal to the ambient light and a constant equal to the diffusion reflection. We can re-write the equation to:

Which can be rewritten for a line through the cylindrical object as:

For instance if the light direction is 45 degrees above the object we get two equations with two unknowns.

Because of the powers of two in the equation there are two possible solutions for the normal direction. Thus some prior information of the geometry is needed to define the correct normal direction. The normals are directly related to angles of inclination of the line on the object surface. Thus the normals allow the calculation of the relative surface heights of the line on the object using a line integral, if we assume a continuous surface.

If the object is not cylindrical, we have three unknown normal values . Then the two equations still allow the normal to rotate around the view vector, thus additional constraints are needed from prior geometric information. For instance in face recognition those geometric constraints can be obtained using principal component analysis (PCA) on a database of depth-maps of faces, allowing only surface normals solutions which are found in a normal population.

Read more about this topic:  Phong Reflection Model

Famous quotes containing the words inverse, reflection and/or model:

    The quality of moral behaviour varies in inverse ratio to the number of human beings involved.
    Aldous Huxley (1894–1963)

    Water. Its sunny track in the plain; its splashing in the garden canal, the sound it makes when in its course it meets the mane of the grass; the diluted reflection of the sky together with the fleeting sight of the reeds; the Negresses fill their dripping gourds and their red clay containers; the song of the washerwomen; the gorged fields the tall crops ripening.
    Jacques Roumain (1907–1945)

    There are very many characteristics which go into making a model civil servant. Prominent among them are probity, industry, good sense, good habits, good temper, patience, order, courtesy, tact, self-reliance, many deference to superior officers, and many consideration for inferiors.
    Chester A. Arthur (1829–1886)