Geometry Reconstruction March 22, 2007. Fundamental Matrix An important problem: Determine the epipolar geometry. That is, the correspondence between.

Slides:



Advertisements
Similar presentations
Scene Reconstruction from Two Projections Eight Points Algorithm Speaker: Junwen WU Course:CSE291 Learning and Vision Seminar Date: 11/13/2001.
Advertisements

Lecture 11: Two-view geometry
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
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.
Stanford CS223B Computer Vision, Winter 2006 Lecture 5 Stereo I
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
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.
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.
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
Stereo Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with slides by James Rehg and.
CS 558 C OMPUTER V ISION Lecture IX: Dimensionality Reduction.
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.
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.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Automatic Camera Calibration
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Multi-view geometry.
Projective cameras Motivation Elements of Projective Geometry Projective structure from motion Planches : –
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Lecture 04 22/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
CSCE 643 Computer Vision: Structure from Motion
Multiview Geometry and Stereopsis. Inputs: two images of a scene (taken from 2 viewpoints). Output: Depth map. Inputs: multiple images of a scene. Output:
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
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.
Geometry of Multiple Views
Affine Structure from Motion
Single-view geometry Odilon Redon, Cyclops, 1914.
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.
EECS 274 Computer Vision Affine Structure from Motion.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
776 Computer Vision Jan-Michael Frahm & Enrique Dunn Spring 2013.
3D Reconstruction Using Image Sequence
MASKS © 2004 Invitation to 3D vision Uncalibrated Camera Chapter 6 Reconstruction from Two Uncalibrated Views Modified by L A Rønningen Oct 2008.
Reconstruction from Two Calibrated Views Two-View Geometry
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
Stereo March 8, 2007 Suggested Reading: Horn Chapter 13.
Structure from motion Multi-view geometry Affine structure from motion Projective structure from motion Planches : –
EECS 274 Computer Vision Projective Structure from Motion.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
CSE 185 Introduction to Computer Vision Stereo 2.
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
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
Structure from motion Input: Output: (Tomasi and Kanade)
Epipolar geometry continued
Uncalibrated Geometry & Stratification
Reconstruction.
Two-view geometry.
Two-view geometry.
Structure from motion Input: Output: (Tomasi and Kanade)
Presentation transcript:

Geometry Reconstruction March 22, 2007

Fundamental Matrix An important problem: Determine the epipolar geometry. That is, the correspondence between a point on one camera and its epipolar line on the other camera. p OLOL OROR Epipoles Epipolar line T

Geometry Reconstruction Use eight-point algorithm, we can recover the fundamental matrix F. Knowing the fundamental matrix is lot easier.

Geometry Reconstruction Knowing the fundamental matrix, and a pair of corresponding pixels, we would like to obtain the 3D position of the corresponding scene point. There are three cases: 1.Calibrated cameras and extrinsic parameters are known. 2.Calibrated cameras with unknown extrinsic parameters 3.Uncalibrated cameras.

Calibrated Cameras (Triangulation) The geometric reconstruction is absolute (without ambiguity). PlPl PrPr

Calibrated Camera with Unknown Extrinsic Parameters The geometric reconstruction is only up to a scale. PlPl PrPr Main point: we don’t know T (the baseline of the system) and we have no way to ascertain the scale of the scene. We have only the essential matrix or fundamental matrix to work with.

Calibrated Camera with Unknown Extrinsic Parameters p r, p l are the left and right image points in camera coordinates Intrinsic parameters allow to go from pixel coordinates to camera coordinates. We get E from a few correspondences. But E is only determined up to a scale!

Calibrated Camera with Unknown Extrinsic Parameters PlPl PrPr We have no T, no information on scale. From E: E t E = S t S= Find a set of (T, R).

Uncalibrated Cameras We have two images, and that’s it! The reconstruction is only up to a global projective transformation.

Uncalibrated Cameras The ambiguity is easy to see. Only F and p r, p l are known and F is known only up to a scale. (x l, x r are 4-by-1 vectors in homogeneous coordinates). H a nonsigular 4x4 matrix

Uncalibrated Cameras Projective Transform: Given a 3D point, x=(x 1, x 2, x 3 ). In homogenous coordinates, it is x= (x 1, x 2, x 3, 1). If Hx = (y 1, y 2, y 3, y 4 ), then the image of the 3D point x under the projective transform H is (y 1 /y 4, y 2 /y 4, y 3 /y 4 ). It is a 15-dimensional (non-linear) transformation group. It is important that we know there is ambiguity in reconstruction, but it is only up to a 15-dimensional transformation group. Ambiguity is global not local.

You have a weird camera….A better camera perhaps. Impossible result

Uncalibrated Cameras Normalize P r t to [ I 3 | 0 ]. Find a P l t that satisfy the equations above. P l = [ S F | e’ ] for some skew-symmetric matrix S and e’ the left epipole will do Let S = [ e’ ] x

More about the class 1.We will cover two (and half) more topics: Shape from shading (differential geometry), optical flows (motions) and perhaps recognition (Chapters in Horns’ book ) 2.Office hours: Normally 2-4 on Friday. But come by anytime you need to discuss issues/problems with me. (Send to see if I am in office.) 3.Assignments: To be discussed. 4.Solutions: Will be available starting today. TA has a busy semester so far. 5.Problem 4 will be available shortly ( couldn’t make the Monday deadline).

Summary

Metric Reconstruction More sophisticated method using other constraints will reduce the projective ambiguity down to a global unknown similarity transform. Assume 1.both cameras have the same intrinsic parameters 2.Sufficiently many orthogonal lines have been identified. Covered in advanced vision class.

Reconstruction From N-Views (Projective) Reconstruction from a possibly large set of images. Problem: Set of 3D points, X j Set of cameras P i For each camera, image points x j i (the input data) Find P i, X j, such that P i X j = x j i

N views and M points: Total number of parameters: 11N+3M. Number of Equations: NM With enough points and views, we have number of equations > total number of parameters. The problem is over- constrained. (What about N=2?) Reconstruction From N-Views

Tomasi and kanade

Factorization

m is the number views and n is the number of points.

SVD and factorization

Projective Factorization

Iterative Optimization

State of the Art Input: A video sequence Output: Camera Matrices and 3D locations of the points (up to a global similarity transform).

Stereo Correspondence Problem

Solving Stereo Correspondence Problem 1.Intensity Correlation 2.Edge Matching

Intensity Correlation

Edge Correlation

Why Stereo Correspondence Problem Hard? Distorted Subwindows if disparity is not constant (complicates correlation)

Why Stereo Correspondence Problem Hard?