Feature Matching. Feature Space Outlier Rejection.

Slides:



Advertisements
Similar presentations
Epipolar Geometry.
Advertisements

Lecture 11: Two-view geometry
CSE473/573 – Stereo and Multiple View Geometry
Institut für Elektrische Meßtechnik und Meßsignalverarbeitung Professor Horst Cerjak, Augmented Reality VU 2 Calibration Axel Pinz.
Geometry 2: A taste of projective geometry Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Study the mathematical relations between corresponding image points.
Two-View Geometry CS Sastry and Yang
Two-view geometry.
Lecture 8: Stereo.
Camera calibration and epipolar geometry
Last Time Pinhole camera model, projection
Computer Vision : CISC 4/689
Stanford CS223B Computer Vision, Winter 2005 Lecture 5: Stereo I Sebastian Thrun, Stanford Rick Szeliski, Microsoft Hendrik Dahlkamp and Dan Morris, Stanford.
Geometry of Images Pinhole camera, projection A taste of projective geometry Two view geometry:  Homography  Epipolar geometry, the essential matrix.
Epipolar Geometry Class 7 Read notes Feature tracking run iterative L-K warp & upsample Tracking Good features Multi-scale Transl. Affine.
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.
Uncalibrated Geometry & Stratification Sastry and Yang
Lecture 21: Multiple-view geometry and structure from motion
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,
CS664 Lecture #19: Layers, RANSAC, panoramas, epipolar geometry Some material taken from:  David Lowe, UBC  Jiri Matas, CMP Prague
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
3D Computer Vision and Video Computing 3D Vision Lecture 14 Stereo Vision (I) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
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
Two-views geometry Outline Background: Camera, Projection Necessary tools: A taste of projective geometry Two view geometry:  Homography  Epipolar geometry,
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.
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
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,
Computer vision: models, learning and inference
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Epipolar Geometry and Stereo Vision Computer Vision ECE 5554 Virginia Tech Devi Parikh 10/15/13 These slides have been borrowed from Derek Hoiem and Kristen.
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
Homogeneous Coordinates (Projective Space) Let be a point in Euclidean space Change to homogeneous coordinates: Defined up to scale: Can go back to non-homogeneous.
Epipolar geometry Epipolar Plane Baseline Epipoles Epipolar Lines
Lecture 04 22/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
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.
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 : CISC 4/689 Going Back a little Cameras.ppt.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
Geometric Transformations
stereo Outline : Remind class of 3d geometry Introduction
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
Vision Sensors for Stereo and Motion Joshua Gluckman Polytechnic University.
Reconstruction from Two Calibrated Views Two-View Geometry
Stereo March 8, 2007 Suggested Reading: Horn Chapter 13.
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.
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
Epipolar Geometry and Stereo Vision
René Vidal and Xiaodong Fan Center for Imaging Science
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
3D Photography: Epipolar geometry
Study the mathematical relations between corresponding image points.
Computer Graphics Recitation 12.
Multiple View Geometry for Robotics
Course 6 Stereo.
Two-view geometry.
Presentation transcript:

Feature Matching

Feature Space Outlier Rejection

After Outlier Rejection

RANdom SAmple Consensus

RANSAC for Homography

Example: Panorama

Homography Transform,Warping

Image Warping

Forward Warping

Inverse Warping

Forward vs. Inverse Warping

Two View Geometry  When a camera changes position and orientation, the scene moves rigidly relative to the camera 3-D Scene u u’u’ Rotation + Translation

Two View Geometry (simple cases)  In two cases this results in homography: 1. Camera rotates around its focal point 2. The scene is planar Then: Point correspondence forms 1:1mapping depth cannot be recovered

The General Case: Epipolar Lines epipolar line

Epipolar Plane epipolar plane epipolar line Baseline P O O’

Epipole  Every plane through the baseline is an epipolar plane  It determines a pair of epipolar lines (one in each image)  Two systems of epipolar lines are obtained  Each system intersects in a point, the epipole  The epipole is the projection of the center of the other camera epipolar lines Baseline O O’

Epipolar Lines epipolar plane epipolar line Baseline P O O’ To define an epipolar plane, we define the plane through the two camera centers O and O’ and some point P. This can be written algebraically (in some world coordinates) as follows:

Essential Matrix (algebraic constraint between corresponding image points)  Set world coordinates around the first camera  What to do with O’P? Every rotation changes the observed coordinate in the second image  We need to de-rotate to make the second image plane parallel to the first  Replacing by image points

Essential Matrix (cont.)  Denote this by:  Then  Define  E is called the “essential matrix”

Properties of the Essential Matrix  E is homogeneous  9 parameters  E can be recovered up to scale using 8 points.  The constraint det E=0  7 points suffices  In fact, there are only 5 degrees of freedom in E, 3 for rotation 2 for translation (up to scale), determined by epipole

 Background The lens optical axis does not coincide with the sensor  We model this using a 3x3 matrix the Calibration matrix Camera Internal Parameters or Calibration matrix

Camera Calibration matrix  The difference between ideal sensor and the real one is modeled by a 3x3 matrix K:  (c x,c y ) camera center, (a x,a y ) pixel dimensions, b skew  We end with

Fundamental Matrix  F, is the fundamental matrix.

Properties of the Fundamental Matrix  F is homogeneous  9 parameters  F can be recovered up to scale using 8 points.  The constraint det F=0  7 points suffices

Epipolar Plane l’ l Baseline P O O’ Other derivations Hartley & Zisserman p. 223 x X’ e e’ e’

HomographyEpipolar Form ShapeOne-to-one mapConcentric epipolar lines D.o.f.88/5 F/E Eqs/pnt21 Minimal configuration 45+ (8, linear) Depth NoYes, up to scale Scene Planar (or no translation) 3D scene Two-views geometry Summary:

Stereo Vision  Objective: 3D reconstruction  Input: 2 (or more) images taken with calibrated cameras  Output: 3D structure of scene  Steps: Rectification Matching Depth estimation

Rectification Image Reprojection  reproject image planes onto common plane parallel to baseline Notice, only focal point of camera really matters (Seitz)

Rectification  Any stereo pair can be rectified by rotating and scaling the two image planes (=homography)  Images have to be rectified so that Image planes of cameras are parallel. Focal points are at same height. Focal lengths same.  Then, epipolar lines fall along the horizontal scan lines of the images

References   mography_estimation.pdf mography_estimation.pdf      463/2005_fall/www/Lectures/RANSAC.pdf 463/2005_fall/www/Lectures/RANSAC.pdf   2.ppt 2.ppt