Point set alignment Closed-form solution of absolute orientation using unit quaternions Berthold K. P. Horn Department of Electrical Engineering, University.

Slides:



Advertisements
Similar presentations
3D Geometry for Computer Graphics
Advertisements

Chapter 6 Eigenvalues and Eigenvectors
PCA + SVD.
Mapping: Scaling Rotation Translation Warp
Informationsteknologi Wednesday, November 7, 2007Computer Graphics - Class 51 Today’s class Geometric objects and transformations.
Chris Hall Aerospace and Ocean Engineering
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.
HCI 530 : Seminar (HCI) Damian Schofield. HCI 530: Seminar (HCI) Transforms –Two Dimensional –Three Dimensional The Graphics Pipeline.
Motion Analysis Slides are from RPI Registration Class.
Iterative closest point algorithms
3D Geometry for Computer Graphics
Some useful linear algebra. Linearly independent vectors span(V): span of vector space V is all linear combinations of vectors v i, i.e.
CS 4731: Computer Graphics Lecture 6: Points, Scalars and Vectors Emmanuel Agu.
Uncalibrated Geometry & Stratification Sastry and Yang
3D Geometry for Computer Graphics
Math for CSLecture 11 Mathematical Methods for Computer Science Lecture 1.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
THE REAL NUMBERS College Algebra. Sets Set notation Union of sets Intersection of sets Subsets Combinations of three or more sets Applications.
Linear Functions.
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
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.
Rotations and Translations
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.
Chapter 9 Superposition and Dynamic Programming 1 Chapter 9 Superposition and dynamic programming Most methods for comparing structures use some sorts.
Some matrix stuff.
CSE554AlignmentSlide 1 CSE 554 Lecture 5: Alignment Fall 2011.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Rotations and Translations
1 MAC 2103 Module 6 Euclidean Vector Spaces I. 2 Rev.F09 Learning Objectives Upon completing this module, you should be able to: 1. Use vector notation.
Linear algebra: matrix Eigen-value Problems
Assume correspondence has been determined…
EEE. Dept of HONG KONG University of Science and Technology Introduction to Robotics Page 1 Lecture 2. Rigid Body Motion Main Concepts: Configuration Space.
Introduction to Seismology
What is the determinant of What is the determinant of
1 Matrix Algebra and Random Vectors Shyh-Kang Jeng Department of Electrical Engineering/ Graduate Institute of Communication/ Graduate Institute of Networking.
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
Eigenvalues The eigenvalue problem is to determine the nontrivial solutions of the equation Ax= x where A is an n-by-n matrix, x is a length n column.
1 Absolute Orientation Determination using Horn Approach.
Geometric Transformations
Chapter 2: Description of position and orientation Faculty of Engineering - Mechanical Engineering Department ROBOTICS Outline: Introduction. Descriptions:
EIGENSYSTEMS, SVD, PCA Big Data Seminar, Dedi Gadot, December 14 th, 2014.
Determining 3D Structure and Motion of Man-made Objects from Corners.
Basic Theory (for curve 01). 1.1 Points and Vectors  Real life methods for constructing curves and surfaces often start with points and vectors, which.
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
Graphics Graphics Korea University cgvr.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
Instructor: Mircea Nicolescu Lecture 9
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
Digital Image Processing CCS331 Camera Model and Imaging Geometry 1.
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.
Lecture 10: Image alignment CS4670/5760: Computer Vision Noah Snavely
Lecture XXVII. Orthonormal Bases and Projections Suppose that a set of vectors {x 1,…,x r } for a basis for some space S in R m space such that r  m.
Velocity Propagation Between Robot Links 3/4 Instructor: Jacob Rosen Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA.
CSE 554 Lecture 8: Alignment
Lecture 16: Image alignment
Coordinate Transformations
CA 302 Computer Graphics and Visual Programming
Review of Linear Algebra
Spatcial Description & Transformation
Introduction to Seismology
Linear Algebra Review.
Some useful linear algebra
Numerical Analysis Lecture 16.
Chapter 3 Linear Algebra
CSE 411 Computer Graphics Lecture #2 Mathematical Foundations
Matrix Algebra and Random Vectors
Numerical Analysis Lecture 17.
Day 05 Horn's Method 5/24/2019.
Linear Algebra: Matrix Eigenvalue Problems – Part 2
Presentation transcript:

Point set alignment Closed-form solution of absolute orientation using unit quaternions Berthold K. P. Horn Department of Electrical Engineering, University of Hawaii at Manoa Presented by Ashley Fernandes

Abstract Finding relationship between coordinate systems (absolute orientation) Closed-form Use of quaternions for rotation Use of centroid for translation Use of root-mean-square deviations for scale

Disadvantages of previous methods Cannot handle more than three points Do not use information from all three points Iterative instead of least squares

Introduction - Transformation Transformation between two Cartesian coordinate systems Translation Rotation Scaling

Introduction - Method Minimize error Closed-form solution Use of quaternions Symmetry of solution

Coordinate systems

Selective discarding constraints X axis Y axis Z axis l Maps points from left hand to right hand coordinate system Rotation

Finding the translation Measured coordinates in left and right hand systems Form of translation Scale factor Translational offset Rotated vector from left coordinate system Residual error To be minimized

Centroids of sets of measurements New coordinates Error term where Sum of squares of errors

Centroids of sets of measurements Translation, when r’o = 0 Error term, when r’o = 0 Total error term to be minimized

Finding the scale Total error term, since To minimize w.r.t. scale s, first term should be zero, or

Symmetry in scale Suppose we tried to find , or so we hope. But, or Instead, we use Total error becomes To minimize w.r.t. scale s, first term should be zero, or Scale

Why unit quaternions Easier to enforce unit magnitude constraint on quaternion than orthogonal constraint on matrix Closely allied to geometrically intuitive concept of rotation by an angle about an axis

Quaternions Representation If Multiplication

Quaternions Multiplication expressed as product of orthogonal matrix4x4 and vector4

Quaternions Dot product Square of magnitude Conjugate Product of quaternion and its conjugate Inverse

Unit quaternions and rotation if We use the composite product which is purely imaginary. Note that this is similar to Also, note that

Relationship to other notations If angle is Θ and axis is unit vector

Composition of rotations First rotation Second rotation Since Combined rotation

Finding the best rotation We must find the quaternion that maximizes Let and

Finding the best rotation What we have to maximize

Finding the best rotation where and Introducing the matrix3x3 that contains all the information required to solve the least-squares problem for rotation. where and so on. Then,

Eigenvector maximizes matrix product Unit quaternion that maximizes is eigenvector corresponding to most positive eigenvalue of N. Eigenvalues are solutions of quartic in that we obtain from After selecting the largest positive eigenvalue we find the eigenvector by solving

Nature of the closed-form solution Find centroids rl and rr of the two sets of measurements Subtract them from all measurements For each pair of coordinates, compute x’lx’r, x’ly’r, … z’lz’r of the components of the two vectors. These are added up to obtain Sxx, Sxy, …Szz.

Nature of the closed-form solution Compute the 10 independent elements of the 4x4 symmetric matrix N From these elements, calculate the coefficients of the quartic that must be solved to get the eigenvalues of N Pick the most positive root and use it to solve the four linear homogeneous equations to get the eigenvector. The quaternion representing the rotation is a unit vector in the same direction.

Nature of the closed-form solution Compute the scale from the symmetrical form formula, i.e. the ratio of the root-mean-square deviations of the measurements from their centroids. Compute the translation as the difference between the centroid of the right measurements and the scaled and rotated centroid of the left measurement.

Thank you. The end.