© 2002 by Davi GeigerComputer Vision October 2002 L1.1 Binocular Stereo Left Image Right Image.

Slides:



Advertisements
Similar presentations
Stereo Vision Reading: Chapter 11
Advertisements

CS 376b Introduction to Computer Vision 04 / 21 / 2008 Instructor: Michael Eckmann.
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.
Two-view geometry.
Lecture 8: Stereo.
December 5, 2013Computer Vision Lecture 20: Hidden Markov Models/Depth 1 Stereo Vision Due to the limited resolution of images, increasing the baseline.
Camera calibration and epipolar geometry
Structure from motion.
Boundary matting for view synthesis Samuel W. Hasinoff Sing Bing Kang Richard Szeliski Computer Vision and Image Understanding 103 (2006) 22–32.
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.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2005 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
© 2004 by Davi GeigerComputer Vision April 2004 L1.1 Binocular Stereo Left Image Right Image.
Computer Vision : CISC 4/689 Adaptation from: Prof. James M. Rehg, G.Tech.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Structure from motion. Multiple-view geometry questions Scene geometry (structure): Given 2D point matches in two or more images, where are the corresponding.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
The plan for today Camera matrix
© 2004 by Davi GeigerComputer Vision March 2004 L1.1 Binocular Stereo Left Image Right Image.
© 2006 by Davi GeigerComputer Vision April 2006 L1.1 Binocular Stereo Left Image Right Image.
Matching Compare region of image to region of image. –We talked about this for stereo. –Important for motion. Epipolar constraint unknown. But motion small.
CSE473/573 – Stereo Correspondence
Stereo Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with slides by James Rehg and.
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.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #15.
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Lecture 12 Stereo Reconstruction II Lecture 12 Stereo Reconstruction II Mata kuliah: T Computer Vision Tahun: 2010.
Stereo Vision Reading: Chapter 11 Stereo matching computes depth from two or more images Subproblems: –Calibrating camera positions. –Finding all corresponding.
December 4, 2014Computer Vision Lecture 22: Depth 1 Stereo Vision Comparing the similar triangles PMC l and p l LC l, we get: Similarly, for PNC r and.
Geometry 3: Stereo Reconstruction Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
Stereo Course web page: vision.cis.udel.edu/~cv April 11, 2003  Lecture 21.
Stereo Many slides adapted from Steve Seitz.
Computer Vision, Robert Pless
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.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
Lecture 16: Stereo CS4670 / 5670: Computer Vision Noah Snavely Single image stereogram, by Niklas EenNiklas Een.
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
Computer vision: models, learning and inference M Ahad Multiple Cameras
1Ellen L. Walker 3D Vision Why? The world is 3D Not all useful information is readily available in 2D Why so hard? “Inverse problem”: one image = many.
Correspondence and Stereopsis Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]
1 Computational Vision CSCI 363, Fall 2012 Lecture 16 Stereopsis.
Media Processor Lab. Media Processor Lab. Trellis-based Parallel Stereo Matching Media Processor Lab. Sejong univ.
Computational Vision CSCI 363, Fall 2012 Lecture 17 Stereopsis II
Correspondence and Stereopsis. Introduction Disparity – Informally: difference between two pictures – Allows us to gain a strong sense of depth Stereopsis.
© 2010 by Davi GeigerComputer Vision March 2010 L1.1 Binocular Stereo Left Image Right Image.
© 2006 by Davi GeigerComputer Vision November 2006 L1.1 Binocular Stereo Left Image Right Image.
© 2008 by Davi GeigerComputer Vision March 2008 L1.1 Binocular Stereo Left Image Right Image.
11/25/03 3D Model Acquisition by Tracking 2D Wireframes Presenter: Jing Han Shiau M. Brown, T. Drummond and R. Cipolla Department of Engineering University.
Stereo CS4670 / 5670: Computer Vision Noah Snavely Single image stereogram, by Niklas EenNiklas Een.
MAN-522 Computer Vision Spring
Computational Vision CSCI 363, Fall 2016 Lecture 15 Stereopsis
Semi-Global Stereo Matching with Surface Orientation Priors
Mean Shift Segmentation
Epipolar geometry.
Geometry 3: Stereo Reconstruction
Common Classification Tasks
What have we learned so far?
Binocular Stereo Vision
Binocular Stereo Vision
Binocular Stereo Vision
Course 6 Stereo.
Binocular 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.
Binocular Stereo Vision
Occlusion and smoothness probabilities in 3D cluttered scenes
Stereo vision Many slides adapted from Steve Seitz.
Presentation transcript:

© 2002 by Davi GeigerComputer Vision October 2002 L1.1 Binocular Stereo Left Image Right Image

© 2002 by Davi GeigerComputer Vision October 2002 L1.2 Each potential match is represented by a square. The black ones represent the most likely scene to “explain” the image, but other combinations could have given rise to the same image (e.g., red) Stereo Correspondence: Ambiguities What makes the set of black squares preferred/unique is that they have similar disparity values, the ordering constraint is satisfied and there is a unique match for each point. Any other set that could have given rise to the two images would have disparity values varying more, and either the ordering constraint violated or the uniqueness violated. The disparity values are inversely proportional to the depth values

© 2002 by Davi GeigerComputer Vision October 2002 L1.3 Right boundary no match Boundary no match Left depth discontinuity Surface orientation discontinuity AB C D E F A B A C D D C F F E Stereo Correspondence: Matching Space F D C B A AC DEFAC DEF

© 2002 by Davi GeigerComputer Vision October 2002 L1.4 Smoothness or similar depth values: In nature most surfaces are smooth compared to their distance to the observer, but depth discontinuities also occur. Uniqueness: Given a point in the left image there will be only one point in the right image to match, i.e. there should be only one disparity value associated to each point. Ordering Constraint (Monotonicity): Points to the right of q l match points to the right of q r. In the matching space this implies a monotonic non-decreasing curve to represent the matches. Stereo Correspondence: Constraints w= 2 w=-2 w=0 w=4 Left Epipolar Line Right Epipolar Line w= 2 w=-2 w=0 w=4 Left Right

© 2002 by Davi GeigerComputer Vision October 2002 L1.5 Cooperative Stereo Algorithm: Data C 0 (e,j,t) Є [0,1] representing how good is a match between a point (e,j) in the left image and a point (e,t) in the right image (t= j+d j, where d j is the disparity at j.) The epipolar lines are indexed by e. In order to account for occlusions, we extend the matrix C 0 (e,j,t) to include elements for j=0 and t=0, representing the total mismatch of a pixel (a half- occlusion), e.g., if C 0 (e,0,t)=1 then pixel (e,t) is likely to be half occluded.

© 2002 by Davi GeigerComputer Vision October 2002 L1.6 The stereovision algorithm produces a series of matrices C n, which converges to a good solution for many cases, with 0 <  but such an update excludes t=0 and j=0 nodes. The positive feedback is given by the two neighbors of node (e,j,t) with matches at the same disparity d=t-j. Cooperative Stereo: Smoothing and Limit Disparity w=2 w=-2 w=0 w=4 Left, j Right, t D=4 The matrix is updated only within a range of disparity : 2D+1 i.e. The rational is: (i)Less computations (ii)Larger disparity matches imply larger errors in 3D estimation.

© 2002 by Davi GeigerComputer Vision October 2002 L1.7 We use Sinkhorn algorithm to normalize C n along j and along t simultaneously and produce a double stochastic matrix C n (sum over row and columns add up to 1). We index C n by and loop for k (typically 6 times) Cooperative Stereo: Uniqueness

© 2002 by Davi GeigerComputer Vision October 2002 L1.8 Cooperative Stereo: Smoothing and Discontinuities w= 2 w=-2 w=0 w=4 Left Epipolar Line Right Epipolar Line j-1 j j+1 t-1 t t+1 Note that each term in (2) has been normalized to 1 so that 0 < . where

© 2002 by Davi GeigerComputer Vision October 2002 L1.9 Cooperative Stereo: Epipolar Lines

© 2002 by Davi GeigerComputer Vision October 2002 L1.10 Cyclopean Coordinate System Let us assume N >> D, typical in stereo images. Then, for efficiency, the simplest representation for C(e,j,t) is C(e,x,w+D), with an increase in resolution (subpixel), x=t+j/2 and w=t-j, with w varying in the range (-D, …, D), and x varying in the range (1, 1.5, …, N-0.5, N), subpixel accuracy. This is known as the cyclopean coordinate system. We can recover (j,t) from (x,w) via t= (2x +w)/2 and j = (2x – w)/2. x occluded units x+v x x x x x x x x x x x Hypothesis: match at blue circle “ ” and blue “x”, i.e., horizontal jump of 4 units (v=2.5) along x. w=-4 w=0 w=4 Left Epipolar Line Right Epipolar Line t=5 x=t+j/2 w=t-j/2 t+1 t-1 x x x xxx x xxx x xx xxx x x xxxxx x x xxxxxx x xxxxxx x xxxxxx x xxxx x x x x x x x w

© 2002 by Davi GeigerComputer Vision October 2002 L1.11 Cyclopean Coopeative Stereo The initialization of C 0 (e,x,w+D) can now use the gradient information at subpixel resolution and be written as where C 0 (e,x,w+D) is of size N x 2N x 2D+1 and typically, since N >> D, this is much smaller than N x N x N.

© 2002 by Davi GeigerComputer Vision October 2002 L1.12 We can update C n as follows: Cyclopean Coopeative Stereo (cont.) The occlusion units and normalization becomes simpler as we focus on each x coordinate to obtain it.

© 2002 by Davi GeigerComputer Vision October 2002 L1.13 ooooooo ooooooo ooooooo ooooooo ooooooo ooooooo ooooooo j-1 j j+1 t+1 t t-1

© 2002 by Davi GeigerComputer Vision October 2002 L1.14 xxxxxxx ooooooo xxxxxxx ooooooo xxxxxxx ooooooo xxxxxxx ooooooo xxxxxxx ooooooo xxxxxxx ooooooo xxxxxxx ooooooo j-1/2 j j+1/2 t+1 t+1/2 t t-1/2 t-1 w w=2

© 2002 by Davi GeigerComputer Vision October 2002 L1.15 xxxxxxx ooooooo xxxxxxx ooooooo xxxxxxx ooooooo xxxxxxx ooooooo xxxxxxx ooooooo xxxxxxx ooooooo xxxxxxx ooooooo j-1/2 j j+1/2 t+1 t+1/2 t t-1/2 t-1 w w=2 occluded units Hypothesis: match at orange unit (“o” marked) followed by another match at the other orange unit (“x” marked), i.e., horizontal jump of 3 units (v=4) along x.

© 2002 by Davi GeigerComputer Vision October 2002 L1.16