Translation in Homogeneous Coordinates

Slides:



Advertisements
Similar presentations
1Computer Graphics Homogeneous Coordinates & Transformations Lecture 11/12 John Shearer Culture Lab – space 2
Advertisements

Lecture 7 2D Transformation. What is a transformation? Exactly what it says - an operation that transforms or changes a shape (line, shape, drawing etc.)
Transformations Ed Angel Professor Emeritus of Computer Science
Geometric Transformations
1 Computer Graphics Chapter 6 2D Transformations.
1 Geometrical Transformation 2 Outline General Transform 3D Objects Quaternion & 3D Track Ball.
1 CSCE 441 Computer Graphics: 2D Transformations Jinxiang Chai.
Course Website: Computer Graphics 3: 2D Transformations.
Rotations and Translations. Representing a Point 3D A tri-dimensional point A is a reference coordinate system here.
Transformations CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Computer Graphics University of Palestine Dr. Sana’a Wafa Al-Sayegh
2D Transformations Unit - 3. Why Transformations? In graphics, once we have an object described, transformations are used to move that object, scale it.
3D Geometric Transformation Point in 3D space –Position (x, y, z) –Color (r, g, b) –Normal (Nx, Ny, Nz) Homogenous Coordinates –Position (x,y,z,w) –Usually.
CS 480/680 Computer Graphics Representation Dr. Frederick C Harris, Jr. Fall 2012.
CS 480/680 Computer Graphics Transformations Dr. Frederick C Harris, Jr.
Graphics Graphics Korea University kucg.korea.ac.kr Transformations 고려대학교 컴퓨터 그래픽스 연구실.
Lecture Notes: Computer Graphics.
Dx = 2 dy = 3 Y X D Translation A translation is applied to an object by repositioning it along a straight-line path.
2D Geometric Transformations
Part7: Geometric Transformations
Transformations Jehee Lee Seoul National University.
Matrices, Transformations and the 3D Pipeline Matthew Rusch Paul Keet.
Computer Graphics, KKU. Lecture 51 Transformations Given two frames in an affine space of dimension n, we can find a ( n+1 ) x ( n +1) matrix that.
Transformations Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
Geometric Objects and Transformation
Geometrical Transformations 2 Adapted from Fundamentals of Interactive Computer Graphics, Foley and van Dam, pp , by Geb Thomas.
Computer Graphics 3D Transformations. Translation.
1 Graphics CSCI 343, Fall 2015 Lecture 10 Coordinate Transformations.
Multimedia Programming 07: Image Warping Keyframe Animation Departments of Digital Contents Sang Il Park.
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
Coordinate Systems and Transformations
Computer Graphics I, Fall 2010 Transformations.
CS 325 Introduction to Computer Graphics 02 / 19 / 2010 Instructor: Michael Eckmann.
Computer Graphics Lecture 16 Fasih ur Rehman. Last Class Homogeneous transformations Types of Transformations – Linear Transformations – Affine Transformations.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Transformations Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
CSCE 441 Computer Graphics: 2D Transformations
3D Geometry and Transformations
Transformations. Transformations Introduce standard transformations ◦ Rotation ◦ Translation ◦ Scaling ◦ Shear Derive homogeneous coordinate transformation.
Robotic Arms and Matrices By Chris Wong and Chris Marino.
Instructor: Dr. Shereen Aly Taie Basic Two-Dimensional Geometric Transformation 5.2 Matrix Representations and Homogeneous Coordinates 5.3 Inverse.
Computer Graphics Lecture 15 Fasih ur Rehman. Last Class Combining Transformations Affine versus Rigid body Transformations Homogenous Transformations.
Geometric Transformations for Computer Graphics
Geometric Transformations for Computer Graphics
Modeling Transformations
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Spatcial Description & Transformation
Transformations Objectives
3D Geometric Transformation
3. Transformation
Computer Graphics CC416 Week 15 3D Graphics.
Computer Graphics 3D Transformations
3D Geometric Transformations
2D Transformation.
2D Transformations y y x x y x.
Computer Graphics Transformations
Viewing Transformations
Geometric Transformations
Chapter IV Spaces and Transforms
Geometric Transformations for Computer Graphics
Transformations 고려대학교 컴퓨터 그래픽스 연구실 kucg.korea.ac.kr.
Rigid Body Transformations
The Modelview Matrix Lecture 8 Mon, Sep 10, 2007.
Transformations Ed Angel
Geometric Objects and Transformations (II)
Transformations Ed Angel Professor Emeritus of Computer Science
Isaac Gang University of Mary Hardin-Baylor
Transformations.
Rigid Body Transformations
Presentation transcript:

Translation in Homogeneous Coordinates Within a frame, each affine transformation is represented by a 4x4 matrix of the form:

A point p will be moved to point p’ by a displacement distance d: p’ = p + d. The translation matrix is defined as T (dx ,dy,, dz): The inverse of a translation matrix is obtained by applying an inversion algorithm or by noting that, if we displace a vector by d we can return it to its original position by Displacing it by –d: T-1(dx, dy, dz)= T(-dx ,-dy,, -dz)

Size Scaling in Homogeneous Coordinates For both the size scaling and rotation, there is a fixed point that is unchanged by the transformation. These three can be combined as: p’ = Sp

The inverse of size scaling matrix is:

Example: Size scale the p(2, -3, 5) by half and move it 3 unit distance away on x and -1 distance away on y.

Rotation in Homogeneous Coordinates

The rotation can be reversed for all of them using the following procedure:

Example: Rotate p(2, -3, 5) by 45 around x axis.

The inverse can be computed as: Shear in Homogeneous Coordinates Shear in x direction The inverse can be computed as: