A NNALES DE L ’I. H. P., SECTION C
J AN C HABROWSKI Z HANG K EWEI
On variational approach to photometric stereo
Annales de l’I. H. P., section C, tome 10, n
o4 (1993), p. 363-375
<http://www.numdam.org/item?id=AIHPC_1993__10_4_363_0>
© Gauthier-Villars, 1993, tous droits réservés.
L’accès aux archives de la revue « Annales de l’I. H. P., section C » (http://www.elsevier.com/locate/anihpc) implique l’accord avec les condi- tions générales d’utilisation (http://www.numdam.org/conditions). Toute uti- lisation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit conte- nir la présente mention de copyright.
Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques
On variational approach to photometric stereo
Jan CHABROWSKI and Zhang KEWEI Department of Mathematics, The University of Queensland, Brisbane, St. Lucia 4067 Qld, Australia
Vol. 10, n° 4, 1993, p. 363-375. Analyse non linéaire
ABSTRACT. - In this article we discuss a variational aspect of a system of two
equations arising
inphotometric
stereo.Assuming
that this system has two distinctsolutions,
we construct aminimizing
sequence for any functionlying
on a segmentjoining
these two solutions. Ingeneral,
the system inquestion
may have one, two, four or more than four solutions.Key words : Minimizing sequences, young measures.
RESUME. - Dans cet
article,
nous etudionsl’aspect
variationnel d’unsystème
de deuxequations
intervenant en « vision stereo ». Sousl’hypo-
these que le
système
a deux solutionsdistinctes,
nous construisons unesuite minimisante
approchant
toutes les fonctions appartenant au segmentjoignant
ces deux solutions. Engeneral.
lesystème
etudie peutposseder
une,
deux,
quatre(ou plus)
solutions.1. INTRODUCTION
In this paper we discuss a variational
approach
topartial
differentialequations arising
in computer vision[9].
Theproblem
of interest is theClassification A.M.S. : 49 R, 35 R, 35 Q.
Annales de l’lnstitut Henri Poincaré - Analyse non linéaire - 0294-1449
so-caled
shape -
from -shading problem,
in which one seeks a functionu
(xl, x2), representing
surfacedepth
in the direction ofz-axis, satisfying
the irradiance equation
on a domain Q c
1R2.
Here R is the so-called reflectance mapcontaining
the information on the illumination and
surface-reflecting conditions,
E isan
image
formedby orthographic projection
oflight
onto aplane parallel
to the
(xl, x2)-plane
and Q is theimage
domain.In this note we are interested in a case where the reflectance map
corresponds
to the situation in which a distantpoint - source
illuminatesa Lambertian surface. For full discussion of this case we refer to papers
[4], [5]
and[6].
Weonly briefly
mention that if a smallportion
of aLambertian surface u with normal direction
( 2014~-, - 1 ) is illuminated
axl’ OX2 /
by
a distantpoint-source
of unit power in direction(pl, p2,p3),
thenaccording
to Lambert’slaw,
the emitted radiance and reflectance map aregiven by
cosine of theangle
between these two directions.Denoting by
E
(xl, x2)
thecorresponding image,
then theimage
irradianceequation
inthis situation takes the form
By
aphysical interpretation,
E represents theintensity
of the reflectedlight
and must benonnegative.
Therefore the domain Q of thisequation
consists of the
points
for which the left - hand side isnonnegative.
On theother hand we have
by
Schwartzinequality E (xl, x2) 1
andconsequently 0 _ E (xl, x2) _ 1. Recently,
someinteresting
results have been obtained in the case where thelight
source is situatedoverhead,
thatis, p = (0, 0, -1 )
and the
corresponding image
irradianceequation
takes the formwe arrive at the eikonal
equation
This
equation
has attracted the attention of severalpeople [4], [5]
and[6],
where some results on existence and nonexistence of solutions can be found. These results have been obtained
by considering
a system of characteristicequations
associated with(2).
In this recent paperKozera
[ 11 ],
discussed the existence of solutions to the systemThis is the case of
photometric
stereo.Here,
theshape
of a Lambertiansurface is recovered from a
pair
ofimage
data obtainedby
illumination from two differentlight
source directions(see [9], [11] ]
and[13]).
Inparticular,
Kozera[11] has
obtained some resultsguaranteeing
the exist-ence of one, two, four or more than four solutions. The method
employed
in
[11] consists
ofcomputing
uxl and ux2 andimposing
natural conditionson the obtained
expressions,
which guarantee the existence of solutions.This paper also contains an
interesting
methodshowing
how one canobtain a solution to
(3) by glueing
solutions defined ondisjoint
sets.In a natural way we associate with
(2)
the functional J(u), given by
J is not convex and a minimization
technique
may not lead to an exact solution of(2).
In a recent paper[7],
the authorsproved
that any functionu
satisfying
theinequality (*)|Du(x) |2~E(x)
can beregarded
as a "mini-mum" of the functional
J,
in the sense that there exists asequence {un},
with un
~an
= u such thatand
The same result continues to hold if the
L 1-norm
in J isreplaced by
aLP-norm with This
phenomenon
occursregardless
of whetheror not the
equation (2)
has an exact solution(for
nonexistence resultsee
[4],
Theorem1). Therefore,
due to thisapproximating
property, one should also consider any function usatisfying ( * )
as a candidate for apossible shape,
which isimportant
in cases when theequation (2)
has noexact solution. In
practical
terms this is due to the fact that the measure- ment of E isnoisy.
For this reason a function usatisfying ( * )
is called a"noisy
solution" to(2).
In this paper we address the samequestion
forthe system
(3).
We assume that this system has at least two exact solutions ul and u2. To describe our mainresult,
let us introduce thefollowing
notation
and
and define a functional I
by
To examine the functional I we introduce a functional E
given by
We show that is a sequence in W 1 ° °°
(Q)
with lim E(un)
=0,
thenn - o0
lim
I (un) = 0. Also,
weak- * limitpoints
inL °° (S2),
for whichn - 00
lim lie on the segments
joining
Dul andDu2.
This observation indicates that the "noisephenomenon"
should occur for functions of the form( * * ) u = 7~ u 1 + ( 1- ~,) u2,
for some~, E (0,1 ).
Infact,
we show thatfor a
given
u of the form(**),
thereexists {un}
in °°(Q)
such thatlim
I (un) = 0,
weak-* inW 1 ° °° (SZ)
and In both situa-tions,
due to the Sobolev compactembedding theorem,
up to a subse- quence, un convergesuniformly
to u.Consequently,
inpractice
it is difficultto
distinguish
between un and u forlarge
n.Therefore,
this also supports the idea that in the case of the eikonalequation (2)
any function usatisfying (* )
should also be considered as a candidate for apossible shape.
In the case of system(3)
the same role should be attributed to any functionsatisfying (* * ). Finally,
wepoint
out that we useYoung
measures(see [2]
and[3])
to understand the nature of oscillations ofweakly
conver- gent sequencesoccuring
in ourapproach.
2. PRELIMINARIES
AND SOME OBSERVATIONS ON YOUNG MEASURES Let Q be bounded domain in
(~2
with aLipschitz boundary
aQ.By
W 1 ~ P(Q),
1p
oo, we denote usual the Sobolev spaces P(Q) (see [ 1 ]).
Since aSZ is
Lipschitz,
the elements ofW 1 ~ p (~)
have traces on Forx E 1~2 we write x =
(xi, x2).
We suppose that a Lambertian surfaceS, represented by
thegraph
of a functionU E Cl (Q),
is illuminated from twolinearly independent directions, namely
p2,p3)
and q2,q3).
According
to the discussion in Section1,
u satisfies the system ofequations (3).
We assume thati =1, 2,
are continuouson Q.
Throughout
this paper we assume that thesystem (3)
has at least twodistinct solutions. For our purposes, we fix two distinct solutions
ul
andu2 belonging
toCl (0).
With these two solutions we associate the functional Egiven by (6).
We describe below a
situation,
where the system(3)
hasexactly
twodistinct solutions. This result is taken from Kozera
[11]. Obviously,
weidentify
solutions which differby
a constant.Let
and
Here ( . , . )
denotes the scalarproduct
in~3.
PROPOSITION 1. - Let
Ei
EC1 (S~),
i =1 , 2,
where SZ is asimply
connectedregion of 1~2,
and let.0 _ Ei (x) -1
on~,
i=1, 2. Suppose
that A(x)
> 0on Q. Then a necessary and
sufficient
conditionfor
the existenceof exactly
two solutions to
(3) of
classC 1 (SZ)
is,for
each choiceof sign,
In this case the
partial
derivativesof
ul and u2 aregiven by
and
The
following example illustrating Proposition
1 is taken fromKozera [11].
The
corresponding
irradianceequations
have the formon
Z={~6~~i+~2+~0~i~2}-
1~ this case o~=-2 and~2014Y~2
A= ~ ~2014
>0 on E and an easycomputation
shows that3(!~!+i)
Consequently,
we have(ux 1 )x2 = (ux2)X 1, i =1, 2.
Therefore there existexactly
two distinct solutions u 1 andu2 (x) I x I 2
of the2
system
(3).
For conditionsguaranteeing
the existence of four solutions werefer to the paper
[ 11 ] .
To examine the structure of
minimizing
sequences of functionals E(u)
and I
(u),
where I isgiven by (5),
we need thefollowing
result onYoung
measures.
THEOREM 1. - be bounded sequence in L1
(SZ,
Then thereexist a
subsequence {z03BD} of {zj}
and ax E SZ, of probability
measures on
0~2, depending measurably
on x E S2 such thatfor
any measurable subset A c R2for
everyCarathéodory function f :
SZ xRs ~ R
such thatf ( . , z03BD)
is sequen-tially weakly relatively
compact in L1(A).
Here (
vx,/(x,.))
denotes theexpected
value off (x, . ).
We commence with
simple
results on the functionals I andE,
whichgive
the clue to the construction ofminimizing
sequence of I.PROPOSITION 2. - sequence in
W 1 ~ °° (SZ). If
lim
E (un) = o,
then limn - 00 n - 00
Proof. -
Let us denote theintegrand
of the functional Eby
F(x, P),
that
is,
for
(x, P) E S2 X I~2.
Since lim we see that for every E > 0n - m
For a
given
E > 0 we define sets03A91
andO2 by
and
On the set
O2
wehave |Dun (x) - Du2 (x) IE.
We now writeIt is easy to see that the functions
are
Lipschitz
on(~2
and let M denote the maximum of theLipschitz
constants
of f1 and f2. Hence, using
the fact that Ui satisfies eachequation
In a similar
wiy
we estimate 12. Since the functionsfi
andf2
arebounded,
we have
for some constant C > 0
depending
onsup Ei
and supf ,
i=1,
2.fi ~2
PROPOSITION 3. - be a bounded sequence in W 1 ~ °°
(SZ)
suchthat un -~ u weak-* in °°
(SZ)
and lim E(un)
= o. Then lim I(un)
= 0 andn - ao n - o0
for
a. e. x~03A9Du (x)
lies on a segmentjoining
the vectors Dul(x)
and Du2(x).
Proof -
The first part of the assertion is a consequence ofProposi-
tion 2.
Let {03BDx },
x ES2,
be afamily
ofYoung
measurescorresponding
toThen for a
subsequence
denotedagain
weL...___
and this
implies that (
vx, F(x, . ) ~
= 0 a. e. on Q and supp v~ c(x), Du2 (x)]. Consequently,
and
COROLLARY. - sequence in
W 1 ~ °° (S2)
such thatlim
(E (un) = 0.
Then all weak-* limitpoints
lie on segmentsn - 00
joining
Du1(x)
and Du2(x) for
a. e. x E SZ.In the next section we construct a
minimizing
sequence withproperties
described in Section 1 for a function
+ ( 1- ~,) u2
for some~, E (0,1 ).
For
simplicity
we assume that X isindependent
of x.3. MAIN RESULT
Since a
minimizing
sequence un must agree with agiven
functionu = ~,ul + ( 1- ~,) u2
on we look for a sequence in the formwith
~n E W 1’
°°(SZ)
and~n -~ 0
weak-* in W 1 ° °°(SZ).
To obtain someinformation on the nature of oscillation of the
sequence {D03C6n}
let usconsider its
Young
measurevx.
Since lim we haven - 00
and
consequently
On the other hand
D~" -~ 0
weak-* in L°°(S~)
and thisimplies
that( vx, T )
=0,
thatis,
This
identity
isequivalent
toAt
points
x, where we can take~, = i (x). Intuitively,
this means that we can
locally construct 03C6n
as an affine functionon two
parallel strips
withgradient equal
to and- (1- ~,) (Du2 - Dul), respectively. Finally,
we observe that sincevx
is nota Dirac measure, the
sequence {D03C6n}
cannot convergestrongly
inLP (Q),
1
_p
oo, to 0(see
Tartar[12]).
We are now in a
position
to establish our main resultTHEOREM 2. - Let u
(x) =
À U1(x)
+(1 - À) u2 (x) for
some 0 ~, 1. Thenthere exists a
sequence {un}
in W1, ° °°(SZ)
with un = ul an for
each n suchthat unu weak-* in
W1, ~(03A9)
and lim and hencelim
n - 00
Proof. - First,
we localize theproblem by approximating
Qi i
by
a sequence of unions of squares withHi c o
andlim
|03A9-Hl|=0.
We assume that theedges
of squares areparallel
to the, -~ 00
coordinate axes with the
length d ( Dl = 1 .
We denote the centre of the squareDls by xs.
Given aninteger
n > 1 we choose aninteger ln > 1
suchthat
and
for all x E The last
inequality
follows from the uniformcontinuity
of Dui on Q. We nowdefine, assuming
thatWe see that on the lines and
We now extend into
1R2
as aperiodic
func-tion and the extended function is still denoted
by
Now for eachinteger
m >_ 1 we setand denote
by gsn m
the restriction of to It is clear thatand
We assume that ~ is
sufficiently large
to ensure that2014 ~2~"~J~(D~)~
for a fixed ~. Theinteger ~
will be chosen later.2" ’
We now denote
by E~
a square contained in withedges parallel
tothe coordinate axes and of
length -~ "
2" 2~",J~
’ (D~) and such thatWe now define a function
hsn m
on~Dlns
UEsn m by
The function
hsn m
isLipschitz
on its domain of definition and itsLipschitz
constant does not exceed Let be the
Lipschitz
extension ofhsn m
intoDsn
and set to be 0 outside Wenow choose m" such that and
where The above construction
n
has been made under the
assumption
that Ifwe define a function
)~ by ~"(~)=0
onD~
and~H
extend it
by
0 outsideFinally,
we set~ (x) = ~ P~ (x),
where~=1
Let
un (x) = u (x) + ~n (x)
and write whereHI
is the union of squaresD~
withDul
=Du2
andHI
is the union of squares withDu1 (xls)~Du2 (xs).
To show that lim E =0,
we writeusing (7)
n - o0
Since on
H n
andDul
= Du2 for eachDsn
E it follows from(8)
thatTo estimate
r
F(x, Dun)
dx we use(9)
and(8)
to getH2
lnr F(x,Du")dx
H2
InConsequently, combining (10), (11)
and the last estimate we obtainIt is easy to check that
Therefore we may assume that
~n -~ 0
weak-* inW 1 ~
°°(SZ)
and thiscompletes
theproof.
To close our paper we
point
out that elements of our construction arenot new and can be traced in variational calculus
(see [8]).
ACKNOWLEDGEMENTS
The authors wish to thank the referee for many
suggestions
andcorrections.
REFERENCES
[1] R. A. ADAMS, Sobolev Spaces, Academic Press, New York, 1975.
[2] J. M. BALL, A Version of the Fundamental Theorem for Young Measures, Lecture
Notes in Physics, Springer Verlag, No. 344, pp. 207-215.
[3] H. BERLIOCHI and J. M. LASRY, Intégrandes normales et mesures paramétrées en calcul
des variations, Bull. Soc. Math. France, Vol. 101, 1973, pp. 129-184.
[4] M. J. BROOKS, W. CHOJNACKI and R. KOZERA, Shading Without Shape, Quaterly of Appl. Math. (in press).
[5] M. J. BROOKS, W. CHOJNACKI and R. KOZERA, Circulary 2014 Symmetric Eikonal Equa-
tions and Nonuniqueness in Computer Vision, J. Math. Analysis and Appl. (in press).
[6] A. R. BRUSS, The Eikonal Equation: Some Results Applicable to Computer Vision, J. Math. Phys., Vol. 23, (5), 1982, pp. 890-896.
[7] J. CHABROWSKI and KEWEI ZHANG, On Shape from Shading Problem, Department of Mathematics, the University of Queensland, preprint.
[8] B. DACOROGNA, Direct Methods in the Caluculus of Variations, Applied Mathematical Sciences, Vol. 78, Springer Verlag, Berlin Heidelberg, 1989.
[9] B. K. P. HORN, Robot Vision, M.I.T. Press, Cambridge M.A., 1986.
[10] B. K. P. HORN and K. IKEUCHI, The Mechanical Manipulation of Randomly Oriented Parts, Scientific American, Vol. 251, (2), 1984, pp. 100-111.
[11] R. KOZERA, Existence and Uniqueness in Photometric Stereo, Discipline of Computer
Science School of Information Science and Technology, Flinders University of South Australia, preprint TR 90-14, 1990.
[12] L. TARTAR, Compensated Compactness, Henriot-Watt Symposium, Vol. 4, 1978.
[13] R. J. WOODHAM, Photometric Method for Determining Surface Orientation from
Multiple Images, Optical Engineering, Vol. 19, (1), 1980, pp. 139-144.
( Manuscript received January 7, 1990;
revised June 6, 1991.)