A NNALES DE L ’I. H. P., SECTION C
A NTONIN C HAMBOLLE
A uniqueness result in the theory of stereo vision :
coupling shape from shading and binocular information allows unambiguous depth reconstruction
Annales de l’I. H. P., section C, tome 11, n
o1 (1994), p. 1-16
<http://www.numdam.org/item?id=AIHPC_1994__11_1_1_0>
© Gauthier-Villars, 1994, 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
http://www.numdam.org/
A uniqueness result in the theory of stereo vision:
Coupling Shape from Shading
and Binocular Information
allows Unambiguous Depth Reconstruction
Antonin CHAMBOLLE CEREMADE
place de-Lattre-de-Tassigny,
75775 Paris Cedex 16, France
Vol. 11, n° 1, 1994, p. 1-16. Analyse non linéaire
ABSTRACT. - We
study
here the mathematicalconsistency
ofcoupling
two classical methods in the
theory
of vision and surfacereconstruction, namely
theshape from shading theory
and thetheory
of stereo vision. Itis known that each of these
approaches by
itself isincomplete
and leadsto ill
posed problems
andmultiple solutions,
even under drasticsimplifying assumptions.
We show in this paperthat,
from a mathematicalpoint
ofvue, these
ambiguities disappear
when both theories arecooperatively implemented.
In section 2 we state ourassumptions;
then part 3 is devotedto the
presentation
of the binocular visiontheory.
Section 4eventually studies,
in the one and two dimensional case, howintroducing
theshape from shading
tool leads to theuniqueness
of the solution. In the annex(section 6),
a few mathematical results areexplained,
and someexperiments (in
1D)
arepresented.
Key words : Stereo vision, Shape from shading.
RESUME. - Nous etudions ici la consistance
mathematique
ducouplage
de deux methodes
classiques
de reconstructionvisuelle,
a savoir la theorieClassification A.M.S. : 35 R 25, 68 V 10.
Annales de /’Institut Henri Poincaré - Analyse non linéaire - 0294-1449 Vol. n/94/01/$4.00/S) Gauthier-Villars
du
shape from shading, qui
vise à retrouver le relief d’une surface àpartir
des ombres et variations d’intensite lumineuse de son
image,
et la theoriede la vision binoculaire
(la
« vision stereo » au sensusuel).
Chacune deces
approches
estincomplete
et conduit a desproblèmes
malposes
asolutions
multiples.
Dans cet article nous montrons que d’unpoint
de vuemathematique
ces inconvenientsdisparaissent lorsqu’on
met a contribution de manierecooperative
les deux methodes.Dans la section 2 on etablit un certain nombre
d’hypotheses simplifica- trices, puis
lapartie
suivante 3 est consacree a lapresentation
de notremodele de vision binoculaire. Finalement nous montrons
(section 4)
dansles cas uni- et
bidimensionnel,
comment l’introduction dushape from shading supprime
lesambiguités.
Le detail des résultatsmathématiques
detrouve en annexe, ainsi que la
presentation
dequelques
resultats de simulationsnumeriques (en
dimensionun).
1. INTRODUCTION
The main
problem
in stereo vision appears to be thecorrespondence problem,
i. e.given
two differentimages
of the same scene, how can acomputer match
correctly
an element of the firstimage
to one of thesecond when
they correspond
to the same part of the scene? Several methods exist to try to solve thisproblem,
which often differby
the kindof
objects they
areusing
ininput: basically
one can try to match the dots ofequal brightness [7] eventually taking
into account the fluctuations thatnecessarily
occur between the twoimages [2].
Most stereo-matchers rather try to matchimage
features that aresupposed
to be more stable andreliable,
likeedges,
corners([3], [8], [12]).
But whatever method is used theoutcoming
information can never becomplete
and is even sometimesvery sparse,
especially
for feature-based stereo-matchers. Oneproblem
isthus: how to fill-in the
gaps? Generally
the output of the matcher is smoothed in a way oranother,
whichgives
most of the time a closeapproximation
of theright
solution. ’Recovering shape
fromshading
is also anambiguous problem ([4], [8])
and it is even clear that the reconstruction of
shape
cannot be achievedwithout
using
other sources of information. A. Pentland has shown thata linearization of the
equations [9]
couldhelp
to find anapproximate solution,
but he alsoquoted
that this linearization had ameaning only
under
assumptions
that one cannotexpect
to be true on a wholeimage
Annales de fInstitut Henri Poincaré - Analyse non linéaire
(roughly
aslong
as the direction of incidentlight
is farenough
from thenormal to the surface there is an
approximate proportionality
between theintensity
and thedepth).
It was shown[10]
thatactually,
thepoints
wherethe surface is lit
frontally
aregenerators
ofnon-uniqueness
of the solution of theshape
fromshading equation.
It is very easy after a fewsimplifying assumptions
toimagine
two different surfacesgiving
the sameimage;
thismethod needs thus
necessarily
to becoupled
with other methods togive good
results.This paper deals with
integration
of stereo vision andshape
fromshading.
More than one way can beimagined
ofintegrating
both methods:for
example,
one may think ofusing
the information of theshading
tofill in the spaces left
by
a matcher. But the aim of this shortstudy,
ratherthan to tell what the
right
wayis,
is to address the issue of the mathematicalconsistency
of thisintegration,
with as manysimplifying assumptions
asneeded. Our main result is that
coupling
information ofshape
fromshading
and stereoyields
acomplete
theoretical recovery ofshape.
Although
ourapproach
does not lead to aparticular algorithm,
we delimitsome fundamental aspects of the issue and in this way can
help
andguide
researchers in the
development of algorithms;
a few situations where noresult can be
expected
are also discussed.The
assumptions
that areusually
made beforetrying
to solve theproblem
ofrecovering shape
fromshading
are, aspointed
outby
Pentland
[9],
of three kinds:assumptions
on the surfaceshape,
on thedistribution of illumination and on the reflectance function. We will use
assumptions
of thesekinds,
and add a few more to make the stereo visionproblem simpler.
To beprecise
we’ll makeassumptions
on the cameras,the
surface,
and theirposition
withrespect
to each other. And most ofall,
we’ll restrict ourstudy
to the case where the data as well as thebrightness
map is assumed to be continuous.2. ASSUMPTIONS AND MAIN RESULT
We’ll consider the
following assumptions
in order tosimplify
theshape
from
shading
model:1. The surface of the
object
we want to reconstruct is smooth(we
willsuppose it is
C1,
i. e.continuously differentiable,
and try to see in the end if this strongassumption
can not be weakened alittle.)
2. There are no shadows on the surface.
3. There is
only
onelight
source, atinfinity (and
the surface is notilluminating itself).
Vol. 11, a° 1-1994.
4. The reflectance is
lambertian,
which means that theintensity
reflectedby
apoint
on the surface isproportional only
to the cosine of theangle
made
by
the direction of illumination and the normal vector to the surface.The lambertian
assumption
is found in many studies. Aspointed
outby Pentland,
it islikely
that the human eye ismaking
such anassumption
when it tries to extract
shape
fromshading.
The
problem
of stereo vision will also besimpler
if we assume that:5. We get the
pictures
with a set ofparallel
"standard stereo cameras"[11] which
is described below.6. There are no occluded zones on the
images.
7. The surface can be
represented by
a functionZ = f (X, Y)
where theplane (X, Y)
isparallel
to the focalplanes
of the cameras and Z remainsbounded. ’
Note that the
assumptions made
on the surface and itsproperties correspond roughly
to thedescription
of a(not
toobumpy) plaster
bas-relief.
.
A set of
parallel
standard stereo cameras consists of two ideal cameras, in which theimage
is obtainedby
asimple projection through
apointwise lens,
whose coordinate systems areparallel
to each other andwhose focal
distance
f,
i. e. the distance between the lens and theplane
of theimage,
is the same. This model
simplifies
calculations withoutchanging
the results ofuniqueness,
as"images
of any real stereo cameras can be transformed to those of the standard stereo cameras if the parameters of these camerasare known in advance."
[11] J
If
lens ~ 1
and # 2 arerespectively
in(A/2, B, C)
and( - A/2, B, C) (baseline length
thus isA),
then apoint
in the scene(X, Y, Z),
withZ _ C,
appears on the
images
# 1 and # 2(represented by
arectangle R c R)
inresp.
(xi , y)
and(x2, y)
where:Here the
epipolar
lines - intersections of theimages
with aplane running through
both lenses - aresimply
the lines y = Const. We will have to do one lastassumption
useful fortreating
bothproblems:
9. The
brightness
that is observed in one doty), i =1,
2 of theimage
isexactly
thelight intensity
emitedby
thepoint (X, Y, Z)
of thesurface it
corresponds
to(this implies
that we haveperfect
noise-freeimages.)
RESULT. - Under
assumptions (1-9),
if the direction of illumination is not too close to the direction(X, Y)
of the focalplanes,
and if thefollowing boundary
condition holds: thedisparity
isalready
known onthe
boundary
of a certain set of dots ofimage
# 1 that appear also on Annales de flnstitut Henri Poincaré - Analyse non linéaireimage # 2;
then it should bepossible
to reconstruct the surfacecorrespond- ing
to this set withoutambiguity.
3. STEREO VISION
We
begin
with a shortstudy
of the stereo visionproblem. Assumptions (4, 5, 9)
allow us to write whenI; :
R -~[0, 1]
is theintensity
mapdescribing
2 :
each time that
(xi, y)
and(x2, y)
arecorresponding points,
linkedby
relations
(8). Substracting
x2 and xi we find that thedisparity
function uis
directly
related to Z:Let’s call
03A91
the set of all thepoints
of the firstimage
that appear alsoon the second one, we’ll assume that it is a connected set. The
problem
isthe
following:
We’re
looking
foru (xl, y) :
Rverifying:
As this issue can be seen as a
family
of one-dimensionalproblems
indexed
by y
it isinteresting
first tostudy
thefollowing
one-dimensionalissue,
where:01 eRe R,
and we arelooking
for u(x 1 ) :
R with:Assumption (6)
ensuresthat § (x) = x + u (x)
is a continuousstrictly increasing function,
thus anincreasing homeomorphism mapping 03A91
ontoS22 = ~ (SZ1),
and we can rewrite formula(13) I2 ~ ~.
Let us set:I1
is constant in aneighborhood
oft ). ( 14)
We have the
following
theorem(shown
inappendix A):
THEOREM 1. - Assume
I1 (or
in anequivalent
wayI2)
has aleft
andright
limit at eachxeoi
andSZ2 being
open intervalsof R - and 03C8
is anotherincreasing homeomorphism mapping SZ1
ontoS2i = gs (SZ1)
c R with =I2 ° gs,
assume also that:(when t0 ~ 03A91,
we consider the limitsof gs and 03C6
atto)
then:where B
= ~ (A).
Vol. 11, n° 1-1994.
This means that
equation (13)
associated with theknowlege
ofQ1
1 and the value of u at onepoint
to E~~
istheoretically
sufficient forrecovering
the
disparity everywhere
whereI1
is notlocally
constant.We could not expect a better
general
result as it is easy toimagine
situations
leading
to a wrong solution and to mismatches if we don’t know whichpoints
can be matched and thedisparity
at one of those.Think for
example
ofperiodic
surfaces ascorrugated
iron or rows ofpearls.
Note also that relation(13) gives
no information on the value of uin A.
The
problem
can be written as follows: ,then if v minimizes
off on {v~E, ~t0~03A91 v(t0)=u(t0)}
we have v = u onThis formulation is for instance the one
adopted by
R. March[7].
4. SHAPE FROM SHADING
Let us now
study
theshape
fromshading problem,
and first return tothe bi-dimensional case.
Once 01
and thedisparity
u areknown,
the partof the surface
corresponding
to the setQi
can be recoveredsimply by inverting
formulas(8).
We get aparametrized
surface:and with
assumption (1)
one caneasily
compute a normal vector to the surface:Annales de fInstitut Henri Poincaré - Analyse non linéaire
We’ll write
v=loglul ]
andx = (x,
and take as a normal vector tothe surface
n = ( f av/ax, f av/ay, x . ’~ v -1 )
where the dot denotes the scalarproduct
in here~82.
Weactually
need anormal vector
pointing
towards the inside of the illuminatedobject (i.
e.from
top
tobottom)
and we can show that it is the case of this one[the simplest
way ofseeing
this is to notice that it is continuous andpoints
towards the bottom at
(x, y) _ (o, 0)].
Now if
Io
=(a, P, y),
wherecx2
+p2
+y~
== 1 and y0,
is the direction of the incidentlight (we
use hereassumption (3))
theequation
for theshape
from
shading problem
turns tobe, using assumptions (1, 2, 3, 4):
where
=
Thisequation
can also be written:This is an Hamilton-Jacobi-Belman
equation and,
as it is convex with respect toV v,
it can be seen as theequation
of anoptimal
controlproblem
which can be studied
using dynamical programming techniques ([1], [5], [6], [10]).
Now
again
we’llbegin by restricting
ourselves to the one-dimensionalcase even
though
it has lesssignification
than in theprevious
section:In this case the normal vector to the
surface,
which is now aline,
is( fv’, xv’ -1 )
wherev = lo g ]
andv’ (x) = dv/dx (x).
Asabove ~ 1
andR are now segments of [R and we consider the formulation
(18):
where now
Io=(a, y), oc2 + Y2 --1, yO
andV2).
___With
assumption (7)
we need to havev2 ~ 0
and thus V2 z~1-- vi,
and
(20) implies:
so that there is a choice between two
possible
values ofv;
expect whenIi== 1.
The C~ solutions of(20)
form therefore a set of different curves, with bifurcations from one to another at eachpoint x
whereI i (x)
=1.We have to find the
right
solution among all those curves.The answer is
given by equation (13):
as shown in the last section thisequation
under theassumptions
of theorem 1 makes uuniquely
determinedexcept on the subset
Equation (21)
allows then to find u on A(or almost). Actually
A is the union of open segmentsK = ] x°,
xl[ (its
con-nected
components),
onwhich I1
is constant and(13)
guarantees theuniqueness
ofu (XO)
and while(21) gives
twopossible
values ofVol. 11, n° 1-1994.
u’
(x)/u (x)
= v’(x)
on K:and
where
One can
easily
notice thatand in the first case
only
one of these two values of v’ can becompatible
with the
already
known valuesu (XO)
and u(xl).
In fact we have to assume a stronger
boundary
condition than in theorem 1 toreally
guaranty theuniqueness
of the whole set03A91
of thesolution of
(13)
and(20),
as, in a fewsituations,
there is aslight
error inthe above
proof:
for instance if the lowerboundary
of03A91
coincides with the one ofA,
there is a segment[ c A
withx°
=inf (A)
=inf(03A91)
inwhich is
uniquely
determinedby (13)
but notu(XO).
Therefore toensure that u can be reconstructed in
any
case withoutambiguity
on thewhole set
S~1
we have toknow,
as aboundary condition,
its value onThe bi-dimensional
problem
is thefollowing: 0 = int (01)
is a boundedconnected open set in 1R2 and we’ll use as a
boundary
condition the(assumed known)
value of u on now, urepresenting
here the actu-al - unknown -
disparity function,
we would like5=
u to be theunique
solution of:
(with ?=log I ùl)
where
L~B~ 0 ~) (~ C1 (SZ)
andx+u(x,y)
is forall y
astrictly
increasing
function of x.It is also natural to assume that:
and this time we define two sets A and B:
Annales de l’Institut Henri Poincaré - Analyse non linéaire
We now state the
following
theorem:THEOREM 2. -
If Io,
directionof
thelight illuminating
the scene, doesnot have a too low
angle of incidence,
i. e.satisfies
the conditionthen
problem (22)
has aunique
solutionu =
u on SZ.Condition
(25)
means that theangle
betweenI°
and(x, y, - 1),
whichis the direction of the ray
connecting
thepoint (x, y)
on the camera screenQi
to thecorresponding
realpoint (X, Y, Z),
isalways
smaller than7C/2.
From the first
section - using
stereo vision - we know thatu
is knownon
QBA
andequals
the truedisparity
u.By continuity
it is also true onA B B
is made of segments[ X ~ y }
withy)=u(XO, y), y)
andI 1 (x, y) =1,
As
I1 = 1
theequation (19)
has aunique
solutionthus
u=u
on]XO, xl [ X y } .
Thenu=u
onQBA
and onABB,
i. e. onand thus on
QBB,
and wejust
need to prove thatu = u
inside int(B)
which leads to thefollowing problem:
where
and where:
and this
problem
has been shown to have aunique solution, provided (25)
is true(see appendix B).
5. CONCLUSION
We have shown the theoretical
possibility
ofrecovering
a surface suchas a
plaster
bas-relief withoutambiguity
from two stereoimages
of thescene. The numerical resolution of this
problem
remainsdifficult,
butsome lessons can be drawn:
~ At least in the zones where one wants to use
shading
information it is necessary to make anassumption
of smoothness of thedisparity,
andthus of the surface. The above
uniqueness
results remain true if onejust
assumes
(Q, 0 ~)
n C1(int (A))
and considerequation (19) only
Vol. 11, n° 1-1994.
where u is smooth. If
u ~
C 1(int (A)
it may not bepossible
to find theright
solution: we can find C~ solutions that won’t match theboundary conditions,
and there may be aninfinity
of non-C1 solutionsmatching
these conditions.
~ We
always
usedimportant boundary
conditions to get ourresults,
and these conditions were often necessary.
(In
the two-dimensionalprob-
lem one can still obtain
good
resultsby using
as an initial condition instead of the value of thedisparity
on aSZ its value atjust
onepoint
in eachepipolar line,
it is evenlikely
that with the strongcontinuity assumption
wemade
knowing
its value at onepoint
should beenough
in mostcases).
Anyway
most stereo matchers won’t need these conditions towork,
excepton very
particular periodic images,
sothey
are not a realproblem
for theimplementation.
Two kinds of
algorithms
based on these ideas can beimagined:
~ We can try to solve the
shape
fromshading problem using
stereovision to select among all the solutions the
right
one: this has beenimplemented
in 1 D onsynthetic images
andhappens
togive good results,
that arepresented
inappendix C;
however its 2 Dimplementation
is a lotmore difficult.
~ In a
completely
different way we can, as it wassuggested
in theintroduction,
try to build a stereo matcherusing
theshape
fromshading
information to fill in the gaps left between the
matches,
in a more or lessintegrated
way. Andprobably,
as it is seen in the lastsection,
the ideal matcher here would match among other features the maxima of thebrightness,
which are thepoints generating
"trouble" in theshape
fromshading problem.
APPENDIX A
PROOF OF THEOREM 1. - Assume first that
SZ2 = 5~2.
We haveon
~2~,
i.e.I~Bt/°())’’~==l2
on5~2.
Letw=~r°~-1,
w isan
increasing homeomorphism mapping Q~
on itselfwith,
ifw (xo) = xo.
We need to show thatw (x) = x
where:
B
= ~ (A) = gs (A) = { t E ~2, 12
is constant in aneighborhood
oft ~ .
Consider any
x~03A92
with We must prove that x E B.If,
forinstance,
xo x, then:either:
or:
In the first case
by
induction we find thatAnnales de flnstitut Henri Poincaré - Analyse non linéaire
and therefore:
and we have as w is continuous. Let
I = I2 (x) = I2 (w (x)),
wehave
I = I2 (wn (x)), Vnefl,
and as12
has aright
limit atxoo,
I = lim
I2 (wn (x))
=I2
+0) .
n - oo
Now if
(x) [
we havethus lim wn
(t)
= XOO and therefore:which
leads,
as V n12 (t)
=12 (wn (t)),
to:We thus
proved
thatI2
= I = Const. on] (x) [3
x, therefore x E B.The second case is not different from this one: we
just
have toreplace
wby w-1,
and theproof
is the same.Now if we
drop
theassumption Q2
=522,
theorem 1 remains true. Forinstance of the
right
of xo= ~ (to)
eS~2
we may have:and
with
r s _ + oo,
defines anincreasing homeomorphism mapping [xo, s[ [
on[xQ, r [;
we havew (r) w (s) = r s
and can show(just
the same way asabove),
if limwn (r),
that12
is constantn -> oo
on and therefore
11
is constant on sup(Qi)[ [
where(because
and sup(SZ 1 ) _ ~ 1 (r) _ ~ 1 (s)) ~
Therefore] tOO, and, using
the above demonstration afterhaving replaced S2~
with[
and°2’ SZ2
with[xo,
xoo[,
we find thatB(/=(j)
on[to,
+ oo[,
and weobviously
deal the same way on the left of to.APPENDIX B
Elisabeth
Rouy
andAgnes
Tourin have studied theshape
fromshading equation using techniques developed
foroptimal control,
such asviscosity
Vol. 11, n° 1-1994.
solutions
[5].
We areusing
here thefollowing
theorem[1]:
THEOREM 3. - Let Q be a bounded connected open set in and
satisfy
thefollowing properties:
l. H is continuous with respect to
x
andp
2. H is convex with respect to
p
3. ~ ~ : - continuous and
equal
to 0 in0,
such that:(u
is a strict sub-solutionof the following problem.)
Then
problem
has at most one
viscosity
solution u EC° (S2)
There is no use
going
into the details and define what aviscosity
solution
is,
it isjust enough
topoint
out that any classicalC1-solution
will be a
viscosity
solution of theproblem.
We have to assume that11
islipschitz-continuous
to have property number 3 satisfied. This is true with all theassumptions
we made in the first section. Theconvexity
of H with respectto p
is easy tocheck,
andfinally
conditions(25)
and(28)
guarantee the existence of asimple
strict sub-solution:APPENDIX C
EXPERIMENTS. - We show here some results of a method of
solving
in1 D the
shape
fromshading problem
on apair
ofsignals, using
the stereoinformation to select the
right
solution. Weimplemented
three very short programs:1. The first one builds the
pair
ofsynthetic
stereo1 D-images.
The output of this program is apair
ofsignals,
whoseinteger
values range from 0(zero intensity)
to 255(maximum intensity).
Itsinput
are: asignal representing
theshape (the "object"),
the direction ofillumination,
and theposition
of the cameras(their
commonheight
and theirabscissas) -
theuser can also choose their focal
length
and the width of their screens. We must make sure that the viewedobject
isentirely
seenby
both screens, inAnnales de l’lnstitut Henri Poincaré - Analyse non linéaire
FIG. 1. - A 1 D-shape and its reconstruction.
FIG. 2. - The same shape under different illumination conditions.
FIG. 3. - The images (vertical illumination).
Vol. 11, n° 1-1994.
FIG. 4. - The images corresponding to Figure 2.
FIG. 5. - Samc conditions as in Figure 2 but with a 256 pixels wide image.
such a way that it is easy to find the two sets
03A91
andO2
defined insection
3,
and thus to getboundary
conditions for thedisparity.
But themethod should still work if one end of the
object disappears
from one orboth
images,
ashaving just
oneboundary condition,
that can be measuredon any end of the
object,
isenough
to recover thedisparity
and theshape.
2. The second program finds the
disparity,
with the method describedby
formulas(20), (21)
andfollowing.
It needs asinput
the twoimages,
the direction of the
light
and the focallength
of the cameras. The program builds the twopossible solutions,
and selects one each time there is apossible bifurcation,
i. e. when theintensity
reaches a maximum. To thispurpose, two
energies
arecomputed [of
the kind of formula(15)],
one foreach
solution,
and the solution with lower energy iskept.
3. The last program
actually
rebuilds theoriginal shape
from thedispar- ity computed by
program # 2. It needs to know the baselinelength,
i. e.the difference of the abscissas of the two cameras, and the focal
length.
Annales de l’Institut Henri Poincaré - Analyse non linéaire
FIG. 6. - An example. Cameras are at (16, 150) and (20, 150).
FIG. 7. - Here cameras are at (28, 150) and (32, 150).
The absolute
position
of the cameras is also needed if we want to translate the reconstructedshape
to itsoriginal
absoluteposition,
in order tocompare it to the
original
data.On
Figures 1,
2 weplotted
asignal
and thecorresponding
reconstructedshape
in two different situations: with a verticalillumination,
and with anillumination
making
anangle
of 20degrees
with the vertical direction(the
direction of illumination is indicated
by
a small vector at the top of eachVol. 11, n° 1-1994.
figure).
In bothFigures,
the cameras wereplaced
atpositions (28, 70)
and(32, 70),
and their focallength
was 10 - while the x abscissa on the screenranges from -15 to + 15.
Figures
3 and 4 show theimages
viewedby
the left and
right
cameras, with the direction of illumination shownrespectively
inFigure
1 and inFigure
2.(These images
are reversed with respect to theoriginal shape by
thecameras).
The results aregood.
Theerror is
mainly
due to the fact that the initial value for thedisparity (measured,
in our program, on the left of theimages,
whichcorresponds
to the
right
end of theoriginal shape),
isnecessarily
rounded offby
thefact our 1
D-"images"
are discretesignals.
Herethey
were1,024 pixels wide,
which is a lot andgives
agood precision.
We also madeexperiments
with smaller
images (256 pixels wide, Fig. 5):
asexpected,
the initial value is less accurate and abigger
error propagatesthrough
the solution. How-ever the
right
solution is stillfound,
and this method appears to bequite
robust in many cases. Other
examples
aregiven
inFigures
6 and 7.REFERENCES
[1] M. G. CRANDALL, M. ISHII and P. L. LIONS, Uniqueness of Viscosity Solutions of Hamilton Equations, revised, J. Math. Soc. Japan, Vol. 39, (4), 1987.
[2] A. GENNERT, Brightness-Based Stereo Matching, in 2nd International Conference on Computer Vision, 1988, pp. 139-143.
[3] W. E. L. GRIMSON, A Computer Implementation of a Theory of Human Stereo Vision, Philosophical Transactions of the Royal Society of London, Vol. 292, (1058), May
1981.
[4] K. P. HORN, Robot Vision, MIT Press, Cambridge MA, 1986.
[5] P.-L. LIONS, Generalized Solutions of Hamilton-Jacobi Equations, Pitman, 1982.
[6] P.-L. LIONS, On the Hamilton-Jacobi-Bellman Equations, Acta Applicandae Mathemat- icae, Vol. 1, 1983, pp. 17-41.
[7] R. MARCH, Computation of Stereo Disparity Using Regularization, Pattern Recognition Letters, Vol. 8, 1988, pp. 181-187.
[8] D. MARR, Vision, W. H. Freeman, 1982.
[9] A. PENTLAND, Shape Information from Shading: a Theory About Human Perception,
in: 2nd International Conference on Computer Vision, 1988, pp. 404-413.
[10] E. RouY and A. TOURIN, A viscosity Solution Approach to Shape from Shading, SIAM
J. Numer. Anal., Vol. 29, (3), June 1992, pp. 867-884.
[11] H. TAKAHASHI and F. TOMITA, Self-Calibration of Stereo Cameras, in: 2nd International
Conference on Computer Vision, 1988, pp. 123-128.
[12] J. WENG, N. AHUJA and T. S. HUANG, Two-View Matching, in: 2nd international
Conference on Computer Vision, 1988, pp. 64-73.
( Manuscript received June 6, 1992;
revised December 12, 1992.)
Annales de l’lnstitut Henri Poincaré - Analyse non linéaire