Triangulation and Multi-View Geometry Class 9 Read notes Section 3.3, 4.3-4.4, 5.1 (if interested, read Triggs’s paper on MVG using tensor notation, see.

Slides:



Advertisements
Similar presentations
The fundamental matrix F
Advertisements

1. 2 An extreme occurrence of the missing data W I D E B A S E L I N E – no point in more than 2 images!
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.
N-view factorization and bundle adjustment CMPUT 613.
Structure from motion Class 9 Read Chapter 5. 3D photography course schedule (tentative) LectureExercise Sept 26Introduction- Oct. 3Geometry & Camera.
Lecture 8: Stereo.
Scene Planes and Homographies class 16 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Geometry
Robot Vision SS 2008 Matthias Rüther 1 ROBOT VISION Lesson 6: Shape from Stereo Matthias Rüther Slides partial courtesy of Marc Pollefeys Department of.
Epipolar Geometry Class 7 Read notes Feature tracking run iterative L-K warp & upsample Tracking Good features Multi-scale Transl. Affine.
3D reconstruction class 11
Jan-Michael Frahm, Philippos Mordohai
Computing F and rectification class 14 Multiple View Geometry Comp Marc Pollefeys.
Computing F Class 8 Read notes Section 4.2. C1C1 C2C2 l2l2  l1l1 e1e1 e2e2 Fundamental matrix (3x3 rank 2 matrix) 1.Computable from corresponding points.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Lecture 21: Multiple-view geometry and structure from motion
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Multiple View Geometry
Multiple-view Reconstruction from Points and Lines
Multiple View Geometry Comp Marc Pollefeys
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
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.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Single View Metrology Class 3. 3D photography course schedule (tentative) LectureExercise Sept 26Introduction- Oct. 3Geometry & Camera modelCamera calibration.
Assignment 2 Compute F automatically from image pair (putative matches, 8-point, 7-point, iterative, RANSAC, guided matching) (due by Wednesday 19/03/03)
Fitting. Choose a parametric object/some objects to represent a set of tokens Most interesting case is when criterion is not local –can’t tell whether.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Multiple View Reconstruction Class 23 Multiple View Geometry Comp Marc Pollefeys.
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
CSE473/573 – Stereo Correspondence
Algorithm Evaluation and Error Analysis class 7 Multiple View Geometry Comp Marc Pollefeys.
KLT tracker & triangulation Class 6 Read Shi and Tomasi’s paper on good features to track
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Multiple View Geometry
Epipolar geometry Class 5
Multiple View Geometry. THE GEOMETRY OF MULTIPLE VIEWS Reading: Chapter 10. Epipolar Geometry The Essential Matrix The Fundamental Matrix The Trifocal.
Stereo matching Class 10 Read Chapter 7 Tsukuba dataset.
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.
Epipolar geometry Class 5. Geometric Computer Vision course schedule (tentative) LectureExercise Sept 16Introduction- Sept 23Geometry & Camera modelCamera.
Automatic Camera Calibration
Computer vision: models, learning and inference
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
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.
Example: line fitting. n=2 Model fitting Measure distances.
Robot Vision SS 2007 Matthias Rüther 1 ROBOT VISION Lesson 6a: Shape from Stereo, short summary Matthias Rüther Slides partial courtesy of Marc Pollefeys.
Two-view geometry Epipolar geometry F-matrix comp. 3D reconstruction
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
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.
18 th August 2006 International Conference on Pattern Recognition 2006 Epipolar Geometry from Two Correspondences Michal Perďoch, Jiří Matas, Ondřej Chum.
Raquel A. Romano 1 Scientific Computing Seminar May 12, 2004 Projective Geometry for Computer Vision Projective Geometry for Computer Vision Raquel A.
Feature Matching. Feature Space Outlier Rejection.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
Robust Estimation Course web page: vision.cis.udel.edu/~cv April 23, 2003  Lecture 25.
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.
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
Approximate Models for Fast and Accurate Epipolar Geometry Estimation
Parameter estimation class 5
Homography From Wikipedia In the field of computer vision, any
Epipolar geometry.
3D Photography: Epipolar geometry
Multiple View Geometry Comp Marc Pollefeys
Estimating 2-view relationships
Presentation transcript:

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

Step 1. Extract features Step 2. Compute a set of potential matches Step 3. do Step 3.1 select minimal sample (i.e. 7 matches) Step 3.2 compute solution(s) for F Step 3.3 determine inliers until  (#inliers,#samples)<95% #inliers90%80%70%60%50% #samples Step 4. Compute F based on all inliers Step 5. Look for additional matches Step 6. Refine F based on all correct matches (generate hypothesis) (verify hypothesis) Automatic computation of F

Abort verification early Given n samples and an expected proportion of inliers p, how likely is it that I have observed less than T inliers? abort if P<0.02 (initial sample most probably contained outliers) (inspired from Chum and Matas BMVC2002) OOOOOIOOIOOOOOIOOOOOOOIOOOOOIOIOOOOOOOO OIOIIIIOIIIOIOIIIIOOIOIIIIOIOIOIIIIIIII (use normal approximation to binomial) To avoid problems this requires to also verify at random! (but we already have a random sampler anyway)

restrict search range to neighborhood of epipolar line (e.g.  1.5 pixels) relax disparity restriction (along epipolar line) Finding more matches

Degenerate cases Planar scene Pure rotation No unique solution Remaining DOF filled by noise Use simpler model (e.g. homography) Solution 1: Model selection (Torr et al., ICCV´98, Kanatani, Akaike) Compare H and F according to expected residual error (compensate for model complexity) Solution 2: RANSAC Compare H and F according to inlier count (see next slide) Degenerate cases:

RANSAC for (quasi-)degenerate cases Full model (8pts, 1D solution) Sample for out of plane points among outliers closest rank-6 of A nx9 for all plane inliers (accept inliers to solution F) (accept inliers to solution F 1,F 2 &F 3 ) Planar model (6pts, 3D solution) Accept if large number of remaining inliers Plane+parallax model (plane+2pts) 80% in plane 2% out plane 18% outlier

Absence of sufficient features (no texture) Repeated structure ambiguity (Schaffalitzky and Zisserman, BMVC‘98) Robust matcher also finds Robust matcher also finds support for wrong hypothesis support for wrong hypothesis solution: detect repetition solution: detect repetition More problems:

RANSAC for ambiguous matching Include multiple candidate matches in set of potential matches Select according to matching probability (~ matching score) Helps for repeated structures or scenes with similar features as it avoids an early commitment, but also useful in general (Tordoff and Murray ECCV02)

geometric relations between two views is fully described by recovered 3x3 matrix F two-view geometry

Triangulation (finally!) C1C1 x1x1 L1L1 x2x2 L2L2 X C2C2 Triangulation - calibration - correspondences

Triangulation Backprojection Triangulation Iterative least-squares Maximum Likelihood Triangulation C1C1 x1x1 L1L1 x2x2 L2L2 X C2C2

Optimal 3D point in epipolar plane Given an epipolar plane, find best 3D point for (m 1,m 2 ) m1m1 m2m2 l1l1 l2l2 l1l1 m1m1 m2m2 l2l2 m1´m1´ m2´m2´ Select closest points (m 1 ´,m 2 ´) on epipolar lines Obtain 3D point through exact triangulation Guarantees minimal reprojection error (given this epipolar plane)

Non-iterative optimal solution Reconstruct matches in projective frame by minimizing the reprojection error Non-iterative method Determine the epipolar plane for reconstruction Reconstruct optimal point from selected epipolar plane Note: only works for two views (Hartley and Sturm, CVIU´97) (polynomial of degree 6) m1m1 m2m2 l 1  l 2  3DOF 1DOF

Backprojection Represent point as intersection of row and column Useful presentation for deriving and understanding multiple view geometry (notice 3D planes are linear in 2D point coordinates) Condition for solution?

Multi-view geometry (intersection constraint) (multi-linearity of determinants) (= epipolar constraint!) (counting argument: 11x2-15=7)

Multi-view geometry (multi-linearity of determinants) (= trifocal constraint!) (3x3x3=27 coefficients) (counting argument: 11x3-15=18)

Multi-view geometry (multi-linearity of determinants) (= quadrifocal constraint!) (3x3x3x3=81 coefficients) (counting argument: 11x4-15=29)

Next class: rectification and stereo image I(x,y) image I´(x´,y´) Disparity map D(x,y) (x´,y´)=(x+D(x,y),y)