Lecture 08 Multiple View Geometry 2. Prof. Dr. Davide Scaramuzza

Similar documents
Outlier-tolerant parameter estimation

Static/Dynamic Deformation with Finite Element Method. Graphics & Media Lab Seoul National University

Math 656 March 10, 2011 Midterm Examination Solutions

Fourier Transform: Overview. The Fourier Transform. Why Fourier Transform? What is FT? FT of a pulse function. FT maps a function to its frequencies

Solutions to selected problems from homework 1.

Reminder: Affine Transformations. Viewing and Projection. Shear Transformations. Transformation Matrices in OpenGL. Specification via Ratios

Variational Approach in FEM Part II

Finite Element Method for Turbomachinery Flows

8-node quadrilateral element. Numerical integration

COMPLEX NUMBER PAIRWISE COMPARISON AND COMPLEX NUMBER AHP

The Hyperelastic material is examined in this section.

Structure from Motion. Forsyth&Ponce: Chap. 12 and 13 Szeliski: Chap. 7

10/7/14. Mixture Models. Comp 135 Introduction to Machine Learning and Data Mining. Maximum likelihood estimation. Mixture of Normals in 1D

LECTURE 6 TRANSFORMATION OF RANDOM VARIABLES

Numerical solutions of fuzzy partial differential equations and its applications in computational mechanics. Andrzej Pownuk1

Robust Small Area Estimation Using Penalized Spline Mixed Models

Jones vector & matrices

Lecture 4 BLUP Breeding Values

Math 656 Midterm Examination March 27, 2015 Prof. Victor Matveev

Multi-linear Systems and Invariant Theory. in the Context of Computer Vision and Graphics. Class 5: Self Calibration. CS329 Stanford University

Soft k-means Clustering. Comp 135 Machine Learning Computer Science Tufts University. Mixture Models. Mixture of Normals in 1D

ANALYTICITY THEOREM FOR FRACTIONAL LAPLACE TRANSFORM

Distortional Analysis of Thin-Walled Box Girder Structure: A Comparative Study

Convergence Theorems for Two Iterative Methods. A stationary iterative method for solving the linear system: (1.1)

Dealing with quantitative data and problem solving life is a story problem! Attacking Quantitative Problems

HOMOGENEOUS LEAST SQUARES PROBLEM

1.9 Cartesian Tensors

REVIEW Lecture 14: Elliptic PDEs, Continued. Parabolic PDEs and Stability

Review - Probabilistic Classification

Definition of vector and tensor. 1. Vector Calculus and Index Notation. Vector. Special symbols: Kronecker delta. Symbolic and Index notation

Physics 256: Lecture 2. Physics

Bruce A. Draper & J. Ross Beveridge, January 25, Geometric Image Manipulation. Lecture #1 January 25, 2013

Load Equations. So let s look at a single machine connected to an infinite bus, as illustrated in Fig. 1 below.

SE Story Shear Frame. Final Project. 2 Story Bending Beam. m 2. u 2. m 1. u 1. m 3. u 3 L 3. Given: L 1 L 2. EI ω 1 ω 2 Solve for m 2.

Geometric Registration for Deformable Shapes. 2.1 ICP + Tangent Space optimization for Rigid Motions

Consider a system of 2 simultaneous first order linear equations

Lecture 1: Numerical Integration The Trapezoidal and Simpson s Rule

First looking at the scalar potential term, suppose that the displacement is given by u = φ. If one can find a scalar φ such that u = φ. u x.

Heisenberg Model. Sayed Mohammad Mahdi Sadrnezhaad. Supervisor: Prof. Abdollah Langari

11/13/17. directed graphs. CS 220: Discrete Structures and their Applications. relations and directed graphs; transitive closure zybooks

The Penalty Cost Functional for the Two-Dimensional Energized Wave Equation

MEMBRANE ELEMENT WITH NORMAL ROTATIONS

September 27, Introduction to Ordinary Differential Equations. ME 501A Seminar in Engineering Analysis Page 1. Outline

Phy213: General Physics III 4/10/2008 Chapter 22 Worksheet 1. d = 0.1 m

ON THE COMPLEXITY OF K-STEP AND K-HOP DOMINATING SETS IN GRAPHS

External Equivalent. EE 521 Analysis of Power Systems. Chen-Ching Liu, Boeing Distinguished Professor Washington State University

BAR & TRUSS FINITE ELEMENT. Direct Stiffness Method

From Structural Analysis to FEM. Dhiman Basu

That is, we start with a general matrix: And end with a simpler matrix:

Fundamentals of Continuum Mechanics. Seoul National University Graphics & Media Lab

CS4495/6495 Introduction to Computer Vision. 3C-L3 Calibrating cameras

2. Grundlegende Verfahren zur Übertragung digitaler Signale (Zusammenfassung) Informationstechnik Universität Ulm

Shortest Paths in Graphs. Paths in graphs. Shortest paths CS 445. Alon Efrat Slides courtesy of Erik Demaine and Carola Wenk

The Fourier Transform

Lesson 7. Chapter 8. Frequency estimation. Bengt Mandersson LTH. October Nonparametric methods: lesson 6. Parametric methods:

AE/ME 339. K. M. Isaac. 8/31/2004 topic4: Implicit method, Stability, ADI method. Computational Fluid Dynamics (AE/ME 339) MAEEM Dept.

ST 524 NCSU - Fall 2008 One way Analysis of variance Variances not homogeneous

ECE 650 1/8. Homework Set 4 - Solutions

A general N-dimensional vector consists of N values. They can be arranged as a column or a row and can be real or complex.

Tensor Analysis. For orthogonal curvilinear coordinates, ˆ ˆ (98) Expanding the derivative, we have, ˆ. h q. . h q h q

Linear Algebra Provides a Basis for Elasticity without Stress or Strain

Moments of Inertia. and reminds us of the analogous equation for linear momentum p= mv, which is of the form. The kinetic energy of the body is.

Two-level parameter estimates GSTARX-GLS model

GPC From PeakSimple Data Acquisition

Army Ants Tunneling for Classical Simulations

Mathematical Statistics. Chapter VIII Sampling Distributions and the Central Limit Theorem

Rectification and Depth Computation

So far: simple (planar) geometries

Math 217 Fall 2013 Homework 2 Solutions

Addition of angular momentum

3.4 Properties of the Stress Tensor

Summary: Solving a Homogeneous System of Two Linear First Order Equations in Two Unknowns

EEO 401 Digital Signal Processing Prof. Mark Fowler

Addition of angular momentum

A Note on Estimability in Linear Models

Conservation of Angular Momentum = "Spin"

EECE 301 Signals & Systems Prof. Mark Fowler

Calculation of GDOP Coefficient

1 Matrix representations of canonical matrices

Why switching? Modulation. Switching amp. Losses. Converter topology. i d. Continuous amplifiers have low efficiency. Antag : u i

EE 570: Location and Navigation: Theory & Practice

Phys 774: Nonlinear Spectroscopy: SHG and Raman Scattering

Optimal Ordering Policy in a Two-Level Supply Chain with Budget Constraint

Continuous probability distributions

Introduction to logistic regression

Study of Dynamic Aperture for PETRA III Ring K. Balewski, W. Brefeld, W. Decking, Y. Li DESY

The Finite Element Method. Jerzy Podgórski

4.8 Huffman Codes. Wordle. Encoding Text. Encoding Text. Prefix Codes. Encoding Text

Modeling of the Through-the-Thickness Electric Potentials of a Piezoelectric Bimorph Using the Spectral Element Method

Basic Electrical Engineering for Welding [ ] --- Introduction ---

Combinatorial Networks Week 1, March 11-12

Complex Numbers. Prepared by: Prof. Sunil Department of Mathematics NIT Hamirpur (HP)

Ερωτήσεις και ασκησεις Κεφ. 10 (για μόρια) ΠΑΡΑΔΟΣΗ 29/11/2016. (d)

CHAPTER 7d. DIFFERENTIATION AND INTEGRATION

Rigid body simulation

??? Dynamic Causal Modelling for M/EEG. Electroencephalography (EEG) Dynamic Causal Modelling. M/EEG analysis at sensor level. time.

An Overview of Markov Random Field and Application to Texture Segmentation

Economics 201b Spring 2010 Solutions to Problem Set 3 John Zhu

Invariant deformation parameters from GPS permanent networks using stochastic interpolation

Lecture 3: Phasor notation, Transfer Functions. Context

Transcription:

Lctr 8 Mltpl V Gomtry Prof. Dr. Dad Scaramzza sdad@f.zh.ch

Cors opcs Prncpls of mag formaton Imag fltrng Fatr dtcton Mlt- gomtry 3D Rconstrcton Rcognton

Mltpl V Gomtry San Marco sqar, Vnc 4,79 mags, 4,55,57 ponts

Mltpl V Gomtry 3D rconstrcton from mltpl s: Assmptons: K, and R ar knon. Goal: Rcor th 3D strctr from mags P =? Strctr From Moton: Assmptons: non (K,, and R ar nknon). K, R, K, R, K, R, Goal: Rcor smltanosly 3D scn strctr and camra poss (p to scal) from mltpl mags P =? K, R, =? K, R, =? K, R, =?

R: Prspct Projcton MP p Z Y X R K P c O p X c C Z c Y c [R ] Extrnsc Paramtrs W Z Y X = P K Normalzd mag coordnats Prspct Projcton Eqaton

oday s otln Strctr from Moton

Problm formlaton: Gn n ponts n corrspondnc across to mags, {(, ), (, )}, smltanosly compt th 3D locaton P, th camra rlat-moton paramtrs (R, t), and camra ntrnsc K, that satsfy R, =? P =? C C Strctr from Moton (SFM) Z Y X I K Z Y X R K

Strctr from Moton (SFM) o arants xst: Uncalbratd camra(s) -> K s nknon Calbratd camra(s) -> K s knon P =? C R, =? C

Lt s stdy th cas n hch th camra(s) s «calbratd» For connnc, lt s s normalzd mag coordnats hs, ant to fnd R,, P that satsfy R, =? P =? C C Strctr from Moton (SFM) K Z Y X I Z Y X R

Scal Ambgty Wth a sngl camra, only kno th rlat scal No nformaton abot th mtrc scal

Scal Ambgty Wth a sngl camra, only kno th rlat scal No nformaton abot th mtrc scal If scal th ntr scn by som factor s, th projctons of th scn ponts n th mag rman xactly th sam:

Scal Ambgty In monoclar son, t s mpossbl to rcor th absolt scal of th scn! Stro son? hs, only 5 dgrs of frdom ar masrabl: 3 paramtrs to dscrb th rotaton paramtrs for th translaton p to a scal ( can only compt th drcton of translaton bt not ts lngth)

Strctr from Moton (SfM) Ho many knons and nknons? 4n knons: n corrspondncs; ach on (, ) and (, ), = n 5 + 3n nknons 5 for th moton p to a scal (rotaton-> 3, translaton->) 3n = nmbr of coordnats of th n 3D ponts Dos a solton xst? If and only f nmbr of ndpndnt qatons nmbr of nknons 4n 5 + 3n n 5

Cross Prodct (or Vctor Prodct) Vctor cross prodct taks to ctors and rtrns a thrd ctor that s prpndclar to both npts So hr, c s prpndclar to both a and b, hch mans th dot prodct = Also, rcall that th cross prodct of to paralll ctors = h cross prodct btn a and b can also b xprssd n matrx form as th prodct btn th sk-symmtrc matrx of a and a ctor b c b a c b c a b a b a ] [ z y x x y x z y z b b b a a a a a a

Eppolar Gomtry P p p p ppolar plan p n p = Rp p, p, ar coplanar: p n p ( ') p p ( ( Rp )) p ] R p p E p [ ppolar constrant E [ ] R ssntal matrx

Eppolar Gomtry p p Normalzd mag coordnats p E p Eppolar constrant or Longt-Hggns qaton E [ ] R Essntal matrx h Essntal Matrx can b comptd from 5 mag corrspondncs [Krppa, 93]. h mor ponts, th hghr accracy n prsnc of nos h Essntal Matrx can b dcomposd nto R and rcallng that For dstnct soltons for R and ar possbl. E [ ] R H. Chrstophr Longt-Hggns (Sptmbr 98). "A comptr algorthm for rconstrctng a scn from to projctons". Natr 93 (588): 33 35. PDF.

Ho to compt th Essntal Matrx? h Essntal Matrx can b comptd from 5 mag corrspondncs [Krppa, 93]. Hor, ths solton s not smpl. It took almost on cntry ntl an ffcnt solton as fond! [Nstr, CVPR 4] h frst poplar solton ss 8 ponts and s calld 8-pont algorthm Longt Hggns. A comptr algorthm for rconstrctng a scn from to projctons. Natr (98)

h ght-pont algorthm p,,), (,,) p E p ( p 3 3 3 Mnmz: Q 3 E 33 ndr th constrant E = Q (ths matrx s knon) 3 3 3 3 33 E (ths matrx s nknon) For n = 8 ponts, a nq solton xsts f th ponts ar not coplanar. For n > 8 noncoplanar ponts, a lnar last-sqar solton s gn by th gnctor of Q corrspondng to ts smallst gnal (hch s th nt ctor that mnmzs Q E ). It can b don sng Snglar Val Dcomposton.

8-pont algorthm: Matlab cod fncton F = calbratd_ghtpont( p, p) p = p'; % 3xN ctor; ach colmn = [;;] p = p'; % 3xN ctor; ach colmn = [;;] Q = [p(:,).*p(:,),... p(:,).*p(:,),... p(:,3).*p(:,),... p(:,).*p(:,),... p(:,).*p(:,),... p(:,3).*p(:,),... p(:,).*p(:,3),... p(:,).*p(:,3),... p(:,3).*p(:,3) ] ; [U,S,V] = sd(q); F = V(:,9); F = rshap(v(:,9),3,3)';

h ght-pont algorthm Manng of th lnar last-sqar rror Usng th dfnton of dot prodct, t can b obsrd that N ( p E p ) : p Ep = p Ep cos (θ) It can b obsrd that ths prodct s non zro hn, p, p, and ar not coplanar.

h ght-pont algorthm Nonlnar approach: mnmz sm of sqard ppolar dstancs N d ( p, l) d ( p, l) P =? l E p p p l Ep C C

Problm th ght-pont algorthm 33 3 3 3 3

Problm th ght-pont algorthm Poor nmrcal condtonng Can b fxd by rscalng th data: Normalzd 8-pont algorthm [Hartly, 995] 33 3 3 3 3

Comparson of stmaton algorthms 8-pont Normalzd 8-pont Nonlnar last sqars Rprojcton rror.33 pxls.9 pxl.86 pxl Rprojcton rror.8 pxls.85 pxl.8 pxl

Extract R and from E (ths sld ll not b askd at th xam) Snglar Val Dcomposton Enforcng rank- constrant V U E V U ˆ z y x x y x z y z t t t t t t t t t t ˆ ˆ ˆ ˆ RK K R t K t V U R ˆ

4 possbl soltons of R and Only on solton hr ponts ar n front of both camras hs to s ar rotatd of 8

Strctr from Moton (SFM) o arants xst: Calbratd camra(s) -> K s knon Uss th Essntal Matrx Uncalbratd camra(s) -> K s nknon Uss th Fndamntal Matrx P =? C R, =? C

h Fndamntal Matrx Bfor, assmd to kno th camra ntrnsc paramtrs and sd normalzd mag coordnats E p E p F K E K - - K Fndamntal Matrx K K ] [ K ] [ K E K - - - - R F R E F