Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics CS329 Amnon Shashua.

Slides:



Advertisements
Similar presentations
Epipolar Geometry.
Advertisements

Lecture 11: Two-view geometry
Invariants (continued).
1 A camera is modeled as a map from a space pt (X,Y,Z) to a pixel (u,v) by ‘homogeneous coordinates’ have been used to ‘treat’ translations ‘multiplicatively’
3D reconstruction.
Primitives Behaviour at infinity HZ 2.2 Projective DLT alg Invariants
Recovery of affine and metric properties from images in 2D Projective space Ko Dae-Won.
Geometry 2: A taste of projective geometry Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
Projective Geometry- 3D
Two-View Geometry CS Sastry and Yang
Jan-Michael Frahm, Enrique Dunn Spring 2012
Recovering metric and affine properties from images
Camera calibration and epipolar geometry
Structure from motion.
Multiple View Geometry Projective Geometry & Transformations of 2D Vladimir Nedović Intelligent Systems Lab Amsterdam (ISLA) Informatics Institute,
1 Basic geometric concepts to understand Affine, Euclidean geometries (inhomogeneous coordinates) projective geometry (homogeneous coordinates) plane at.
The 2D Projective Plane Points and Lines.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Projective 2D & 3D geometry course 2
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.
Projective geometry- 2D Acknowledgements Marc Pollefeys: for allowing the use of his excellent slides on this topic
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
Epipolar Geometry and the Fundamental Matrix F
CS485/685 Computer Vision Prof. George Bebis
Projective geometry Slides from Steve Seitz and Daniel DeMenthon
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
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.
Lec 21: Fundamental Matrix
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
Project Geometry Jiecai He (Jake)
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Automatic Camera Calibration
Projective Geometry and Camera Models
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Projective Geometry and Geometric Invariance in Computer Vision Babak N. Araabi Electrical and Computer Eng. Dept. University of Tehran Workshop on image.
875: Recent Advances in Geometric Computer Vision & Recognition Jan-Michael Frahm Fall 2011.
Epipolar geometry The fundamental matrix and the tensor
Projective cameras Motivation Elements of Projective Geometry Projective structure from motion Planches : –
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.
Projective Geometry. Projection Vanishing lines m and n.
Projective geometry ECE 847: Digital Image Processing Stan Birchfield Clemson University.
Lecture 04 22/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Stereo Course web page: vision.cis.udel.edu/~cv April 11, 2003  Lecture 21.
Geometric Camera Models
Class 61 Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics Class 6: Duality and Shape Tensors CS329 Stanford University.
Affine Structure from Motion
EECS 274 Computer Vision Affine Structure from Motion.
1 Chapter 2: Geometric Camera Models Objective: Formulate the geometrical relationships between image and scene measurements Scene: a 3-D function, g(x,y,z)
Feature Matching. Feature Space Outlier Rejection.
Multi-linear Systems and Invariant Theory
Projective Geometry Hu Zhan Yi. Entities At Infinity The ordinary space in which we lie is Euclidean space. The parallel lines usually do not intersect.
Class 51 Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics Class 5: Self Calibration CS329 Stanford University Amnon.
Computer vision: models, learning and inference M Ahad Multiple Cameras
Multi-linear Systems and Invariant Theory
Stereo March 8, 2007 Suggested Reading: Horn Chapter 13.
EECS 274 Computer Vision Projective Structure from Motion.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Homogeneous Coordinates (Projective Space)
Epipolar geometry.
CS Visual Recognition Projective Geometry Projective Geometry is a mathematical framework describing image formation by perspective camera. Under.
Computer Graphics Recitation 12.
Geometric Camera Models
Uncalibrated Geometry & Stratification
Presentation transcript:

Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics CS329 Amnon Shashua

Material We Will Cover Today The structure of 3D->2D projection matrix The homography matrix A primer on projective geometry of the plane

The Structure of a Projection Matrix

Generally, is called the “ principle point ” is called the “ skew ” is “ aspect ratio ”

The Camera Center has rank=3, thus such that Why isthe camera center?

The Camera Center Why isthe camera center? Consider the “ optical ray ” All points along the line are mapped to the same point is a ray through the camera center

The Epipolar Points

Choice of Canonical Frame is the new world coordinate frame Choose W such that We have 15 degrees of freedom (16 upto scale)

Choice of Canonical Frame Let We are left with 4 degrees of freedom (upto scale):

Choice of Canonical Frame

whereare free variables

Projection Matrices Let be the image of pointat frame number j whereare free variables are known

Family of Homography Matrices Stands for the family of 2D projective transformations between two fixed images induced by a plane in space The remainder of this class is about making the above statement intelligible

Family of Homography Matrices Recall, 3D->2D from Euclidean world frame to image Let K,K ’ be the internal parameters of camera 1,2 and choose canonical frame in which R=I and T=0 for first camera. world frame to first camera frame

Family of Homography Matrices Recall that 3 rd row of K is

Family of Homography Matrices Assumeare on a planar surface

Family of Homography Matrices Let and Image-to-image mapping where the matching pair are induced by a planar surface.

Family of Homography Matrices first camera frame when is the homography matrix induced by the plane at infinity

Family of Homography Matrices is the epipole in the second image

Relationship Between two Homography Matrices is the projection of onto the first image

p p’  Estimating the Homography Matrix How many matching points? 4 points make a basis for the projective plane

Projective Geometry of the Plane Equation of a line in the 2D plane The line is represented by the vector and Correspondence between lines and vectors are not 1-1 because represents the same line Two vectors differing by a scale factor are equivalent. This equivalence class is called homogenous vector. Any vector is a representation of the equivalence class. The vectordoes represent any line.

Projective Geometry of the Plane A pointlies on the line (coincident with) which is represented byiff But also represents the point The vectordoes represent any point. Points and lines are dual to each other (only in the 2D case!).

Projective Geometry of the Plane note:

Lines and Points at Infinity Consider lines which represents the point with infinitely large coordinates All meet at the same point

Lines and Points at Infinity The points lie on a line The line is called the line at infinity The pointsare called ideal points. A linemeetsat (which is the direction of the line)

A Model of the Projective Plane Points are represented as lines (rays) through the origin Lines are represented as planes through the origin ideal point is the plane

A Model of the Projective Plane ={lines through the origin in} ={1-dim subspaces of }

Projective Transformations in The study of properties of the projective plane that are invariant under a group of transformations. Projectivity: that maps lines to lines (i.e. preserves colinearity) Any invertible 3x3 matrix is a Projectivity: LetColinear points, i.e. the pointslie on the line is the dual. is called homography, colineation

Projective Transformations in perspectivity A composition of perspectivities from a planeto other planes and back tois a projectivity. Every projectivity can be represented in this way.

Projective Transformations in Example, a prespectivity in 1D: Lines adjoining matching points are concurrent Lines adjoining matching points (a,a ’ ),(b,b ’ ),(c,c ’ ) are not concurrent

Projective Transformations in is not invariant under H: Points onare is not necessarily 0 Parallel lines do not remain parallel ! is mapped to

Projective Basis A Simplex inis a set of n+2 points such that no subset Of n+1 of them lie on a hyperplane (linearly dependent). In a Simplex is 4 points Theorem: there is a unique colineation between any two Simplexes

Why do we need 4 points Invariants are measurements that remain fixed under colineations # of independent invariants = # d.o.f of configuration - # d.o.f of trans. Ex: 1D case H has 3 d.o.f A point in 1D is represented by 1 parameter. 4 points we have: 4-3=1 invariant (cross ratio) 2D case: H has 8 d.o.f, a point has 2 d.o.f thus 5 points induce 2 invariants

Why do we need 4 points The cross-ratio of 4 points: 24 permutations of the 4 points forming 6 groups:

Why do we need 4 points 5 points gives us 10 d.o.f, thus 10-8=2 invariants which represent 2D are the 4 basis points (simplex) are determined uniquely by Point of intersection is preserved under projectivity (exercise) uniquely determined