Camera Models and Affine Multiple Views Geometry

Size: px
Start display at page:

Download "Camera Models and Affine Multiple Views Geometry"

Transcription

1 Camera Models and Affine Multiple Views Geometry Subhashis Banerjee Dept. Computer Science and Engineering IIT Delhi May 29,

2 1 Camera Models A Camera transforms a 3D scene point = (, Y, Z) T into an image point x = (x, y) T. 1.1 The Projective Camera The most general mapping from P 3 to P 2 is x 1 x 2 x 3 = T 11 T 12 T 13 T 14 T 21 T 22 T 23 T 24 T 31 T 32 T 33 T 34 where (x 1, x 2, x 3 ) T and ( 1, 2, 3, 4 ) T are homogeneous coordinates related to x and by (x, y) = (x 1 /x 3, x 1 /x 3 ) (, Y, Z) = ( 1 / 4, 2 / 4, 3 / 4 ) The transformation matrix T = T ij has 11 degrees of freedom since only the ratios of elements T ij are important. (see Zisserman and Mundy). 1.2 The Perspective Camera A special case of the projective camera is the perspective (or central) projection, reducing to the familiar pin-hole camera when the leftmost 3 3 sub-matrix of T is a rotation matrix with its third row scaled by the inverse focal length 1/f. The simplest form is: T p = which gives the familiar equations x y /f 0 = f Z Each point is scaled by its individual depth, and all projection rays converge to the optic center. Y

3 1.3 The Affine Camera The affine camera is a special case of the projective camera and is obtained by constraining the matrix T such that T 31 = T 32 = T 33 = 0, thereby reducing the degrees of freedom from 11 to 8: x 1 x 2 x 3 = T 11 T 12 T 13 T 14 T 21 T 22 T 23 T T In terms of image and scene coordinates, the mapping takes the form x = M + t where M is a general 2 3 matrix with elements M ij = T ij /T 34 while t is a general 2-vector representing the image center. The affine camera preserves parallelism. 1.4 The Weak-Perspective Camera The affine camera becomes a weak-perspective camera when the rows of M form a uniformly scaled rotation matrix. The simplest form is yielding, M wp = f Z ave T wp = Z ave /f and x y = f Z ave Y This is simply the perspective equation with individual point depths Z i replaced by an average constant depth Z ave The weak-perspective model is valid when the average variation of the depth of the object ( Z) along the line of sight is small compared to the Z ave and the field of view is small. We see this as follows. Expanding the perspective projection equation using a Taylor series, we obtain x = f Z ave + Z Y = f ( 1 Z ( ) Z 2 ) +... Z ave Z ave Z ave Y

4 When Z << Z ave only the zero-order term remains giving the weak-perspective projection. The error in image position is then x err = x p x wp : x err = f ( ) Z Z ave Z ave + Z Y showing that a small focal length (f), small field of view (/Z ave and (Y/Z ave ) and small depth variation ( Z) contribute to the validity of the model. 1.5 The orthographic camera The affine camera reduces to the case of orthographic (parallel) projection when M represents the first two rows of a rotation matrix. The simplest form is T orth = yielding, M orth = and x y = Y 2 Affine Multiple Views Geometry Epipolar Geometry Structure determination Affine structure Euclidean structure 2.1 Affine Epipolar Geometry When the perspective effects are small, the problem of locating perspective epipolar lines becomes ill-conditioned. In such cases it is convenient to assume the parallel projection model of the affine camera which explicitly models the ambiguities. The affine epipolar constraint can be described in terms of the affine fundamental matrix F as p T Qp = 0, i.e., x i y i a 0 0 b c d e x i y i 1 = 0

5 Z Scene point Z ave Average depth plane f Image plane Optic Center p wp orth Figure 1: 1D image formation with image plane at Z = f. p, wp and orth are the perspective, weak-perspective and orthographic projections respectively. where p = (x, y, 1) T and p = (x, y, 1) are homogeneous 3-vectors representing corresponding image points in two views. (See Shapiro, Zisserman and Brady). To derive the above, we write M as (B b) where B is a general (non-singular) 2 2 matrix and b is a 2 vector. The projection equation then gives x i = B i Y i + Z i b + t Similarly, for M A, we have x i = B i Y i + Z i b + M D + t Eliminating scene coordinates ( i, Y i ) gives x i = Γx i + Z i d + ɛ where Γ = B B 1, d = b B B 1 b and ɛ = t Γt + M D.

6 x1 x2 x3 u 1 u 3 u 2 x1 O x2 x3 xe x e u 3 u 1 u 2 O (a) (b) Figure 2: Affine and Perspective Epipolar Geometries Γ and d are functions only of camera parameters {M, M } and the motion transformation A, while ɛ explains the motion of the reference point (centroid) and depend on the translation of the object D and the camera origins t and t. This equation shows that x i associated with x i lies on a line (epipolar) on the second image with offset Γx i + ɛ and direction d. The unknown depth Z i determines how far along this line does x i lie. Inverting the equation we obtain x i = Γ 1 x i Z i Γ 1 d Γ 1 ɛ The translation invariant versions of these equations are x i = Γ x i + Z i d x i = Γ 1 x i Z i Γ 1 d We can eliminate Z i from the above equations and obtain a single equation in terms of image measurables: (x i Γx i ɛ).d = 0 where, d = (d x, d y ) and its perpendicular d = (d y, d x ). This equation can be written as ax i + by i + cx i + dy i + e = 0 where (a, b) T = d, (c, d) T = Γ T d and e = ɛ T d. This gives us x i y i a 0 0 b c d e x i y i 1 = 0

7 2.1.1 Computation of Affine epipolar Geometry Given correspondences in two views the affine fundamental matrix can be computed using orthogonal regression by minimizing n 1 1 n 2 (r i n + e) 2 i=0 Here r i = (x i, y i, x i, y i ) T and n = (a, b, c, d) T. The minimization finds a hyper-plane that globally minimizes the sum of the squared perpendicular distances between r i and the hyper-plane. Defining v i = r i r and W = n 1 i=0 v i v i T it can be shown that the solution satisfies the eigenvector equation Wn = λ i n, n 2 = Affine Structure Consider a set of n 3D world points i (i = 0,..., n 1) in affine (non-rigid) motion described by i = A i + D where i is the new 3D position of the i th point, A is an arbitrary 3 x 3 matrix and D is a 3-vector representing translation. Removing the effects of translation by registering the points with respect to a reference point 0 to obtain = 0 and = 0 = A Affine projections If the affine camera models for the two views are given by the parameters {M, t} and {M, t } respectively, then x = M and x = M = M A

8 Basis and Affine structure Now, consider four non-coplanar scene points 0,..., 3 with 0 as the origin. We define three axis vectors E j = j 0 for j = 1,..., 3. {E 1, E 2, E 3 } form a basis for the 3D affine space and any of the n vectors can be represented in this basis as i 0 = α i E 1 + β i E 2 + γ i E 3 for i = 1,..., n where (α i, β i, γ i ) are the 3D affine coordinates of i. We call the 3D affine coordinates the affine structure of the point i. It can be shown that the affine structure remains invariant to affine motion with respect to the transformed basis, that is, i = α i E 1 + β i E 2 + γ i E 3 i = α i E 1 + β i E 2 + γ i E (1) 3 where E j = AE j. Computation of Affine structure From the above we obtain x i = x i x 0 = α i e 1 + β i e 2 + γ i e 3 x i = x i x 0 = α i e 1 + β i e 2 + γ i e 3 (2) where, e i = ME i and e i = M E i. Thus, to compute the affine structure, we require two images with at least four points in correspondence, i.e., {x 0, x 1, x 2, x 3 } and {x 0, x 1, x 2, x 3} These correspondences establish the bases {e 1, e 2, e 3 } and {e 1, e 2, e 3} provided no two axes, in either images, are collinear. Each additional point gives four equations in 3 unknowns xi x i = e1 e 2 e 3 e 1 e 2 e 3 α i β i γ i and the affine structure can be computed. The redundancy in the system enables us to verify whether the affine projection model is valid.

9 2.2.1 Tomasi and Kanade factorization In case n point correspondences (n 4) over k views (k 2) are available, we use the factorization procedure of Tomasi and Kanade to obtain the bases and structure. Their formulation can be written as an extension of the above equation as x 1 x 2... x n 1 x 1 x 2... x n 1 x 1 x 2... x n 1. = e 1 e 2 e 3 e 1 e 2 e 3 e 1 e 2 e 3. α 1 α 2... α n 1 β 1 β 2... β n 1 γ 1 γ 2... γ n 1 where the left measurement matrix W represents the n point correspondences in k views and has dimensions 2k x (n 1). The matrices on the right, M (2k x 3) and S (3 x (n 1)), are called motion and structure matrices respectively. The matrix S gives the invariant affine structure of the n points in motion, and the i t h row of M, M(i), along with the corresponding image center x 0 (i), gives the projection parameters for the i t h view { M(i), x 0 (i)}. Clearly, in the absence of noise, W must have a rank at-most 3. Tomasi and Kanade perform a singular value decomposition of W and use the 3 largest eigenvalues to construct M and S. If the SVD returns a rank greater than 3, then the affine projection model is invalid and we use this as a check. The rank 2 case signifies either a planar object (which is not possible for facial images!) or degenerate motion. In such a case, the 3D affine structure cannot be determined and the views are related by 2D affine transformations. The 2D affine structure can then be recovered in only two axes using the same formalism Image transfer and linear combination of views Once the affine structure has been computed, it can be used to generate a new view of the object ( transfer ) by simply selecting a new spanning set {e 1, e 2, e 3}. No camera calibration is needed. Note that this is same as choosing a new projection matrix M. x i = x 0 + α i e 1 + β i e 2 + γ i e k If the affine structure is not of interest (graphics), it is possible to bypass the affine coordinates and express the new image coordinates x directly in terms of the first two sets of image coordinates x and x. One can write the projection equations in the first two views as x = G x = G

10 where G and G are 2 3 matrices with rows {G 1, G 2 } and {G 1, G 2} respectively. The new view can be similarly written as x = G where G has rows {G 1, G 2}. Now, any three rows of {G 1, G 2, G 1, G 2} define a linearly independent spanning set for A 3, say {G 1, G 2, G 1}. So, there exists scalars such that G = a1 a 2 b 1 b 2 G + a3 0 b 3 0 G Then, x = G gives x = a1 a 2 b 1 b 2 x + a3 0 b 3 0 x = a1 a 2 a 3 b 1 b 2 b 3 x y x Thus, if images of an object are obtained using affine cameras, then a novel view can be expressed as a linear combination of views (this is useful for object recognition) Change of basis Given the current spanning set {e 1, e 2, e 3 } and {e 1, e 2, e 3} in the two images, we have that α xi e1 e x = 2 e i 3 i e 1 e 2 e β i 3 γ i Suppose that we now wish to express the same set of points using alternative spanning sets {h 1, h 2, h 3 } and {h 1, h 2, h 3}, the new affine coordinates must obey xi x i Koenderink and Van Doorn = h1 h 2 h 3 h 1 h 2 h 3 ˆα i ˆβ i ˆγ i Instead of choosing E 3 = 3 0, KVD choose E k = k (i.e. the direction of viewing in the first frame). Since e k = ME k = 0, the projection of E k in the first image is degenerate reducing it to a single point. Thus, only two basis vectors are chosen in the first image x i = α i e 1 + β i e 2

11 P Q ~ P ~ Q reference plane p q ~ p p q V 1 V 2 ~ q Figure 3: Affine Structure from Motion In the second image, the third axis vector is no longer degenerate, given by e k = ME k = MAE k. e k is actually an epipolar line. If we use e 1 and e 2 to predict the position where each point would appear in image 2, as if they lay on plane {E 1, E 2 }, we get ˆx i = x 0 + α i e 1 + β i e 2 the disparity between the predicted position and the observed position is solely due to the γ i component 2.3 Rigid reconstruction Assumptions Rigid transformation (isometry) x i = x 0 + α i e 1 + β i e 2 + γ i e k x i ˆx i = γ i e k

12 Affine projection Metric constructions Procedure Image Plane Fronto-parallel plane Figure 4: Euclidean reconstruction 1. Translation in fronto-parallel plane merely produces a shift in projections. This can be factored out by putting two projections of O in to coincidence. 2. Rotation can be decomposed into i) a rotation in the image plane (cyclorotation) and rotation about an axis in the fronto-parallel plane. Projection of the third affine frame vector is the projection of a plane perpendicular to the axis of rotation in the fronto-parallel plane. One can reconstruct the projection in the first view (only affine construction) and factor out the relative rotation in the two images. This yields the cyclo-rotation. 3. Since the axis of rotation is known in both views, one can find the overall scale difference due to translation in depth. Points on the axis of rotation do not

13 rotate. Consider the projection of all image points on to this axis. If they differ in the two views, they must differ by only a constant scale factor. Otherwise, the rigidity assumption is falsified. 4. Now the two views differ only by a rotation about an axis in the fronto-parallel plane. Define a Euclidean frame (e 1, e 2, e 3 ), such that e 1,2,3 are unit vectors with e 1 along the axis of rotation and e 3 along the line of sight. Let G 1 e 1 + G 2 e 2 denote the depth gradient of a plane in the object. That is, the depth of a point αe 1 + βe 2 in the image with respect to the fronto-parallel plane is αg 1 + βg 2. Note that G 1 = tan σ cos τ G 2 = tan σ sin τ where σ is the slant and τ is the tilt of the plane. Consider any triangle OY in the plane. Let the coordinates of and Y be ( 1, 2 ) and (Y 1, Y 2 ) respectively. Then the third coordinates must be 3 = G G 2 2 Y 3 = G 1 Y 1 + G 2 Y 2 For a given turn ρ the rotation can be represented by cos ρ sin ρ 0 sin ρ cos ρ Of the three transformed coordinates, the first one is trivially unchanged and the third one is not observable. The second coordinate is observable, and the equations are: 2 1 = 2 0 cos ρ sin ρ(1g G 0 2 ) Y2 1 = Y2 0 cos ρ sin ρ(y1 0 G 1 + Y2 0 G 2 ) here the upper indices label the views and the lower indices label the components. Because the turn ρ is unknown, we eliminate it from these equations to obtain a single equation in (G 1, G 2 ). This equation represents a one-parameter solution for the two view case. The parameter is the unknown turn ρ. The equation is quadratic in (G 1, G 2 ) with the linear term absent; and represents a hyperbola in the (G 1, G 2 ) space (please derive it).

14 5. Repeating the steps above between the second and a third view, we obtain a pair of two view solutions. Each two view solution represents a one-parameter family of solutions. The one-parameter families for the 0-1 transition and the 1-2 transition are represented by the hyperbolic loci in the gradient space. The pair of hyperbola has either two or four intersections. The case of no intersection occurs only in the non-rigid case. If the motion is rigid, then there has to be one solution and hence a pair of them. The intersections represent either one or two pairs of solutions that are related through a reflection in the fronto-parallel plane.

Multi-Frame Factorization Techniques

Multi-Frame Factorization Techniques Multi-Frame Factorization Techniques Suppose { x j,n } J,N j=1,n=1 is a set of corresponding image coordinates, where the index n = 1,...,N refers to the n th scene point and j = 1,..., J refers to the

More information

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

6.801/866. Affine Structure from Motion. T. Darrell 6.801/866 Affine Structure from Motion T. Darrell [Read F&P Ch. 12.0, 12.2, 12.3, 12.4] Affine geometry is, roughly speaking, what is left after all ability to measure lengths, areas, angles, etc. has

More information

Multiple View Geometry in Computer Vision

Multiple View Geometry in Computer Vision Multiple View Geometry in Computer Vision Prasanna Sahoo Department of Mathematics University of Louisville 1 Scene Planes & Homographies Lecture 19 March 24, 2005 2 In our last lecture, we examined various

More information

Trinocular Geometry Revisited

Trinocular Geometry Revisited Trinocular Geometry Revisited Jean Pounce and Martin Hebert 报告人 : 王浩人 2014-06-24 Contents 1. Introduction 2. Converging Triplets of Lines 3. Converging Triplets of Visual Rays 4. Discussion 1. Introduction

More information

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

Linear Algebra & Geometry why is linear algebra useful in computer vision? Linear Algebra & Geometry why is linear algebra useful in computer vision? References: -Any book on linear algebra! -[HZ] chapters 2, 4 Some of the slides in this lecture are courtesy to Prof. Octavia

More information

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

Linear Algebra & Geometry why is linear algebra useful in computer vision? Linear Algebra & Geometry why is linear algebra useful in computer vision? References: -Any book on linear algebra! -[HZ] chapters 2, 4 Some of the slides in this lecture are courtesy to Prof. Octavia

More information

A Practical Method for Decomposition of the Essential Matrix

A Practical Method for Decomposition of the Essential Matrix Applied Mathematical Sciences, Vol. 8, 2014, no. 176, 8755-8770 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2014.410877 A Practical Method for Decomposition of the Essential Matrix Georgi

More information

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

Two-View Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix Two-View Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix René Vidal Stefano Soatto Shankar Sastry Department of EECS, UC Berkeley Department of Computer Sciences, UCLA 30 Cory Hall,

More information

Lines and points. Lines and points

Lines and points. Lines and points omogeneous coordinates in the plane Homogeneous coordinates in the plane A line in the plane a + by + c is represented as (a, b, c). A line is a subset of points in the plane. All vectors (ka, kb, kc)

More information

Linear Combination. v = a 1 v 1 + a 2 v a k v k

Linear Combination. v = a 1 v 1 + a 2 v a k v k Linear Combination Definition 1 Given a set of vectors {v 1, v 2,..., v k } in a vector space V, any vector of the form v = a 1 v 1 + a 2 v 2 +... + a k v k for some scalars a 1, a 2,..., a k, is called

More information

EE Camera & Image Formation

EE Camera & Image Formation Electric Electronic Engineering Bogazici University February 21, 2018 Introduction Introduction Camera models Goal: To understand the image acquisition process. Function of the camera Similar to that of

More information

Outline. Linear Algebra for Computer Vision

Outline. Linear Algebra for Computer Vision Outline Linear Algebra for Computer Vision Introduction CMSC 88 D Notation and Basics Motivation Linear systems of equations Gauss Elimination, LU decomposition Linear Spaces and Operators Addition, scalar

More information

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

Vision 3D articielle Session 2: Essential and fundamental matrices, their computation, RANSAC algorithm Vision 3D articielle Session 2: Essential and fundamental matrices, their computation, RANSAC algorithm Pascal Monasse monasse@imagine.enpc.fr IMAGINE, École des Ponts ParisTech Contents Some useful rules

More information

CSE 252B: Computer Vision II

CSE 252B: Computer Vision II CSE 252B: Computer Vision II Lecturer: Serge Belongie Scribe: Tasha Vanesian LECTURE 3 Calibrated 3D Reconstruction 3.1. Geometric View of Epipolar Constraint We are trying to solve the following problem:

More information

Algorithms for Computing a Planar Homography from Conics in Correspondence

Algorithms for Computing a Planar Homography from Conics in Correspondence Algorithms for Computing a Planar Homography from Conics in Correspondence Juho Kannala, Mikko Salo and Janne Heikkilä Machine Vision Group University of Oulu, Finland {jkannala, msa, jth@ee.oulu.fi} Abstract

More information

Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix

Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix ECCV Workshop on Vision and Modeling of Dynamic Scenes, Copenhagen, Denmark, May 2002 Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix René Vidal Dept of EECS, UC Berkeley Berkeley,

More information

8. Diagonalization.

8. Diagonalization. 8. Diagonalization 8.1. Matrix Representations of Linear Transformations Matrix of A Linear Operator with Respect to A Basis We know that every linear transformation T: R n R m has an associated standard

More information

Optimisation on Manifolds

Optimisation on Manifolds Optimisation on Manifolds K. Hüper MPI Tübingen & Univ. Würzburg K. Hüper (MPI Tübingen & Univ. Würzburg) Applications in Computer Vision Grenoble 18/9/08 1 / 29 Contents 2 Examples Essential matrix estimation

More information

Properties of Matrices and Operations on Matrices

Properties of Matrices and Operations on Matrices Properties of Matrices and Operations on Matrices A common data structure for statistical analysis is a rectangular array or matris. Rows represent individual observational units, or just observations,

More information

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

Mobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti Mobile Robotics 1 A Compact Course on Linear Algebra Giorgio Grisetti SA-1 Vectors Arrays of numbers They represent a point in a n dimensional space 2 Vectors: Scalar Product Scalar-Vector Product Changes

More information

A Study of Kruppa s Equation for Camera Self-calibration

A Study of Kruppa s Equation for Camera Self-calibration Proceedings of the International Conference of Machine Vision and Machine Learning Prague, Czech Republic, August 14-15, 2014 Paper No. 57 A Study of Kruppa s Equation for Camera Self-calibration Luh Prapitasari,

More information

A note on the diagonalizability and the Jordan form of the 4 4 homogeneous transformation matrix

A note on the diagonalizability and the Jordan form of the 4 4 homogeneous transformation matrix A note on the diagonalizability and the Jordan form of the 4 4 homogeneous transformation matrix Sangamesh Deepak R, Ashitava Ghosal Abstract The 4 4 homogeneous transformation matrix is extensively used

More information

Background Mathematics (2/2) 1. David Barber

Background Mathematics (2/2) 1. David Barber Background Mathematics (2/2) 1 David Barber University College London Modified by Samson Cheung (sccheung@ieee.org) 1 These slides accompany the book Bayesian Reasoning and Machine Learning. The book and

More information

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

A Factorization Method for 3D Multi-body Motion Estimation and Segmentation 1 A Factorization Method for 3D Multi-body Motion Estimation and Segmentation René Vidal Department of EECS University of California Berkeley CA 94710 rvidal@eecs.berkeley.edu Stefano Soatto Dept. of Computer

More information

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

Linear Systems. Carlo Tomasi. June 12, r = rank(a) b range(a) n r solutions Linear Systems Carlo Tomasi June, 08 Section characterizes the existence and multiplicity of the solutions of a linear system in terms of the four fundamental spaces associated with the system s matrix

More information

CS 143 Linear Algebra Review

CS 143 Linear Algebra Review CS 143 Linear Algebra Review Stefan Roth September 29, 2003 Introductory Remarks This review does not aim at mathematical rigor very much, but instead at ease of understanding and conciseness. Please see

More information

1. Projective geometry

1. Projective geometry 1. Projective geometry Homogeneous representation of points and lines in D space D projective space Points at infinity and the line at infinity Conics and dual conics Projective transformation Hierarchy

More information

A geometric interpretation of the homogeneous coordinates is given in the following Figure.

A geometric interpretation of the homogeneous coordinates is given in the following Figure. Introduction Homogeneous coordinates are an augmented representation of points and lines in R n spaces, embedding them in R n+1, hence using n + 1 parameters. This representation is useful in dealing with

More information

Introduction to Geometry

Introduction to Geometry Introduction to Geometry it is a draft of lecture notes of H.M. Khudaverdian. Manchester, 18 May 211 Contents 1 Euclidean space 3 1.1 Vector space............................ 3 1.2 Basic example of n-dimensional

More information

Linear Algebra. Min Yan

Linear Algebra. Min Yan Linear Algebra Min Yan January 2, 2018 2 Contents 1 Vector Space 7 1.1 Definition................................. 7 1.1.1 Axioms of Vector Space..................... 7 1.1.2 Consequence of Axiom......................

More information

Linear Algebra Review Part I: Geometry

Linear Algebra Review Part I: Geometry Linear Algebra Review Part I: Geometry Edwin Olson University of Michigan The Three-Day Plan Geometry of Linear Algebra Vectors, matrices, basic operations, lines, planes, homogeneous coordinates, transformations

More information

Basic Math for

Basic Math for Basic Math for 16-720 August 23, 2002 1 Linear Algebra 1.1 Vectors and Matrices First, a reminder of a few basic notations, definitions, and terminology: Unless indicated otherwise, vectors are always

More information

Degeneracies, Dependencies and their Implications in Multi-body and Multi-Sequence Factorizations

Degeneracies, Dependencies and their Implications in Multi-body and Multi-Sequence Factorizations Degeneracies, Dependencies and their Implications in Multi-body and Multi-Sequence Factorizations Lihi Zelnik-Manor Michal Irani Dept. of Computer Science and Applied Math The Weizmann Institute of Science

More information

Cambridge University Press The Mathematics of Signal Processing Steven B. Damelin and Willard Miller Excerpt More information

Cambridge University Press The Mathematics of Signal Processing Steven B. Damelin and Willard Miller Excerpt More information Introduction Consider a linear system y = Φx where Φ can be taken as an m n matrix acting on Euclidean space or more generally, a linear operator on a Hilbert space. We call the vector x a signal or input,

More information

Linear Algebra 1 Exam 2 Solutions 7/14/3

Linear Algebra 1 Exam 2 Solutions 7/14/3 Linear Algebra 1 Exam Solutions 7/14/3 Question 1 The line L has the symmetric equation: x 1 = y + 3 The line M has the parametric equation: = z 4. [x, y, z] = [ 4, 10, 5] + s[10, 7, ]. The line N is perpendicular

More information

Linear Systems. Carlo Tomasi

Linear Systems. Carlo Tomasi Linear Systems Carlo Tomasi Section 1 characterizes the existence and multiplicity of the solutions of a linear system in terms of the four fundamental spaces associated with the system s matrix and of

More information

Least Squares Optimization

Least Squares Optimization Least Squares Optimization The following is a brief review of least squares optimization and constrained optimization techniques. Broadly, these techniques can be used in data analysis and visualization

More information

Induced Planar Homologies in Epipolar Geometry

Induced Planar Homologies in Epipolar Geometry Global Journal of Pure and Applied Mathematics. ISSN 0973-1768 Volume 12, Number 4 (2016), pp. 3759 3773 Research India Publications http://www.ripublication.com/gjpam.htm Induced Planar Homologies in

More information

Least Squares Optimization

Least Squares Optimization Least Squares Optimization The following is a brief review of least squares optimization and constrained optimization techniques. I assume the reader is familiar with basic linear algebra, including the

More information

Lecture 1: Systems of linear equations and their solutions

Lecture 1: Systems of linear equations and their solutions Lecture 1: Systems of linear equations and their solutions Course overview Topics to be covered this semester: Systems of linear equations and Gaussian elimination: Solving linear equations and applications

More information

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #1. July 11, 2013 Solutions

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #1. July 11, 2013 Solutions YORK UNIVERSITY Faculty of Science Department of Mathematics and Statistics MATH 222 3. M Test # July, 23 Solutions. For each statement indicate whether it is always TRUE or sometimes FALSE. Note: For

More information

Kinematics. Chapter Multi-Body Systems

Kinematics. Chapter Multi-Body Systems Chapter 2 Kinematics This chapter first introduces multi-body systems in conceptual terms. It then describes the concept of a Euclidean frame in the material world, following the concept of a Euclidean

More information

Lecture 8: Coordinate Frames. CITS3003 Graphics & Animation

Lecture 8: Coordinate Frames. CITS3003 Graphics & Animation Lecture 8: Coordinate Frames CITS3003 Graphics & Animation E. Angel and D. Shreiner: Interactive Computer Graphics 6E Addison-Wesley 2012 Objectives Learn how to define and change coordinate frames Introduce

More information

Lecture 7. Econ August 18

Lecture 7. Econ August 18 Lecture 7 Econ 2001 2015 August 18 Lecture 7 Outline First, the theorem of the maximum, an amazing result about continuity in optimization problems. Then, we start linear algebra, mostly looking at familiar

More information

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3 ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3 ISSUED 24 FEBRUARY 2018 1 Gaussian elimination Let A be an (m n)-matrix Consider the following row operations on A (1) Swap the positions any

More information

Linear Algebra: Matrix Eigenvalue Problems

Linear Algebra: Matrix Eigenvalue Problems CHAPTER8 Linear Algebra: Matrix Eigenvalue Problems Chapter 8 p1 A matrix eigenvalue problem considers the vector equation (1) Ax = λx. 8.0 Linear Algebra: Matrix Eigenvalue Problems Here A is a given

More information

Statistical Geometry Processing Winter Semester 2011/2012

Statistical Geometry Processing Winter Semester 2011/2012 Statistical Geometry Processing Winter Semester 2011/2012 Linear Algebra, Function Spaces & Inverse Problems Vector and Function Spaces 3 Vectors vectors are arrows in space classically: 2 or 3 dim. Euclidian

More information

LINEAR ALGEBRA KNOWLEDGE SURVEY

LINEAR ALGEBRA KNOWLEDGE SURVEY LINEAR ALGEBRA KNOWLEDGE SURVEY Instructions: This is a Knowledge Survey. For this assignment, I am only interested in your level of confidence about your ability to do the tasks on the following pages.

More information

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det What is the determinant of the following matrix? 3 4 3 4 3 4 4 3 A 0 B 8 C 55 D 0 E 60 If det a a a 3 b b b 3 c c c 3 = 4, then det a a 4a 3 a b b 4b 3 b c c c 3 c = A 8 B 6 C 4 D E 3 Let A be an n n matrix

More information

ELEMENTARY LINEAR ALGEBRA

ELEMENTARY LINEAR ALGEBRA ELEMENTARY LINEAR ALGEBRA K. R. MATTHEWS DEPARTMENT OF MATHEMATICS UNIVERSITY OF QUEENSLAND Second Online Version, December 1998 Comments to the author at krm@maths.uq.edu.au Contents 1 LINEAR EQUATIONS

More information

Linear Algebra Primer

Linear Algebra Primer Linear Algebra Primer David Doria daviddoria@gmail.com Wednesday 3 rd December, 2008 Contents Why is it called Linear Algebra? 4 2 What is a Matrix? 4 2. Input and Output.....................................

More information

We wish the reader success in future encounters with the concepts of linear algebra.

We wish the reader success in future encounters with the concepts of linear algebra. Afterword Our path through linear algebra has emphasized spaces of vectors in dimension 2, 3, and 4 as a means of introducing concepts which go forward to IRn for arbitrary n. But linear algebra does not

More information

(x, y) = d(x, y) = x y.

(x, y) = d(x, y) = x y. 1 Euclidean geometry 1.1 Euclidean space Our story begins with a geometry which will be familiar to all readers, namely the geometry of Euclidean space. In this first chapter we study the Euclidean distance

More information

Homogeneous Coordinates

Homogeneous Coordinates Homogeneous Coordinates Basilio Bona DAUIN-Politecnico di Torino October 2013 Basilio Bona (DAUIN-Politecnico di Torino) Homogeneous Coordinates October 2013 1 / 32 Introduction Homogeneous coordinates

More information

Exercises for Unit I I (Vector algebra and Euclidean geometry)

Exercises for Unit I I (Vector algebra and Euclidean geometry) Exercises for Unit I I (Vector algebra and Euclidean geometry) I I.1 : Approaches to Euclidean geometry Ryan : pp. 5 15 1. What is the minimum number of planes containing three concurrent noncoplanar lines

More information

4.2. ORTHOGONALITY 161

4.2. ORTHOGONALITY 161 4.2. ORTHOGONALITY 161 Definition 4.2.9 An affine space (E, E ) is a Euclidean affine space iff its underlying vector space E is a Euclidean vector space. Given any two points a, b E, we define the distance

More information

Affine Structure From Motion

Affine Structure From Motion EECS43-Advanced Computer Vision Notes Series 9 Affine Structure From Motion Ying Wu Electrical Engineering & Computer Science Northwestern University Evanston, IL 68 yingwu@ece.northwestern.edu Contents

More information

CSE4030 Introduction to Computer Graphics

CSE4030 Introduction to Computer Graphics CSE4030 Introduction to Computer Graphics Dongguk University Jeong-Mo Hong Week 5 Living in a 3 dimensional world II Geometric coordinate in 3D How to move your cubes in 3D Objectives Introduce concepts

More information

Homework 2. Solutions T =

Homework 2. Solutions T = Homework. s Let {e x, e y, e z } be an orthonormal basis in E. Consider the following ordered triples: a) {e x, e x + e y, 5e z }, b) {e y, e x, 5e z }, c) {e y, e x, e z }, d) {e y, e x, 5e z }, e) {

More information

COMP 558 lecture 18 Nov. 15, 2010

COMP 558 lecture 18 Nov. 15, 2010 Least squares We have seen several least squares problems thus far, and we will see more in the upcoming lectures. For this reason it is good to have a more general picture of these problems and how to

More information

7. Symmetric Matrices and Quadratic Forms

7. Symmetric Matrices and Quadratic Forms Linear Algebra 7. Symmetric Matrices and Quadratic Forms CSIE NCU 1 7. Symmetric Matrices and Quadratic Forms 7.1 Diagonalization of symmetric matrices 2 7.2 Quadratic forms.. 9 7.4 The singular value

More information

1 Overview. CS348a: Computer Graphics Handout #8 Geometric Modeling Original Handout #8 Stanford University Thursday, 15 October 1992

1 Overview. CS348a: Computer Graphics Handout #8 Geometric Modeling Original Handout #8 Stanford University Thursday, 15 October 1992 CS348a: Computer Graphics Handout #8 Geometric Modeling Original Handout #8 Stanford University Thursday, 15 October 1992 Original Lecture #1: 1 October 1992 Topics: Affine vs. Projective Geometries Scribe:

More information

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

linearly indepedent eigenvectors as the multiplicity of the root, but in general there may be no more than one. For further discussion, assume matrice 3. Eigenvalues and Eigenvectors, Spectral Representation 3.. Eigenvalues and Eigenvectors A vector ' is eigenvector of a matrix K, if K' is parallel to ' and ' 6, i.e., K' k' k is the eigenvalue. If is

More information

Maths for Signals and Systems Linear Algebra in Engineering

Maths for Signals and Systems Linear Algebra in Engineering Maths for Signals and Systems Linear Algebra in Engineering Lectures 13 15, Tuesday 8 th and Friday 11 th November 016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE

More information

The groups SO(3) and SU(2) and their representations

The groups SO(3) and SU(2) and their representations CHAPTER VI The groups SO(3) and SU() and their representations Two continuous groups of transformations that play an important role in physics are the special orthogonal group of order 3, SO(3), and the

More information

MAT 242 CHAPTER 4: SUBSPACES OF R n

MAT 242 CHAPTER 4: SUBSPACES OF R n MAT 242 CHAPTER 4: SUBSPACES OF R n JOHN QUIGG 1. Subspaces Recall that R n is the set of n 1 matrices, also called vectors, and satisfies the following properties: x + y = y + x x + (y + z) = (x + y)

More information

Linear Algebra- Final Exam Review

Linear Algebra- Final Exam Review Linear Algebra- Final Exam Review. Let A be invertible. Show that, if v, v, v 3 are linearly independent vectors, so are Av, Av, Av 3. NOTE: It should be clear from your answer that you know the definition.

More information

Mathematical Fundamentals

Mathematical Fundamentals Mathematical Fundamentals Ming-Hwa Wang, Ph.D. COEN 148/290 Computer Graphics COEN 166/366 Artificial Intelligence COEN 396 Interactive Multimedia and Game Programming Department of Computer Engineering

More information

M3: Multiple View Geometry

M3: Multiple View Geometry 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

More information

CS6964: Notes On Linear Systems

CS6964: Notes On Linear Systems CS6964: Notes On Linear Systems 1 Linear Systems Systems of equations that are linear in the unknowns are said to be linear systems For instance ax 1 + bx 2 dx 1 + ex 2 = c = f gives 2 equations and 2

More information

Singular Value Decomposition. 1 Singular Value Decomposition and the Four Fundamental Subspaces

Singular Value Decomposition. 1 Singular Value Decomposition and the Four Fundamental Subspaces Singular Value Decomposition This handout is a review of some basic concepts in linear algebra For a detailed introduction, consult a linear algebra text Linear lgebra and its pplications by Gilbert Strang

More information

Linear Algebra Review

Linear Algebra Review January 29, 2013 Table of contents Metrics Metric Given a space X, then d : X X R + 0 and z in X if: d(x, y) = 0 is equivalent to x = y d(x, y) = d(y, x) d(x, y) d(x, z) + d(z, y) is a metric is for all

More information

Chapter 3. Vector spaces

Chapter 3. Vector spaces Chapter 3. Vector spaces Lecture notes for MA1111 P. Karageorgis pete@maths.tcd.ie 1/22 Linear combinations Suppose that v 1,v 2,...,v n and v are vectors in R m. Definition 3.1 Linear combination We say

More information

October 25, 2013 INNER PRODUCT SPACES

October 25, 2013 INNER PRODUCT SPACES October 25, 2013 INNER PRODUCT SPACES RODICA D. COSTIN Contents 1. Inner product 2 1.1. Inner product 2 1.2. Inner product spaces 4 2. Orthogonal bases 5 2.1. Existence of an orthogonal basis 7 2.2. Orthogonal

More information

B553 Lecture 5: Matrix Algebra Review

B553 Lecture 5: Matrix Algebra Review B553 Lecture 5: Matrix Algebra Review Kris Hauser January 19, 2012 We have seen in prior lectures how vectors represent points in R n and gradients of functions. Matrices represent linear transformations

More information

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true? . Let m and n be two natural numbers such that m > n. Which of the following is/are true? (i) A linear system of m equations in n variables is always consistent. (ii) A linear system of n equations in

More information

1. Addition: To every pair of vectors x, y X corresponds an element x + y X such that the commutative and associative properties hold

1. Addition: To every pair of vectors x, y X corresponds an element x + y X such that the commutative and associative properties hold Appendix B Y Mathematical Refresher This appendix presents mathematical concepts we use in developing our main arguments in the text of this book. This appendix can be read in the order in which it appears,

More information

Stat 159/259: Linear Algebra Notes

Stat 159/259: Linear Algebra Notes Stat 159/259: Linear Algebra Notes Jarrod Millman November 16, 2015 Abstract These notes assume you ve taken a semester of undergraduate linear algebra. In particular, I assume you are familiar with the

More information

CSE 554 Lecture 7: Alignment

CSE 554 Lecture 7: Alignment CSE 554 Lecture 7: Alignment Fall 2012 CSE554 Alignment Slide 1 Review Fairing (smoothing) Relocating vertices to achieve a smoother appearance Method: centroid averaging Simplification Reducing vertex

More information

Recovery of anisotropic metrics from travel times

Recovery of anisotropic metrics from travel times Purdue University The Lens Rigidity and the Boundary Rigidity Problems Let M be a bounded domain with boundary. Let g be a Riemannian metric on M. Define the scattering relation σ and the length (travel

More information

5 Linear Algebra and Inverse Problem

5 Linear Algebra and Inverse Problem 5 Linear Algebra and Inverse Problem 5.1 Introduction Direct problem ( Forward problem) is to find field quantities satisfying Governing equations, Boundary conditions, Initial conditions. The direct problem

More information

ELEMENTARY LINEAR ALGEBRA

ELEMENTARY LINEAR ALGEBRA ELEMENTARY LINEAR ALGEBRA K R MATTHEWS DEPARTMENT OF MATHEMATICS UNIVERSITY OF QUEENSLAND First Printing, 99 Chapter LINEAR EQUATIONS Introduction to linear equations A linear equation in n unknowns x,

More information

Duke University, Department of Electrical and Computer Engineering Optimization for Scientists and Engineers c Alex Bronstein, 2014

Duke University, Department of Electrical and Computer Engineering Optimization for Scientists and Engineers c Alex Bronstein, 2014 Duke University, Department of Electrical and Computer Engineering Optimization for Scientists and Engineers c Alex Bronstein, 2014 Linear Algebra A Brief Reminder Purpose. The purpose of this document

More information

1.4 Linear Transformation I

1.4 Linear Transformation I .4. LINEAR TRANSFORMATION I.4 Linear Transformation I MATH 9 FALL 99 PRELIM # 5 9FA9PQ5.tex.4. a) Consider the vector transformation y f(x) from V to V such that if y (y ; y ); x (x ; x ); y (x + x ) p

More information

A A x i x j i j (i, j) (j, i) Let. Compute the value of for and

A A x i x j i j (i, j) (j, i) Let. Compute the value of for and 7.2 - Quadratic Forms quadratic form on is a function defined on whose value at a vector in can be computed by an expression of the form, where is an symmetric matrix. The matrix R n Q R n x R n Q(x) =

More information

Linear Models Review

Linear Models Review Linear Models Review Vectors in IR n will be written as ordered n-tuples which are understood to be column vectors, or n 1 matrices. A vector variable will be indicted with bold face, and the prime sign

More information

SIAM Conference on Applied Algebraic Geometry Daejeon, South Korea, Irina Kogan North Carolina State University. Supported in part by the

SIAM Conference on Applied Algebraic Geometry Daejeon, South Korea, Irina Kogan North Carolina State University. Supported in part by the SIAM Conference on Applied Algebraic Geometry Daejeon, South Korea, 2015 Irina Kogan North Carolina State University Supported in part by the 1 Based on: 1. J. M. Burdis, I. A. Kogan and H. Hong Object-image

More information

Determining Constant Optical Flow

Determining Constant Optical Flow Determining Constant Optical Flow Berthold K.P. Horn Copyright 003 The original optical flow algorithm [1] dealt with a flow field that could vary from place to place in the image, as would typically occur

More information

Linear Algebra Review. Vectors

Linear Algebra Review. Vectors Linear Algebra Review 9/4/7 Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa (UCSD) Cogsci 8F Linear Algebra review Vectors

More information

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2.

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2. APPENDIX A Background Mathematics A. Linear Algebra A.. Vector algebra Let x denote the n-dimensional column vector with components 0 x x 2 B C @. A x n Definition 6 (scalar product). The scalar product

More information

Uncertainty Models in Quasiconvex Optimization for Geometric Reconstruction

Uncertainty Models in Quasiconvex Optimization for Geometric Reconstruction Uncertainty Models in Quasiconvex Optimization for Geometric Reconstruction Qifa Ke and Takeo Kanade Department of Computer Science, Carnegie Mellon University Email: ke@cmu.edu, tk@cs.cmu.edu Abstract

More information

Extra Problems for Math 2050 Linear Algebra I

Extra Problems for Math 2050 Linear Algebra I Extra Problems for Math 5 Linear Algebra I Find the vector AB and illustrate with a picture if A = (,) and B = (,4) Find B, given A = (,4) and [ AB = A = (,4) and [ AB = 8 If possible, express x = 7 as

More information

ELEMENTARY LINEAR ALGEBRA

ELEMENTARY LINEAR ALGEBRA ELEMENTARY LINEAR ALGEBRA K R MATTHEWS DEPARTMENT OF MATHEMATICS UNIVERSITY OF QUEENSLAND Second Online Version, December 998 Comments to the author at krm@mathsuqeduau All contents copyright c 99 Keith

More information

Notes on Cellwise Data Interpolation for Visualization Xavier Tricoche

Notes on Cellwise Data Interpolation for Visualization Xavier Tricoche Notes on Cellwise Data Interpolation for Visualization Xavier Tricoche urdue University While the data (computed or measured) used in visualization is only available in discrete form, it typically corresponds

More information

1 9/5 Matrices, vectors, and their applications

1 9/5 Matrices, vectors, and their applications 1 9/5 Matrices, vectors, and their applications Algebra: study of objects and operations on them. Linear algebra: object: matrices and vectors. operations: addition, multiplication etc. Algorithms/Geometric

More information

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 11 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,, a n, b are given real

More information

Chapter 6: Orthogonality

Chapter 6: Orthogonality Chapter 6: Orthogonality (Last Updated: November 7, 7) These notes are derived primarily from Linear Algebra and its applications by David Lay (4ed). A few theorems have been moved around.. Inner products

More information

Newtonian Mechanics. Chapter Classical space-time

Newtonian Mechanics. Chapter Classical space-time Chapter 1 Newtonian Mechanics In these notes classical mechanics will be viewed as a mathematical model for the description of physical systems consisting of a certain (generally finite) number of particles

More information

PHYS 705: Classical Mechanics. Rigid Body Motion Introduction + Math Review

PHYS 705: Classical Mechanics. Rigid Body Motion Introduction + Math Review 1 PHYS 705: Classical Mechanics Rigid Body Motion Introduction + Math Review 2 How to describe a rigid body? Rigid Body - a system of point particles fixed in space i r ij j subject to a holonomic constraint:

More information

Main matrix factorizations

Main matrix factorizations Main matrix factorizations A P L U P permutation matrix, L lower triangular, U upper triangular Key use: Solve square linear system Ax b. A Q R Q unitary, R upper triangular Key use: Solve square or overdetrmined

More information