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

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

Chaplin, Modern Times, 1936

Final project bits and pieces

Stereo: Disparity and Matching

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

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

Stereo vision. Many slides adapted from Steve Seitz

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

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

Stereo. Many slides adapted from Steve Seitz

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

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

BIL Computer Vision Apr 16, 2014

CS5670: Computer Vision

Epipolar Geometry and Stereo Vision

Computer Vision Lecture 17

Computer Vision Lecture 17

Introduction à la vision artificielle X

Epipolar Geometry and Stereo Vision

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

CEng Computational Vision

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

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

Recap from Previous Lecture

Multiple View Geometry

What have we leaned so far?

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

Multi-stable Perception. Necker Cube

Image Based Reconstruction II

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

Lecture 10: Multi view geometry

Ninio, J. and Stevens, K. A. (2000) Variations on the Hermann grid: an extinction illusion. Perception, 29,

Lecture 9 & 10: Stereo Vision

Stereo Matching.

Lecture 14: Computer Vision

Epipolar Geometry and Stereo Vision

Multiple View Geometry

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

Lecture 10: Multi-view geometry

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

CS 4495/7495 Computer Vision Frank Dellaert, Fall 07. Dense Stereo Some Slides by Forsyth & Ponce, Jim Rehg, Sing Bing Kang

Mosaics wrapup & Stereo

Announcements. Stereo Vision Wrapup & Intro Recognition

Fundamentals of Stereo Vision Michael Bleyer LVA Stereo Vision

Stereo Wrap + Motion. Computer Vision I. CSE252A Lecture 17

EE795: Computer Vision and Intelligent Systems

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

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...

CS5670: Computer Vision

CS6670: Computer Vision

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

Passive 3D Photography

Lecture 14: Basic Multi-View Geometry

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

Last time: Disparity. Lecture 11: Stereo II. Last time: Triangulation. Last time: Multi-view geometry. Last time: Epipolar geometry

Stereo and Epipolar geometry

A virtual tour of free viewpoint rendering

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

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

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

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

Dense 3D Reconstruction. Christiano Gava

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

Robert Collins CSE486, Penn State. Lecture 09: Stereo Algorithms

Segmentation Based Stereo. Michael Bleyer LVA Stereo Vision

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

Computer Vision, Lecture 11

Assignment 2: Stereo and 3D Reconstruction from Disparity

Stereo imaging ideal geometry

Announcements. Stereo Vision II. Midterm. Example: Helmholtz Stereo Depth + Normals + BRDF. Stereo

Step-by-Step Model Buidling

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

Epipolar Geometry and Stereo Vision

Stereo Vision II: Dense Stereo Matching

Model-Based Stereo. Chapter Motivation. The modeling system described in Chapter 5 allows the user to create a basic model of a

Dense 3D Reconstruction. Christiano Gava

Cameras and Stereo CSE 455. Linda Shapiro

3D Photography: Stereo Matching

Lecture 19: Motion. Effect of window size 11/20/2007. Sources of error in correspondences. Review Problem set 3. Tuesday, Nov 20

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

Outline. Immersive Visual Communication Pipeline. Lec 02 Human Vision System

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

Multi-Flash Stereopsis: Depth Edge Preserving Stereo with Small Baseline Illumination

Global Depth from Epipolar Volumes - A General Framework for Reconstructing Non-Lambertian Surfaces

Epipolar Constraint. Epipolar Lines. Epipolar Geometry. Another look (with math).

Computer Vision I. Announcement

Lecture 6 Stereo Systems Multi-view geometry

An investigation into stereo algorithms: An emphasis on local-matching. Thulani Ndhlovu

CS 4495 Computer Vision. Segmentation. Aaron Bobick (slides by Tucker Hermans) School of Interactive Computing. Segmentation

Improved depth map estimation in Stereo Vision

Improving Depth Maps by Nonlinear Diffusion

Problem Set 7 CMSC 426 Assigned Tuesday April 27, Due Tuesday, May 11

Depth from two cameras: stereopsis

COMP 558 lecture 22 Dec. 1, 2010

Data Term. Michael Bleyer LVA Stereo Vision

segments. The geometrical relationship of adjacent planes such as parallelism and intersection is employed for determination of whether two planes sha

Real-Time Disparity Map Computation Based On Disparity Space Image

Outline. Segmentation & Grouping. Examples of grouping in vision. Grouping in vision. Grouping in vision 2/9/2011. CS 376 Lecture 7 Segmentation 1

Real-time Global Stereo Matching Using Hierarchical Belief Propagation

Depth from two cameras: stereopsis

Transcription:

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

For now assume parallel image planes Assume parallel (co-planar) image planes Assume same focal lengths Assume epipolar lines are horizontal Assume epipolar lines are at the same y location in the image That s a lot of assuming, but it allows us to move to the correspondence problem which you will be solving!

Correspondence problem Multiple match hypotheses satisfy epipolar constraint, but which is correct? Figure from Gee & Cipolla 1999

Correspondence problem Beyond the hard constraint of epipolar geometry, there are soft constraints to help identify corresponding points Similarity Uniqueness Ordering Disparity gradient is limited

Correspondence problem Beyond the hard constraint of epipolar geometry, there are soft constraints to help identify corresponding points Similarity Uniqueness Ordering Disparity gradient is limited

Correspondence problem To find matches in the image pair, we will assume Most scene points visible from both views Image regions for the matches are similar in appearance

Dense correspondence search For each pixel / window in the left image Compare with every pixel / window on same epipolar line in right image Pick position with minimum match cost (e.g., SSD, normalized correlation) Adapted from Li Zhang

Correspondence search: (dis)similarity constraint Left Right scanline Matching cost disparity

Correspondence search: (dis)similarity constraint Left Right scanline SSD

Correspondence search: similarity constraint Left Right scanline Normalized correlation

Correspondence problem Source: Andrew Zisserman

Correspondence problem Intensity profiles Source: Andrew Zisserman

Correspondence problem Neighborhoods of corresponding points are similar in intensity patterns. Source: Andrew Zisserman

Correlation-based window matching

Correlation-based window matching

Correlation-based window matching

Correlation-based window matching

Correlation-based window matching???

Effect of window size Source: Andrew Zisserman

Effect of window size W = 3 W = 20 Figures from Li Zhang

Correspondence problem Beyond the hard constraint of epipolar geometry, there are soft constraints to help identify corresponding points Similarity Uniqueness Ordering Disparity gradient is limited

Uniqueness constraint No more than one match in right image for every point in left image Figure from Gee & Cipolla 1999

Problem: Occlusion Occluded pixels

Ordering constraint Figure from Gee & Cipolla 1999

Ordering constraint Won t always hold, e.g. consider transparent object Figures from Forsyth & Ponce

Ordering constraint or a narrow occluding surface Figures from Forsyth & Ponce

Stereo results Image data from University of Tsukuba Scene Ground truth

Results with window search Window-based matching (best window size) Ground truth

Better solutions Beyond individual correspondences to estimate disparities: Optimize correspondence assignments jointly Scanline at a time (DP) Full 2D grid (graph cuts)

Scanline stereo Coherently match pixels on the entire scanline intensity

Left occlusion Shortest paths for scan-line stereo s left Right occlusion one-to-one Right occlusion Left occlusion s right Can be implemented with dynamic programming Ohta & Kanade 85, Cox et al. 96, Intille & Bobick, 01 Slide: Y. Boykov

Coherent stereo on 2D grid Scanline stereo generates streaking artifacts Can t use dynamic programming to find spatially coherent disparities/ correspondences on a 2D grid

Stereo as energy minimization What defines a good stereo correspondence? 1. Match quality - Want each pixel to find a good appearance match in the other image 2. Smoothness - of two pixels are adjacent, they should (usually) move about the same amount

Stereo matching as energy minimization I 1 I 2 D W 1 (i ) W 2 (i+d(i )) D(i ) Data term: ( ) ( ( )) 2 E W i W i D i data 1 2 i Source: Steve Seitz

Stereo matching as energy minimization I 1 I 2 D W 1 (i ) W 2 (i+d(i )) D(i ) Smoothness term: E D ( i) D ( j) sm ooth neighbors i, j Source: Steve Seitz

Stereo matching as energy minimization I 1 I 2 D W 1 (i ) W 2 (i+d(i )) D(i ) Total energy: E E ( I, I, D ) E ( D ) data 1 2 sm ooth Source: Steve Seitz

Better results Energy functions of this form can be minimized using graph cuts Y. Boykov, O. Veksler, and R. Zabih, Fast Approximate Energy Minimization via Graph Cuts, PAMI 2001

Better results State of the art method Ground truth For the latest and greatest: http://www.middlebury.edu/stereo

Challenges Low-contrast ; textureless image regions Occlusions Violations of brightness constancy (e.g., specular reflections) Really large baselines (foreshortening and appearance change) Camera calibration errors