Spatial Descriptions and Transformations Sebastian van Delden USC Upstate

Slides:



Advertisements
Similar presentations
Points, Vectors, Lines, Spheres and Matrices
Advertisements

CS 691 Computational Photography Instructor: Gianfranco Doretto Image Warping.
Arbitrary Rotations in 3D Lecture 18 Wed, Oct 8, 2003.
Homogeneous Transformations
Kinematics Pose (position and orientation) of a Rigid Body
Chris Hall Aerospace and Ocean Engineering
Motion Kinematics – Lecture Series 3 ME 4135 – Fall 2011 R. Lindeke.
Chapter 4.1 Mathematical Concepts
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry Trigonometric functions Defined using right triangle  x y h.
Image Warping : Computational Photography Alexei Efros, CMU, Fall 2008 Some slides from Steve Seitz
Ch. 2: Rigid Body Motions and Homogeneous Transforms
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Ch. 4: Velocity Kinematics
3-D Geometry.
Computer Graphics CSC 630 Lecture 2- Linear Algebra.
Course Website: Computer Graphics 3: 2D Transformations.
CPSC 452: Lecture 1 Introduction, Homogeneous transformations and Coordinate frames.
Rotations and Translations. Representing a Point 3D A tri-dimensional point A is a reference coordinate system here.
Linear Algebra Review CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2005.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
ME/ECE Professor N. J. Ferrier Forward Kinematics Professor Nicola Ferrier ME Room 2246,
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 3: Transformations 1
Geometric Intuition Randy Gaul. Vectors, Points and Basis Matrices Rotation Matrices Dot product and how it’s useful Cross product and how it’s useful.
Rotations and Translations
Transformations Aaron Bloomfield CS 445: Introduction to Graphics
Chapter 4.1 Mathematical Concepts
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
15/09/2015handout 31 Robot Kinematics Logics of presentation: Kinematics: what Coordinate system: way to describe motion Relation between two coordinate.
CSCE 552 Spring 2011 Math By Jijun Tang. Layered.
1 Math Review Coordinate systems 2-D, 3-D Vectors Matrices Matrix operations.
CSE 681 Review: Transformations. CSE 681 Transformations Modeling transformations build complex models by positioning (transforming) simple components.
Rotations and Translations 1. Mathematical terms The inner product of 2 vectors a,b is defined as: The cross product of 2 vectors is defined as: A unit.
Transformations Jehee Lee Seoul National University.
Basic Kinematics Spatial Descriptions and Transformations Introduction to Motion.
Introduction to Matrices and Vectors Sebastian van Delden USC Upstate
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
Jinxiang Chai Composite Transformations and Forward Kinematics 0.
T. Bajd, M. Mihelj, J. Lenarčič, A. Stanovnik, M. Munih, Robotics, Springer, 2010 GEOMETRIC DESCRIPTION OF THE ROBOT MECHANISM T. Bajd and M. Mihelj.
3D transformations Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki
16/5/ :47 UML Computer Graphics Conceptual Model Application Model Application Program Graphics System Output Devices Input Devices API Function.
Robot Kinematics: Position Analysis 2.1 INTRODUCTION  Forward Kinematics: to determine where the robot ’ s hand is? (If all joint variables are known)
What is Kinematics. Kinematics studies the motion of bodies.
1 Graphics CSCI 343, Fall 2015 Lecture 10 Coordinate Transformations.
Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG.
Geometric Transformations Hearn & Baker Chapter 5 Some slides are taken from Robert Thomsons notes.
CSCE 452 Intro to Robotics CSCE 452: Lecture 1 Introduction, Homogeneous Transformations, and Coordinate frames.
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS Math Review.
Chapter 2: Description of position and orientation Faculty of Engineering - Mechanical Engineering Department ROBOTICS Outline: Introduction. Descriptions:
Fall 2004CS-321 Dr. Mark L. Hornick 1 2-D Transformations World Coordinates Local/Modelling Coordinates x y Object descriptions Often defined in model.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 3: Transformations 1
CSCE 552 Fall 2012 Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Composite 3D Transformations. Example of Composite 3D Transformations Try to transform the line segments P 1 P 2 and P 1 P 3 from their start position.
Euler Angles This means, that we can represent an orientation with 3 numbers Assuming we limit ourselves to 3 rotations without successive rotations about.
Coordinate Systems and Transformations
III- 1 III 3D Transformation Homogeneous Coordinates The three dimensional point (x, y, z) is represented by the homogeneous coordinate (x, y, z, 1) In.
Computer Graphics I, Fall 2010 Transformations.
An Introduction to Robot Kinematics Renata Melamud.
Transformations and Euler Angles Sebastian van Delden USC Upstate
Computer Graphics Mathematical Fundamentals Lecture 10 Taqdees A. Siddiqi
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry "Old Henry And His Old Aunt" Defined using right triangle  x y h.
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.
Mathematics for Computer Graphics
Spatcial Description & Transformation
With an immediate use for it
CPSC 452 Spatial Descriptions and Coordinate Transform
Derivation of the 2D Rotation Matrix
Transformations.
3D transformations Dr Nicolas Holzschuch University of Cape Town
Rigid Body Transformations
Robotics 1 Copyright Martin P. Aalund, Ph.D.
Presentation transcript:

Spatial Descriptions and Transformations Sebastian van Delden USC Upstate

Notation… Lowercase variables are scalars Uppercase variables are vectors or matrices Leading sub- and super-scripts: identify which coordinate system a quantity is defined in: A P  A position vector in system {A}  Rotation matrix that rotates from system {B} into system {A} Trailing superscript: inverse A -1 or transpose A T Trailing subscript: vector component (X A ) or description ( A P BORIG ) Given angle θ 1 : cos θ 1 == cθ 1 == c 1

Position Vectors A 3x1 vector Leading superscript indicates referenced coordinate system.

Orientation In which direction is the point pointing… Attach a coordinate system to the point and describe it relative to a reference system.

Orientation cont… Write unit vectors of {B}’s three principle axes in terms of coordinate system {A}: A X B, A Y B, A Z B Can be stacked in a 3x3 matrix called a rotation matrix: = [ A X B A Y B A Z B ] = = The r ij values are projections of {B}’s unit vectors onto the unit vectors of {A}.

Orientation cont… Recall dot product...  Consider unit vector A and B:  B. A T = is the projection of B onto A. Also called a “directional cosine”. Angle between vectors: cos -1 (.707) = 45 o

Orientation cont… = [ A X B A Y B A Z B ] = = or = = [ A X B A Y B A Z B ] = I 3 So, the inverse a rotation matrix is simple the transpose of that matrix. For any matrix with orthogonal columns, its inverse is equal to its transpose.

Orientation cont… Example:

“Frames” A Frame  Contains information about position and orientation of a location  4 vectors: 3 for orientation, 1 for position For example, frame {B} can be defined in frame {A} as:  {B} = {, A P BORG }

Mappings Need to express one coordinate system in terms of another. Changing the description (position and orientation) from one frame to another is called a mapping.

Mappings: Pure Translations If the two frames different by only a position vector (orientation is the same) then only a translation is needed. A P = B P + A P BORG

Mappings: Pure Translations cont…

Mappings: Pure Rotations  A 3x3 matrix  Columns have unit magnitude  Columns are {B} written in {A}  Rows are {A} written in {B} Multiple the rotation matrix and the point together: A P x = B X A. B P A P y = B Y A. B P A P z = B Z A. B P A P = B P

Mappings: Pure Rotations cont… Example: Pure rotation around Z

Mappings: Pure Rotations cont…

General Mappings The two frames differ by both a translation and rotation. A P = B P + A P BORG Example:  A point B P is located at position [2 1 0] T in {B}.  Frame {B} is rotated relative to frame {A} by 60 o around the Z axis.  Frame {B}’s origin is translated by [3 4 0] T.  What are the coordinates of the point A P in frame {A}.

Homogeneous Transformation Matrix A better way to represent general transformations. The rotation and translation is combined into a single 4x4 matrix.

Homogeneous Transformation Matrices cont… A 4x4 matrix is better for writing compact equations. The bottom row is always [ ]  These values can be modified to represent scaling and perspective factors. Homogeneous transformations are used to represent a coordinate system or a movement.

Homogeneous Transformations cont… Pure Translation Transformations Pure Rotation Transformations

Compound Transformations Multiple transforms are simple multiple together: A P = C P

Inverse of a Homogenous Transform Given need to find : Need to find and B P AORG from and A P BORG Rotation Part: = T Translation Part: B ( A P BORG ) = A P BORG + B P AORG 0 = A P BORG + B P AORG B P AORG = - T A P BORG

Inverse of a Homogenous Transform Visualize Translation: So: