stereo matching - cvg

146
Stereo matching Reading: Chapter 11 In Szeliskis book

Upload: others

Post on 10-Jan-2022

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stereo matching - CVG

Stereo matching

Reading: Chapter 11 In Szeliski’s book

Page 2: Stereo matching - CVG

Schedule (tentative)

2

# date topic

1 Sep.16 Introduction and geometry

2 Sep.23 Camera models and calibration

3 Sept.30 Invariant features

4 Oct.7 Multiple-view geometry

5 Oct.14 Model fitting (RANSAC, EM, …)

6 Oct.21 Stereo Matching

7 Oct.28 Segmentation

8 Nov.4 Object category recognition

9 Nov.11 Specific object recognition

10 Nov.18 Optical flow

11 Nov.25 Tracking (Kalman, particle filter)

12 Dec.2 SfM, Shape from X

13 Dec.9 Demos

14 Dec.16 Guest lecture?

Page 3: Stereo matching - CVG

3

An Application: Mobile Robot Navigation

The Stanford Cart,

H. Moravec, 1979.

The INRIA Mobile Robot, 1990.

Courtesy O. Faugeras and H. Moravec.

Page 4: Stereo matching - CVG

Stereo

NASA Mars Rover

Page 5: Stereo matching - CVG

Standard stereo geometry

pure translation along X-axis

PointGrey Bumblebee

Page 6: Stereo matching - CVG

Standard stereo geometry

Page 7: Stereo matching - CVG

Stereo: basic idea

error

depth

Page 8: Stereo matching - CVG

Stereo matching

• Search is limited to epipolar line (1D)

• Look for most similar pixel

?

Page 9: Stereo matching - CVG

10

Stereopsis

Figure from US Navy Manual of Basic Optics and Optical Instruments, prepared by Bureau of

Naval Personnel. Reprinted by Dover Publications, Inc., 1969.

Page 10: Stereo matching - CVG

11

Human Stereopsis: Reconstruction

Disparity: d = r-l = D-F.

d=0

d<0

In 3D, the horopter.

Page 11: Stereo matching - CVG

12

Human Stereopsis: Reconstruction

T…theoretical horopter

E…empirical horopterImage from Wikipedia

Page 12: Stereo matching - CVG

13

Human Stereopsis: experimental horopter…

Page 13: Stereo matching - CVG

14

Iso-disparity curves: planar retinas

X0X1

C1

X∞

C2

Xi Xj

ii

i

i

1

1:

1

01

1

01

11

:

11

10

11

0

the retina act as if it were flat!

Page 14: Stereo matching - CVG

15

What if F is not known?

Human Stereopsis: Reconstruction

Helmoltz (1909):

• There is evidence showing the vergence angles

cannot be measured precisely.

• Humans get fooled by bas-relief sculptures.

• There is an analytical explanation for this.

• Relative depth can be judged accurately.

Page 15: Stereo matching - CVG

16

Human Stereopsis: Binocular Fusion

How are the correspondences established?

Julesz (1971): Is the mechanism for binocular fusion

a monocular process or a binocular one??

• There is anecdotal evidence for the latter (camouflage).

• Random dot stereograms provide an objective answerBP!

Page 16: Stereo matching - CVG

17

A Cooperative Model (Marr and Poggio, 1976)

Excitory connections: continuity

Inhibitory connections: uniqueness

Iterate: C = S C - wS C + C .e i 0

Reprinted from Vision: A Computational Investigation into the Human Representation and Processing of Visual Information by David Marr.

1982 by David Marr. Reprinted by permission of Henry Holt and Company, LLC.

Page 17: Stereo matching - CVG

18

Correlation Methods (1970--)

Normalized Correlation: minimize q instead.

Slide the window along the epipolar line until w.w’ is maximized.

2Minimize |w-w’|.

Page 18: Stereo matching - CVG

19

Correlation Methods: Foreshortening Problems

Solution: add a second pass using disparity estimates to warp

the correlation windows, e.g. Devernay and Faugeras (1994).

Reprinted from “Computing Differential Properties of 3D Shapes from Stereopsis without 3D Models,” by F. Devernay and O. Faugeras,

Proc. IEEE Conf. on Computer Vision and Pattern Recognition (1994). 1994 IEEE.

Page 19: Stereo matching - CVG

23

Pixel Dissimilarity

• Absolute difference of intensities

c=|I1(x,y)- I2(x-d,y)|

• Interval matching [Birchfield & Tomasi 98]

– Considers sensor integration

– Represents pixels as intervals

Page 20: Stereo matching - CVG

24

Alternative Dissimilarity Measures

• Rank and Census transforms [Zabih ECCV94]

• Rank transform:

– Define window containing R pixels around each pixel

– Count the number of pixels with lower intensities than center pixel in the window

– Replace intensity with rank (0..R-1)

– Compute SAD on rank-transformed images

• Census transform:

– Use bit string, defined by neighbors, instead of scalar rank

• Robust against illumination changes

Page 21: Stereo matching - CVG

25

Rank and Census Transform Results

• Noise free, random dot stereograms

• Different gain and bias

Page 22: Stereo matching - CVG

26

Systematic Errors of Area-based Stereo

• Ambiguous matches in textureless regions

• Surface over-extension [Okutomi IJCV02]

Page 23: Stereo matching - CVG

34

Compact Windows

• [Veksler CVPR03]: Adapt windows size based on:

– Average matching error per pixel

– Variance of matching error

– Window size (to bias towards larger windows)

• Pick window that minimizes cost

Page 24: Stereo matching - CVG

35

Integral Image

Sum of shaded part

Compute an integral image for pixel

dissimilarity at each possible disparity

A C

DB

Shaded area = A+D-B-C

Independent of size

Page 25: Stereo matching - CVG

36

Results using Compact Windows

Page 26: Stereo matching - CVG

37

Rod-shaped filters

• Instead of square windows aggregate cost in rod-shaped shiftable windows [Kim CVPR05]

• Search for one that minimizes the cost (assume that it is an iso-disparity curve)

• Typically use 36 orientations

Page 27: Stereo matching - CVG

38

Locally Adaptive Support

Apply weights to contributions of

neighboringpixels according to similarity and proximity [Yoon CVPR05]

Page 28: Stereo matching - CVG

39

Locally Adaptive Support

• Similarity in CIE Lab color space:

• Proximity: Euclidean distance

• Weights:

color

distance

spatial

distance

Page 29: Stereo matching - CVG

40

Locally Adaptive Support: Results

Locally Adaptive Support

Page 30: Stereo matching - CVG

41

Locally Adaptive Support: Results

Page 31: Stereo matching - CVG

42

Cool ideas

• Space-time stereo

(varying illumination, not shape)

Page 32: Stereo matching - CVG

43

Challenges

• Ill-posed inverse problem

– Recover 3-D structure from 2-D information

• Difficulties

– Uniform regions

– Half-occluded pixels

Page 33: Stereo matching - CVG

Occlusions

(Slide from Pascal Fua)

Page 34: Stereo matching - CVG

Exploiting scene constraints

Page 35: Stereo matching - CVG

46

The Ordering Constraint

But it is not always the case..

Often the points

are in the same order

on both epipolar lines.

Page 36: Stereo matching - CVG

Ordering constraint

1 2 3 4,5 6 1 2,3 4 5 6

21 3 4,5 6

1

2,3

4

5

6

surface slice surface as a path

occlusion right

occlusion left

Page 37: Stereo matching - CVG

Uniqueness constraint

• In an image pair each pixel has at most one corresponding pixel

– In general one corresponding pixel

– In case of occlusion there is none

Page 38: Stereo matching - CVG

Disparity constraint

surface slice surface as a path

bounding box

use reconstructed features

to determine bounding box

constant

disparity

surfaces

Page 39: Stereo matching - CVG

50

Dynamic Programming (Baker and Binford, 1981)

Find the minimum-cost path going monotonically

down and right from the top-left corner of the

graph to its bottom-right corner.

• Nodes = matched feature points (e.g., edge points).

• Arcs = matched intervals along the epipolar lines.

• Arc cost = discrepancy between intervals.

Page 40: Stereo matching - CVG

51

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)

Page 41: Stereo matching - CVG

52

Dynamic Programming (Ohta and Kanade, 1985)

Reprinted from “Stereo by Intra- and Intet-Scanline Search,” by Y. Ohta and T. Kanade, IEEE Trans. on Pattern Analysis and Machine

Intelligence, 7(2):139-154 (1985). 1985 IEEE.

Page 42: Stereo matching - CVG

53

Hierarchical stereo matchingD

ow

nsa

mpling

(Gauss

ian p

yra

mid

)

Dis

pari

ty p

ropagati

on

Allows faster computation

Deals with large disparity

ranges

(Falkenhagen´97;Van Meerbergen,Vergauwen,Pollefeys,VanGool IJCV‘02)

Page 43: Stereo matching - CVG

54

Disparity map

image I(x,y) image I´(x´,y´)Disparity map D(x,y)

(x´,y´)=(x+D(x,y),y)

Page 44: Stereo matching - CVG

55

Example: reconstruct image from neighboring images

Page 45: Stereo matching - CVG
Page 46: Stereo matching - CVG

57

Semi-global optimization

• Optimize:

E=Edata+E(|Dp-Dq|=1)+E(|Dp-Dq|>1)

– Use mutual information as cost

• NP-hard using graph cuts or belief propagation (2-D optimization)

• Instead do dynamic programming along many directions – Don’t use visibility or ordering constraints

– Enforce uniqueness

– Add costs

(Hirschmüller, CVPR05)

Page 47: Stereo matching - CVG

Dynamic programming

58

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

data

cost

smoothness

cost

disparity

levels

image scanline

Step 1 path-cost propagation

Step 2 back-tracking best path

Page 48: Stereo matching - CVG

Dynamic programming

59

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

data

cost

smoothness

cost

disparity

levels

image scanline

Step 1 path-cost propagation

Step 2 back-tracking best path

Page 49: Stereo matching - CVG

Dynamic programming

60

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

data

cost

smoothness

cost

disparity

levels

image scanline

Step 1 path-cost propagation

Step 2 back-tracking best path

cheapest

path cost

Page 50: Stereo matching - CVG

Semi-Global Matching

61

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

data

cost

smoothness

cost

disparity

levels

image scanline

Step 1 path-cost propagation

Step 2 path-cost propagation

Step 3 path-cost propagation

...

Step N+1 sum up costs for total tree cost

cheapest

path costs

(until here)

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

0

1

2

3

4

cheapest

path costs

(until here)

guarantees optimal solution

for combined path

(BUT other pixels have different paths)

Page 51: Stereo matching - CVG

62

Results of Semi-global optimization

Page 52: Stereo matching - CVG

63

Results of Semi-global optimization

No. 1 overall in Middlebury evaluation

(at 0.5 error threshold as of Sep. 2006)

Page 53: Stereo matching - CVG

Energy minimization

(Slide from Pascal Fua)

Page 54: Stereo matching - CVG

Graph Cut

(Slide from Pascal Fua)

(general formulation requires multi-way cut!)

Page 55: Stereo matching - CVG

(Boykov et al ICCV‘99)

(Roy and Cox ICCV‘98)

Simplified graph cut

Page 56: Stereo matching - CVG

Belief Propagation

per pixel +left +right +up +down

2 3 4 5 20...subsequent iterations

(adapted from J. Coughlan slides)

first iteration

Belief of one node about another gets propagated through

messages (full pdf, not just most likely state)

Page 57: Stereo matching - CVG
Page 58: Stereo matching - CVG

69

Rectification

All epipolar lines are parallel in the rectified image plane.

Page 59: Stereo matching - CVG

70

Image pair rectification

simplify stereo matching

by warping the images

Apply projective transformation so that epipolar lines

correspond to horizontal scanlines

e

e

map epipole e to (1,0,0)

try to minimize image distortion

problem when epipole in (or close to) the image

Page 60: Stereo matching - CVG

71

Planar rectification

Bring two views

to standard stereo setup

(moves epipole to )

(not possible when in/close to image)

~ image size

(calibrated)

Distortion minimization

(uncalibrated)

(standard approach)

Page 61: Stereo matching - CVG

72

Page 62: Stereo matching - CVG

73

Page 63: Stereo matching - CVG

74

Polar re-parameterization around epipoles

Requires only (oriented) epipolar geometry

Preserve length of epipolar lines

Choose q so that no pixels are compressed

original image rectified image

Polar rectification(Pollefeys et al. ICCV’99)

Works for all relative motions

Guarantees minimal image size

Page 64: Stereo matching - CVG

75

polar rectification: example

Page 65: Stereo matching - CVG

76

polar rectification: example

Page 66: Stereo matching - CVG

77

Example: Béguinage of Leuven

Does not work with standard

Homography-based approaches

Page 67: Stereo matching - CVG

78

Example: Béguinage of Leuven

Page 68: Stereo matching - CVG

General iso-disparity surfaces(Pollefeys and Sinha, ECCV’04)

Example: polar rectification preserves disp.

Application: Active vision

Also interesting relation to human horopter

Page 69: Stereo matching - CVG

80

Reconstruction from Rectified Images

Disparity: d=u’-u. Depth: z = -B/d.

Page 70: Stereo matching - CVG

81

Three Views

The third eye can be used for verification..

Page 71: Stereo matching - CVG

width of

a pixel

Choosing the stereo baseline

•What’s the optimal baseline?

– Too small: large depth error

– Too large: difficult search problem, more occlusions

Large Baseline Small Baseline

all of these

points project

to the same

pair of pixels

Page 72: Stereo matching - CVG

The Effect of Baseline on Depth Estimation

(Okutami and Kanade PAMI’93)

Page 73: Stereo matching - CVG
Page 74: Stereo matching - CVG

85

I1 I2 I10

Reprinted from “A Multiple-Baseline Stereo System,” by M. Okutami and T. Kanade, IEEE Trans. on Pattern

Analysis and Machine Intelligence, 15(4):353-363 (1993). \copyright 1993 IEEE.

Page 75: Stereo matching - CVG

Some Solutions

• Multi-view linking (Koch et al. ECCV98)

• Best of left or right (Kang et al. CVPR01)

• Best k out of n , ...

Problem: visibility

Page 76: Stereo matching - CVG

• Multi-baseline, multi-resolution

• At each depth, baseline and resolution selected proportional to that depth

• Allows to keep depth accuracy constant!

Variable Baseline/Resolution Stereo(Gallup et al., CVPR08)

Page 77: Stereo matching - CVG

Variable Baseline/Resolution Stereo: comparison

Page 78: Stereo matching - CVG

89

Multi-view depth fusion

• Compute depth for every pixel of reference image

– Triangulation

– Use multiple views

– Up- and down sequence

– Use Kalman filter

(Koch, Pollefeys and Van Gool. ECCV‘98)

Allows to compute robust texture

Page 79: Stereo matching - CVG

90

Page 80: Stereo matching - CVG

91

(1x1)

(1x1+2x2)

(1x1+2x2

+4x4+8x8)

(1x1+2x2

+4x4+8x8

+16x16)

Combine multiple aggregation

windows using hardware mipmap and

multiple texture units in single pass

Page 81: Stereo matching - CVG

Plane-sweep multi-view matching

• Simple algorithm for multiple cameras

• no rectification necessary

• doesn’t deal with occlusions

Collins’96; Roy and Cox’98 (GC); Yang et al.’02/’03 (GPU)

Page 82: Stereo matching - CVG

Fast GPU-based plane-sweeping

stereo

Plane-sweep multi-view depth estimation(Yang & Pollefeys, CVPR’03)

Page 83: Stereo matching - CVG

Plane Sweep Stereo

Plane Sweep Matching Score (SAD)

Images Projected on Plane

94

Page 84: Stereo matching - CVG

Plane Sweep Stereo Result

• Ideal for GPU processing

• 512x384 depthmap, 50 planes, 5 images: 50 Hz

95

Page 85: Stereo matching - CVG

Window-Based Matching - Local Stereo

• Pixel-to-pixel matching is ambiguous for local stereo

• Use a matching window (SAD/SSD/NCC)

• Assumes all pixels in window are on the plane

97

Page 86: Stereo matching - CVG

Multi-directional plane-sweeping stereo

• Select best-cost over depths AND orientation

3D model from

11 video frames

(hand-held)

Automatic computations of dominant orientations

(Gallup, Frahm & Pollefeys, CVPR07)

Page 87: Stereo matching - CVG

Plane Priors and Quicksweep

without plane prior with plane prior

)()|()|( iiiii PcPcP

Use SfM points as a prior for stereo

For real-time:

test only the planes with high prior probability

Page 88: Stereo matching - CVG

Selecting Best Depth / Surface Normal

Combining multiple sweeps

Sweep 1 Sweep 2 Sweep 3

How to

combine

sweeps?

Global labeling

Graph Cut:

1-2 seconds

Continuous

Formulation: 45 ms

Local best cost

OR

(Zach, Gallup, Frahm, Niethammer VMV 2008)

Page 89: Stereo matching - CVG

Results

1474 frame reconstruction, 11 images in stereo,

512x384 grayscale, 48 plane hypotheses (quick sweep),

processing rate 20.0 Hz (Nvidia 8800 GTX)

101

Page 90: Stereo matching - CVG

Fast visibility-based fusion of depth-maps

(Merrell , Akbarzadeh, Wang, Mordohai, Frahm, Yang, Nister, Pollefeys ICCV07)

visibility constraintsstability-based fusion

Two fusion approaches

confidence-based fusion

O(n2) O(n)

Fast on GPU as key operation is rendering depth-maps into other views

• Complements very fast multi-view stereo

Page 91: Stereo matching - CVG

Multi-view Stereo

105

Page 92: Stereo matching - CVG

Volumetric Graph cuts

(x)

1. Outer surface

2. Inner surface (at

constant offset)3. Discretize

middle volume4. Assign

photoconsistency

cost to voxels

Slides from [Vogiatzis et al. CVPR2005]

Page 93: Stereo matching - CVG

Volumetric Graph cuts

Source

Sink

Slides from [Vogiatzis et al. CVPR2005]

Page 94: Stereo matching - CVG

Volumetric Graph cuts

Source

Sink

Cost of a cut (x) dS

S

S

cut 3D Surface S

[Boykov and Kolmogorov

ICCV 2001]

Slides from [Vogiatzis et al. CVPR2005]

Page 95: Stereo matching - CVG

Volumetric Graph cuts

Source

Sink

Minimum cut Minimal 3D Surface under photo-consistency

metric

[Boykov and Kolmogorov

ICCV 2001]

Slides from [Vogiatzis et al. CVPR2005]

Page 96: Stereo matching - CVG

Photo-consistency

• Occlusion

1. Get nearest point

on outer surface2. Use outer

surface for

occlusions2. Discard occluded

views

Slides from [Vogiatzis et al. CVPR2005]

Page 97: Stereo matching - CVG

Photo-consistency

• Occlusion

Self occlusion

Slides from [Vogiatzis et al. CVPR2005]

Page 98: Stereo matching - CVG

Photo-consistency

• Occlusion

Self occlusion

Slides from [Vogiatzis et al. CVPR2005]

Page 99: Stereo matching - CVG

Photo-consistency

• Occlusion

N

threshold on angle between

normal and viewing

direction

threshold= ~60

Slides from [Vogiatzis et al. CVPR2005]

Page 100: Stereo matching - CVG

Photo-consistency

• Score

Normalised cross

correlation

Use all remaining cameras

pair wise

Average all NCC scores

Slides from [Vogiatzis et al. CVPR2005]

Page 101: Stereo matching - CVG

Photo-consistency

• Score

Average NCC = C

Voxel score

= 1 - exp( -tan2[(C-1)/4] / 2 )

0 1 = 0.05 in all experiments

Slides from [Vogiatzis et al. CVPR2005]

Page 102: Stereo matching - CVG

Example

Slides from [Vogiatzis et al. CVPR2005]

Page 103: Stereo matching - CVG

Example - Visual Hull

Slides from [Vogiatzis et al. CVPR2005]

Page 104: Stereo matching - CVG

Example - Slice

Slides from [Vogiatzis et al. CVPR2005]

Page 105: Stereo matching - CVG

Example - Slice with graphcut

Slides from [Vogiatzis et al. CVPR2005]

Page 106: Stereo matching - CVG

Example – 3D

Slides from [Vogiatzis et al. CVPR2005]

Page 107: Stereo matching - CVG

[Vogiatzis et al. PAMI2007]

Page 108: Stereo matching - CVG

Protrusion problem

• ‘Balooning’ force

• favouring bigger volumes that fill the visual hull

L.D. Cohen and I. Cohen. Finite-element methods for active contour models and balloons for 2-d and 3-d images. PAMI, 15(11):1131–1147, November 1993.

Slides from [Vogiatzis et al. CVPR2005]

Page 109: Stereo matching - CVG

Protrusion problem

• ‘Balooning’ force

– favouring bigger volumes that fill the visual hull

L.D. Cohen and I. Cohen. Finite-element methods for active contour models and balloons for 2-d and 3-d images. PAMI, 15(11):1131–1147, November 1993.

(x) dS - dV

S V

Slides from [Vogiatzis et al. CVPR2005]

Page 110: Stereo matching - CVG

Protrusion problem

Slides from [Vogiatzis et al. CVPR2005]

Page 111: Stereo matching - CVG

Protrusion problem

Slides from [Vogiatzis et al. CVPR2005]

Page 112: Stereo matching - CVG

wij

SOURCE

wb

wb

Graph

h

ji

wb = h3

wij = 4/3h2 * (i+j)/2

[Boykov and Kolmogorov ICCV

2001]

Slides from [Vogiatzis et al. CVPR2005]

Page 113: Stereo matching - CVG

127

Address Memory and Computational Overhead

(Sinha et. al. 2007)

– Compute Photo-consistency only where it is needed

– Detect Interior Pockets using Visibility

Graph-cut on Dual of Adaptive Tetrahedral Mesh

Page 114: Stereo matching - CVG

128

Adaptive Mesh Refinement

Cell (Tetrahedron)

Face (triangle)

Unknown surface

Page 115: Stereo matching - CVG

129

Adaptive Mesh Refinement

Detect crossing faces

by testing photo-consistency

of points sampled on the faces

Page 116: Stereo matching - CVG

130

Adaptive Mesh Refinement

If none of the faces of a cell are crossing faces,

that cell cannot contain any surface element.

Page 117: Stereo matching - CVG

131

Adaptive Mesh Refinement

• Prune the Inactive cells

• Refine the Active cells

Page 118: Stereo matching - CVG

132

Mesh with Photo-consistency

Final Mesh shown with

Photo-consistency

Page 119: Stereo matching - CVG

133

Detect Interior

Use Visibility of the Photo-consistent Patches

Also proposed by Hernandez et. al. 2007, Labatut et. al. 2007

Page 120: Stereo matching - CVG

134

First Graph-Cut

• Compute the Min-cut

Source

Sink

Solution re-projected into

the original silhouette

Page 121: Stereo matching - CVG

135

Silhouette Constraints

Every such ray must meet the

real surface at least once

Page 122: Stereo matching - CVG

136

Silhouette Constraints

• Test photo-consistency

along the ray

• Robustly find an interior cell

Photo-consistency

Surface

Page 123: Stereo matching - CVG

137

Source

Sink

Final Graph-Cut

Page 124: Stereo matching - CVG

138

Final Graph-Cut

Before After

Page 125: Stereo matching - CVG

139

Results

After graph-cut optimization

36 images

2000 x 3000 pixels

Page 126: Stereo matching - CVG

20

images

Running Time:

Graph Construction : 25 mins

Graph-cut : 5 mins

Local Refinement : 20 mins

20 images

640 x 480

pixels

Page 127: Stereo matching - CVG

141

36

images

36 images

Page 128: Stereo matching - CVG

142

48 images 47 images

24 images

Page 129: Stereo matching - CVG

• Optimize photo-consistency while exactly enforcing silhouette constraint

Photo-consistency + silhouettes[Sinha and Pollefeys ICCV05]

Page 130: Stereo matching - CVG

Variational Volumetric Reconstruction

144

weighted TV + data term

Interior/exterior labeling

(Kolev et al., IJCV09)

convex energy allows forarbitrary initializations

Page 131: Stereo matching - CVG

Variational Volumetric Reconstruction

145

(Kolev et al., IJCV09)

Page 132: Stereo matching - CVG

Spatio-temporal 3D Reconstruction

146

spatial temporal

data termregularization term

(Oswald, Cremers, BMVC14)

Page 133: Stereo matching - CVG

Spatio-temporal 3D Reconstruction(Oswald, Cremers, BMVC14)

Page 134: Stereo matching - CVG

Spatio-temporal 3D Reconstruction(Oswald, Cremers, BMVC14)

Page 135: Stereo matching - CVG

Spatio-temporal 3D Reconstruction(Oswald et al, ECCV14)

Page 136: Stereo matching - CVG

Middlebury Benchmark for Multi-view stereo Approaches

http://vision.middlebury.edu/mview/

Page 137: Stereo matching - CVG

Method

Video Frame Depthmap with

RANSAC planes

Planar Class

Probability Map

Graph-Cut Labeling

3D Model

Flowchart

169

(Gallup et al. CVPR 2010)

Page 138: Stereo matching - CVG

170

Page 139: Stereo matching - CVG

Heightmap Model

• Enforces vertical facades

• One continuous surface, no holes

• 2.5D: Fast to compute, easy to store

171

(Gallup et al. 3DPVT 2010)

Page 140: Stereo matching - CVG

Occupancy Voting

d

)/exp( dV

emptyV

depth

voxel

voxel

This is a

log-odds

likelihood

camera 172

Page 141: Stereo matching - CVG

n-layer heightmap fusion

• Generalize to n-layer heightmap• Each layer is a transition from full/empty

or empty/full

• Compute layer positions with dynamic programming

• Use model selection (BIC) to determine number of layers 173

(Gallup et al. DAGM’10)

Page 142: Stereo matching - CVG

n-layer heightmap fusion

Richar

ICVSS 2010 174

Page 143: Stereo matching - CVG

Reconstruction from Photo Collections

• Millions of images download from Flickr

• Camera poses computed using (Li et al.

ECCV’08)

• Depthmaps from GPU planesweep

175

Page 144: Stereo matching - CVG

Results

Page 145: Stereo matching - CVG

More on stereo

The Middleburry Stereo Vision Research Page

http://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. PDF file (1.27 MB)

177

Page 146: Stereo matching - CVG

178

Next week:Structure From Motion