camera structure • eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf ·...

84
What have we leaned so far? Camera structure Eye structure Project 1: High Dynamic Range Imaging

Upload: others

Post on 27-Mar-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

What have we leaned so far?• Camera structure• Eye structure

Project 1: High Dynamic Range Imaging

Page 2: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

What have we learned so far?• Image Filtering• Image Warping• Camera Projection Model

Project 2: Panoramic Image Stitching

Page 3: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

What have we learned so far?• Projective Geometry• Single View Modeling• Shading Model

Project 3: Photometric Stereo

Page 4: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Today• 3D modeling from two images – Stereo

Page 5: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been
Page 6: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Public Library, Stereoscopic Looking Room, Chicago, by Phillips, 1923

Page 7: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Inventor: Sir Charles Wheatstone, 1802 - 1875 http://en.wikipedia.org/wiki/Sir_Charles_Wheatstone

Page 8: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Inventor: Sir Charles Wheatstone, 1802 - 1875 http://en.wikipedia.org/wiki/Wheatstone_bridge

Page 9: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereograms online• UCR stereographs

• http://www.cmp.ucr.edu/site/exhibitions/stereo/• The Art of Stereo Photography

• http://www.photostuff.co.uk/stereo.htm• History of Stereo Photography

• http://www.rpi.edu/~ruiz/stereo_history/text/historystereog.html• Double Exposure

• http://home.centurytel.net/s3dcor/index.html• Stereo Photography

• http://www.shortcourses.com/book01/chapter09.htm• 3D Photography links

• http://www.studyweb.com/links/5243.html• National Stereoscopic Association

• http://204.248.144.203/3dLibrary/welcome.html• Books on Stereo Photography

• http://userwww.sfsu.edu/~hl/3d.biblio.html

A free pair of red-blue stereo glasses can be ordered from Rainbow Symphony Inc• http://www.rainbowsymphony.com/freestuff.html

Page 10: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

FUJIFILM, September 23, 2008

Fuji 3D printing

Page 11: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo

scene point

optical center

image plane

Page 12: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo

Basic Principle: Triangulation• Gives reconstruction as intersection of two rays• Requires

– calibration– point correspondence

Page 13: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo correspondence• Determine Pixel Correspondence

• Pairs of points that correspond to same scene point

Epipolar Constraint• Reduces correspondence problem to 1D search along conjugate

epipolar lines• Java demo: http://www.ai.sri.com/~luong/research/Meta3DViewer/EpipolarGeo.html

epipolar planeepipolar lineepipolar line

Page 14: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Epipolar Line Example

courtesy of Marc Pollefeys

Page 15: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo image rectification

Page 16: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo image rectification

• reproject image planes onto a common• plane parallel to the line between optical

centers• pixel motion is horizontal after this transformation• two homographies (3x3 transform), one for each

input image reprojectionC. Loop and Z. Zhang. Computing Rectifying Homographies for Stereo Vision. IEEE Conf. Computer Vision and Pattern Recognition, 1999.

Page 17: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Epipolar Line Example

courtesy of Marc Pollefeys

Page 18: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Epipolar Line Example

courtesy of Marc Pollefeys

Page 19: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo matching algorithms

• Match Pixels in Conjugate Epipolar Lines• Assume brightness constancy• This is a tough problem• Numerous approaches

– A good survey and evaluation: http://www.middlebury.edu/stereo/

Page 20: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Basic stereo algorithm

For each epipolar lineFor each pixel in the left image

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

• pick pixel with minimum match cost

Improvement: match windows

Page 21: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Basic stereo algorithm• For each pixel

• For each disparity

– For each pixel in window» Compute difference

• Find disparity with minimum SSD

Page 22: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Reverse order of loops• For each disparity

• For each pixel

– For each pixel in window» Compute difference

• Find disparity with minimum SSD at each pixel

Page 23: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Incremental computation• Given SSD of a window, at some disparity

Image 1

Image 2

Page 24: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Incremental computation• Want: SSD at next location

Image 1

Image 2

Page 25: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Incremental computation• Subtract contributions from leftmost column, add

contributions from rightmost column

Image 1

Image 2

+++++

-----

-----

+++++

Page 26: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Selecting window size• Small window: more detail, but more noise• Large window: more robustness, less detail• Example:

Page 27: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Selecting window size

3 pixel window 20 pixel window

Why?

Page 28: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Non-square windows• Compromise: have a large window, but higher weight

near the center• Example: Gaussian• Example: Shifted windows (computation cost?)

Page 29: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Problems with window matching• No guarantee that the matching is one-to-one• Hard to balance window size and smoothness

Page 30: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

A global approach• Finding correspondence between a pair of epipolar

lines for all pixels simultaneously

Page 31: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

A global approach

left

right

left

right

left

right

Define an evaluation score for each configuration, choose the best matching configuration

Page 32: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

A global approach• How to define the evaluation score?

• How about the sum of corresponding pixel difference?

Page 33: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Ordering constraint• Order of matching features usually the same

in both images• But not always: occlusion

Page 34: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Dynamic programming• Treat pixel correspondence as graph problem

Left imagepixels

Right image pixels

1 2 3 41

2

3

4

Page 35: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Dynamic programming• Find min-cost path through graph

Left imagepixels

Right image pixels

1 2 3 41

2

3

4

1

34

1

2234

Page 36: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Dynamic Programming Results

Page 37: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Energy minimization• Another global approach to improve quality of

correspondences• Assumption: disparities vary (mostly) smoothly• Minimize energy function:

Edata+λEsmoothness

• Edata: how well does disparity match data• Esmoothness: how well does disparity match

that of neighbors – regularization

Page 38: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo as energy minimization• Matching Cost Formulated as Energy

• “data” term penalizing bad matches

• “neighborhood term” encouraging spatial smoothness

),(),(),,( ydxyxdyxD +−= JI

similar)something(or

d2 and d1 labels with pixelsadjacentofcost

21

21 ),(dd

ddV−=

=

∑∑ +=)2,2(),1,1(

2,21,1),(

, ),(),,(})({yxyxneighbors

yxyxyx

yx ddVdyxDdE

Page 39: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Energy minimization

• Many local minimum• Why?• Gradient descent doesn’t work well

• In practice, disparities only piecewise smooth• Design smoothness function that doesn’t penalize

large jumps too much• Example: V(α,β)=min(|α−β|, K)

– Non-convex

∑∑ +=)2,2(),1,1(

2,21,1),(

, ),(),,(})({yxyxneighbors

yxyxyx

yx ddVdyxDdE

Page 40: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Energy minimization• Hard to find global minima of non-smooth functions

• Many local minima• Provably NP-hard

• Practical algorithms look for approximate minima (e.g., simulated annealing)

Page 41: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Energy minimization via graph cuts

Labels (disparities)

d1

d2

d3

edge weight

edge weight

),,( 3dyxD

),( 11 ddV

Page 42: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

• Graph Cost• Matching cost between images• Neighborhood matching term• Goal: figure out which labels are connected to which pixels

d1

d2

d3

Energy minimization via graph cuts

Page 43: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Energy minimization via graph cuts

d1

d2

d3

• Graph Cut• Delete enough edges so that

– each pixel is connected to exactly one label node

• Cost of a cut: sum of deleted edge weights• Finding min cost cut equivalent to finding global minimum of

energy function

Page 44: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Computing a multiway cut

• With 2 labels: classical min-cut problem• Solvable by standard flow algorithms

– polynomial time in theory, nearly linear in practice• More than 2 terminals: NP-hard

[Dahlhaus et al., STOC ‘92]• Efficient approximation algorithms exist

• Yuri Boykov, Olga Veksler and Ramin Zabih, Fast Approximate Energy Minimization via Graph Cuts, International Conference on Computer Vision, September 1999.

• Within a factor of 2 of optimal• Computes local minimum in a strong sense

– even very large moves will not improve the energy

Page 45: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Move examples

Starting point

Red-blue swap move

Green expansion move

Page 46: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

The swap move algorithm1. Start with an arbitrary labeling2. Cycle through every label pair (A,B) in some order

2.1 Find the lowest E labeling within a single AB-swap2.2 Go there if it’s lower E than the current labeling

3. If E did not decrease in the cycle, we’re done Otherwise, go to step 2

Original graph

A

B

AB subgraph(run min-cut on this graph)

B

A

Page 47: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

The expansion move algorithm

1. Start with an arbitrary labeling2. Cycle through every label A in some order

2.1 Find the lowest E labeling within a single A-expansion

2.2 Go there if it’s lower E than the current labeling3. If E did not decrease in the cycle, we’re done Otherwise, go to

step 2

Multi-way cut A sequence of binary optimization problems

Page 48: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo results

ground truthscene

• Data from University of Tsukuba

http://cat.middlebury.edu/stereo/

Page 49: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Results with window correlation

normalized correlation(best window size)

ground truth

Page 50: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Results with graph cuts

ground truthgraph cuts(Potts model E,expansion move algorithm)

Page 51: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Depth from disparity

f

x x’

baseline

z

C C’

X

f

input image (1 of 2)[Szeliski & Kang ‘95]

depth map 3D rendering

Page 52: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Real-time stereo

• Used for robot navigation (and other tasks)• Several software-based real-time stereo techniques have

been developed (most based on simple discrete search)

Nomad robot searches for meteorites in Antarticahttp://www.frc.ri.cmu.edu/projects/meteorobot/index.html

Page 53: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

• Camera calibration errors• Poor image resolution• Occlusions• Violations of brightness constancy (specular reflections)• Large motions• Low-contrast image regions

Stereo reconstruction pipeline• Steps

• Calibrate cameras• Rectify images• Compute disparity• Estimate depth

What will cause errors?

Page 54: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Li Zhang, Noah Snavely, Brian Curless, Steven SeitzCVPR 2003, SIGGRAPH 2004

Page 55: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo

Page 56: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo

???

Page 57: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Marker-based Face Capture

The Polar Express, 2004

“The largest intractable problem with ‘The Polar Express’ is that the motion-capture technology used to create the human figures has resulted in a film filled with creepily unlifelike beings.”

New York Times Review, Nov 2004

Page 58: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo

Page 59: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Stereo

Frame-by-Frame Stereo W×H = 15×15 Window

A Pair of Videos 640×480@60fps Each

Inaccurate & Jittering

Page 60: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

3D Surface

Spacetime Stereo

Page 61: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Time

3D Surface

Page 62: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Time

3D Surface

Page 63: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Time

Page 64: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Surface Motion

Time

Page 65: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Surface Motion

Time=0

Page 66: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Surface Motion

Time=1

Page 67: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Surface Motion

Time=2

Page 68: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Surface Motion

Time=3

Page 69: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Surface Motion

Time=4

Page 70: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Surface Motion

• Matching Volumetric Window

• Affine Window Deformation

Key ideas:

Spacetime Stereo

Time

Page 71: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Time

Page 72: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Time

Page 73: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

Page 74: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo

A Pair of Videos 640×480@60fps Each

Spacetime Stereo W×H×T = 9×5×5 Window

Page 75: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Frame-by-Frame vs. Spacetime Stereo

Spacetime Stereo W×H×T = 9×5×5 Window

Frame-by-Frame W×H = 15×15 Window

Spatially More AccurateTemporally More Stable

Page 76: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Video Projectors

Color Cameras

Black & White Cameras

Spacetime Face Capture System

Page 77: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

System in Action

Page 78: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Input Videos (640×480, 60fps)

Page 79: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Spacetime Stereo Reconstruction

Page 80: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Creating a Face Database

Page 81: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Creating a Face Database

[Zhang et al. SIGGRAPH’04]

Page 82: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Application 1: Expression Synthesis

[Zhang et al. SIGGRAPH’04]

A New Expression:

Page 83: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Application 2: Facial Animation

[Zhang et al. SIGGRAPH’04]

Page 84: Camera structure • Eye structurepages.cs.wisc.edu/.../syllabus/10-16-stereo/10-09-stereo.pdf · 2009. 8. 31. · • Several software-based real-time stereo techniques have been

Keyframe Animation