M3: Multiple View Geometry

Similar documents
6.801/866. Affine Structure from Motion. T. Darrell

Multi-Frame Factorization Techniques

Lecture 5. Epipolar Geometry. Professor Silvio Savarese Computational Vision and Geometry Lab. 21-Jan-15. Lecture 5 - Silvio Savarese

Camera calibration Triangulation

CSE 252B: Computer Vision II

Two-View Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix

Camera Models and Affine Multiple Views Geometry

b 1 b 2.. b = b m A = [a 1,a 2,...,a n ] where a 1,j a 2,j a j = a m,j Let A R m n and x 1 x 2 x = x n

Pose estimation from point and line correspondences

A Practical Method for Decomposition of the Essential Matrix

Multiple View Geometry in Computer Vision

Tikhonov Regularization in General Form 8.1

Augmented Reality VU Camera Registration. Prof. Vincent Lepetit

Multiple View Geometry in Computer Vision

Vision 3D articielle Session 2: Essential and fundamental matrices, their computation, RANSAC algorithm

Outline. Linear Algebra for Computer Vision

Algorithms for Computing a Planar Homography from Conics in Correspondence

Review of Linear Algebra

Linear Algebra (Review) Volker Tresp 2017

Robert Collins CSE486, Penn State. Lecture 25: Structure from Motion

CS6964: Notes On Linear Systems

Singular Value Decomposition

Mobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti

Linear Systems. Carlo Tomasi. June 12, r = rank(a) b range(a) n r solutions

Optimisation on Manifolds

Computation of the Quadrifocal Tensor

Trinocular Geometry Revisited

Lecture 4.3 Estimating homographies from feature correspondences. Thomas Opsahl

The Multibody Trifocal Tensor: Motion Segmentation from 3 Perspective Views

ORTHOGONALITY AND LEAST-SQUARES [CHAP. 6]

Outline Python, Numpy, and Matplotlib Making Models with Polynomials Making Models with Monte Carlo Error, Accuracy and Convergence Floating Point Mod

Matrices: 2.1 Operations with Matrices

Linear Algebra & Geometry why is linear algebra useful in computer vision?

A Factorization Method for 3D Multi-body Motion Estimation and Segmentation

Machine Learning for Signal Processing Sparse and Overcomplete Representations

Probabilistic Latent Semantic Analysis

CSE4030 Introduction to Computer Graphics

Matrices and Vectors. Definition of Matrix. An MxN matrix A is a two-dimensional array of numbers A =

Matrices and systems of linear equations

EIGENVALUES AND SINGULAR VALUE DECOMPOSITION

A Study of Kruppa s Equation for Camera Self-calibration

Camera Calibration The purpose of camera calibration is to determine the intrinsic camera parameters (c 0,r 0 ), f, s x, s y, skew parameter (s =

Method 1: Geometric Error Optimization

Chapter 3. Linear and Nonlinear Systems

Linear Algebra & Geometry why is linear algebra useful in computer vision?

Linear Systems. Carlo Tomasi

Matrices and RRE Form

EPIPOLAR GEOMETRY WITH MANY DETAILS

COMPUTATIONAL METHODS IN MRI: MATHEMATICS

3D from Photographs: Camera Calibration. Dr Francesco Banterle

Consensus Algorithms for Camera Sensor Networks. Roberto Tron Vision, Dynamics and Learning Lab Johns Hopkins University

Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix

Reconstruction from projections using Grassmann tensors

Similarity transformation in 3D between two matched points patterns.

ECE 8201: Low-dimensional Signal Models for High-dimensional Data Analysis

CLASS NOTES Computational Methods for Engineering Applications I Spring 2015

Affine Structure From Motion

CS4495/6495 Introduction to Computer Vision. 3D-L3 Fundamental matrix

Parallel Singular Value Decomposition. Jiaxing Tan

Multiview Geometry and Bundle Adjustment. CSE P576 David M. Rosen

Math Review: parameter estimation. Emma

Computational Methods CMSC/AMSC/MAPL 460. EigenValue decomposition Singular Value Decomposition. Ramani Duraiswami, Dept. of Computer Science

Camera Calibration. (Trucco, Chapter 6) -Toproduce an estimate of the extrinsic and intrinsic camera parameters.

CS 4495 Computer Vision Principle Component Analysis

Lecture 2: Linear Algebra Review

Data Mining Lecture 4: Covariance, EVD, PCA & SVD

STA141C: Big Data & High Performance Statistical Computing

Inverse differential kinematics Statics and force transformations

Singular Value Decomposition

Linear Algebra (Review) Volker Tresp 2018

BlockMatrixComputations and the Singular Value Decomposition. ATaleofTwoIdeas

Recovery of Sparse Signals from Noisy Measurements Using an l p -Regularized Least-Squares Algorithm

Linear Algebra. Min Yan

Determining the Translational Speed of a Camera from Time-Varying Optical Flow

Vision par ordinateur

Pose Tracking II! Gordon Wetzstein! Stanford University! EE 267 Virtual Reality! Lecture 12! stanford.edu/class/ee267/!

Principal Component Analysis

Advanced Techniques for Mobile Robotics Least Squares. Wolfram Burgard, Cyrill Stachniss, Kai Arras, Maren Bennewitz

Frank C Porter and Ilya Narsky: Statistical Analysis Techniques in Particle Physics Chap. c /9/9 page 147 le-tex

Multilinear Factorizations for Multi-Camera Rigid Structure from Motion Problems

THE SINGULAR VALUE DECOMPOSITION MARKUS GRASMAIR

Introduction to Mobile Robotics Compact Course on Linear Algebra. Wolfram Burgard, Cyrill Stachniss, Kai Arras, Maren Bennewitz

Linear Algebra Review. Vectors

Linear Algebra Massoud Malek

Machine Learning - MT & 14. PCA and MDS

ME751 Advanced Computational Multibody Dynamics

RELATIVE NAVIGATION FOR SATELLITES IN CLOSE PROXIMITY USING ANGLES-ONLY OBSERVATIONS

Basic Math for

Homogeneous Transformations

STA141C: Big Data & High Performance Statistical Computing

Uncertainty Models in Quasiconvex Optimization for Geometric Reconstruction

Rigid Structure from Motion from a Blind Source Separation Perspective

Lecture 23: 6.1 Inner Products

Essential Matrix Estimation via Newton-type Methods

Inverse problems and sparse models (1/2) Rémi Gribonval INRIA Rennes - Bretagne Atlantique, France

Structure from Motion. CS4670/CS Kevin Matzen - April 15, 2016

Linear Algebra Methods for Data Mining

Parameterizing the Trifocal Tensor

linearly indepedent eigenvectors as the multiplicity of the root, but in general there may be no more than one. For further discussion, assume matrice

Photometric Stereo: Three recent contributions. Dipartimento di Matematica, La Sapienza

Transcription:

M3: Multiple View Geometry L18: Projective Structure from Motion: Iterative Algorithm based on Factorization Based on Sections 13.4 C. V. Jawahar jawahar-at-iiit.net Mar 2005: 1

Review: Reconstruction from Two Calibrated Cameras If a world point P is imaged at p and p in two cameras M and M, zp = MP or p MP = 0 zp = M P or p M P = 0 World point can be computed as the solution of the homogeneous system of equation [p] M [p ] M P = 0 C. V. Jawahar jawahar-at-iiit.net Mar 2005: 2

Ill posed SFM Problem Given the images of multiple world points in two or cameras zp i = MP i zp i = M P i we are interested in finding out the structure P i and motion M i. C. V. Jawahar jawahar-at-iiit.net Mar 2005: 3

Ambiguity of Projective Reconstruction If M i and P j are the solutions of the above mentioned equations, then M i = M i Q and P j = Q 1 P j are also acceptable solutions. The matrix Q is only defined upto scale and has 15 unknowns. The system of equations with m cameras and n points will have solution only if 2mn 11m + 3n 15 When m = 2, we need seven points. C. V. Jawahar jawahar-at-iiit.net Mar 2005: 4

Method 1: Five Point Correspondence and Epipole Define a projective frame of reference and compute structure/motion in this coordinate system. C. V. Jawahar jawahar-at-iiit.net Mar 2005: 5

Method 2: Cameras/Motion from Fundamental Matrix Let F be a fundamental matrix and S be a skew-symmetric matrix. Define the pair of camera matrices, M = [I 0] and M = [SF e ] where e is the epipole such that e T F = 0 and assume the M so defined is a valid camera matrix with rank -3. Then F is the fundamental matrix relating the views. C. V. Jawahar jawahar-at-iiit.net Mar 2005: 6

Projective Structure and Motion from Multiple Images Frequent situation. Multilinear constraints are not useful for views > 4. Robust computation and minimisation of error propagation. C. V. Jawahar jawahar-at-iiit.net Mar 2005: 7

Imaging Equations Basic Perspective Imaging Equation: zp = MP If there are m points and n cameras z ij p ij = M i P j Or D = MP where P = (P 1, P 2... P n ) z 11 p 11... z 1n p 1n D =......... z m1 p m1... z mn p mn and M = M 1... M m C. V. Jawahar jawahar-at-iiit.net Mar 2005: 8

Rank and Factorization of D D is the product of two matrices 3m 4 and 4 n. Therefore rank of D is 4. If we knew z ij, we could have thought of factoring D into M and P However, we do not know the depths z ij. Or else this factorization is much more involved that the affine factorization. What about the solution of the following minimisation problem? E = D MP 2 = j E j = ij z ij p ij M i P j 2 C. V. Jawahar jawahar-at-iiit.net Mar 2005: 9

Unfortunately NOT. The above problem is ill posed z ij = 0; M i = 0 and P j = 0 is an acceptable minima!! There are infact many more non-meaningful trivial solutions. Solution is to impose additional constraints: say that columns of the matrix D, i.e., d j have unit norm. C. V. Jawahar jawahar-at-iiit.net Mar 2005: 10

An important class of Iterative Solution Procedures Fix the value of z j = [z 1j,... z mj ] Factorize and Compute M and P. Using the values of M and P, update the projective depth z ij C. V. Jawahar jawahar-at-iiit.net Mar 2005: 11

Condition for Minima E j = m z ij p ij M i P j 2 i=1 Differentiating with respect to P j and equating to zero. Or E j P j = 2 m M T i (z ij p ij M i P j ) = 0 i=1 M T d j = M T MP j P j = M + d j C. V. Jawahar jawahar-at-iiit.net Mar 2005: 12

If M = UWV T, its pseudo inverse is VW 1 U T. The objective function to be minimised reduces to E j = m z ij p j M i P j 2 i=1 E j = (I MM + )d j 2 E j = [I UU T ]d j 2 = 1 Ud j 2 Minimisation of E j with respect to z ij and P j is equivalent to maximisation of Ud j 2 C. V. Jawahar jawahar-at-iiit.net Mar 2005: 13

Define Q j as Q j = p 1j 0... 0 0 p 2j 0............ 0 0... p mj such that d j = Q j z j C. V. Jawahar jawahar-at-iiit.net Mar 2005: 14

Minimisation of E j is equivalent to maximisation of R j z j 2 with respect to z j under the constraint Q j z j 2 = 1, where R = U T Q j i.e., minimise R j z j 2 + λ(1 Q j z j 2 ) Solution to the above minimisation problem (by a direct differentiation and equating to zero) is given by the largest scalar which satisfies R T j Rz j = λq T J Q j z j This is a generalised eigen value problem with available numerical solutions. C. V. Jawahar jawahar-at-iiit.net Mar 2005: 15

Factorization Algorithm for Projective Shape from Motion 1. Compute an initial estimate of the projective depths z ij 2. Normalize each column of the data matrix D. 3. Repeat (a) Use SVD to compute 3m 4 matrix M and the 4 n matrix P than minimize D MP 2. (b) for j = 1 to n, compute the matrices R j and Q j and find the value of z j that minimizes R j z j 2 under the constraint Q j z j 2 = 1 as the solution of a generalized eigen value problem. (c) Update the value of D accordingly. Until converges C. V. Jawahar jawahar-at-iiit.net Mar 2005: 16

Convergence of the Above Algorithm C. V. Jawahar jawahar-at-iiit.net Mar 2005: 17

Euclidean Upgrade of the Projective Structure and Motion C. V. Jawahar jawahar-at-iiit.net Mar 2005: 18

Next Module: Processing Dynamic Scenes C. V. Jawahar jawahar-at-iiit.net Mar 2005: 19