Stanford CS223B Computer Vision, Winter 2006 Lecture 5 Stereo I

Slides:



Advertisements
Similar presentations
Lecture 11: Two-view geometry
Advertisements

MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Two-View Geometry CS Sastry and Yang
Jan-Michael Frahm, Enrique Dunn Spring 2012
Two-view geometry.
Lecture 8: Stereo.
Camera calibration and epipolar geometry
3D Computer Vision and Video Computing 3D Vision Topic 3 of Part II Stereo Vision CSc I6716 Spring 2011 Zhigang Zhu, City College of New York
Structure from motion.
Stanford CS223B Computer Vision, Winter 2005 Lecture 5: Stereo I Sebastian Thrun, Stanford Rick Szeliski, Microsoft Hendrik Dahlkamp and Dan Morris, Stanford.
The Fundamental Matrix F
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.
Uncalibrated Geometry & Stratification Sastry and Yang
Lecture 21: Multiple-view geometry and structure from motion
Stanford CS223B Computer Vision, Winter 2006 Lecture 6 Stereo II Professor Sebastian Thrun CAs: Dan Maynes-Aminzade, Mitul Saha, Greg Corrado Stereo.
Stanford CS223B Computer Vision, Winter 2006 Lecture 8 Structure From Motion Professor Sebastian Thrun CAs: Dan Maynes-Aminzade, Mitul Saha, Greg Corrado.
Computer Vision : CISC 4/689
Sebastian Thrun and Jana Kosecha CS223B Computer Vision, Winter 2007 Stanford CS223B Computer Vision, Winter 2007 Lecture 4 Camera Calibration Professors.
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
3D Computer Vision and Video Computing 3D Vision Topic 4 of Part II Stereo Vision CSc I6716 Spring 2008 Zhigang Zhu, City College of New York
3D Computer Vision and Video Computing 3D Vision Lecture 15 Stereo Vision (II) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
3D Computer Vision and Video Computing 3D Vision Lecture 14 Stereo Vision (I) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
© 2004 by Davi GeigerComputer Vision March 2004 L1.1 Binocular Stereo Left Image Right Image.
Projected image of a cube. Classical Calibration.
Lec 21: Fundamental Matrix
Computer Vision : CISC 4/689 CREDITS Rasmussen, UBC (Jim Little), Seitz (U. of Wash.), Camps (Penn. State), UC, UMD (Jacobs), UNC, CUNY.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Stereo Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with slides by James Rehg and.
Multiple View Geometry. THE GEOMETRY OF MULTIPLE VIEWS Reading: Chapter 10. Epipolar Geometry The Essential Matrix The Fundamental Matrix The Trifocal.
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,
Sebastian Thrun CS223B Computer Vision, Winter Stanford CS223B Computer Vision, Winter 2006 Lecture 4 Camera Calibration Professor Sebastian Thrun.
CSE 6367 Computer Vision Stereo Reconstruction Camera Coordinate Transformations “Everything should be made as simple as possible, but not simpler.” Albert.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Automatic Camera Calibration
Computer vision: models, learning and inference
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Multi-view geometry.
Epipolar geometry The fundamental matrix and the tensor
Geometric Camera Models and Camera Calibration
Sebastian Thrun CS223B Computer Vision, Winter Stanford CS223B Computer Vision, Winter 2005 Lecture 2 Lenses and Camera Calibration Sebastian Thrun,
Epipolar geometry Epipolar Plane Baseline Epipoles Epipolar Lines
Multiview Geometry and Stereopsis. Inputs: two images of a scene (taken from 2 viewpoints). Output: Depth map. Inputs: multiple images of a scene. Output:
Announcements Project 3 due Thursday by 11:59pm Demos on Friday; signup on CMS Prelim to be distributed in class Friday, due Wednesday by the beginning.
Computer Vision Stereo Vision. Bahadir K. Gunturk2 Pinhole Camera.
Geometry of Multiple Views
Camera Calibration Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with material from.
Bahadir K. Gunturk1 Phase Correlation Bahadir K. Gunturk2 Phase Correlation Take cross correlation Take inverse Fourier transform  Location of the impulse.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
stereo Outline : Remind class of 3d geometry Introduction
Feature Matching. Feature Space Outlier Rejection.
MASKS © 2004 Invitation to 3D vision Uncalibrated Camera Chapter 6 Reconstruction from Two Uncalibrated Views Modified by L A Rønningen Oct 2008.
Geometry Reconstruction March 22, Fundamental Matrix An important problem: Determine the epipolar geometry. That is, the correspondence between.
Stereo March 8, 2007 Suggested Reading: Horn Chapter 13.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
Multiview geometry ECE 847: Digital Image Processing Stan Birchfield Clemson University.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
© 2005 Yusuf Akgul Gebze Institute of Technology Department of Computer Engineering Computer Vision Stereo.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
Topic 7 of Part 2 Stereo Vision (II)
Computer Graphics Recitation 12.
Reconstruction.
Two-view geometry.
Two-view geometry.
Multi-view geometry.
Presentation transcript:

Stanford CS223B Computer Vision, Winter 2006 Lecture 5 Stereo I Professor Sebastian Thrun CAs: Dan Maynes-Aminzade, Mitul Saha, Greg Corrado

Homework #1

Vocabulary Quiz Baseline Epipole Fundamental Matrix Essential Matrix Stereo Rectification

Stereo Vision: Illustration http://www.well.com/user/jimg/stereo/stereo_list.html

Stereo Example (Stanley Robot) Disparity map

Stereo Example

Stereo Vision: Outline Basic Equations Epipolar Geometry Image Rectification Reconstruction Correspondence Dense and Layered Stereo (Active Range Imaging Techniques)

The Two Problems of Stereo Correspondence (Wed) Reconstruction (Today)

Pinhole Camera Model Image plane Focal length f Center of projection

Pinhole Camera Model Image plane

Pinhole Camera Model Image plane

Basic Stereo Derivations

Basic Stereo Derivations

What If…?

Epipolar Geometry P Pl Pr Yr p p l r Yl Zl Zr Xl fl fr Ol Or Xr

Epipolar Geometry r P Pl Pr Epipolar Plane Epipolar Lines p p l Ol el er Or Epipoles

Epipolar Geometry Epipolar plane: plane going through point P and the centers of projection (COPs) of the two cameras Epipoles: The image in one camera of the COP of the other Epipolar Constraint: Corresponding points must lie on epipolar lines

Essential Matrix Coordinate Transformation: Coplanarity T, Pl, Pl-T: Pr p p l r Ol el er Or Coordinate Transformation: Coplanarity T, Pl, Pl-T: Resolves to Essential Matrix

Essential Matrix Projective Line: Essential Matrix r P Pl Pr p p l Ol er Or Projective Line: Essential Matrix

Fundamental Matrix Same as Essential Matrix in Camera Pixel Coordinates Pixel coordinates Intrinsic parameters

Intrinsic Parameters (See Chapter 2)

Computing F: The Eight-Point Algorithm Problem: Recover F (3-3 matrix of rank 2) Ides: Get 8 points: Minimize: Notice: Argument linear in coefficients of F

Computing F: The Eight-Point Algorithm Run Singular Value Decomposition of A Appendix A.6, page 322-325 See also G. Strang: Linear algebra and its applications Least squares solution: column of V corresponding to the smallest eigenvalue of A

Computing F: The Eight-Point Algorithm Idea: Compile points into matrix A

Computing F: The Eight-Point Algorithm Decompose A via SVD: Solution: F is column of V corresponding to the smallest eigenvector of A In practice: F will be of rank 3, not 2. Correct by SVD decomposition of F Set smallest eigenvalue to 0 Reconstruct F’

Computing F: The Eight-Point Algorithm Input: n point correspondences ( n >= 8) Construct homogeneous system Ax= 0 from x = (f11,f12, ,f13, f21,f22,f23 f31,f32, f33) : entries in F Each correspondence give one equation A is a nx9 matrix Obtain estimate F^ by SVD of A: x (up to a scale) is column of V corresponding to the least singular value Enforce singularity constraint: since Rank (F) = 2 Compute SVD of F: Set the smallest singular value to 0: D -> D’ Correct estimate of F : Output: the estimate of the fundamental matrix F’ Similarly we can compute E given intrinsic parameters

Recitification Idea: Align Epipolar Lines with Scan Lines. Question: What type transformation?

Locating the Epipoles Input: Fundamental Matrix F el lies on all the epipolar lines of the left image P Pl Pr p p l r Ol el er Or Input: Fundamental Matrix F Find the SVD of F The epipole el is the column of V corresponding to the null singular value (as shown above) The epipole er is the column of U corresponding to the null singular value (similar treatment as for el) Output: Epipole el and er

Stereo Rectification (see Trucco) P Pl Pr Yr p p Yl l r Xl Zl Zr T Ol Or Xr Stereo System with Parallel Optical Axes Epipoles are at infinity Horizontal epipolar lines

Reconstruction (3-D): Idealized Pl Pr P p p l r Ol Or

Reconstruction (3-D): Real Pl Pr P p p l r Ol Or See Trucco/Verri, pages 161-171

Summary Stereo Vision (Class 1) Epipolar Geometry: Corresponding points lie on epipolar line Essential/Fundamental matrix: Defines this line Eight-Point Algorithm: Recovers Fundamental matrix Rectification: Epipolar lines parallel to scanlines Reconstruction: Minimize quadratic distance