CSC461: Lecture 13 Coordinates Objectives Introduce concepts such as dimension and basis Introduce concepts such as dimension and basis Introduce coordinate.

Slides:



Advertisements
Similar presentations
Computer Graphics - Geometry & Representation -
Advertisements

1 Seminar of computational geometry Lecture #1 Convexity.
Mapping: Scaling Rotation Translation Warp
Math Foundations of CG Math 1 Hofstra University.
2/7/2001Hofstra University – CSC290B1 Review: Math (Ch 4)
CSC 123 – Computational Art Points and Vectors
CS5500 Computer Graphics March 22, Angel: Interactive Computer Graphics 3E © Addison-Wesley 2002 Coordinate-Free Geometry When we learned simple.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Representation Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
1. 2 Overview Some basic math Error correcting codes Low degree polynomials Introduction to consistent readers and consistency tests H.W.
Transformations. 2 Angel: Interactive Computer Graphics 3E © Addison-Wesley 2002 Coordinate-Free Geometry When we learned simple geometry, most of us.
Representation CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Lecture 2: Geometry vs Linear Algebra Points-Vectors and Distance-Norm Shang-Hua Teng.
Subspaces, Basis, Dimension, Rank
Vectors.
Autar Kaw Humberto Isaza Transforming Numerical Methods Education for STEM Undergraduates.
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 2: Review of Basic Math
Linear Algebra Review 1 CS479/679 Pattern Recognition Dr. George Bebis.
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
Math Primer for CG Ref: Interactive Computer Graphics, Chap. 4, E. Angel.
1 MAC 2103 Module 9 General Vector Spaces II. 2 Rev.F09 Learning Objectives Upon completing this module, you should be able to: 1. Find the coordinate.
CS 480/680 Computer Graphics Representation Dr. Frederick C Harris, Jr. Fall 2012.
Modeling. Geometric Models  2D and 3D objects  Triangles, quadrilaterals, polygons  Spheres, cones, boxes  Surface characteristics  Color  Texture.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Intro to 3D Models Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
Mathematics for Graphics. 1 Objectives Introduce the elements of geometry  Scalars  Vectors  Points Develop mathematical operations among them in a.
Transformations Jehee Lee Seoul National University.
A vector space containing infinitely many vectors can be efficiently described by listing a set of vectors that SPAN the space. eg: describe the solutions.
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.
©College of Computer and Information Science, Northeastern University CS 4300 Computer Graphics Prof. Harriet Fell Fall 2012 Lecture 12 – October 1, 2012.
Linear Algebra 1.Basic concepts 2.Matrix operations.
Geometric Objects and Transformation
تهیه کننده : نرگس مرعشی استاد راهنما : جناب آقای دکتر جمشید شنبه زاده.
Representation. Objectives Introduce concepts such as dimension and basis Introduce coordinate systems for representing vectors spaces and frames for.
16/5/ :47 UML Computer Graphics Conceptual Model Application Model Application Program Graphics System Output Devices Input Devices API Function.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 52 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 52 Computer Graphics Three-Dimensional Graphics I.
CSE Real Time Rendering Week 5. Slides(Some) Courtesy – E. Angel and D. Shreiner.
Affine Geometry Jehee Lee Seoul National University.
3.4 Coordinates. If a person had 2 independent vectors in R 2, one could describe the location of any point in R 2 as a linear combination of those vectors.
1 Graphics CSCI 343, Fall 2015 Lecture 10 Coordinate Transformations.
Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG.
Basic Entities Scalars - real numbers sizes/lengths/angles Vectors - typically 2D, 3D, 4D directions Points - typically 2D, 3D, 4D locations Basic Geometry.
Affine Geometry Jehee Lee Seoul National University.
1 Graphics CSCI 343, Fall 2015 Lecture 9 Geometric Objects.
Affine Geometry.
Computer Graphics Matrices
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Representation. 2 Objectives Introduce concepts such as dimension and basis Introduce coordinate systems for representing vectors spaces and frames.
Instructor: Mircea Nicolescu Lecture 8 CS 485 / 685 Computer Vision.
Computer Graphics Mathematical Fundamentals Lecture 10 Taqdees A. Siddiqi
Graphics Graphics Korea University kucg.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
A rectangular array of numeric or algebraic quantities subject to mathematical operations. The regular formation of elements into columns and rows.
Objectives Introduce standard transformations Introduce standard transformations Derive homogeneous coordinate transformation matrices Derive homogeneous.
EE611 Deterministic Systems Vector Spaces and Basis Changes Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Spaces.
Introduction to Computer Graphics with WebGL
Coordinate Change.
Representation Ed Angel Professor Emeritus of Computer Science,
RECORD. RECORD Subspaces of Vector Spaces: Check to see if there are any properties inherited from V:
Isaac Gang University of Mary Hardin-Baylor
Introduction to Computer Graphics with WebGL
Isaac Gang University of Mary Hardin-Baylor
CSC461: Lecture 14 Representations
Elementary Linear Algebra
Lecture 2: Geometry vs Linear Algebra Points-Vectors and Distance-Norm
Representation Ed Angel Professor Emeritus of Computer Science,
PPT&Programs
Maths for Signals and Systems Linear Algebra in Engineering Lecture 6, Friday 21st October 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL.
Representation Ed Angel
Presentation transcript:

CSC461: Lecture 13 Coordinates Objectives Introduce concepts such as dimension and basis Introduce concepts such as dimension and basis Introduce coordinate systems for representing vectors spaces and frames for representing affine spaces Introduce coordinate systems for representing vectors spaces and frames for representing affine spaces Discuss change of frames and basis Discuss change of frames and basis Introduce homogeneous coordinates Introduce homogeneous coordinates

Linear Independence A set of vectors v 1, v 2, …, v n is linearly independent if A set of vectors v 1, v 2, …, v n is linearly independent if  1 v 1 +  2 v 2 +…  n v n =0 iff  1 =  2 =…=0  1 v 1 +  2 v 2 +…  n v n =0 iff  1 =  2 =…=0 If a set of vectors is linearly independent, we cannot represent one in terms of the others If a set of vectors is linearly independent, we cannot represent one in terms of the others If a set of vectors is linearly dependent, as least one can be written in terms of the others If a set of vectors is linearly dependent, as least one can be written in terms of the others

Dimension In a vector space, the maximum number of linearly independent vectors is fixed and is called the dimension of the space In a vector space, the maximum number of linearly independent vectors is fixed and is called the dimension of the space In an n-dimensional space, any set of n linearly independent vectors form a basis for the space In an n-dimensional space, any set of n linearly independent vectors form a basis for the space Given a basis v 1, v 2,…., v n, any vector v can be written as Given a basis v 1, v 2,…., v n, any vector v can be written as v=  1 v 1 +  2 v 2 +….+  n v n v=  1 v 1 +  2 v 2 +….+  n v n where the {  i } are unique

Representation Until now we have been able to work with geometric entities without using any frame of reference, such as a coordinate system Until now we have been able to work with geometric entities without using any frame of reference, such as a coordinate system Need a frame of reference to relate points and objects to our physical world. Need a frame of reference to relate points and objects to our physical world. For example, where is a point? Can’t answer without a reference system For example, where is a point? Can’t answer without a reference system World coordinates World coordinates Camera coordinates Camera coordinates

Coordinate Systems Consider a basis v 1, v 2,…., v n Consider a basis v 1, v 2,…., v n A vector is written v=  1 v 1 +  2 v 2 +….+  n v n A vector is written v=  1 v 1 +  2 v 2 +….+  n v n The list of scalars {  1,  2, ….  n }is the representation of v with respect to the given basis The list of scalars {  1,  2, ….  n }is the representation of v with respect to the given basis We can write the representation as a row or column array of scalars We can write the representation as a row or column array of scalars a=[  1  2 ….  n ] T =

Example V=2v1+3v2-4v3 V=2v1+3v2-4v3 A=[2 3 –4] A=[2 3 –4] T Note that this representation is with respect to a particular basis Note that this representation is with respect to a particular basis For example, in OpenGL we start by representing vectors using the world basis but later the system needs a representation in terms of the camera or eye basis For example, in OpenGL we start by representing vectors using the world basis but later the system needs a representation in terms of the camera or eye basis

Coordinate Systems Which is correct? Which is correct? Both are because vectors have no fixed location Both are because vectors have no fixed location v v

Frames Coordinate System is insufficient to present points Coordinate System is insufficient to present points If we work in an affine space we can add a single point, the origin, to the basis vectors to form a frame If we work in an affine space we can add a single point, the origin, to the basis vectors to form a frame P0P0 v1v1 v2v2 v3v3

Frame Representation Frame determined by (P 0, v 1, v 2, v 3 ) Frame determined by (P 0, v 1, v 2, v 3 ) Within this frame, every vector can be written as Within this frame, every vector can be written as v=  1 v 1 +  2 v 2 +….+  n v n v=  1 v 1 +  2 v 2 +….+  n v n Every point can be written as Every point can be written as P = P 0 +  1 v 1 +  2 v 2 +….+  n v n P = P 0 +  1 v 1 +  2 v 2 +….+  n v n

Confusing Points and Vectors Consider the point and the vector Consider the point and the vector Point: P = P 0 +  1 v 1 +  2 v 2 +….+  n v n Point: P = P 0 +  1 v 1 +  2 v 2 +….+  n v n Vector: v=  1 v 1 +  2 v 2 +….+  n v n Vector: v=  1 v 1 +  2 v 2 +….+  n v n They appear to have the similar representations p=[  1  2  3 ] v=[  1  2  3 ] which confuse the point with the vector A vector has no position A vector has no position v p v can place anywhere fixed