Docsity

3D Shape from Shading - Lecture Slides | CS 332, Study notes of Computer Science

Toggle sidebar
bg1
1
CS332 Visual Processing
Department of Computer Science
Wellesley College
3-D Shape from Shading
Algorithm and perception
1-2
Simplified Ikeuchi & Horn algorithm
Construct initial solution with f = g = 0 everywhere, except at points
of known surface orientation (e.g. occluding boundary)
Let fi(x,y) & gi(x,y) denote surface orientations at iteration i
To determine fi+1(x,y) & gi+1(x,y):
For each location (x,y)
(1) Compute the average value of fi(x,y) in a neighborhood
around (x,y): f*
(2) Compute the average value of gi(x,y) in a neighborhood
around (x,y): g*
(3) Find the contour of possible f and g values in R(f,g)
that are consistent with I(x,y)
(4) Find the point on this contour that is closest to the
surface orientation given by (f*,g*) – the coordinates of
this point represent the new surface orientation for
location (x,y): fi+1(x,y) & gi+1(x,y)
pf3
pf4
pf5

Partial preview of the text

Download 3D Shape from Shading - Lecture Slides | CS 332 and more Study notes Computer Science in PDF only on Docsity!

CS332 Visual Processing

Department of Computer Science

Wellesley College

3-D Shape from Shading

Algorithm and perception

Simplified Ikeuchi & Horn algorithm

Construct initial solution with f = g = 0 everywhere, except at points

of known surface orientation (e.g. occluding boundary)

Let fi(x,y) & g i(x,y) denote surface orientations at iteration i

To determine f i+1 (x,y) & g i+1 (x,y):

For each location (x,y)

(1) Compute the average value of f i(x,y) in a neighborhood

around (x,y): f*

(2) Compute the average value of g i(x,y) in a neighborhood

around (x,y): g*

(3) Find the contour of possible f and g values in R(f,g)

that are consistent with I(x,y)

(4) Find the point on this contour that is closest to the

surface orientation given by (f,g) – the coordinates of

this point represent the new surface orientation for

location (x,y): fi+1 (x,y) & gi+1 (x,y)

image of shaded sphere 1- (0,0) (0,0) (0,0) (0,0) (0,0) (0,-2) (0,-2) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (2,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (2,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (,) (0,0) (0,0) (0,0) (0,0) (0.0) (0,0) (0,0) (0,0) (0,2) (0,2) (,) (0,0) (0,0) (0,0) (0,0) surface orientation (f,g) initial state

Bulthoff & Mallot - empirical results 1- Bulthoff & Mallot - empirical results Conclusions: Edge-based stereo yields most accurate 3-D shape Intensity-based stereo yields good sense of 3-D shape Shape from shading alone yields least accurate shape

Koenderink & colleagues Subjects’ qualitative impressions of shape were consistent, but subjects differed quantitatively in amount of depth perceived Analysis is not strictly local – global factors play a role 1- Mingolla & Todd What assumptions do we make regarding surface reflectance characteristics? Is an estimate of light source direction needed for recovery of 3-D shape? performance was the same for shiny and dull surfaces errors in 3-D shape not correlated with errors in light source direction