Assume correspondence has been determined…

Slides:



Advertisements
Similar presentations
Mathematical Formulation of the Superposition Principle
Advertisements

10.4 Complex Vector Spaces.
Matrix Representation
CS 450: COMPUTER GRAPHICS LINEAR ALGEBRA REVIEW SPRING 2015 DR. MICHAEL J. REALE.
3D Geometry for Computer Graphics
Chapter 28 – Part II Matrix Operations. Gaussian elimination Gaussian elimination LU factorization LU factorization Gaussian elimination with partial.
OCE301 Part II: Linear Algebra lecture 4. Eigenvalue Problem Ax = y Ax = x occur frequently in engineering analysis (eigenvalue problem) Ax =  x [ A.
8 CHAPTER Linear Algebra: Matrix Eigenvalue Problems Chapter 8 p1.
Slides by Olga Sorkine, Tel Aviv University. 2 The plan today Singular Value Decomposition  Basic intuition  Formal definition  Applications.
1cs542g-term High Dimensional Data  So far we’ve considered scalar data values f i (or interpolated/approximated each component of vector values.
Symmetric Matrices and Quadratic Forms
Computer Graphics Recitation 5.
3D Geometry for Computer Graphics
AppxA_01fig_PChem.jpg Complex Numbers i. AppxA_02fig_PChem.jpg Complex Conjugate.
Chapter 3 Determinants and Matrices
The Terms that You Have to Know! Basis, Linear independent, Orthogonal Column space, Row space, Rank Linear combination Linear transformation Inner product.
3D Geometry for Computer Graphics
Lecture 18 Eigenvalue Problems II Shang-Hua Teng.
Matrices CS485/685 Computer Vision Dr. George Bebis.
Orthogonal Matrices and Spectral Representation In Section 4.3 we saw that n  n matrix A was similar to a diagonal matrix if and only if it had n linearly.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 2.1: Recap on Linear Algebra Daniel Cremers Technische Universität.
Boyce/DiPrima 9th ed, Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues Elementary Differential Equations and Boundary Value Problems,
Point set alignment Closed-form solution of absolute orientation using unit quaternions Berthold K. P. Horn Department of Electrical Engineering, University.
Linear Algebra Review 1 CS479/679 Pattern Recognition Dr. George Bebis.
1 February 24 Matrices 3.2 Matrices; Row reduction Standard form of a set of linear equations: Chapter 3 Linear Algebra Matrix of coefficients: Augmented.
CS246 Topic-Based Models. Motivation  Q: For query “car”, will a document with the word “automobile” be returned as a result under the TF-IDF vector.
8.1 Vector spaces A set of vector is said to form a linear vector space V Chapter 8 Matrices and vector spaces.
REVIEW OF MATHEMATICS. Review of Vectors Analysis GivenMagnitude of vector: Example: Dot product:  is the angle between the two vectors. Example:
CS 450: COMPUTER GRAPHICS QUATERNIONS SPRING 2015 DR. MICHAEL J. REALE.
Ordinary Least-Squares Emmanuel Iarussi Inria. Many graphics problems can be seen as finding the best set of parameters for a model, given some data Surface.
Linear algebra: matrix Eigen-value Problems
Chapter 5 Eigenvalues and Eigenvectors 大葉大學 資訊工程系 黃鈴玲 Linear Algebra.
Chapter 7 Multivariate techniques with text Parallel embedded system design lab 이청용.
Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA.
This is just a presentation on my history page of my webpage. To view the resources where I got my information, see my history page as well as my reference.
Chap. 5 Inner Product Spaces 5.1 Length and Dot Product in R n 5.2 Inner Product Spaces 5.3 Orthonormal Bases: Gram-Schmidt Process 5.4 Mathematical Models.
Algorithms 2005 Ramesh Hariharan. Algebraic Methods.
Introduction to Linear Algebra Mark Goldman Emily Mackevicius.
Quaternion 靜宜大學資工系 蔡奇偉副教授 大綱  History of Quaternions  Definition of Quaternion  Operations  Unit Quaternion  Operation Rules  Quaternion Transforms.
Mathematical Tools of Quantum Mechanics
Stats & Summary. The Woodbury Theorem where the inverses.
Euler Angles This means, that we can represent an orientation with 3 numbers Assuming we limit ourselves to 3 rotations without successive rotations about.
1 Dr. Scott Schaefer Quaternions and Complex Numbers.
Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA.
Sect. 4.5: Cayley-Klein Parameters 3 independent quantities are needed to specify a rigid body orientation. Most often, we choose them to be the Euler.
ALGEBRAIC EIGEN VALUE PROBLEMS
Review of Eigenvectors and Eigenvalues from CliffsNotes Online mining-the-Eigenvectors-of-a- Matrix.topicArticleId-20807,articleId-
CS246 Linear Algebra Review. A Brief Review of Linear Algebra Vector and a list of numbers Addition Scalar multiplication Dot product Dot product as a.
Lecture 16: Image alignment
Mathematical Formulation of the Superposition Principle
Review of Linear Algebra
CS479/679 Pattern Recognition Dr. George Bebis
Problem 1.5: For this problem, we need to figure out the length of the blue segment shown in the figure. This can be solved easily using similar triangles.
Matrices and vector spaces
Systems of First Order Linear Equations
In mathematics, the quaternions are a number system that extends the complex numbers. They were first described by Irish mathematician Sir William Rowan.
CS485/685 Computer Vision Dr. George Bebis
Numerical Analysis Lecture 16.
6-4 Symmetric Matrices By毛.
Derivative of scalar forms
UMBC Graphics for Games
Chapter 3 Linear Algebra
Linear Algebra Lecture 38.
Symmetric Matrices and Quadratic Forms
Numerical Analysis Lecture 17.
Linear Algebra Lecture 32.
Eigenvalues and Eigenvectors
Linear Algebra: Matrix Eigenvalue Problems – Part 2
Chapter 2 Determinants.
Symmetric Matrices and Quadratic Forms
Presentation transcript:

Assume correspondence has been determined… Motivation (Horn87) Assume correspondence has been determined… Registration of 3D Shapes Any other better solutions for this least-square problem?

Exercise Configuration A Configuration B p1 = (3,0,0) p2 = (0,3,0) q1 = (3,3,-3) q2 = (3,0,0) q3 = (6,0,-3) Find the rotation and translation that takes configuration A to configuration B

This is a badly chosen example, where the three points are linearly independent. If this is not so (such as three coplanar points), this simple approach cannot be used. Solution

Recap in CG Course (link) New algebra defined (addition, multiplication) Length; unit quaternion as rotation Perform rotations Converting to/from rotation matrices slerp q r

History Quaternions were introduced by Irish mathematician Sir William Rowan Hamilton in 1843. Hamilton was looking for ways of extending complex numbers to higher spatial dimensions. He could not do so for 3 dimensions, but 4 dimensions produce quaternions. According to the story Hamilton told, on October 16, he was out walking along the Royal Canal in Dublin with his wife when the solution in the form of the equation suddenly occurred to him; Hamilton then promptly carved this equation into the side of the nearby Brougham Bridge

Definitions1 Addition Multiplication

Definitions2 Complex conjugate Norm (of quaternion)

Alternative Formulation A quaternion can be conveniently thought of as either: A vector with four components; A scalar plus a vector with three components; or A complex number with three different “imaginary” parts

Product in Matrix Form (Horn) Notation: we use to denote quaternion Treat quaternion as a vector in R4 Product in Matrix Form (Horn) Expand first quaternion Expand second quaternion Note the matrices are different! This is the “matrix way” to compute quaternion product “R is orthogonal”!

Details

Dot Product of Quaternions This is new! Dot Product of Quaternions Def: 4D vector viewpoint p.9

Unit Quaternion as Rotation1 Observations: (why Lq(v) is a rotation…) 1. Length preserved after operation 2. If v is along q, it is left unchanged. [Horn] dot product and triple product preserved …

Unit Quaternion as Rotation2 Lq is linear over R3 Lq(v) = Lq(n+a) = Lq(n) + Lq(a) = Lq(n) + a v a n q u v=Lp(u) , w=Lq(v) w= Lq(v)=qvq*=q(pup*)q*=(qp)u(qp)*=Lqp(u)

Application: Data Registration Find the most appropriate rotation R and translation b Iterative (least square) solution or Closed form solution

Convert global coordinates to local coordinate (from centroid)

Objective function (minimization) First, determine the rotation R, then the optimal translation by: 2 Optimal rotation R:

This correspond to R and R in p.8 Convert to quaternion: This correspond to R and R in p.8 is symmetric, with real eigenvalues l1, l2, l3, l4 and corresponding orthogonal unit eigenvectors v1, v2, v3, v4 in R4

Represent q in eigen basis Simplified to: Represent q in eigen basis Therefore, l1: largest eigenvalue The optimum rotation is the eigenvector with largest eigenvalue. (It is already normalize).

Details

The Real Exercise Configuration A Configuration B p1 = (3,0,0) q1 = (1,4,1) q2 = (1,1,4) q3 = (1,4,4) Find the rotation and translation that takes configuration A to configuration B

Quaternion in SVL