Mathematics for Computer Graphics. Lecture Summary Matrices  Some fundamental operations Vectors  Some fundamental operations Geometric Primitives:

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

2.3 Modeling Real World Data with Matrices
CSNB143 – Discrete Structure
Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
Mathematics. Matrices and Determinants-1 Session.
Maths for Computer Graphics
Computer Graphics (Fall 2005) COMS 4160, Lecture 2: Review of Basic Math
Matrices The Basics Vocabulary and basic concepts.
Intro to Matrices Don’t be scared….
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
3.8 Matrices.
8.4 Matrix Operations Day 1 Thurs May 7 Do Now Solve X – 2y = -6 3x + 4y = 7.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 2: Review of Basic Math
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices n New stuff Homogenous co-ordinates 3D transformations as matrices.
ECON 1150 Matrix Operations Special Matrices
Matrix Algebra. Quick Review Quick Review Solutions.
CO1301: Games Concepts Dr Nick Mitchell (Room CM 226) Material originally prepared by Gareth Bellaby.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
Matrices. A matrix, A, is a rectangular collection of numbers. A matrix with “m” rows and “n” columns is said to have order m x n. Each entry, or element,
Copyright © 2011 Pearson, Inc. 7.2 Matrix Algebra.
Lecture 7 Matrices CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Matrices. Definitions  A matrix is an m x n array of scalars, arranged conceptually as m rows and n columns.  m is referred to as the row dimension.
Matrix Arithmetic. A matrix M is an array of cell entries (m row,column ) and it must have rectangular dimensions (Rows x Columns). Example: 3x x.
Chapter 4 – Matrix CSNB 143 Discrete Mathematical Structures.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
CSCI 171 Presentation 9 Matrix Theory. Matrix – Rectangular array –i th row, j th column, i,j element –Square matrix, diagonal –Diagonal matrix –Equality.
Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG.
4.1 Using Matrices Warm-up (IN) Learning Objective: to represent mathematical and real-world data in a matrix and to find sums, differences and scalar.
Chapter 2 … part1 Matrices Linear Algebra S 1. Ch2_2 2.1 Addition, Scalar Multiplication, and Multiplication of Matrices Definition A matrix is a rectangular.
Matrix Operations.
Matrices and Determinants
Goal: Find sums, differences, products, and inverses of matrices.
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
CS 450: COMPUTER GRAPHICS TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Lecture 1 Linear algebra Vectors, matrices. Linear algebra Encyclopedia Britannica:“a branch of mathematics that is concerned with mathematical structures.
Ch. 12 Vocabulary 1.) matrix 2.) element 3.) scalar 4.) scalar multiplication.
MATRICES A rectangular arrangement of elements is called matrix. Types of matrices: Null matrix: A matrix whose all elements are zero is called a null.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
Matrices. Matrix A matrix is an ordered rectangular array of numbers. The entry in the i th row and j th column is denoted by a ij. Ex. 4 Columns 3 Rows.
MTH108 Business Math I Lecture 20.
2. Matrix Methods
Matrices and Matrix Operations
12-1 Organizing Data Using Matrices
Linear Algebra review (optional)
Transforms.
Linear Algebra Lecture 2.
Copyright © 2009 Dan Nettleton
MATHEMATICS Matrix Multiplication
L6 matrix operations.
Matrix Operations.
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
With an immediate use for it
2. Matrix Algebra 2.1 Matrix Operations.
Matrices and Matrix Operations
Multiplication of Matrices
Linear Algebra review (optional)
1.8 Matrices.
Matrix Operations Ms. Olifer.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
3.5 Perform Basic Matrix Operations Algebra II.
Presentation transcript:

Mathematics for Computer Graphics

Lecture Summary Matrices  Some fundamental operations Vectors  Some fundamental operations Geometric Primitives:  Points, Lines, Curves, Polygons

2D Modeling Transformations Scale Rotate Translate Scale Translate x y World Coordinates Modeling Coordinates

2D Modeling Transformations x y World Coordinates Modeling Coordinates Let’s look at this in detail…

2D Modeling Transformations x y Modeling Coordinates Initial location at (0, 0) with x- and y-axes aligned

2D Modeling Transformations x y Modeling Coordinates Scale.3,.3 Rotate -90 Translate 5, 3

2D Modeling Transformations x y Modeling Coordinates Scale.3,.3 Rotate -90 Translate 5, 3

2D Modeling Transformations x y Modeling Coordinates Scale.3,.3 Rotate -90 Translate 5, 3 World Coordinates

Matrices A matrix is a rectangular array of elements (numbers, expression, or function) A matrix with m rows and n columns is said to be an m-by-n matirx ( matrix), e.g In general, we can write an m-by-n matrix as

Matrices A matrix with a single row or a single column represent a vector Single row : 1-by-n matrix is a row vector Single column : n-by-1 matrix is a column vector A square matrix is a matrix has the same number of rows as columns In graphics, we frequently work with two-by-two, three-by-three, and four- by-four matrices The zero matrix The identity matrix A diagonal matrix

Scalar Multiplication To multiply a martix A by a scalar value s, we multiply each element a mn by the scalar Ex., find 3A = ?

Matrix Addition Two matrices A and B may be added together when these two matrices have the same number of rows and column  the same shape The sum is obtained by adding corresponding elements. Ex., find A+B = ?

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication 1x11x33x1 2x2 3x33x1

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Matrix Multiplication e.g.:

Warning!!! but (AB)C = A(BC) A(B+C) = AB + AC (A+B)C = AC + BC (AB) T = B T A T A(sB) = sAB

Determinant of a Matrix

Matrix Inverse