Computing 3-view Geometry Class 18

Slides:



Advertisements
Similar presentations
Projective 3D geometry class 4
Advertisements

The fundamental matrix F
Lecture 11: Two-view geometry
The Trifocal Tensor Multiple View Geometry. Scene planes and homographies plane induces homography between two views.
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Robot Vision SS 2005 Matthias Rüther 1 ROBOT VISION Lesson 3: Projective Geometry Matthias Rüther Slides courtesy of Marc Pollefeys Department of Computer.
Multiple View Reconstruction Class 24 Multiple View Geometry Comp Marc Pollefeys.
Epipolar Geometry class 11 Multiple View Geometry Comp Marc Pollefeys.
Scene Planes and Homographies class 16 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Geometry
More on single-view geometry class 10 Multiple View Geometry Comp Marc Pollefeys.
3D reconstruction class 11
Projective 2D geometry (cont’) course 3
Parameter estimation class 5 Multiple View Geometry Comp Marc Pollefeys.
Computing F and rectification class 14 Multiple View Geometry Comp Marc Pollefeys.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Parameter estimation class 6 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Multiple View Geometry
Geometric Optimization Problems in Computer Vision.
Self-calibration Class 21 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Geometry Comp Marc Pollefeys
Multiple View Geometry
Two-view geometry Epipolar geometry F-matrix comp. 3D reconstruction Structure comp.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Triangulation and Multi-View Geometry Class 9 Read notes Section 3.3, , 5.1 (if interested, read Triggs’s paper on MVG using tensor notation, see.
Multiple View Geometry in Computer Vision
Assignment 2 Compute F automatically from image pair (putative matches, 8-point, 7-point, iterative, RANSAC, guided matching) (due by Wednesday 19/03/03)
Camera Models class 8 Multiple View Geometry Comp Marc Pollefeys.
 -Linearities and Multiple View Tensors Class 19 Multiple View Geometry Comp Marc Pollefeys.
More on single-view geometry class 10 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Reconstruction Class 23 Multiple View Geometry Comp Marc Pollefeys.
Algorithm Evaluation and Error Analysis class 7 Multiple View Geometry Comp Marc Pollefeys.
1 Three-view geometry 3-view constraint along F Minimal algebraic sol The content described in these slides is not required in the final exam!
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Camera Calibration class 9 Multiple View Geometry Comp Marc Pollefeys.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
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.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Geometry in Computer Vision Slides modified from Marc Pollefeys’ online course materials Lecturer: Prof. Dezhen Song.
Automatic Camera Calibration
Computer vision: models, learning and inference
Geometry and Algebra of Multiple Views
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 : –
Computing F. Content Background: Projective geometry (2D, 3D), Parameter estimation, Algorithm evaluation. Single View: Camera model, Calibration, Single.
Parameter estimation. 2D homography Given a set of (x i,x i ’), compute H (x i ’=Hx i ) 3D to 2D camera projection Given a set of (X i,x i ), compute.
Geometry of Multiple Views
Raquel A. Romano 1 Scientific Computing Seminar May 12, 2004 Projective Geometry for Computer Vision Projective Geometry for Computer Vision Raquel A.
Multi-linear Systems and Invariant Theory
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
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
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Parameter estimation class 5
Homography From Wikipedia In the field of computer vision, any
Epipolar geometry.
Epipolar Geometry class 11
Multiple View Geometry Comp Marc Pollefeys
More on single-view geometry class 10
Multiple View Geometry Comp Marc Pollefeys
3D reconstruction class 11
Multiple View Geometry in Computer Vision
Parameter estimation class 6
Presentation transcript:

Computing 3-view Geometry Class 18 Multiple View Geometry Comp 290-089 Marc Pollefeys

Content Background: Projective geometry (2D, 3D), Parameter estimation, Algorithm evaluation. Single View: Camera model, Calibration, Single View Geometry. Two Views: Epipolar Geometry, 3D reconstruction, Computing F, Computing structure, Plane and homographies. Three Views: Trifocal Tensor, Computing T. More Views: N-Linearities, Multiple view reconstruction, Bundle adjustment, auto-calibration, Dynamic SfM, Cheirality, Duality

Multiple View Geometry course schedule (subject to change) Jan. 7, 9 Intro & motivation Projective 2D Geometry Jan. 14, 16 (no class) Jan. 21, 23 Projective 3D Geometry Jan. 28, 30 Parameter Estimation Feb. 4, 6 Algorithm Evaluation Camera Models Feb. 11, 13 Camera Calibration Single View Geometry Feb. 18, 20 Epipolar Geometry 3D reconstruction Feb. 25, 27 Fund. Matrix Comp. Mar. 4, 6 Rect. & Structure Comp. Planes & Homographies Mar. 18, 20 Trifocal Tensor Three View Reconstruction Mar. 25, 27 Multiple View Geometry MultipleView Reconstruction Apr. 1, 3 Bundle adjustment Papers Apr. 8, 10 Auto-Calibration Apr. 15, 17 Dynamic SfM Apr. 22, 24 Cheirality Project Demos

Three-view geometry

The trifocal tensor Incidence relation provides constraint

Line-line-line relation (up to scale)

Point-line-line relation

Point-line-point relation

Point-point-point relation

Compute F and P from T

matrix notation is impractical Use tensor notation instead

Definition affine tensor Collection of numbers, related to coordinate choice, indexed by one or more indices Valency = (n+m) Indices can be any value between 1 and the dimension of space (d(n+m) coefficients)

(once above, once below) Conventions Contraction: (once above, once below) Index rule:

More on tensors Transformations (covariant) (contravariant)

Some special tensors Kronecker delta Levi-Cevita epsilon (valency 2 tensor) (valency 3 tensor)

Trilinearities

Transfer: epipolar transfer

Avoid l’=epipolar line Transfer: trifocal transfer Avoid l’=epipolar line

Transfer: trifocal transfer point transfer line transfer degenerate when known lines are corresponding epipolar lines

Image warping using T(1,2,N) (Avidan and Shashua `97)

Computation of Trifocal Tensor Linear method (7-point) Minimal method (6-point) Geometric error minimization method RANSAC method

Basic equations At=0 min||At|| with ||t||=1 Correspondence Relation #lin. indep.Eq. Three points 4 2 Two points, one line 1 One points, two line 2 Three lines At=0 (26 equations) min||At|| with ||t||=1 (more equations)

Normalized linear algorithm At=0 Points Lines or Normalization: normalize image coordinates to ~1

Normalized linear algorithm Objective Given n7 image point correspondences accros 3 images, or a least 13 lines, or a mixture of point and line corresp., compute the trifocal tensor. Algorithm Find transformation matrices H,H’,H” to normalize 3 images Transform points with H and lines with H-1 Compute trifocal tensor T from At=0 (using SVD) Denormalize trifocal tensor

Internal constraints 27 coefficients 1 free scale 18 parameters 8 internal consistency constraints (not every 3x3x3 tensor is a valid trifocal tensor!) (constraints not easily expressed explicitly) Trifocal Tensor satisfies all intrinsic constraints if it corresponds to three cameras {P,P’,P”}

Minimal algorithm (Quan ECCV’94) (cubic equation in a)

Maximum Likelihood Estimation data cost function parameterization (24 parameters+3N) also possibility to use Sampson error (24 parameters)

Automatic computation of T Objective Compute the trifocal tensor between two images Algorithm Interest points: Compute interest points in each image Putative correspondences: Compute interest correspondences (and F) between 1&2 and 2&3 RANSAC robust estimation: Repeat for N samples (a) Select at random 6 correspondences and compute T (b) Calculate the distance d for each putative match (c) Compute the number of inliers consistent with T (d<t) Choose T with most inliers Optimal estimation: re-estimate T from all inliers by minimizing ML cost function with Levenberg-Marquardt Guided matching: Determine more matches using prediction by computed T Optionally iterate last two steps until convergence

108 putative matches 18 outliers (26 samples) 88 inliers 95 final inliers (0.43) (0.23) (0.19)

additional line matches

Next class: Multiple View Geometry