msr image based reality project

57
MSR Image based Reality Project http://research.microsoft.com/~larryz/ videoviewinterpolation.htm |

Upload: emily-olson

Post on 31-Dec-2015

27 views

Category:

Documents


0 download

DESCRIPTION

MSR Image based Reality Project. http://research.microsoft.com/~larryz/videoviewinterpolation.htm. … |. Known Scene. Unknown Scene. Forward Visibility known scene. Inverse Visibility known images. The visibility problem. Which points are visible in which images?. Volumetric stereo. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: MSR Image based Reality Project

MSR Image based Reality Project

http://research.microsoft.com/~larryz/videoviewinterpolation.htm

…|

Page 2: MSR Image based Reality Project

The visibility problem

Inverse Visibilityknown images

Unknown SceneUnknown Scene

Which points are visible in which images?

Known SceneKnown Scene

Forward Visibilityknown scene

Page 3: MSR Image based Reality Project

Volumetric stereo

Scene VolumeScene Volume

VV

Input ImagesInput Images

(Calibrated)(Calibrated)

Goal: Goal: Determine occupancy, Determine occupancy, ““colorcolor”” of points in V of points in V

Page 4: MSR Image based Reality Project

Discrete formulation: Voxel Coloring

Discretized Discretized

Scene VolumeScene Volume

Input ImagesInput Images

(Calibrated)(Calibrated)

Goal: Assign RGBA values to voxels in Vphoto-consistent with images

Page 5: MSR Image based Reality Project

Complexity and computability

Discretized Discretized

Scene VolumeScene Volume

N voxelsN voxels

C colorsC colors

33

All Scenes (CN3)Photo-Consistent

Scenes

TrueScene

Page 6: MSR Image based Reality Project

Issues

Theoretical Questions• Identify class of all photo-consistent scenes

Practical Questions• How do we compute photo-consistent models?

Page 7: MSR Image based Reality Project

1. C=2 (shape from silhouettes)• Volume intersection [Baumgart 1974]

> For more info: Rapid octree construction from image sequences. R. Szeliski, CVGIP: Image Understanding, 58(1):23-32, July 1993. (this paper is apparently not available online) or

> W. Matusik, C. Buehler, R. Raskar, L. McMillan, and S. J. Gortler, Image-Based Visual Hulls, SIGGRAPH 2000 ( pdf 1.6 MB )

2. C unconstrained, viewpoint constraints• Voxel coloring algorithm [Seitz & Dyer 97]

3. General Case• Space carving [Kutulakos & Seitz 98]

Voxel coloring solutions

Page 8: MSR Image based Reality Project

Reconstruction from Silhouettes (C = 2)

Binary ImagesBinary Images

Approach: • Backproject each silhouette

• Intersect backprojected volumes

Page 9: MSR Image based Reality Project

Volume intersection

Reconstruction Contains the True Scene• But is generally not the same

• In the limit (all views) get visual hull > Complement of all lines that don’t intersect S

Page 10: MSR Image based Reality Project

Voxel algorithm for volume intersection

Color voxel black if on silhouette in every image• for M images, N3 voxels

• Don’t have to search 2N3 possible scenes!

O( ? ),

Page 11: MSR Image based Reality Project

Properties of Volume Intersection

Pros• Easy to implement, fast

• Accelerated via octrees [Szeliski 1993] or interval techniques [Matusik 2000]

Cons• No concavities

• Reconstruction is not photo-consistent

• Requires identification of silhouettes

Page 12: MSR Image based Reality Project

Voxel Coloring Solutions

1. C=2 (silhouettes)• Volume intersection [Baumgart 1974]

2. C unconstrained, viewpoint constraints• Voxel coloring algorithm [Seitz & Dyer 97]

> For more info: http://www.cs.washington.edu/homes/seitz/papers/ijcv99.pdf

3. General Case• Space carving [Kutulakos & Seitz 98]

Page 13: MSR Image based Reality Project

1. Choose voxel1. Choose voxel2. Project and correlate2. Project and correlate

3.3. Color if consistentColor if consistent(standard deviation of pixel

colors below threshold)

Voxel Coloring Approach

Visibility Problem: Visibility Problem: in which images is each voxel visible?in which images is each voxel visible?

Page 14: MSR Image based Reality Project

LayersLayers

Depth Ordering: visit occluders first!

SceneScene

TraversalTraversal

Condition: Condition: depth order is the depth order is the same for all input viewssame for all input views

Page 15: MSR Image based Reality Project

Panoramic Depth Ordering

• Cameras oriented in many different directions

• Planar depth ordering does not apply

Page 16: MSR Image based Reality Project

Panoramic Depth Ordering

Layers radiate outwards from camerasLayers radiate outwards from cameras

Page 17: MSR Image based Reality Project

Panoramic Layering

Layers radiate outwards from camerasLayers radiate outwards from cameras

Page 18: MSR Image based Reality Project

Panoramic Layering

Layers radiate outwards from camerasLayers radiate outwards from cameras

Page 19: MSR Image based Reality Project

Compatible Camera Configurations

Depth-Order Constraint• Scene outside convex hull of camera centers

Outward-Lookingcameras inside scene

Inward-Lookingcameras above scene

Page 20: MSR Image based Reality Project

Calibrated Image Acquisition

Calibrated Turntable360° rotation (21 images)

Selected Dinosaur ImagesSelected Dinosaur Images

Selected Flower ImagesSelected Flower Images

Page 21: MSR Image based Reality Project

Voxel Coloring Results (Video)

Dinosaur ReconstructionDinosaur Reconstruction72 K voxels colored72 K voxels colored7.6 M voxels tested7.6 M voxels tested7 min. to compute 7 min. to compute on a 250MHz SGIon a 250MHz SGI

Flower ReconstructionFlower Reconstruction70 K voxels colored70 K voxels colored7.6 M voxels tested7.6 M voxels tested7 min. to compute 7 min. to compute on a 250MHz SGIon a 250MHz SGI

Page 22: MSR Image based Reality Project

Limitations of Depth Ordering

A view-independent depth order may not exist

p q

Need more powerful general-case algorithms• Unconstrained camera positions

• Unconstrained scene geometry/topology

Page 23: MSR Image based Reality Project

Voxel Coloring Solutions

1. C=2 (silhouettes)• Volume intersection [Baumgart 1974]

2. C unconstrained, viewpoint constraints• Voxel coloring algorithm [Seitz & Dyer 97]

3. General Case• Space carving [Kutulakos & Seitz 98]

> For more info: http://www.cs.washington.edu/homes/seitz/papers/kutu-ijcv00.pdf

Page 24: MSR Image based Reality Project

Space Carving Algorithm

Space Carving Algorithm

Image 1 Image N

…...

• Initialize to a volume V containing the true scene

• Repeat until convergence

• Choose a voxel on the current surface

• Carve if not photo-consistent

• Project to visible input images

Page 25: MSR Image based Reality Project

Which shape do you get?

The Photo Hull is the UNION of all photo-consistent scenes in V• It is a photo-consistent scene reconstruction

• Tightest possible bound on the true scene

True SceneTrue Scene

VV

Photo HullPhoto Hull

VV

Page 26: MSR Image based Reality Project

Space Carving Algorithm

The Basic Algorithm is Unwieldy• Complex update procedure

Alternative: Multi-Pass Plane Sweep• Efficient, can use texture-mapping hardware

• Converges quickly in practice

• Easy to implement

Results Algorithm

Page 27: MSR Image based Reality Project

Multi-Pass Plane Sweep• Sweep plane in each of 6 principle directions• Consider cameras on only one side of plane• Repeat until convergence

True Scene Reconstruction

Page 28: MSR Image based Reality Project

Multi-Pass Plane Sweep• Sweep plane in each of 6 principle directions• Consider cameras on only one side of plane• Repeat until convergence

Page 29: MSR Image based Reality Project

Multi-Pass Plane Sweep• Sweep plane in each of 6 principle directions• Consider cameras on only one side of plane• Repeat until convergence

Page 30: MSR Image based Reality Project

Multi-Pass Plane Sweep• Sweep plane in each of 6 principle directions• Consider cameras on only one side of plane• Repeat until convergence

Page 31: MSR Image based Reality Project

Multi-Pass Plane Sweep• Sweep plane in each of 6 principle directions• Consider cameras on only one side of plane• Repeat until convergence

Page 32: MSR Image based Reality Project

Multi-Pass Plane Sweep• Sweep plane in each of 6 principle directions• Consider cameras on only one side of plane• Repeat until convergence

Page 33: MSR Image based Reality Project

Space Carving Results: African Violet

Input Image (1 of 45) Reconstruction

ReconstructionReconstruction

Page 34: MSR Image based Reality Project

Space Carving Results: Hand

Input Image(1 of 100)

Views of Reconstruction

Page 35: MSR Image based Reality Project

Properties of Space Carving

Pros• Voxel coloring version is easy to implement, fast

• Photo-consistent results

• No smoothness prior

Cons• Bulging

• No smoothness prior

Page 36: MSR Image based Reality Project

Alternatives to space carving

Optimizing space carving• recent surveys

>Slabaugh et al., 2001

>Dyer et al., 2001

• many others...

Graph cuts• Kolmogorov & Zabih

Level sets• introduce smoothness term

• surface represented as an implicit function in 3D volume

• optimize by solving PDE’s

Page 37: MSR Image based Reality Project

Alternatives to space carving

Optimizing space carving• recent surveys

>Slabaugh et al., 2001

>Dyer et al., 2001

• many others...

Graph cuts• Kolmogorov & Zabih

Level sets• introduce smoothness term

• surface represented as an implicit function in 3D volume

• optimize by solving PDE’s

Page 38: MSR Image based Reality Project

Level sets vs. space carving

Advantages of level sets• optimizes consistency with images + smoothness term• excellent results for smooth things• does not require as many images

Advantages of space carving• much simpler to implement• runs faster (orders of magnitude)• works better for thin structures, discontinuities

For more info on level set stereo: • Renaud Keriven’s page:

> http://cermics.enpc.fr/~keriven/stereo.html

Page 39: MSR Image based Reality Project

Volume Intersection• Martin & Aggarwal, “Volumetric description of objects from multiple views”, Trans. Pattern

Analysis and Machine Intelligence, 5(2), 1991, pp. 150-158.

• Szeliski, “Rapid Octree Construction from Image Sequences”, Computer Vision, Graphics, and Image Processing: Image Understanding, 58(1), 1993, pp. 23-32.

• Matusik, Buehler, Raskar, McMillan, and Gortler , “Image-Based Visual Hulls”, Proc. SIGGRAPH 2000, pp. 369-374.

Voxel Coloring and Space Carving• Seitz & Dyer, “Photorealistic Scene Reconstruction by Voxel Coloring”, Intl. Journal of

Computer Vision (IJCV), 1999, 35(2), pp. 151-173. • Kutulakos & Seitz, “A Theory of Shape by Space Carving”, International Journal of Computer

Vision, 2000, 38(3), pp. 199-218.

• Recent surveys> Slabaugh, Culbertson, Malzbender, & Schafer, “A Survey of Volumetric Scene Reconstruction Methods from

Photographs”, Proc. workshop on Volume Graphics 2001, pp. 81-100. http://users.ece.gatech.edu/~slabaugh/personal/publications/vg01.pdf

> Dyer, “Volumetric Scene Reconstruction from Multiple Views”, Foundations of Image Understanding, L. S. Davis, ed., Kluwer, Boston, 2001, 469-489. ftp://ftp.cs.wisc.edu/computer-vision/repository/PDF/dyer.2001.fia.pdf

References

Page 40: MSR Image based Reality Project

Other references from this talk• Multibaseline Stereo: Masatoshi Okutomi and Takeo Kanade. A multiple-baseline stereo.

IEEE Trans. on Pattern Analysis and Machine Intelligence (PAMI), 15(4), 1993, pp. 353--363.

• Level sets: Faugeras & Keriven, “Variational principles, surface evolution, PDE's, level set methods and the stereo problem", IEEE Trans. on Image Processing, 7(3), 1998, pp. 336-344.

• Mesh based: Fua & Leclerc, “Object-centered surface reconstruction: Combining multi-image stereo and shading", IJCV, 16, 1995, pp. 35-56.

• 3D Room: Narayanan, Rander, & Kanade, “Constructing Virtual Worlds Using Dense Stereo”, Proc. ICCV, 1998, pp. 3-10.

• Graph-based: Kolmogorov & Zabih, “Multi-Camera Scene Reconstruction via Graph Cuts”, Proc. European Conf. on Computer Vision (ECCV), 2002.

• Helmholtz Stereo: Zickler, Belhumeur, & Kriegman, “Helmholtz Stereopsis: Exploiting Reciprocity for Surface Reconstruction”, IJCV, 49(2-3), 2002, pp. 215-227.

References

Page 41: MSR Image based Reality Project

So far• Passive Stereo

• Spacetime Stereo

• Multiple View Stereo

Page 42: MSR Image based Reality Project

Next• Structure from Motion:

Given pixel correspondences,

how to compute 3D structure and camera motion?

Slides stolen from Prof Yungyu Chuang

Page 43: MSR Image based Reality Project

Epipolar geometry & fundamental matrix

Page 44: MSR Image based Reality Project

The epipolar geometry

What if only C,C’,x are known?

Page 46: MSR Image based Reality Project

The epipolar geometry

All points on project on l and l’

Page 47: MSR Image based Reality Project

The epipolar geometry

Family of planes and lines l and l’ intersect at e and e’

Page 48: MSR Image based Reality Project

The epipolar geometry

epipolar plane = plane containing baselineepipolar line = intersection of epipolar plane with image

epipolar pole= intersection of baseline with image plane = projection of projection center in other image

epipolar geometry demo

Page 49: MSR Image based Reality Project

The fundamental matrix F

C C’T=C’-C

Rp p’

0)()( pTTXThe equation of the epipolar plane through X is

0)()'( pTpR

KXx

XxKp -1

T)-R(XK'x'

T)-X(Rx'K'p' -1

Page 50: MSR Image based Reality Project

The fundamental matrix F

0)()'( pTpR

SppT

0

0

0

xy

xz

yz

TT

TT

TT

S

0)()'( SppR

0))('( SpRp

0' Epp essential matrix

Page 51: MSR Image based Reality Project

The fundamental matrix F

C C’T=C’-C

Rp p’

0' Epp

Page 52: MSR Image based Reality Project

The fundamental matrix F

0' Epp

Let M and M’ be the intrinsic matrices, then

xKp 1 ''' 1 xKp

0)()'( 11 xKExK'

0' 1 xEKK'x

0' Fxx fundamental matrix

Page 53: MSR Image based Reality Project

The fundamental matrix F

C C’T=C’-C

Rp p’

0' Epp

0' Fxx

Page 54: MSR Image based Reality Project

The fundamental matrix F

• The fundamental matrix is the algebraic representation of epipolar geometry

• The fundamental matrix satisfies the condition that for any pair of corresponding points x↔x’ in the two images

0Fxx'T 0l'x'T

Page 55: MSR Image based Reality Project

F is the unique 3x3 rank 2 matrix that satisfies x’TFx=0 for all x↔x’

1. Transpose: if F is fundamental matrix for (P,P’), then FT is fundamental matrix for (P’,P)

2. Epipolar lines: l’=Fx & l=FTx’3. Epipoles: on all epipolar lines, thus e’TFx=0, x

e’TF=0, similarly Fe=04. F has 7 d.o.f. , i.e. 3x3-1(homogeneous)-1(rank2)5. F maps from a point x to a line l’=Fx (not

invertible)

The fundamental matrix F

Page 56: MSR Image based Reality Project

The fundamental matrix F

• It can be used for – Simplifies matching– Allows to detect wrong matches

Page 57: MSR Image based Reality Project

Estimation of F — 8-point algorithm

• The fundamental matrix F is defined by

0Fxx'for any pair of matches x and x’ in two images.

• Let x=(u,v,1)T and x’=(u’,v’,1)T,

333231

232221

131211

fff

fff

fff

F

each match gives a linear equation

0'''''' 333231232221131211 fvfuffvfvvfuvfufvufuu