Stereo matching “Stereo matching” is the correspondence problem –For a point in Image #1, where is the corresponding point in Image #2? C1C1 C2C2 ? ? C1C1.

Slides:



Advertisements
Similar presentations
Stereo Vision Reading: Chapter 11
Advertisements

Gratuitous Picture US Naval Artillery Rangefinder from World War I (1918)!!
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.
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Lecture 8: Stereo.
Stereo.
Last Time Pinhole camera model, projection
Stanford CS223B Computer Vision, Winter 2005 Lecture 6: Stereo 2 Sebastian Thrun, Stanford Rick Szeliski, Microsoft Hendrik Dahlkamp and Dan Morris, Stanford.
Stereo and Epipolar geometry
Stanford CS223B Computer Vision, Winter 2007 Lecture 6 Advanced Stereo Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2005 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
Stanford CS223B Computer Vision, Winter 2006 Lecture 6 Stereo II Professor Sebastian Thrun CAs: Dan Maynes-Aminzade, Mitul Saha, Greg Corrado Stereo.
Introduction to Computer Vision 3D Vision Topic 9 Stereo Vision (I) CMPSCI 591A/691A CMPSCI 570/670.
Stereopsis Mark Twain at Pool Table", no date, UCR Museum of Photography.
The plan for today Camera matrix
CS 223b 1 More on stereo and correspondence. CS 223b 2 =?f g Mostpopular For each window, match to closest window on epipolar line in other image. (slides.
3D from multiple views : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Jianbo Shi.
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
CSE473/573 – Stereo Correspondence
Announcements PS3 Due Thursday PS4 Available today, due 4/17. Quiz 2 4/24.
Stereo Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with slides by James Rehg and.
COMP322/S2000/L271 Stereo Imaging Ref.V.S.Nalwa, A Guided Tour of Computer Vision, Addison Wesley, (ISBN ) Slides are adapted from CS641.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2006 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
Stereo matching Class 10 Read Chapter 7 Tsukuba dataset.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
Epipolar Geometry and Stereo Vision Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 04/12/11 Many slides adapted from Lana Lazebnik,
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
9 – Stereo Reconstruction
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #15.
Epipolar Geometry and Stereo Vision Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 03/05/15 Many slides adapted from Lana Lazebnik,
Structure from images. Calibration Review: Pinhole Camera.
Lecture 12 Stereo Reconstruction II Lecture 12 Stereo Reconstruction II Mata kuliah: T Computer Vision Tahun: 2010.
Recap from Monday Image Warping – Coordinate transforms – Linear transforms expressed in matrix form – Inverse transforms useful when synthesizing images.
Stereo Vision Reading: Chapter 11 Stereo matching computes depth from two or more images Subproblems: –Calibrating camera positions. –Finding all corresponding.
CS654: Digital Image Analysis Lecture 8: Stereo Imaging.
Geometry 3: Stereo Reconstruction Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
Stereo Many slides adapted from Steve Seitz.
Binocular Stereo #1. Topics 1. Principle 2. binocular stereo basic equation 3. epipolar line 4. features and strategies for matching.
Stereo Many slides adapted from Steve Seitz. Binocular stereo Given a calibrated binocular stereo pair, fuse it to produce a depth image image 1image.
Computer Vision, Robert Pless
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
CSE 185 Introduction to Computer Vision Stereo. Taken at the same time or sequential in time stereo vision structure from motion optical flow Multiple.
Bahadir K. Gunturk1 Phase Correlation Bahadir K. Gunturk2 Phase Correlation Take cross correlation Take inverse Fourier transform  Location of the impulse.
stereo Outline : Remind class of 3d geometry Introduction
Feature Matching. Feature Space Outlier Rejection.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
Solving for Stereo Correspondence Many slides drawn from Lana Lazebnik, UIUC.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
Project 2 due today Project 3 out today Announcements TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAA.
Correspondence and Stereopsis Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]
John Morris Stereo Vision (continued) Iolanthe returns to the Waitemata Harbour.
John Morris These slides were adapted from a set of lectures written by Mircea Nicolescu, University of Nevada at Reno Stereo Vision Iolanthe in the Bay.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
CSE 185 Introduction to Computer Vision Stereo 2.
CS 6501: 3D Reconstruction and Understanding Stereo Cameras
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Epipolar Geometry and Stereo Vision
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
STEREOPSIS The Stereopsis Problem: Fusion and Reconstruction
STEREOPSIS The Stereopsis Problem: Fusion and Reconstruction
Geometry 3: Stereo Reconstruction
EECS 274 Computer Vision Stereopsis.
What have we learned so far?
Binocular Stereo Vision
Binocular Stereo Vision
Computer Vision Stereo Vision.
Chapter 11: Stereopsis Stereopsis: Fusing the pictures taken by two cameras and exploiting the difference (or disparity) between them to obtain the depth.
Filtering An image as a function Digital vs. continuous images
Stereo vision Many slides adapted from Steve Seitz.
Presentation transcript:

Stereo matching “Stereo matching” is the correspondence problem –For a point in Image #1, where is the corresponding point in Image #2? C1C1 C2C2 ? ? C1C1 C2C2 Epipolar lines Image rectification makes the correspondence problem easier –And reduces computation time

Stereo matching “Stereo matching” is the correspondence problem –For a point in Image #1, where is the corresponding point in| Image #2? ? ? C1C1 Rectified C 2 Epipolar lines Image rectification makes the correspondence problem easier –And reduces computation time

Stereo matching LeftRight u u Rectified images

Matching along epipolar line Matching value The best match estimates the “disparity” In this case, horizontal disparity only (since images were rectified) uiui

Area matching Correlation –Correlate left image patch along the epipolar line in the right image –Best match = highest value  Normalized correlation would be better! Sum of Squared Differences (SSD) –Better than correlation, faster than normalized correlation –Best match = lowest value

Stereo matching algorithms There are many! –Edge based –Coarse-to-fine –Adaptive windows –Dynamic programming –Markov random fields, graph cuts –Multi-baseline –Etc. Pitfalls –Specularities –Occlusions (missing data) –Sensor noise –Calibration error –Matching ambiguity (constant or low-constrast regions) –Etc.

Basic Stereo Configuration: rectified images Disparity

Stereo disparity “Stereo disparity” is the difference in position between correspondence points in two images –Disparity is inversely proportional to scene depth (u 0, v 0 ) Disparity: (du 0, dv 0 ) = (u 0 - u 0, v 0 - v 0 ) = (0, 0) Disparity is a vector!

Stereo disparity (u 1, v 1 ) Disparity: (du 1, dv 1 ) = (u 1 - u 1, v 1 - v 1 )

Stereo disparity Disparity: (du 2, dv 2 ) = (u 2 - u 2, v 2 - v 2 ) (u 2, v 2 )

Stereo disparity (u, v) Disparities: (du i, dv i ) = (u i - u i, v i - v i ) (u, v) Depth = f (disparity, geometry)

Output of stereo matching Dense stereo –Disparity at each point Sparse stereo –Disparity at each feature point Depth = f (disparity, geometry)

Random dot stereograms Correspondence is not always required in order to see depth Existence proof: random-dot stereograms

RDS example How is this possible with completely random correspondence? LeftRight Depth image

Marr -Poggio cooperative stereo algorithm

Single image stereograms: should try this!

Red/Green stereo display From Mars Pathfinder

Multiple camera stereo Using multiple camera in stereo has advantages and disadvantages Some disadvantages –Computationally more expensive –More correspondence matching issues –More hardware ($) Some advantages –Extra view(s) reduces ambiguity in matching –Wider range of view, fewer “holes” –Better noise properties –Increased depth precision

Three Camera Stereo A powerful way of eliminate spurious matches –Hypothesize matches between A & B –Matches between A & C on green epipolar line –Matches between B & C on red epipolar line –There better be something at the intersection (no search needed!) A B C

The Stanford Multi-Camera Array 128 CMOS cameras, 2” baseline

CMU multi-camera stereo 51 video cameras mounted on a 5-meter diameter geodesic dome

Stereo: Summary Multiview geometry –Epipolar geometry Correspondence problem Essential Matrix and Fundamental Matrix Random dot stereograms