Multi-linear Systems and Invariant Theory

Slides:



Advertisements
Similar presentations
Epipolar Geometry.
Advertisements

Lecture 11: Two-view geometry
3D reconstruction.
The Trifocal Tensor Multiple View Geometry. Scene planes and homographies plane induces homography between two views.
Computing 3-view Geometry Class 18
Two-View Geometry CS Sastry and Yang
Jan-Michael Frahm, Enrique Dunn Spring 2012
Dr. Hassan Foroosh Dept. of Computer Science UCF
View Morphing (Seitz & Dyer, SIGGRAPH 96)
Camera calibration and epipolar geometry
Structure from motion.
1 Basic geometric concepts to understand Affine, Euclidean geometries (inhomogeneous coordinates) projective geometry (homogeneous coordinates) plane at.
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.
Epipolar Geometry and the Fundamental Matrix F
Lecture 21: Multiple-view geometry and structure from motion
Multiple View Geometry
Multiple-view Reconstruction from Points and Lines
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
 -Linearities and Multiple View Tensors Class 19 Multiple View Geometry Comp Marc Pollefeys.
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
The Pinhole Camera Model
Lec 21: Fundamental Matrix
Scene planes and homographies. Homographies given the plane and vice versa.
Multiple View Geometry
The Trifocal Tensor Class 17 Multiple View Geometry Comp Marc Pollefeys.
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.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
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
Computer vision: models, learning and inference
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Euclidean cameras and strong (Euclidean) calibration Intrinsic and extrinsic parameters Linear least-squares methods Linear calibration Degenerate point.
Epipolar geometry The fundamental matrix and the tensor
1 Preview At least two views are required to access the depth of a scene point and in turn to reconstruct scene structure Multiple views can be obtained.
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.
Pole/polar consider projective geometry again we may want to compute the tangents of a curve that pass through a point (e.g., visibility) let C be a conic.
Lecture 04 22/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
1 Formation et Analyse d’Images Session 7 Daniela Hall 25 November 2004.
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.
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.
Geometry of Multiple Views
Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics CS329 Amnon Shashua.
Affine Structure from Motion
Raquel A. Romano 1 Scientific Computing Seminar May 12, 2004 Projective Geometry for Computer Vision Projective Geometry for Computer Vision Raquel A.
1 Formation et Analyse d’Images Session 2 Daniela Hall 26 September 2005.
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.
Mixing Catadioptric and Perspective Cameras
Class 51 Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics Class 5: Self Calibration CS329 Stanford University Amnon.
776 Computer Vision Jan-Michael Frahm & Enrique Dunn Spring 2013.
Auto-calibration we have just calibrated using a calibration object –another calibration object is the Tsai grid of Figure 7.1 on HZ182, which can be used.
Multi-linear Systems and Invariant Theory
Structure from motion Multi-view geometry Affine structure from motion Projective structure from motion Planches : –
EECS 274 Computer Vision Projective Structure from Motion.
Parameter estimation class 5 Multiple View Geometry CPSC 689 Slides modified from Marc Pollefeys’ Comp
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Lecture 16: Image alignment
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Homogeneous Coordinates (Projective Space)
Parameter estimation class 5
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
Epipolar Geometry class 11
Multi-linear Systems and Invariant Theory
3D reconstruction class 11
Multi-view geometry.
The Pinhole Camera Model
Presentation transcript:

Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics Class 4: Mutli-View 3D-from-2D CS329 Stanford University Amnon Shashua Class 4 Class 2: Homography Tensors

Material We Will Cover Today Epipolar Geometry and Fundamental Matrix The plane+parallax model and relative affine structure Why 3 views? Trifocal Tensor Class 4

Reminder (from class 1): Stands for the family of 2D projective transformations between two fixed images induced by a plane in space Class 4

Plane + Parallax  p’ p e’ what does stand for? what would we obtain after eliminating Class 4

Reminder (from class 1):

Recall: Let: Class 4

are determined (each) up to a scale. Note that are determined (each) up to a scale. Let Be any “reference” point not arising from be the homography we will use Let Class 4

Recall: Class 4

Plane + Parallax We have used 4 space points for a basis: 3 for the reference plane 1 for the reference point (scaling) Since 4 points determine an affine basis: is called “relative affine structure” Note: we need 5 points for a projective basis. The 5th point is the first camera center. Class 4

Note: A projective invariant This invariant (“projective depth”) is independent of both camera positions, therefore is projective. 5 basis points: 4 non-coplanar defines two planes, and A 5th point for scaling. Class 4

Note: An Affine Invariant What happens when camera center is at infinity? (parallel projection) This invariant is independent of both camera positions, and is Affine. Class 4

Fundamental Matrix  p’ p e’ Class 4

Fundamental Matrix Defines a bilinear matching constraint whose coefficients depend only on the camera geometry (shape was eliminated) F does not depend on the choice of the reference plane Class 4

Epipoles from F Note: any homography matrix maps between epipoles: Class 4

Epipoles from F Class 4

Estimating F from matching points Linear solution N on-linear solution is cubic in the elements of F, thus we should expect 3 solutions. Class 4

Estimating F from Homographies is skew-symmetric (i.e. provides 6 constraints on F) 2 homography matrices are required for a solution for F Class 4

F Induces a Homography  p is a homography matrix induced by the plane defined by the join of the image line and the camera center Class 4

Projective Reconstruction 1. Solve for F via the system (8 points or 7 points) 2. Solve for e’ via the system 3. Select an arbitrary vector 4. and are a pair of camera matrices. Class 4

Trifocal Geometry The three fundamental matrices completely describe the trifocal geometry (as long as the three camera centers are not collinear) Likewise: Each constraint is non-linear in the entries of the fundamental matrices (because the epipoles are the respective null spaces) Class 4

Trifocal Geometry 3 fundamental matrices provide 21 parameters. Subtract 3 constraints, Thus we have that the trifocal geometry is determined by 18 parameters. This is consistent with the straight-forward counting: 3x11 – 15 = 18 (3 camera matrices provide 33 parameters, minus the projective basis) Class 4

What Goes Wrong with 3 views? 2 constraints each, thus we have 21-6=15 parameters Class 4

What Goes Wrong with 3 views? Thus, to represent we need only 1 parameter (instead of 3). 18-2=16 parameters are needed to represent the trifocal geometry in this case. but the pairwise fundamental matrices can account for only 15! Class 4

What Else Goes Wrong: Reprojection Given p,p’ and the pairwise F-mats one can directly determine the position of the matching point p’’ This fails when the 3 camera centers are collinear because all three line of sights are coplanar thus there is only one epipolar line! Class 4

The Trifocal Constraints Class 4

The Trifocal Constraints Class 4

The Trifocal Constraints Every 4x4 minor must vanish! 12 of those involve all 3 views, they are arranged in 3 groups Depending on which view is the reference view. Class 4

The Trifocal Constraints The reference view Choose 1 row from here Choose 1 row from here We should expect to have 4 matching constraints Class 4

The Trifocal Constraints Expanding the determinants: eliminate Class 4

The Trifocal Constraints is a plane C’’ What is going on geometrically: r P p C s C’ 4 planes intersect at P ! Class 4

The Trifocal Tensor New index notations: i-image 1, j-image 2, k-image 3 is a point in image 1 is a line in image 2 is a point in image 2 Class 4

The Trifocal Tensor are the two lines coincident with p’, i.e. Eliminate Class 4

The Trifocal Tensor Rearrange terms: The trifocal tensor is: Class 4

The Trifocal Tensor The four “trilinearities”: x” Ti13pi - x”x’ Ti33pi + x’ Ti31pi- Ti11pi = 0 y” Ti13pi - y”x’ Ti33pi + x’ Ti32pi- Ti12pi = 0 x” Ti23pi - x”y’ Ti33pi + y’ Ti31pi- Ti21pi = 0 y” Ti23pi - y”y’ Ti33pi + x’ Ti32pi- Ti22pi = 0 Class 4

The Trifocal Tensor A trilinearity is a contraction with a point-line-line where the lines are coincident with the respective matching points. Class 4

Slices of the Trifocal Tensor Now that we have an explicit form of the tensor, what can we do with it? The result must be a contravariant vector (a point). This point is coincident with for all lines coincident with The point reprojection equation (will work when camera centers are collinear as well). Note: reprojection is possible after observing 7 matching points, (because one needs 7 matching triplets to solve for the tensor). This is in contrast to reprojection using pairwise fundamental matrices Which requires 8 matching points (in order to solve for the F-mats). Class 4

Slices of the Trifocal Tensor Class 4

Slices of the Trifocal Tensor The result must be a line. Line reprojection equation rk sj O O’ O’’ q i 13 matching lines are necessary for solving for the tensor (compared to 7 matching points) Class 4

Slices of the Trifocal Tensor The result must be a matrix. is the reprojection equation H is a homography matrix is a family of homography matrices (from 1 to 2) induced by the family of planes coincidant with the 3rd camera center. Class 4

Slices of the Trifocal Tensor is the homography matrix from 1 to 3 induced by the plane defined by the image line and the second camera center. is the reprojection equation The result is a point on the epipolar line of on image 3 Class 4

Slices of the Trifocal Tensor Is a point on the epipolar line (because it maps the dual plane onto collinear points) Class 4

18 Parameters for the Trifocal Tensor Has 24 parameters (9+9+3+3) minus 1 for global scale minus 2 for scaling e’,e’’ to be unit vectors minus 3 for setting such that B has a vanishing column = 18 independent parameters We should expect to find 9 non-linear constraints among the 27 entries of the tensor (admissibility constraints). Class 4

18 Parameters for the Trifocal Tensor What happens when the 3 camera centers are collinear? (we saw that pairwise F-mats account for 15 parameters). This provides two additional (non-linear) constraints, thus 18-2=16. Class 4

Items not Covered in Class Degenerate configurations (Linear Line Complex, Quartic Curve) The source of the 9 admissibility constraints (come from the homography slices). Concatenation of trifocal tensors along a sequence Quadrifocal tensor (and its relation to the homography tensor) Class 4