Linear Algebra Review.

Slides:



Advertisements
Similar presentations
3D Geometry for Computer Graphics
Advertisements

Geometry (Many slides adapted from Octavia Camps and Amitabh Varshney)
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 : “shiv rpi” Linear Algebra A gentle introduction Linear Algebra has become as basic and as applicable.
Computer Graphics Recitation 5.
Linear Algebra and SVD (Some slides adapted from Octavia Camps)
Announcements Problem Set 2, handed out today, due next Tuesday. Late Homework should be turned into my office with date and time written on it. Mail problem.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Computer Graphics CSC 630 Lecture 2- Linear Algebra.
Announcements Class mailing list: send to Hyoungjune Yi: Homework at the end of class. Text is on reserve in the.
Linear Algebra Review. 6/26/2015Octavia I. Camps2 Why do we need Linear Algebra? We will associate coordinates to –3D points in the scene –2D points in.
CS6825: Linear Algebra Overview 2 Why do we need Linear Algebra? We will associate coordinates to We will associate coordinates to 3D points in the scene3D.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Week 4 - Monday.  What did we talk about last time?  Vectors.
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka Virginia de Sa (UCSD) Cogsci 108F Linear.
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 2: Review of Basic Math
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
Patrick Nichols Thursday, September 18, Linear Algebra Review.
8.1 Vector spaces A set of vector is said to form a linear vector space V Chapter 8 Matrices and vector spaces.
Matlab tutorial and Linear Algebra Review Today’s goals: Learn enough matlab to get started. Review some basics of Linear Algebra Essential for geometry.
Section 13.4 The Cross Product. Torque Torque is a measure of how much a force acting on an object causes that object to rotate –The object rotates around.
Transformations Dr. Amy Zhang.
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
1 Math Review Coordinate systems 2-D, 3-D Vectors Matrices Matrix operations.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 : “shiv rpi” Linear Algebra A gentle introduction Linear Algebra has become as basic and as applicable.
Statistics and Linear Algebra (the real thing). Vector A vector is a rectangular arrangement of number in several rows and one column. A vector is denoted.
6.837 Linear Algebra Review Rob Jagnow Monday, September 20, 2004.
Magnitude of a Vector The magnitude of a vector, denoted as |a|, is defined as the square root of the sum of the squares of its components: |a| = (x 2.
Linear Algebra 1.Basic concepts 2.Matrix operations.
Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG.
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS Math Review.
CSCE 552 Fall 2012 Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
Linear Algebra Review Tuesday, September 7, 2010.
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Graphics Graphics Korea University kucg.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
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.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
MTH108 Business Math I Lecture 20.
CSE 167 [Win 17], Lecture 2: Review of Basic Math Ravi Ramamoorthi
Week 4 - Monday CS361.
Linear Algebra review (optional)
Mathematics for Computer Graphics
Transforms.
Review of Linear Algebra
Chapter 7 Matrix Mathematics
Computer Graphics Transformations.
Matrices and vector spaces
3D Geometric Transformations
Linear Algebra Primer Juan Carlos Niebles and Ranjay Krishna
Linear independence and matrix rank
Computer Graphics Transformations.
Vectors.
Matrix Operations SpringSemester 2017.
Lecture 03: Linear Algebra
COMP 175: Computer Graphics February 9, 2016
(c) University of Wisconsin, CS559
2D Geometric Transformations
Matrices.
Reflections in Coordinate Plane
CSCE441: Computer Graphics 2D/3D Transformations
Linear Algebra A gentle introduction
TWO DIMENSIONAL TRANSFORMATION
Matrix Operations SpringSemester 2017.
Transformations Review
Game Programming Algorithms and Techniques
Presentation transcript:

Linear Algebra Review

Why do we need Linear Algebra? We will associate coordinates to 3D points in the scene 2D points in the CCD array 2D points in the image Coordinates will be used to Perform geometrical transformations Associate 3D with 2D points Images are matrices of numbers We will find properties of these numbers 9/22/2018 Octavia I. Camps

Matrices Sum: A and B must have the same dimensions Example: 9/22/2018 Octavia I. Camps

Matrices Product: A and B must have compatible dimensions Examples: 9/22/2018 Octavia I. Camps

Matrices Transpose: If A is symmetric Examples: 9/22/2018 Octavia I. Camps

Matrices Determinant: A must be square Example: 9/22/2018 Octavia I. Camps

Matrices Inverse: A must be square Example: 9/22/2018 Octavia I. Camps

2D Vector P x1 x2  v Magnitude: If , Is a UNIT vector Orientation: 9/22/2018 Octavia I. Camps

Vector Addition v w V+w 9/22/2018 Octavia I. Camps

Vector Subtraction V-w v w 9/22/2018 Octavia I. Camps

Scalar Product v av 9/22/2018 Octavia I. Camps

Inner (dot) Product v  w The inner product is a SCALAR! 9/22/2018 Octavia I. Camps

Orthonormal Basis P x1 x2  v i j 9/22/2018 Octavia I. Camps

Vector (cross) Product w v  u The cross product is a VECTOR! Magnitude: Orientation: 9/22/2018 Octavia I. Camps

Vector Product Computation w v  u 9/22/2018 Octavia I. Camps

2D Geometrical Transformations

2D Translation P’ t P 9/22/2018 Octavia I. Camps

2D Translation Equation P x y tx ty P’ t 9/22/2018 Octavia I. Camps

2D Translation using Matrices P x y tx ty P’ t t P 9/22/2018 Octavia I. Camps

Homogeneous Coordinates Multiply the coordinates by a non-zero scalar and add an extra coordinate equal to that scalar. For example, NOTE: If the scalar is 1, there is no need for the multiplication! 9/22/2018 Octavia I. Camps

Back to Cartesian Coordinates: Divide by the last coordinate and eliminate it. For example, 9/22/2018 Octavia I. Camps

2D Translation using Homogeneous Coordinates P x y tx ty P’ t t P 9/22/2018 Octavia I. Camps

Scaling P’ P 9/22/2018 Octavia I. Camps

Scaling Equation P’ Sy.y P y x Sx.x 9/22/2018 Octavia I. Camps

Scaling & Translating P’’=T.P’ S P’=S.P T P P’’=T.P’=T.(S.P)=(T.S).P 9/22/2018 Octavia I. Camps

Scaling & Translating P’’=T.P’=T.(S.P)=(T.S).P 9/22/2018 Octavia I. Camps

Translating & Scaling  Scaling & Translating P’’=S.P’=S.(T.P)=(S.T).P 9/22/2018 Octavia I. Camps

Rotation P P’ 9/22/2018 Octavia I. Camps

Rotation Equations Counter-clockwise rotation by an angle  P’ Y’  P x Y’ P’  X’ y 9/22/2018 Octavia I. Camps

Degrees of Freedom R is 2x2 4 elements BUT! There is only 1 degree of freedom:  The 4 elements must satisfy the following constraints: 9/22/2018 Octavia I. Camps

Scaling, Translating & Rotating Order matters! P’ = S.P P’’=T.P’=(T.S).P P’’’=R.P”=R.(T.S).P=(R.T.S).P R.T.S  R.S.T  T.S.R … 9/22/2018 Octavia I. Camps

3D Rotation of Points Rotation around the coordinate axes, counter-clockwise: P x Y’ P’ g X’ y z 9/22/2018 Octavia I. Camps

3D Rotation (axis & angle) 9/22/2018 Octavia I. Camps

3D Translation of Points Translate by a vector t=(tx,ty,tx)T: P’ t Y’ x x’ P z’ y z 9/22/2018 Octavia I. Camps