Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T0283 - Computer Vision Tahun: 2010.

Slides:



Advertisements
Similar presentations
Epipolar Geometry.
Advertisements

Lecture 11: Two-view geometry
3D reconstruction.
Jan-Michael Frahm, Enrique Dunn Spring 2012
Two-view geometry.
Lecture 8: Stereo.
Camera calibration and epipolar geometry
Computer Vision : CISC 4/689
Epipolar Geometry Class 7 Read notes Feature tracking run iterative L-K warp & upsample Tracking Good features Multi-scale Transl. Affine.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Uncalibrated Geometry & Stratification Sastry and Yang
Epipolar Geometry and the Fundamental Matrix F
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
CAU Kiel DAGM 2001-Tutorial on Visual-Geometric 3-D Scene Reconstruction 1 The plan for today Leftovers and from last time Camera matrix Part A) Notation,
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
CSE 803 Stockman Fall Stereo models Algebraic models for stereo.
3D Computer Vision and Video Computing 3D Vision Lecture 14 Stereo Vision (I) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
Projected image of a cube. Classical Calibration.
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
Lec 21: Fundamental Matrix
CSE473/573 – Stereo Correspondence
Scene planes and homographies. Homographies given the plane and vice versa.
COMP322/S2000/L271 Stereo Imaging Ref.V.S.Nalwa, A Guided Tour of Computer Vision, Addison Wesley, (ISBN ) Slides are adapted from CS641.
Structure Computation. How to compute the position of a point in 3- space given its image in two views and the camera matrices of those two views Use.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #15.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
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
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
Final Exam Review CS485/685 Computer Vision Prof. Bebis.
Multi-view geometry.
Lecture 12 Stereo Reconstruction II Lecture 12 Stereo Reconstruction II Mata kuliah: T Computer Vision Tahun: 2010.
Epipolar geometry The fundamental matrix and the tensor
Projective cameras Motivation Elements of Projective Geometry Projective structure from motion Planches : –
Epipolar geometry Epipolar Plane Baseline Epipoles Epipolar Lines
Lecture 04 22/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
CS654: Digital Image Analysis Lecture 8: Stereo Imaging.
Multiview Geometry and Stereopsis. Inputs: two images of a scene (taken from 2 viewpoints). Output: Depth map. Inputs: multiple images of a scene. Output:
Stereo Course web page: vision.cis.udel.edu/~cv April 11, 2003  Lecture 21.
1 Formation et Analyse d’Images Session 7 Daniela Hall 25 November 2004.
Acquiring 3D models of objects via a robotic stereo head David Virasinghe Department of Computer Science University of Adelaide Supervisors: Mike Brooks.
Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics CS329 Amnon Shashua.
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.
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.
Computer vision: models, learning and inference M Ahad Multiple Cameras
3D Reconstruction Using Image Sequence
Multiple View Geometry and Stereo. Overview Single camera geometry – Recap of Homogenous coordinates – Perspective projection model – Camera calibration.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
Correspondence and Stereopsis. Introduction Disparity – Informally: difference between two pictures – Allows us to gain a strong sense of depth Stereopsis.
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.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
3D Photography: Epipolar geometry
Two-view geometry.
Computer Graphics Recitation 12.
Multiple View Geometry for Robotics
Reconstruction.
Two-view geometry Epipolar geometry F-matrix comp. 3D reconstruction
Two-view geometry.
Course 6 Stereo.
Two-view geometry.
Multi-view geometry.
Presentation transcript:

Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010

January 20, 2010T Computer Vision3 Learning Objectives After carefullylistening this lecture, students will be able to do the following : After carefully listening this lecture, students will be able to do the following : demonstrate 3D Stereo Computation by solving point- correspondence problems and fundamental matrix demonstrate 3D Stereo Computation by solving point- correspondence problems and fundamental matrix Calculate object-depth information using disparity and triangulation techniques. Calculate object-depth information using disparity and triangulation techniques.

January 20, 2010T Computer Vision4 Stereo Reconstruction knowncameraviewpoints Shape (3D) from two (or more) images

January 20, 2010T Computer Vision5 Examples images shape surface reflectance

January 20, 2010T Computer Vision6 Scenarios The two images can arise from A stereo rig consisting of two cameras A stereo rig consisting of two cameras the two images are acquired simultaneously OR A single moving camera (static scene) A single moving camera (static scene) the two images are acquired sequentially The two scenarios are geometrically equivalent

January 20, 2010T Computer Vision7 Stereo head Camera on a mobile vehicle

January 20, 2010T Computer Vision8 Imaging geometry central projection central projection camera centre, image point and scene point are collinear camera centre, image point and scene point are collinear an image point back projects to a ray in 3-space an image point back projects to a ray in 3-space depth of the scene point is unknown depth of the scene point is unknown camera centre image plane image point scene point ?

January 20, 2010T Computer Vision9 The objective Given two images of a scene acquired by known cameras, compute the 3D position of the scene (structure recovery) Basic principle: triangulate from corresponding image points Determine 3D point at intersection of two back-projected rays

January 20, 2010T Computer Vision10 Corresponding points are images of the same scene point Triangulation C C / The back-projected points generate rays which intersect at the 3D scene point

January 20, 2010T Computer Vision11 An algorithm for stereo reconstruction 1.For each point in the first image determine the corresponding point in the second image (this is a search problem) 2.For each pair of matched points determine the 3D point by triangulation (this is an estimation problem)

January 20, 2010T Computer Vision12 The correspondence problem Given a point x in one image, find the corresponding point in the other image This appears to be a 2D search problem, but it is reduced to a 1D search by the epipolar constraint

January 20, 2010T Computer Vision13 Notation x x / X C C / The two cameras are P and P /, and a 3D point X is imaged as for equations involving homogeneous quantities ‘=’ means ‘equal up to scale’ P P/P/ Warning

January 20, 2010T Computer Vision14 Epipolar geometry

January 20, 2010T Computer Vision15 Epipolar geometry Given an image point in one view, where is the corresponding point in the other view? A point in one view “generates” an epipolar line in the other view The corresponding point lies on this line epipolar line ? baseline epipole C / C

January 20, 2010T Computer Vision16 Epipolar line Epipolar constraint Reduces correspondence problem to 1D search along an epipolar line

January 20, 2010T Computer Vision17 Epipolar geometry continued Epipolar geometry is a consequence of the coplanarity of the camera centers and scene point x x / X C C / The camera centers, corresponding points and scene point lie in a single plane, known as the epipolar plane

January 20, 2010T Computer Vision18 Nomenclature The epipolar line l / is the image of the ray through x The epipole e is the point of intersection of the line joining the camera centres with the image plane this line is the baseline for a stereo rig, and the translation vector for a moving camera The epipole is the image of the centre of the other camera: e = P C /, e / = P / C x x / X C C / e left epipolar line right epipolar line e / l/l/

January 20, 2010T Computer Vision19 The epipolar pencil e e / baseline X As the position of the 3D point X varies, the epipolar planes “rotate” about the baseline. This family of planes is known as an epipolar pencil. All epipolar lines intersect at the epipole. (a pencil is a one parameter family)

January 20, 2010T Computer Vision20 The epipolar pencil e e / baseline X As the position of the 3D point X varies, the epipolar planes “rotate” about the baseline. This family of planes is known as an epipolar pencil. All epipolar lines intersect at the epipole. (a pencil is a one parameter family)

January 20, 2010T Computer Vision21 Epipolar geometry ex. 1: parallel cameras Epipolar geometry depends only on the relative pose (position and orientation) and internal parameters of the two cameras, i.e. the position of the camera centres and image planes. It does not depend on the scene structure (3D points external to the camera).

January 20, 2010T Computer Vision22 Epipolar geometry ex. 2: converging cameras Note, epipolar lines are in general not parallel e e /

January 20, 2010T Computer Vision23 Homogeneous notation for lines

January 20, 2010T Computer Vision24 The line l through the two points p and q is l = p x q Example: compute the point of intersection of the two lines l and m in the figure below Proof y x 1 2 The intersection of two lines l and m is the point x = l x m l m which is the point (2,1)

January 20, 2010T Computer Vision25 Matrix representation of the vector cross product

January 20, 2010T Computer Vision26 Example: compute the cross product of l and m

January 20, 2010T Computer Vision27 Algebraic representation of epipolar geometry We know that the epipolar geometry defines a mapping x l / point in first image epipolar line in second image

January 20, 2010T Computer Vision28 Derivation of the algebraic expression Outline Step 1: for a point x in the first image back project a ray with camera P Step 2: choose two points on the ray and project into the second image with camera P / Step 3: compute the line through the two image points using the relation l / = p x q P P/P/

January 20, 2010T Computer Vision29 choose camera matrices internal calibration rotationtranslation from world to camera coordinate frame first camera world coordinate frame aligned with first camera second camera

January 20, 2010T Computer Vision30 Step 1: for a point x in the first image back project a ray with camera P A point x back projects to a ray where Z is the point’s depth, since satisfies

January 20, 2010T Computer Vision31 Step 2: choose two points on the ray and project into the second image with camera P / P/P/ Consider two points on the ray Z = 0 is the camera centre Z = is the point at infinity Project these two points into the second view

January 20, 2010T Computer Vision32 Using the identity Compute the line through the points F F is the fundamental matrix Step 3: compute the line through the two image points using the relation l / = p x q

January 20, 2010T Computer Vision33 Example 1: compute the fundamental matrix for a parallel camera reduces to y = y /, i.e. raster correspondence (horizontal scan-lines) f f X Y Z

January 20, 2010T Computer Vision34 f f X Y Z

January 20, 2010T Computer Vision35 Example 2: compute F for a forward translating camera f f X Y Z

January 20, 2010T Computer Vision36 first image second image f f X Y Z

January 20, 2010T Computer Vision37

January 20, 2010T Computer Vision38

January 20, 2010T Computer Vision39 Summary: Properties of the Fundamental matrix