Image Based Reconstruction II

Similar documents
Prof. Trevor Darrell Lecture 18: Multiview and Photometric Stereo

Multiple View Geometry

Binocular stereo. Given a calibrated binocular stereo pair, fuse it to produce a depth image. Where does the depth information come from?

Some books on linear algebra

Stereo vision. Many slides adapted from Steve Seitz

Stereo. Many slides adapted from Steve Seitz

BIL Computer Vision Apr 16, 2014

Stereo. 11/02/2012 CS129, Brown James Hays. Slides by Kristen Grauman

Multi-view stereo. Many slides adapted from S. Seitz

3D Photography: Stereo Matching

Some books on linear algebra

CS5670: Computer Vision

CS 4495 Computer Vision A. Bobick. Motion and Optic Flow. Stereo Matching

Epipolar Geometry and Stereo Vision

Geometric Reconstruction Dense reconstruction of scene geometry

Epipolar Geometry and Stereo Vision

CS 4495 Computer Vision A. Bobick. Motion and Optic Flow. Stereo Matching

EECS 442 Computer vision. Stereo systems. Stereo vision Rectification Correspondence problem Active stereo vision systems

Multiview Reconstruction

Stereo II CSE 576. Ali Farhadi. Several slides from Larry Zitnick and Steve Seitz

Volumetric Scene Reconstruction from Multiple Views

Lecture 9 & 10: Stereo Vision

Chaplin, Modern Times, 1936

CS5670: Computer Vision

Lecture 10: Multi view geometry

Lecture 8 Active stereo & Volumetric stereo

Lecture 10: Multi-view geometry

Project 2 due today Project 3 out today. Readings Szeliski, Chapter 10 (through 10.5)

Introduction à la vision artificielle X

Shape from Silhouettes

Lecture 6 Stereo Systems Multi-view geometry

CS4495/6495 Introduction to Computer Vision. 3B-L3 Stereo correspondence

What have we leaned so far?

Fundamental matrix. Let p be a point in left image, p in right image. Epipolar relation. Epipolar mapping described by a 3x3 matrix F

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

Recap from Previous Lecture

Final project bits and pieces

Lecture'9'&'10:'' Stereo'Vision'

There are many cues in monocular vision which suggests that vision in stereo starts very early from two similar 2D images. Lets see a few...

Stereo. Outline. Multiple views 3/29/2017. Thurs Mar 30 Kristen Grauman UT Austin. Multi-view geometry, matching, invariant features, stereo vision

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Project 3 code & artifact due Tuesday Final project proposals due noon Wed (by ) Readings Szeliski, Chapter 10 (through 10.5)

Epipolar Geometry and Stereo Vision

Lecture 8 Active stereo & Volumetric stereo

Dense 3D Reconstruction. Christiano Gava

Computer Vision Lecture 17

Computer Vision Lecture 17

Stereo and structured light

Stereo: Disparity and Matching

3D photography. Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/5/15

EECS 442 Computer vision. Announcements

Human Body Recognition and Tracking: How the Kinect Works. Kinect RGB-D Camera. What the Kinect Does. How Kinect Works: Overview

Lecture 6 Stereo Systems Multi- view geometry Professor Silvio Savarese Computational Vision and Geometry Lab Silvio Savarese Lecture 6-24-Jan-15

Today. Stereo (two view) reconstruction. Multiview geometry. Today. Multiview geometry. Computational Photography

Cameras and Stereo CSE 455. Linda Shapiro

6.819 / 6.869: Advances in Computer Vision Antonio Torralba and Bill Freeman. Lecture 11 Geometry, Camera Calibration, and Stereo.

Dense 3D Reconstruction. Christiano Gava

Fundamentals of Stereo Vision Michael Bleyer LVA Stereo Vision

Step-by-Step Model Buidling

Lecture 10 Dense 3D Reconstruction

Computer Vision I. Announcements. Random Dot Stereograms. Stereo III. CSE252A Lecture 16

Multi-view Stereo. Ivo Boyadzhiev CS7670: September 13, 2011

Lecture 10 Multi-view Stereo (3D Dense Reconstruction) Davide Scaramuzza

Efficient View-Dependent Sampling of Visual Hulls

3D Computer Vision. Depth Cameras. Prof. Didier Stricker. Oliver Wasenmüller

CS 2770: Intro to Computer Vision. Multiple Views. Prof. Adriana Kovashka University of Pittsburgh March 14, 2017

Stereo Vision A simple system. Dr. Gerhard Roth Winter 2012

Epipolar Geometry and Stereo Vision

Kinect Device. How the Kinect Works. Kinect Device. What the Kinect does 4/27/16. Subhransu Maji Slides credit: Derek Hoiem, University of Illinois

Multi-View 3D-Reconstruction

A virtual tour of free viewpoint rendering

Multi-View Stereo for Static and Dynamic Scenes

3D Dynamic Scene Reconstruction from Multi-View Image Sequences

Volumetric stereo with silhouette and feature constraints

Lecture 14: Computer Vision

3D Scanning. Qixing Huang Feb. 9 th Slide Credit: Yasutaka Furukawa

Multi-View 3D-Reconstruction

7. The Geometry of Multi Views. Computer Engineering, i Sejong University. Dongil Han

Image Rectification (Stereo) (New book: 7.2.1, old book: 11.1)

Shape from Silhouettes I

Talk plan. 3d model. Applications: cultural heritage 5/9/ d shape reconstruction from photographs: a Multi-View Stereo approach

Camera Drones Lecture 3 3D data generation

SIMPLE ROOM SHAPE MODELING WITH SPARSE 3D POINT INFORMATION USING PHOTOGRAMMETRY AND APPLICATION SOFTWARE

Multi-View Reconstruction using Narrow-Band Graph-Cuts and Surface Normal Optimization

Stereo Matching. Stereo Matching. Face modeling. Z-keying: mix live and synthetic

Shape from Silhouettes I CV book Szelisky

Correspondence and Stereopsis. Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]

Stereo Vision Computer Vision (Kris Kitani) Carnegie Mellon University

Shape from Silhouettes I

Multi-view Stereo via Volumetric Graph-cuts and Occlusion Robust Photo-Consistency

Introduction to Computer Vision. Week 10, Winter 2010 Instructor: Prof. Ko Nishino

Recap: Features and filters. Recap: Grouping & fitting. Now: Multiple views 10/29/2008. Epipolar geometry & stereo vision. Why multiple views?

Stereo and Epipolar geometry

3D Surface Reconstruction from 2D Multiview Images using Voxel Mapping

Computer Vision I. Announcement. Stereo Vision Outline. Stereo II. CSE252A Lecture 15

3D Photography: Active Ranging, Structured Light, ICP

Project Updates Short lecture Volumetric Modeling +2 papers

Announcements. Stereo Vision Wrapup & Intro Recognition

Modeling, Combining, and Rendering Dynamic Real-World Events From Image Sequences

Complex Sensors: Cameras, Visual Sensing. The Robotics Primer (Ch. 9) ECE 497: Introduction to Mobile Robotics -Visual Sensors

Transcription:

Image Based Reconstruction II Qixing Huang Feb. 2 th 2017 Slide Credit: Yasutaka Furukawa

Image-Based Geometry Reconstruction Pipeline

Last Lecture: Multi-View SFM Multi-View SFM

This Lecture: Multi-View Stereo Multi-View Stereo

Multi-view Stereo for Visual Effects

Input Images

Volumetric Stereo Space Carving Multi-Baseline Stereo

Volumetric Stereo Scene Volume V Input Images (Calibrated) Goal: Determine occupancy, color of points in V

Discrete formulation: Voxel Coloring Discretized Scene Volume Input Images (Calibrated) Goal: Assign RGBA values to voxels in V photo-consistent with images

Voxel Coloring Solutions 1. C=2 (shape from silhouettes) Volume intersection [Baumgart 1974] 2. C unconstrained, viewpoint constraints Voxel coloring algorithm [Seitz & Dyer 97] 3. General Case Space carving [Kutulakos & Seitz 98]

Reconstruction from Silhouettes (C = 2) Binary Images Approach: Backproject each silhouette Intersect backprojected volumes

Volume Intersection Reconstruction Contains the True Scene In the limit (all views) get convex hull

Voxel Algorithm for Volume Intersection Color voxel black if on silhouette in every image

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

Voxel Coloring Solutions 1. C=2 (shape from silhouettes) Volume intersection [Baumgart 1974] 2. C unconstrained, viewpoint constraints Voxel coloring algorithm [Seitz & Dyer 97] 3. General Case Space carving [Kutulakos & Seitz 98]

Voxel Coloring Approach

Voxel Coloring Approach 1. Choose voxel

Voxel Coloring Approach 1. Choose voxel 2. Project and correlate

Voxel Coloring Approach 1. Choose voxel 2. Project and correlate 3. Discard if inconsistent

Voxel Coloring Approach 1. Choose voxel 2. Project and correlate 3. Color if consistent (standard deviation of pixel colors below threshold)

Voxel Coloring Approach 1. Choose voxel 2. Project and correlate 3. Color if consistent (standard deviation of pixel colors below threshold) Visibility Problem: in which images is each voxel visible?

Depth Ordering: Visit Occluders First! Layers Scene Traversal

Calibrated Image Acquisition Selected Dinosaur Images Calibrated Turntable 360 rotation (21 images) Selected Flower Images

Voxel Coloring Results Dinosaur Reconstruction 72 K voxels colored 7.6 M voxels tested 7 min. to compute on a 250MHz SGI Flower Reconstruction 70 K voxels colored 7.6 M voxels tested 7 min. to compute on a 250MHz SGI

Reconstruction Reconstruction Source: S. Seitz Space Carving Results: African Violet Input Image (1 of 45) Reconstruction

Improvements Unconstrained camera viewpoints Space carving [Kutulakos & Seitz 98] Evolving a surface Level sets [Faugeras & Keriven 98] More recent work by Pons et al. Global optimization Graph cut approaches > [Kolmogoriv & Zabih, ECCV 2002] > [Vogiatzis et al., PAMI 2007] Modeling shiny (and other reflective) surfaces e.g., Zickler et al., Helmholtz Stereopsis

Binocular Stereo

Binocular Stereo Given a calibrated binocular stereo pair, fuse it to produce a depth image image 1 image 2 Dense depth map

Basic Stereo Matching Algorithm For each pixel in the first image Find corresponding epipolar line in the right image Examine all pixels on the epipolar line and pick the best match Triangulate the matches to get depth information Simplest case: epipolar lines are corresponding scanlines When does this happen?

Basic stereo matching algorithm For each pixel in the first image Find corresponding epipolar line in the right image Examine all pixels on the epipolar line and pick the best match Triangulate the matches to get depth information Simplest case: epipolar lines are corresponding scanlines When does this happen?

Simplest Case: Parallel Images Image planes of cameras are parallel to each other and to the baseline Camera centers are at same height Focal lengths are the same Then, epipolar lines fall along the horizontal scan lines of the images

Depth from Disparity X x x z f f O Baseline O B Disparity is inversely proportional to depth!

Stereo Image Rectification

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 reprojection C. Loop and Z. Zhang. Computing Rectifying Homographies for Stereo Vision. IEEE Conf. Computer Vision and Pattern Recognition, 1999.

Rectification Example

Correspondence search Left Right scanline Matching cost disparity Slide a window along the right scanline and compare contents of that window with the reference window in the left image Matching cost: SSD or normalized correlation

Correspondence search Left Right scanline SSD

Correspondence search Left Right scanline Norm. corr

Effect of window size Smaller window + More detail More noise Larger window + Smoother disparity maps Less detail W = 3 W = 20

Results with window search Data Window-based matching Ground truth

Non-local constraints Uniqueness For any point in one image, there should be at most one matching point in the other image

Non-local constraints Uniqueness For any point in one image, there should be at most one matching point in the other image Ordering Corresponding points should be in the same order in both views

Non-local constraints Uniqueness For any point in one image, there should be at most one matching point in the other image Ordering Corresponding points should be in the same order in both views Ordering constraint doesn t hold

Consistency Constraints Uniqueness For any point in one image, there should be at most one matching point in the other image Ordering Corresponding points should be in the same order in both views Smoothness We expect disparity values to change slowly (for the most part) MRF Formulation: Pixel matching score Consistency Scores

Comparsion Window-Based Search: Graph Cut: Ground Truth

Stereo matching as energy minimization I 1 I 2 D Graph-cuts can be used to minimize such energy Y. Boykov, O. Veksler, and R. Zabih, Fast Approximate Energy Minimization via Graph Cuts, PAMI 2001

Active stereo with structured light Project structured light patterns onto the object Simplifies the correspondence problem Allows us to use only one camera camera projector L. Zhang, B. Curless, and S. M. Seitz. Rapid Shape Acquisition Using Color Structured Light and Multi-pass Dynamic Programming. 3DPVT 2002

Kinect: Structured infrared light http://bbzippo.wordpress.com/2010/11/28/kinect-in-infrared/

Multi-Baseline Stereo

Same formulation with more images Change label from disparity to depth Change Ed(d) by using more images...

Same formulation with more images Change label from disparity to depth Change Ed(d) by using more images

Same formulation with more images Change label from disparity to depth Change Ed(d) by using more images...

Same formulation with more images Change label from disparity to depth Change Ed(d) by using more images Cost of assigning this depth comes from.........

Stereo: Basic Idea error depth

Multiple-Baseline Stereo Results [Okutomi and Kanade 93] I1 I2 I10

Mesh Reconstruction

Merging Depth Maps vrip [Curless and Levoy 1996] compute weighted average of depth maps set of depth maps (one per view) merged surface mesh

VRIP depth map 1 depth map 2 combination isosurface extraction signed distance function

Depthmap Merging Depthmap 1 Depthmap 2 59

Merging Depth Maps: Temple Model [Goesele et al. 06] input image 16 47 317 images images (ring) (hemisphere) ground truth model

State-of-The-Art

Multi-View Stereo from Internet Collections [Goesele et al. 07]

Challenges Appearance variation Resolution Massive collections 82754 results for photos matching notre and dame and paris

Law of Nearest Neighbors 206 Flickr images taken by 92 photographers

4 best neighboring views reference view Local view selection Automatically select neighboring views for each point in the image Desiderata: good matches AND good baselines

4 best neighboring views reference view Local view selection Automatically select neighboring views for each point in the image Desiderata: good matches AND good baselines

4 best neighboring views reference view Local view selection Automatically select neighboring views for each point in the image Desiderata: good matches AND good baselines

Notre Dame de Paris 653 images 313 photographers

129 Flickr images taken by 98 photographers

merged model of Venus de Milo

56 Flickr images taken by 8 photographers

merged model of Pisa Cathedral

Accuracy compared to laser scanned model: 90% of points within 0.25% of ground truth

How can Deep Learning Help?