Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer...

56
CSE 252A, Fall 2019 Computer Vision I Stereo (Part 3) Computer Vision I CSE 252A Lecture 10

Transcript of Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer...

Page 1: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Stereo

(Part 3)

Computer Vision I

CSE 252A

Lecture 10

Page 2: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Announcements

• Homework 3 is due Nov 5, 11:59 PM

• Reading:

– Chapter 7: Stereopsis

Page 3: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Stereo Vision Outline

• Offline: Calibrate cameras & determine

“epipolar geometry”

• Online

1. Acquire stereo images

2. Rectify images to convenient epipolar geometry

3. Establish correspondence

4. Estimate depthA

B

C

D

Page 4: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Features on same epipolar line

Truco Fig. 7.5

Page 5: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Dense Correspondence:

A Photometric constraint

• A point in the world has same intensity in

both images (Constant Brightness

Constraint)

– This applies when scene is Lambertian and

tangent plane is parallel to image plane

Page 6: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Using epipolar & constant Brightness

constraints for stereo matching

For each epipolar line

For each pixel in the left image

• compare with every pixel on same epipolar line in right image

• pick pixel with minimum match cost

• This will never work, so:

match windows

(Seitz)

Page 7: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Finding Correspondences

W(pl) W(pr)

Page 8: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Correspondence Search Algorithm

For i = 1:nrows

for j=1:ncols

best(i,j) = -1

for k = mindisparity:maxdisparity

c = Match_Metric(I1(i,j),I2(i,j+k),winsize)

if (c > best(i,j))

best(i,j) = c

disparities(i,j) = k

end

end

end

end

O(nrows * ncols * disparities * winx * winy)

I1 I2

u

v

d

I1 I2

u

v

d

Page 9: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Comparing Windows: =?

f g

Mostpopular

(Camps)

For each window, match to closest window on epipolar

line in other image.

Page 10: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Match Metric Summary

( )( ) ( )( )

( )( ) ( )( )

−+−

−+−

vu vu

vu

IvduIIvuI

IvduIIvuI

, ,

2

22

2

11

,

2211

,,

,,

( ) ( )( ) +−vu

vduIvuI,

2

21 ,,

( )( )

( )( )

( )( )

( )( )

−+

−+−

vu

vuvu

IvduI

IvduI

IvuI

IvuI

,

2

,

2

22

22

,

2

11

11

,

,

,

,

( ) ( ) +−vu

vduIvuI,

21 ,,

( ) ( )( ) +−vu

vduIvuI,

'

2

'

1 ,,

( ) ( ) ( ) =nm

kkk vuInmIvuI,

' ,,,

( ) ( )( ) +vu

vduIvuIHAMMING,

'

2

'

1 ,,,

( ) ( ) ( )( )vuInmIBITSTRINGvuI kknmk ,,, ,

' =

MATCH METRIC DEFINITION

Normalized Cross-Correlation

(NCC)

Sum of Squared Differences

(SSD)

Normalized SSD

Sum of Absolute Differences

(SAD)

Zero Mean SAD

Rank

Census

These two

are actually

the same

( ) ( ) −+−−vu

IvduIIvuI,

_

22

_

11 ),(),(

Page 11: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Stereo results

Ground truthScene

– Data from University of Tsukuba

(Seitz)

Page 12: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Results with window correlation

Window-based matching

(best window size)

Ground truth

(Seitz)

Page 13: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Results with better method

Using global optimizationBoykov et al., Fast Approximate Energy Minimization via Graph Cuts,

International Conference on Computer Vision, September 1999.

Ground truth

(Seitz)

Page 14: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

State of the Art Results

Using neural networks Ground truth

S. Drouyer, S. Beucher, M. Bilodeau, M. Moreaud, and L. Sorbier.

Sparse stereo disparity map densification using hierarchical image

segmentation. 13th International Symposium on Mathematical

Morphology.

Page 15: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Some Issues

• Epipolar ordering

• Ambiguity

• Window size

• Window shape

• Lighting

• Half occluded regions

Page 16: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

A challenge: Multiple Interpretations

Each feature on left epipolar line match one

and only one feature on right epipolar line.

Page 17: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Multiple Interpretations

Each feature on left epipolar line match one

and only one feature on right epipolar line.

Page 18: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Multiple Interpretations

Each feature on left epipolar line match one

and only one feature on right epipolar line.

Page 19: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Multiple Interpretations

Each feature on left epipolar line match one

and only one feature on right epipolar line.

Page 20: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Some Issues

• Epipolar ordering

• Ambiguity

• Window size

• Window shape

• Lighting

• Half occluded regions

Page 21: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Ambiguity

Page 22: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Some Issues

• Epipolar ordering

• Ambiguity

• Window size

• Window shape

• Lighting

• Half occluded regions

Page 23: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Window size

W = 3 W = 20

Better results with adaptive window• T. Kanade and M. Okutomi, A Stereo Matching

Algorithm with an Adaptive Window: Theory and Experiment,, Proc. International Conference on

Robotics and Automation, 1991.

• D. Scharstein and R. Szeliski. Stereo matching with nonlinear diffusion. International Journal of Computer Vision, 28(2):155-174, July 1998

• Effect of window size

(Seitz)

Page 24: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Some Issues

• Epipolar ordering

• Ambiguity

• Window size

• Window shape

• Lighting

• Half occluded regions

Page 25: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Window Shape and Forshortening

Page 26: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Wl

Wr

Wp

U1

U2

Window Shape: Fronto-parallel Configuration

Page 27: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Some Issues

• Epipolar ordering

• Window size

• Ambiguity

• Window shape

• Lighting

• Half occluded regions

Page 28: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Lighting Conditions (Photometric Variations)

W(Pl) W(Pr)

Page 29: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Some Issues

• Epipolar ordering

• Ambiguity

• Window size

• Window shape

• Lighting

• Half occluded regions

Page 30: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Half occluded regions

Page 31: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Summary of Stereo ConstraintsCONSTRAINT BRIEF DESCRIPTION

1-D Epipolar Search Arbitrary images of the same scene may be rectified based on

epipolar geometry such that stereo matches lie along one-

dimensional scanlines. This reduces the computational complexity

and also reduces the likelihood of false matches.

Monotonic Ordering Points along an epipolar scanline appear in the same order in both

stereo images, assuming that all objects in the scene are

approximately the same distance from the cameras.

Image Brightness

Constancy

Assuming Lambertian surfaces, the brightness of corresponding

points in stereo images are the same.

Match Uniqueness For every point in one stereo image, there is at most one

corresponding point in the other image.

Disparity Continuity Disparities vary smoothly (i.e. disparity gradient is small) over most of

the image. This assumption is violated at object boundaries.

Disparity Limit The search space may be reduced significantly by limiting the

disparity range, reducing both computational complexity and the

likelihood of false matches.

Fronto-Parallel

Surfaces

The implicit assumption made by area-based matching is that objects

have fronto-parallel surfaces (i.e. depth is constant within the region

of local support). This assumption is violated by sloping and creased

surfaces.

Feature Similarity Corresponding features must be similar (e.g. edges must have

roughly the same length and orientation).

Structural Grouping Corresponding feature groupings and their connectivity must be

consistent.

(From G. Hager)

Page 32: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Stereo matching

Optimal path

(dynamic programming )

Similarity measure

(SSD or NCC)

Constraints

• epipolar

• ordering

• uniqueness

• disparity limit

• disparity gradient limit

Trade-off

• Matching cost (data)

• Discontinuities (prior)

(Cox et al. CVGIP’96; Koch’96; Falkenhagen´97;

Van Meerbergen,Vergauwen,Pollefeys,VanGool IJCV‘02)(From Pollefeys)

Page 33: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Some Challenges & Problems

• Photometric issues:

– specularities

– strongly non-Lambertian BRDFs

• Surface structure

– lack of texture

– repeating texture within horopter bracket

• Geometric ambiguities

– as surfaces turn away, difficult to get accurate reconstruction

(affine approximate can help)

– at the occluding contour, likelihood of good match but incorrect

reconstruction

Page 34: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Variations on Binocular Stereo

1. Trinocular Stereopsis

2. Helmholtz Reciprocity Stereopsis

Page 35: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Trinocular Epipolar Constraints

These constraints are not independent!

Page 36: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Helmholtz reciprocity

in, in

out, out

n̂in, in

out, out

(in, in ; out, out) = (out, out ; in, in)

[Helmholtz, 1910], [Minnaert, 1941], [ Nicodemus et al, 1977]

Page 37: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Point Source Illumination

vl^

vr^

p

ol or

2

rlr

v̂n̂)v̂,v̂(i

poρ

r

l

=

vl^

vr^

p

orol

2

lrl

v̂n̂)v̂,v̂(i

poρ

l

r

=

=

Page 38: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Matching Constraint

0n̂v̂

iv̂

i2

r

2

l =

−−

− popo r

r

l

l

measuredcomputed from

geometric calibration

wl

→wr

Page 39: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

• Multiple views (at least three pairs) yield a matrix

constraint equation

• Matrix must be Rank 2

• Search for depth where rank constraint is satisfied

Using Multiple Helmholtz Stereo Pairs

il1wl1T – ir1wr1

T→ →

wl1→

wr1→

il2wl2T – ir2wr2

T→ →

n̂ = 0

Page 40: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

• Additionally, the surface normal must lie in the

null space of the matrix

Finding the Normal at each point

il1wl1T – ir1wr1

T→ →

wl1→

wr1→

il2wl2T – ir2wr2

T→ →

n̂ = 0

Page 41: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Disparity and Normal Field

Page 42: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Experimental Setup

Page 43: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Experimental Aparatus

Page 44: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Helmholtz Stereopsis

Second Generation Rig

Page 45: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Bulldog: Disparity

Page 46: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Bulldog: Normal Field

Page 47: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Plastic Baby Doll: Disparities

Page 48: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Plastic Baby Doll: Normal Field

Page 49: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Reciprocal Images: Typical Dataset

SOURCE

VIE

W

Page 50: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Reciprocal Images: Typical Dataset

SOURCE

VIE

W

Conventional Stereo• Constant brightness• No structure in textureless regions

Page 51: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Reciprocal Images: Typical Dataset

SOURCE

VIE

W

Conventional Stereo• Constant brightness• No structure in textureless regions

Photometric Stereo• Needs reflectance model• No direct depth estimates

Page 52: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Reciprocal Images: Typical Dataset

SOURCE

VIE

W

Conventional Stereo• Constant brightness• No structure in textureless regions

Photometric Stereo• Needs reflectance model• No direct depth estimates

Helmholtz Stereo• No assumed reflectance• Gives depth and surface normals

Page 53: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Metric Reconstruction

Page 54: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Comparison to other methods

Method

Assumed

Reflectance

Surface

Information

Recovered

Recovers

Constant

Intensity

Active/

Passive

Depth

Discontinuities

Handles Half-

Occlusion

Robust to Cast

Shadows

Photometric

Stereopsis

Lambertian or

Known

Surface

Normals

Surface

Normals

Active No NA No

Multinocular

Stereopsis

Lambertian Depth Nothing Passive Sometimes Sometimes Yes

Helmholtz

Stereopsis

Arbitrary Depth +

Surface

Normals

Surface

Normals

Active Yes Yes Yes

Page 55: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

More on stereo …

The Middleburry Stereo Vision Research Pagehttp://cat.middlebury.edu/stereo/

Recommended reading

D. Scharstein and R. Szeliski.

A Taxonomy and Evaluation of Dense Two-Frame Stereo Correspondence

Algorithms. IJCV 47(1/2/3):7-42, April-June 2002. PDF file (1.15 MB) - includes

current evaluation. Microsoft Research Technical Report MSR-TR-2001-81,

November 2001.

Myron Z. Brown, Darius Burschka, and Gregory D. Hager. Advances in Computational

Stereo. IEEE Transactions on Pattern Analysis and Machine Intelligence, 25(8):993-

1008, 2003.

Page 56: Stereo (Part 3) · (Part 3) Computer Vision I CSE 252A Lecture 10. CSE 252A, Fall 2019 Computer Vision I Announcements • Homework 3 is due Nov 5, 11:59 PM • Reading: –Chapter

CSE 252A, Fall 2019 Computer Vision I

Next Lecture

• Early vision: multiple images

– Structure from motion

• Reading:

– Chapter 8: Structure from Motion