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:

    Yet time and space are but inverse measures of the force of the soul. The spirit sports with time.
    Ralph Waldo Emerson (1803–1882)

    In the last analysis, love is only the reflection of a man’s own worthiness from other men.
    Ralph Waldo Emerson (1803–1882)

    When Titian was mixing brown madder,
    His model was posed up a ladder.
    Said Titian, “That position
    Calls for coition,”
    So he lept up the ladder and had her.
    Anonymous.