Description
Reflectance map
1 Special case
(Book problem 2.1). We see a diffuse sphere centered at the origin, L with radius one
and albedo ρ, in an orthographic camera, looking down the z-axis. The sphere is
illuminated by a distant point light source whose source direction is (0,0,1). There is no
other illumination. Show that the shading field (reflectance map) in the camera is:
� 1 − �% − �%
Solution:
The equation for a sphere with radius one is:
� = � �, � = 1 − �% − �%
� = ,-(/,0)
,/ = , 23/4304
,/ = 2
% 23/4304 ∙ (−2�) = 3/
23/4304 (1)
� = ,-(/,0)
,0 = , 23/4304
,0 = 2
% 23/4304 ∙ −2� = 30
23/4304 (2)
The reflectance map equation for the light source direction (0, 0, 1) is:
� �, � = �
2
94:;4:2
(3)
Plug (1), (2) into (3), we have:
� �, � = � 1 − �% − �%
2 General light source direction
Starting from the reflectance map equation for a general light source direction (see slides
and book), show that reflectance map isophotes (curves of constant brightness in R(p,q))
represent conic sections, i.e. curves with squared and linear terms in p and q. You may
choose an example for a light source direction and plot the result in (p,q)-space for
several values of constant brightness.
Solution:
Assuming we are dealing with Lambertian surface, the equation of the reflectance map
for a general light source is:
� �, � = �
� ∙ �< + � ∙ �< + 1
�% + �% + 1 �<
% + �<
% + 1 (4)
where � = ,-(/,0)
,/ , � = ,-(/,0)
,0 , �< = <@
<A
, �< = <B
<A
.
For one light source direction, the above equation is equivalent to:
� �, � = � C9:D;:2
E 94:;4:2
where a, b, c can be treated as constants for a specific light source.
Let � �, � = 1, � = 1 we have (�� + �� + 1)% = �%(�% + �% + 1)
From this binary quadratic equation we can see that the plot can be curves for some
values.
Here we give a simple example for verification:
Suppose the light source direction is (0, 0.6, 0.8) (For simplicity, it is already a normalized
vector) and let � �, � = 0.5, � = 1, we have the equation:
0 0.6 0.8 N ∙ � � 1 N
�% + �% + 1 = 0.5
It can be derived as: � = 0.44�% + 3.84� + 1.56
Here is the plot on MATLAB: It can be shown that the isophote is a conic section.
3 Number of images for reconstruction of normals
Following the discussions in the book chapter 2 and slides, explain:
Why is one image with one light source direction not enough?
Getting images with more than one light source directions, justify how many images we
would need as a minimum. You can use drawings or equations if you like.
Solution:
From the reflection map we know that given an intensity on the image, there are many
(p, q) combinations (i.e. surface orientations), we can hardly determine which surface
orientation it has using only one light source direction.
We need at least 3 images to determine the surface normals of a shape.
Given two images from different views, they can be characterized by two independent
equations:
�2 �, � = �2(�, �) (5)
�% �, � = �%(�, �) (6)
From equation (4) we know that we �, �, � are unknown, if we know � and if (5) and (6)
are linear equations we can determine surface orientation using two equations.
However, equation (5) and (6) are nonlinear so that we need a third equation to
overdetermine the solution. That is to say, we need three images of different source light
directions to determine the surface orientation.
Graphically, we draw two reflectance map (see below) representing two different source
light direction of a specific image point under p-q space, we can see that there may exist
the situation when two curves intersect at two points. Thus we can’t determine from two
source light directions.
If we have 3 light source directions, we can determine the unique intensity.
p
q
p
q