Geometry 1: Projection and Epipolar Lines Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.

Slides:



Advertisements
Similar presentations
Image formation. Image Formation Vision infers world properties form images. How do images depend on these properties? Two key elements –Geometry –Radiometry.
Advertisements

Epipolar Geometry.
Lecture 11: Two-view geometry
Geometry 2: A taste of projective geometry Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
Monday March 21 Prof. Kristen Grauman UT-Austin Image formation.
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
Camera calibration and epipolar geometry
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
Computer Vision : CISC 4/689
Cameras (Reading: Chapter 1) Goal: understand how images are formed Camera obscura dates from 15 th century Basic abstraction is the pinhole camera Perspective.
Geometry of Images Pinhole camera, projection A taste of projective geometry Two view geometry:  Homography  Epipolar geometry, the essential matrix.
Announcements. Projection Today’s Readings Nalwa 2.1.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Computer Vision - A Modern Approach
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
© 2004 by Davi GeigerComputer Vision March 2004 L1.1 Binocular Stereo Left Image Right Image.
Projected image of a cube. Classical Calibration.
CS223b, Jana Kosecka Rigid Body Motion and Image Formation.
Lec 21: Fundamental Matrix
The Camera : Computational Photography Alexei Efros, CMU, Fall 2008.
Scene planes and homographies. Homographies given the plane and vice versa.
Two-views geometry Outline Background: Camera, Projection Necessary tools: A taste of projective geometry Two view geometry:  Homography  Epipolar geometry,
Cameras, lenses, and calibration
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.
EEM 561 Machine Vision Week 10 :Image Formation and Cameras
CSE 6367 Computer Vision Stereo Reconstruction Camera Coordinate Transformations “Everything should be made as simple as possible, but not simpler.” Albert.
Image formation How are objects in the world captured in an image?
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
Cameras Course web page: vision.cis.udel.edu/cv March 22, 2003  Lecture 16.
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Structure from images. Calibration Review: Pinhole Camera.
875: Recent Advances in Geometric Computer Vision & Recognition Jan-Michael Frahm Fall 2011.
Multi-view geometry.
Epipolar geometry The fundamental matrix and the tensor
Image Formation Fundamentals Basic Concepts (Continued…)
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Epipolar geometry Epipolar Plane Baseline Epipoles Epipolar Lines
Lecture 04 22/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Geometry 3: Stereo Reconstruction Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
Metrology 1.Perspective distortion. 2.Depth is lost.
Stereo Course web page: vision.cis.udel.edu/~cv April 11, 2003  Lecture 21.
Lecture 03 15/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Geometry of Multiple Views
Single-view geometry Odilon Redon, Cyclops, 1914.
stereo Outline : Remind class of 3d geometry Introduction
Feature Matching. Feature Space Outlier Rejection.
Mixing Catadioptric and Perspective Cameras
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.
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
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
Computer vision: geometric models Md. Atiqur Rahman Ahad Based on: Computer vision: models, learning and inference. ©2011 Simon J.D. Prince.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Epipolar geometry.
Geometry 3: Stereo Reconstruction
Study the mathematical relations between corresponding image points.
Two-view geometry.
Computer Graphics Recitation 12.
Multiple View Geometry for Robotics
Computer Vision Stereo Vision.
Credit: CS231a, Stanford, Silvio Savarese
Course 6 Stereo.
Presentation transcript:

Geometry 1: Projection and Epipolar Lines Introduction to Computer Vision Ronen Basri Weizmann Institute of Science

Perspectivity

Material covered Pinhole camera model, perspective projection Two view geometry, general case: Epipolar geometry, the essential matrix Camera calibration, the fundamental matrix Two view geometry, degenerate cases Homography (planes, camera rotation) A taste of projective geometry Stereo vision: 3D reconstruction from two views Multi-view geometry, reconstruction through factorization

Camera obscura (“dark room”) "Reinerus Gemma-Frisius, observed an eclipse of the sun at Louvain on January 24, 1544, and later he used this illustration of the event in his book De Radio Astronomica et Geometrica, It is thought to be the first published illustration of a camera obscura..." (Hammond, John H., The Camera Obscura, A Chronicle)

Why not use a pinhole camera? Pinhole cameras are dark Pinhole too big – blurry image Pinhole too small – diffraction

Lenses

Lenses collect light from a large hole and direct it to a single point Overcome the darkness of pinhole cameras But there is a price Focus Radial distortions Chromatic abberations … Pinhole is useful as a geometric model Perspective: “perspicere” – to see through

Pinhole camera model

Perspective projection

O – Focal center π – Image plane Z – Optical axis f – Focal length

Perspective projection

Orthographic projection When objects are far from the camera Projection rays are nearly parallel Camera center at infinity

Scaled orthographic How would a tilted rectangle look like under perspective projection? And under scaled orthography?

Which projection model should I use? Perspective model is needed In scenes that contain many depth differences For accurate 3D reconstruction (stereo, structure from motion) Scaled orthographic can be used When objects are small relative to their distance from the camera Often sufficient for recognition applications

Camera matrix

Calibration matrix

X

Two view geometry epipolar line

Epipolar plane Definition: Epipolar plane: a plane that contains the baseline epipolar plane epipolar line Baseline

Epipoles Each epipolar plane produces a pair of epipolar lines There is a 1-D system of epipolar planes All epipolar planes contain the baseline, therefore all epipolar lines contain its intersection with the respective image planes These intersection points are called epipoles An epipole is the projection of the right focal center onto the left image (and vice versa) epipolar lines Baseline

epipolar plane Baseline Epipolar constraints: derivation

Cross product, triple product

Epipolar constraints: the Essential matrix

The Essential matrix