Perspective Projection

Size: px
Start display at page:

Download "Perspective Projection"

Transcription

1 Perspectie Projection (Com S 477/77 Notes) Yan-Bin Jia Aug 9, 7 Introduction We now moe on to isualization of three-dimensional objects, getting back to the use of homogeneous coordinates. Current display deices such as computer monitors, LCD screens, and printers are two-dimensional. Cameras also hae D image screens. It is necessary to obtain a planar iew of an object which gies three-dimensional realism. Visualization of an object is achieed by a sequence of operations called the iewing pipeline.. A projection is applied which maps the object to a new flat object in a specified plane known as the iewplane.. A coordinate system is defined in the iewplane and the description of the flat object in the coordinates is obtained.. The flat object is mapped to the computer screen by means of a two-dimensional deice coordinate transformation. We will first look at projections of the plane onto a line, and subsequently projections of threedimensional space onto a plane. Projections of the Plane Let us consider the problem of projecting the plane onto a line l contained in the plane. Let be a point not on the line. The perspectie projection from onto l is the transformation which maps any point p to the point p which is the intersection of the lines p and l, as illustrated in Figure. The point is called the iewpoint or center of perspectiity, and the line l is called the iewline. Theorem The perspectie projection from a iewpoint (in homogeneous coordinates) onto a iewline ector l is a twodimensional transformation gien by the matrix M l T (l )I, where I is the identity matrix. l p p Figure : Perspectie Projection

2 Proof The image point p of a point p is the intersection of the iewline l with the line l through p and the iewpoint. In homogeneous coordinates, the line l has the line ector p, and therefore intersects l at the point p l ( p) (l p) (l )p (l p) (l )I p l T p (l )I p ) (l T (l )I p. Thus p Mp where M l T (l )I. p l p The matrix M is called the projection matrix of the perspectie projection from onto l. Lines through the iewpoint are called projectors. When the iewpoint is a point at infinity, the projection is called a parallel projection. As shown in Figure, a parallel projection has iewpoint (,,), that is, the infinity point in the direction (, ). The projectors are parallel lines in the Cartesian plane with direction (, ). It is common practice to use the term perspectie projection to refer to a non-parallel projection. (,, ) infinity Figure : Parallel Projection Example. We determine the perspectie projection of the triangle with ertices ( ( ), 4 4, and ) onto the line x+y 4 from the iewpoint ( ). The homogeneous iewpoint is (,,) T, the line ector l (,, 4) T with l 48. We calculate the projection matrix as follows M l T (l )I The images of the ertices are obtained by multiplying M to their homogeneous coordinates: The Cartesian coordinates of the ertex images are ( / 4/, /7 8/7, and /9 4/9). They are shown in Figure (a).

3 p p (4, 4) p p (, ) (, ) p p (, ) (, ) (, ) l : x + y 4 (4, 4) (a) l : x + y 4 (b) Figure : Perspectie and parallel projections of a triangle. Example. Now let us determine the parallel projection of the same triangle in Example onto the line x+y 4 in the direction of the y-axis. The iewpoint is thus (,,) T, the point at infinity in the direction of the y-axis. We hae l (,, 4) T and l. From () the projection matrix is determined to be M 4 And the homogeneous coordinates of the images of the triangle ertices are contained in the matrix product The Cartesian coordinates are therefore (, 4 4, and /), as shown in Figure (b). Projections of Space Analogous to a iewline in the projection of the plane, a iewplane is inoled in the projection of three-dimensional space. Let n (a,b,c,d) be the plane ector of a iewplane described by the general equation ax + by + cz + d, and be a point not on the iewplane. The perspectie projection from onto the iewplane n is a transformation that maps any point p, onto the intersection point p of the line p and the plane. If is a point at infinity then the projection is called a parallel projection. The two projections are illustrated in Figure 4. Theorem The projection with homogeneous iewpoint and iewplane with plane ector n is the three-dimensional transformation gien by the matrix M n T (n )I 4, where I 4 is the 4 4 identity matrix. Proof Let p with p be a point to be projected. By Lemma from the handouts Homogeneous Coordinates of Space, eery point on the line through p and has the homogeneous.

4 p p p p (at infinity) Viewplane Viewplane (a) (b) Figure 4: (a) Perspectie projection and (b) parallel projection. coordinates of the form αp+β for some α and β such that α or β. The line intersects the iewplane if αp+β lies on the plane for some α and β, that is, when n (αp+β). Thus The following two cases arise: α(n p)+β(n ). (). When n p, the point p is on the iewplane and its projected image is itself. Meanwhile, we hae that ) Mp (n T (n )I 4 p (n p) (n )I 4 p (n )p. Thus, Mp is a multiple of p, or equialently, p itself in homogeneous coordinates.. When n p, from () we obtain that α β(n )/(n p). Substituting for α, the point of intersection has homogeneous coordinates p αp+β ( ) β(n )/(n p) p+β. Multiplying the coordinates by the scalar n p and diiding by β gies the alternatie homogeneous coordinates in matrix form: Hence we also hae M n T (n )I 4. p (n p) (n )p ) (n T (n )I 4 p. 4

5 z z z x y x y x y (abc) Figure : (a) A prism under (b) a parallel projection and (c) a perspectie projection. Example. A prism shown in Figure (a) has ertices (,,) T, (,,) T, (,,) T, (,,) T, (,,) T, and (,,) T. Consider a parallel projection of the prism onto the plane in a direction parallel to the z-axis. The iewpoint is (,,,) T, and the plane ector is n (,,,) T. We determine the projection matrix: M ( ) Applying the projection to the ertices of the prism yields. Thus the images of the ertices under the projection are (,,) T, (,,) T, (,,) T, (,,) T, (,,) T, and (,,) T, as shown in Figure (b). Next, we consider a perspectie projection onto the plane z from the iewpoint (,,) T. Here (,,,) T and n (,,,) T. And the projection matrix is M Note that β must hold, otherwise n p. ( )

6 ˆ û Figure 6: Image of a robotic arm batting an in-flight dumbbell-like object to hit three pins (courtsey of Matthew Gardner). Video on YouTube at which, multiplied to the homogeneous coordinates of the prism ertices, yields Thus the image ertices are (,,) T, (,,) T, (,,) T, (,,) T, (,,)T, and (,,) T, as shown in Figure (c).. 4 Viewplane Coordinate Mapping So far the iew of an object in the iewplane is expressed in homogeneous coordinates that correspond to the -dimensional world coordinates. The next stage is to define a coordinate system on the iewplane and represent the object in terms of these new coordinates. Figure 6 shows an image taken by a high speed camera of a robotic arm about to bat a flying dumbbell-shaped object. The camera s image plane has a local coordinate system located at the upper left corner. What is transformation from a point, say, the center of the dumbbell, in the D world to image coordinates that is automatically carried out by the camera? Generally, the iewplane (u, )-coordinate system is specified in world coordinates by an origin q (q,q,q ) T, and two unit ectors ˆr (r,r,r ) T and ŝ (s,s,s ) T which indicate the directions of the u- and -axes, respectiely. See Figure 7. Consider a point on the iewplane with homogeneous world coordinates p (x,y,z,t) T and homogeneous iewplane coordinates p (u,,w) T. To obtain the Cartesian coordinates of p, we can simply project the ector qp 6

7 iewplane coordinates p ( ) u/w /w q +ŝ q p u q + ˆr x/t y/t z/t p x y z z Perspectie projection Viewplane coordinate mapping p p Mp x ŝ ˆr y world coordinates p Vp Figure 7: Viewplane and world coordinate systems. onto the unit ectors ˆr and ŝ using inner products; namely, u w w x/t y/t z/t x/t y/t z/t q q q q q q But let us try to sole the problem by a homogeneous transformation instead. More specifically, we would like to obtain p from p by a mapping V such that p Vp, where V is a 4 matrix. Rather than compute V directly, we determine a 4 matrix K such that p Kp and then express V in terms of K. The matrix K can be determined, up to scaling, from four non-collinear points on the iewplane, using their homogeneous world coordinates and corresponding iewplane coordinates. We choose the following four points: (a) the origin (q,q,q,) T of the iew plane; (b) the point at infinity (r,r,r,) T in the direction of the u-axis of the iewplane coordinate system; (c) the point at infinity (s,s,s,) T in the direction of the -axis of the iewplane coordinate system; and (4) the point (t,t,t,) (q +r +s,q +r +s,q +r +s,) T which is one-unit each in the u and directions from the origin. The homogeneous iewplane coordinates of these points are (,,) T, (,,) T, (,,) T, and (,,) T, respectiely. Then the corresponding points are mapped to each other as follows: q r s t q r s t q r s t r s q r s q r s q 7 r r r s s s,.

8 u Figure 8: Projected prism in Figure in iewplane coordinates. Hence the transformation matrix is K r s q r s q r s q. Clearly, the column ectors of K are linearly independent. Therefore rank(k). The iewplane coordinate mapping is an inerse of the transformation determined by the matrix K. SinceK is not a squarematrix there is nomatrix inerse K. We usealeft inerse L, for which LK I. From (K T K) K T K I we hae a left inerse L (K T K) K T. Here (K T K) exists because rank(k). Since p Kp, we see that Lp (K T K) K T (Kp ) (K T K) (K T K)p p. Hence the iewplane coordinate mapping is gien by the matrix V L (K T K) K T. () Obsere that the iewplane coordinate matrix V is determined only by the choice of origin (q,q,q ) T, and the directions (r,r,r ) T and (s,s,s ) T of the u- and -axes. Example 4. Consider the perspectie projection in Example of a prism onto the plane z from the iewpoint (,,) T. Let a (u,)-coordinate system on the iewplane be gien by the origin (,,) T, u-axis direction (,4,) T, and -axis direction ( 4,,) T. The unit ectors in the axis directions are ˆr (, 4,)T, and ŝ ( 4,,)T. The iewplane coordinate matrix V (K T K) K T that maps a point in the space to a point in the iewplane is obtained in the following steps: K T K

9 (K T K) V 46 6, , 4 4 In Example, we already determined the homogeneous world coordinates of the prism ertices. Their homogeneous iewplane coordinates are computed through a further multiplication by V: Hence the Cartesian iewplane coordinates of the ertices are ( / /,, 7/ /, / 7/, 6/ ( / 9/). References [] D. Marsh. Applied Geometry for Computer Graphics and CAD. Springer-Verlag, /), 9

Objectives. Geometry. Coordinate-Free Geometry. Basic Elements. Transformations to Change Coordinate Systems. Scalars

Objectives. Geometry. Coordinate-Free Geometry. Basic Elements. Transformations to Change Coordinate Systems. Scalars Objecties Geometry CS Interactie Computer Graphics Prof. Daid E. Breen Department of Computer Science Introduce the elements of geometry - Scalars - Vectors - Points Deelop mathematical operations among

More information

Objectives. Geometry. Basic Elements. Coordinate-Free Geometry. Transformations to Change Coordinate Systems. Scalars

Objectives. Geometry. Basic Elements. Coordinate-Free Geometry. Transformations to Change Coordinate Systems. Scalars Objecties Geometry CS 432 Interactie Computer Graphics Prof. Daid E. Breen Department of Computer Science Introduce the elements of geometry - Scalars - Vectors - Points Deelop mathematical operations

More information

Camera Self-calibration Based on the Vanishing Points*

Camera Self-calibration Based on the Vanishing Points* Camera Self-calibration Based on the Vanishing Points* Dongsheng Chang 1, Kuanquan Wang 2, and Lianqing Wang 1,2 1 School of Computer Science and Technology, Harbin Institute of Technology, Harbin 150001,

More information

Hidden Line and Surface

Hidden Line and Surface Copyright@00, YZU Optimal Design Laboratory. All rights resered. Last updated: Yeh-Liang Hsu (00--). Note: This is the course material for ME550 Geometric modeling and computer graphics, Yuan Ze Uniersity.

More information

521493S Computer Graphics Exercise 2 Solution (Chapters 4-5)

521493S Computer Graphics Exercise 2 Solution (Chapters 4-5) 5493S Computer Graphics Exercise Solution (Chapters 4-5). Given two nonparallel, three-dimensional vectors u and v, how can we form an orthogonal coordinate system in which u is one of the basis vectors?

More information

EM225 Projective Geometry Part 2

EM225 Projective Geometry Part 2 EM225 Projective Geometry Part 2 eview In projective geometry, we regard figures as being the same if they can be made to appear the same as in the diagram below. In projective geometry: a projective point

More information

Robot Vision: Projective Geometry

Robot Vision: Projective Geometry Robot Vision: Projective Geometry Ass.Prof. Friedrich Fraundorfer SS 2018 1 Learning goals Understand homogeneous coordinates Understand points, line, plane parameters and interpret them geometrically

More information

CS-9645 Introduction to Computer Vision Techniques Winter 2019

CS-9645 Introduction to Computer Vision Techniques Winter 2019 Table of Contents Projective Geometry... 1 Definitions...1 Axioms of Projective Geometry... Ideal Points...3 Geometric Interpretation... 3 Fundamental Transformations of Projective Geometry... 4 The D

More information

SINGLE VIEW GEOMETRY AND SOME APPLICATIONS

SINGLE VIEW GEOMETRY AND SOME APPLICATIONS SINGLE VIEW GEOMERY AND SOME APPLICAIONS hank you for the slides. hey come mostly from the following sources. Marc Pollefeys U. on North Carolina Daniel DeMenthon U. of Maryland Alexei Efros CMU Action

More information

Shaded Rendering and Shadow Computation for Polyhedral Animation

Shaded Rendering and Shadow Computation for Polyhedral Animation 175 Shaded Rendering and Shadow Computation for Polyhedral Animation W. Brent Seales Charles R. Dyer Department of Computer Science Uniersity of Wisconsin Madison, Wisconsin 53706 USA Abstract In this

More information

3D Computer Vision II. Reminder Projective Geometry, Transformations

3D Computer Vision II. Reminder Projective Geometry, Transformations 3D Computer Vision II Reminder Projective Geometry, Transformations Nassir Navab" based on a course given at UNC by Marc Pollefeys & the book Multiple View Geometry by Hartley & Zisserman" October 21,

More information

CS 548: COMPUTER GRAPHICS REVIEW: OVERVIEW OF POLYGONS SPRING 2015 DR. MICHAEL J. REALE

CS 548: COMPUTER GRAPHICS REVIEW: OVERVIEW OF POLYGONS SPRING 2015 DR. MICHAEL J. REALE CS 548: COMPUTER GRPHICS REVIEW: OVERVIEW OF POLYGONS SPRING 05 DR. MICHEL J. RELE NOTE: COUNTERCLOCKWISE ORDER ssuming: Right-handed sstem Vertices in counterclockwise order looking at front of polgon

More information

CS770/870 Spring 2017 Ray Tracing Implementation

CS770/870 Spring 2017 Ray Tracing Implementation Useful ector Information S770/870 Spring 07 Ray Tracing Implementation Related material:angel 6e: h.3 Ray-Object intersections Spheres Plane/Polygon Box/Slab/Polyhedron Quadric surfaces Other implicit/explicit

More information

Shadows in Computer Graphics

Shadows in Computer Graphics Shadows in Computer Graphics Steven Janke November 2014 Steven Janke (Seminar) Shadows in Computer Graphics November 2014 1 / 49 Shadows (from Doom) Steven Janke (Seminar) Shadows in Computer Graphics

More information

DRAFT: Mathematical Background for Three-Dimensional Computer Graphics. Jonathan R. Senning Gordon College

DRAFT: Mathematical Background for Three-Dimensional Computer Graphics. Jonathan R. Senning Gordon College DRAFT: Mathematical Background for Three-Dimensional Computer Graphics Jonathan R. Senning Gordon College September 2006 ii Contents Introduction 2 Affine Geometry 3 2. Affine Space...................................

More information

THE VIEWING TRANSFORMATION

THE VIEWING TRANSFORMATION ECS 178 Course Notes THE VIEWING TRANSFORMATION Kenneth I. Joy Institute for Data Analysis and Visualization Department of Computer Science University of California, Davis Overview One of the most important

More information

GEOMETRY IN THREE DIMENSIONS

GEOMETRY IN THREE DIMENSIONS 1 CHAPTER 5. GEOMETRY IN THREE DIMENSIONS 1 INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW GEOMETRY IN THREE DIMENSIONS Contents 1 Geometry in R 3 2 1.1 Lines...............................................

More information

Basic Elements. Geometry is the study of the relationships among objects in an n-dimensional space

Basic Elements. Geometry is the study of the relationships among objects in an n-dimensional space Basic Elements Geometry is the study of the relationships among objects in an n-dimensional space In computer graphics, we are interested in objects that exist in three dimensions We want a minimum set

More information

Motivation: Art gallery problem. Polygon decomposition. Art gallery problem: upper bound. Art gallery problem: lower bound

Motivation: Art gallery problem. Polygon decomposition. Art gallery problem: upper bound. Art gallery problem: lower bound CG Lecture 3 Polygon decomposition 1. Polygon triangulation Triangulation theory Monotone polygon triangulation 2. Polygon decomposition into monotone pieces 3. Trapezoidal decomposition 4. Conex decomposition

More information

Viewing in 3D (Chapt. 6 in FVD, Chapt. 12 in Hearn & Baker)

Viewing in 3D (Chapt. 6 in FVD, Chapt. 12 in Hearn & Baker) Viewing in 3D (Chapt. 6 in FVD, Chapt. 2 in Hearn & Baker) Viewing in 3D s. 2D 2D 2D world Camera world 2D 3D Transformation Pipe-Line Modeling transformation world Bod Sstem Viewing transformation Front-

More information

Geometric transformations assign a point to a point, so it is a point valued function of points. Geometric transformation may destroy the equation

Geometric transformations assign a point to a point, so it is a point valued function of points. Geometric transformation may destroy the equation Geometric transformations assign a point to a point, so it is a point valued function of points. Geometric transformation may destroy the equation and the type of an object. Even simple scaling turns a

More information

True/False. MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY

True/False. MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY True/False 10 points: points each) For the problems below, circle T if the answer is true and circle F is the answer is false. After you ve chosen

More information

UNIT 2 2D TRANSFORMATIONS

UNIT 2 2D TRANSFORMATIONS UNIT 2 2D TRANSFORMATIONS Introduction With the procedures for displaying output primitives and their attributes, we can create variety of pictures and graphs. In many applications, there is also a need

More information

Three Main Themes of Computer Graphics

Three Main Themes of Computer Graphics Three Main Themes of Computer Graphics Modeling How do we represent (or model) 3-D objects? How do we construct models for specific objects? Animation How do we represent the motion of objects? How do

More information

1 Affine and Projective Coordinate Notation

1 Affine and Projective Coordinate Notation CS348a: Computer Graphics Handout #9 Geometric Modeling Original Handout #9 Stanford University Tuesday, 3 November 992 Original Lecture #2: 6 October 992 Topics: Coordinates and Transformations Scribe:

More information

CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH Warm-Up: See Solved Homework questions. 2.2 Cartesian coordinate system

CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH Warm-Up: See Solved Homework questions. 2.2 Cartesian coordinate system CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH6 2.1 Warm-Up: See Solved Homework questions 2.2 Cartesian coordinate system Coordinate axes: Two perpendicular lines that intersect at the origin O on each line.

More information

Background for Surface Integration

Background for Surface Integration Background for urface Integration 1 urface Integrals We have seen in previous work how to define and compute line integrals in R 2. You should remember the basic surface integrals that we will need to

More information

Projective geometry for Computer Vision

Projective geometry for Computer Vision Department of Computer Science and Engineering IIT Delhi NIT, Rourkela March 27, 2010 Overview Pin-hole camera Why projective geometry? Reconstruction Computer vision geometry: main problems Correspondence

More information

TECHNISCHE UNIVERSITÄT BERLIN WS2005 Fachbereich 3 - Mathematik Prof. Dr. U. Pinkall / Charles Gunn Abgabe:

TECHNISCHE UNIVERSITÄT BERLIN WS2005 Fachbereich 3 - Mathematik Prof. Dr. U. Pinkall / Charles Gunn Abgabe: TECHNISCHE UNIVERSITÄT BERLIN WS2005 Fachbereich 3 - Mathematik Prof. Dr. U. Pinkall / Charles Gunn Abgabe: 27.10.2005 1. Übung Geometrie I (Lines in P 2 (R), Separation, Desargues) 1. Aufgabe Line equations

More information

Lesson 20: Exploiting the Connection to Cartesian Coordinates

Lesson 20: Exploiting the Connection to Cartesian Coordinates : Exploiting the Connection to Cartesian Coordinates Student Outcomes Students interpret complex multiplication as the corresponding function of two real variables. Students calculate the amount of rotation

More information

Visualisation Pipeline : The Virtual Camera

Visualisation Pipeline : The Virtual Camera Visualisation Pipeline : The Virtual Camera The Graphics Pipeline 3D Pipeline The Virtual Camera The Camera is defined by using a parallelepiped as a view volume with two of the walls used as the near

More information

Lecture No Perspective Transformation (course: Computer Vision)

Lecture No Perspective Transformation (course: Computer Vision) Lecture No. 2-6 Perspective Transformation (course: Computer Vision) e-mail: naeemmahoto@gmail.com Department of Software Engineering, Mehran UET Jamshoro, Sind, Pakistan 3-D Imaging Transformation A 3D

More information

Computer Graphics: Geometric Transformations

Computer Graphics: Geometric Transformations Computer Graphics: Geometric Transformations Geometric 2D transformations By: A. H. Abdul Hafez Abdul.hafez@hku.edu.tr, 1 Outlines 1. Basic 2D transformations 2. Matrix Representation of 2D transformations

More information

THREE DIMENSIONAL GEOMETRY

THREE DIMENSIONAL GEOMETRY For more important questions visit : www4onocom CHAPTER 11 THREE DIMENSIONAL GEOMETRY POINTS TO REMEMBER Distance between points P(x 1 ) and Q(x, y, z ) is PQ x x y y z z 1 1 1 (i) The coordinates of point

More information

1-2 Geometric vectors

1-2 Geometric vectors 1-2 Geometric ectors We are going to start simple, by defining 2-dimensional ectors, the simplest ectors there are. Are these the ectors that can be defined by to numbers only? Yes, and here is a formal

More information

Summer School: Mathematical Methods in Robotics

Summer School: Mathematical Methods in Robotics Summer School: Mathematical Methods in Robotics Part IV: Projective Geometry Harald Löwe TU Braunschweig, Institute Computational Mathematics 2009/07/16 Löwe (TU Braunschweig) Math. robotics 2009/07/16

More information

The azimuth-dependent offset-midpoint traveltime pyramid in 3D HTI media

The azimuth-dependent offset-midpoint traveltime pyramid in 3D HTI media The azimuth-dependent offset-midpoint traeltime pyramid in 3D HTI media Item Type Conference Paper Authors Hao Qi; Stoas Alexey; Alkhalifah Tariq Ali Eprint ersion Publisher's Version/PDF DOI.9/segam3-58.

More information

Image Representation

Image Representation Image Representation SS 008 Image Processing Multimedia Computing, Uniersität Augsburg Rainer.Lienhart@informatik.uni-augsburg.de www.multimedia-computing.{de,org} Reference Bernd Jähne. Digital Image

More information

CSE452 Computer Graphics

CSE452 Computer Graphics CSE45 Computer Graphics Lecture 8: Computer Projection CSE45 Lecture 8: Computer Projection 1 Review In the last lecture We set up a Virtual Camera Position Orientation Clipping planes Viewing angles Orthographic/Perspective

More information

Today s Agenda. Geometry

Today s Agenda. Geometry Today s Agenda Geometry Geometry Three basic elements Points Scalars Vectors Three type of spaces (Linear) vector space: scalars and vectors Affine space: vector space + points Euclidean space: vector

More information

MA 323 Geometric Modelling Course Notes: Day 21 Three Dimensional Bezier Curves, Projections and Rational Bezier Curves

MA 323 Geometric Modelling Course Notes: Day 21 Three Dimensional Bezier Curves, Projections and Rational Bezier Curves MA 323 Geometric Modelling Course Notes: Day 21 Three Dimensional Bezier Curves, Projections and Rational Bezier Curves David L. Finn Over the next few days, we will be looking at extensions of Bezier

More information

Image Warping, Linear Algebra CIS581

Image Warping, Linear Algebra CIS581 Image Warping, Linear Algebra CIS581 From Plane to Plane Degree of freedom Translation: # correspondences? How many correspondences needed for translation? How many Degrees of Freedom? What is the transformation

More information

C O M P U T E R G R A P H I C S. Computer Graphics. Three-Dimensional Graphics I. Guoying Zhao 1 / 52

C O M P U T E R G R A P H I C S. Computer Graphics. Three-Dimensional Graphics I. Guoying Zhao 1 / 52 Computer Graphics Three-Dimensional Graphics I Guoying Zhao 1 / 52 Geometry Guoying Zhao 2 / 52 Objectives Introduce the elements of geometry Scalars Vectors Points Develop mathematical operations among

More information

CS 4204 Computer Graphics

CS 4204 Computer Graphics CS 4204 Computer Graphics 3D Viewing and Projection Yong Cao Virginia Tech Objective We will develop methods to camera through scenes. We will develop mathematical tools to handle perspective projection.

More information

arxiv: v1 [cs.cg] 14 Apr 2014

arxiv: v1 [cs.cg] 14 Apr 2014 Complexity of Higher-Degree Orthogonal Graph Embedding in the Kandinsky Model arxi:1405.23001 [cs.cg] 14 Apr 2014 Thomas Bläsius Guido Brückner Ignaz Rutter Abstract We show that finding orthogonal grid-embeddings

More information

Lemma 1 Let the components of, Suppose. Trees. A tree is a graph which is. (a) Connected and. (b) has no cycles (acyclic). (b)

Lemma 1 Let the components of, Suppose. Trees. A tree is a graph which is. (a) Connected and. (b) has no cycles (acyclic). (b) Trees Lemma Let the components of ppose "! be (a) $&%('*)+ - )+ / A tree is a graph which is (b) 0 %(')+ - 3)+ / 6 (a) (a) Connected and (b) has no cycles (acyclic) (b) roof Eery path 8 in which is not

More information

Review Exercise. 1. Determine vector and parametric equations of the plane that contains the

Review Exercise. 1. Determine vector and parametric equations of the plane that contains the Review Exercise 1. Determine vector and parametric equations of the plane that contains the points A11, 2, 12, B12, 1, 12, and C13, 1, 42. 2. In question 1, there are a variety of different answers possible,

More information

Three-Dimensional Viewing Hearn & Baker Chapter 7

Three-Dimensional Viewing Hearn & Baker Chapter 7 Three-Dimensional Viewing Hearn & Baker Chapter 7 Overview 3D viewing involves some tasks that are not present in 2D viewing: Projection, Visibility checks, Lighting effects, etc. Overview First, set up

More information

Introduction to Computer Graphics 4. Viewing in 3D

Introduction to Computer Graphics 4. Viewing in 3D Introduction to Computer Graphics 4. Viewing in 3D National Chiao Tung Univ, Taiwan By: I-Chen Lin, Assistant Professor Textbook: E.Angel, Interactive Computer Graphics, 5 th Ed., Addison Wesley Ref: Hearn

More information

Homogeneous Coordinates and Transformations of the Plane

Homogeneous Coordinates and Transformations of the Plane 2 Homogeneous Coordinates and Transformations of the Plane 2. Introduction In Chapter planar objects were manipulated by applying one or more transformations. Section.7 identified the problem that the

More information

Measuring Lengths The First Fundamental Form

Measuring Lengths The First Fundamental Form Differential Geometry Lia Vas Measuring Lengths The First Fundamental Form Patching up the Coordinate Patches. Recall that a proper coordinate patch of a surface is given by parametric equations x = (x(u,

More information

Computer Vision I - Appearance-based Matching and Projective Geometry

Computer Vision I - Appearance-based Matching and Projective Geometry Computer Vision I - Appearance-based Matching and Projective Geometry Carsten Rother 01/11/2016 Computer Vision I: Image Formation Process Roadmap for next four lectures Computer Vision I: Image Formation

More information

Last week. Machiraju/Zhang/Möller

Last week. Machiraju/Zhang/Möller Last week Machiraju/Zhang/Möller 1 Overview of a graphics system Output device Input devices Image formed and stored in frame buffer Machiraju/Zhang/Möller 2 Introduction to CG Torsten Möller 3 Ray tracing:

More information

521466S Machine Vision Exercise #1 Camera models

521466S Machine Vision Exercise #1 Camera models 52466S Machine Vision Exercise # Camera models. Pinhole camera. The perspective projection equations or a pinhole camera are x n = x c, = y c, where x n = [x n, ] are the normalized image coordinates,

More information

Curved Edge Physics. Erik Neumann September 4, 2015

Curved Edge Physics. Erik Neumann September 4, 2015 Cured Edge Physics Erik Neumann erikn@myphysicslab.com September 4, 2015 1 Introduction We derie the physics of 2 dimensional rigid bodies with cured edges for calculating contact forces in a rigid body

More information

Kinematics of the Stewart Platform (Reality Check 1: page 67)

Kinematics of the Stewart Platform (Reality Check 1: page 67) MATH 5: Computer Project # - Due on September 7, Kinematics of the Stewart Platform (Reality Check : page 7) A Stewart platform consists of six variable length struts, or prismatic joints, supporting a

More information

As a consequence of the operation, there are new incidences between edges and triangles that did not exist in K; see Figure II.9.

As a consequence of the operation, there are new incidences between edges and triangles that did not exist in K; see Figure II.9. II.4 Surface Simplification 37 II.4 Surface Simplification In applications it is often necessary to simplify the data or its representation. One reason is measurement noise, which we would like to eliminate,

More information

Windrose Planarity: Embedding Graphs with Direction-Constrained Edges

Windrose Planarity: Embedding Graphs with Direction-Constrained Edges Windrose Planarity: Embedding Graphs with Direction-Constrained Edges Patrizio Angelini Giordano Da Lozzo Giuseppe Di Battista Valentino Di Donato Philipp Kindermann Günter Rote Ignaz Rutter Abstract Gien

More information

Parallel and perspective projections such as used in representing 3d images.

Parallel and perspective projections such as used in representing 3d images. Chapter 5 Rotations and projections In this chapter we discuss Rotations Parallel and perspective projections such as used in representing 3d images. Using coordinates and matrices, parallel projections

More information

COMP30019 Graphics and Interaction Perspective Geometry

COMP30019 Graphics and Interaction Perspective Geometry COMP30019 Graphics and Interaction Perspective Geometry Department of Computing and Information Systems The Lecture outline Introduction to perspective geometry Perspective Geometry Virtual camera Centre

More information

Review for Mastery Using Graphs and Tables to Solve Linear Systems

Review for Mastery Using Graphs and Tables to Solve Linear Systems 3-1 Using Graphs and Tables to Solve Linear Systems A linear system of equations is a set of two or more linear equations. To solve a linear system, find all the ordered pairs (x, y) that make both equations

More information

Geometry. CS 537 Interactive Computer Graphics Prof. David E. Breen Department of Computer Science

Geometry. CS 537 Interactive Computer Graphics Prof. David E. Breen Department of Computer Science Geometry CS 537 Interactive Computer Graphics Prof. David E. Breen Department of Computer Science E. Angel and D. Shreiner: Interactive Computer Graphics 6E Addison-Wesley 2012. 1 Objectives Introduce

More information

Each point P in the xy-plane corresponds to an ordered pair (x, y) of real numbers called the coordinates of P.

Each point P in the xy-plane corresponds to an ordered pair (x, y) of real numbers called the coordinates of P. Lecture 7, Part I: Section 1.1 Rectangular Coordinates Rectangular or Cartesian coordinate system Pythagorean theorem Distance formula Midpoint formula Lecture 7, Part II: Section 1.2 Graph of Equations

More information

Computing Matched-epipolar Projections

Computing Matched-epipolar Projections Computing Matched-epipolar Projections Richard I. Hartley G.E. CRD, Schenectady, NY, 12301. Ph: (518)-387-7333 Fax: (518)-387-6845 Email : hartley@crd.ge.com Abstract This paper gives a new method for

More information

CS452/552; EE465/505. Geometry Transformations

CS452/552; EE465/505. Geometry Transformations CS452/552; EE465/505 Geometry Transformations 1-26-15 Outline! Geometry: scalars, points & vectors! Transformations Read: Angel, Chapter 4 (study cube.html/cube.js example) Appendix B: Spaces (vector,

More information

THE CAMERA TRANSFORM

THE CAMERA TRANSFORM On-Line Computer Graphics Notes THE CAMERA TRANSFORM Kenneth I. Joy Visualization and Graphics Research Group Department of Computer Science University of California, Davis Overview To understanding the

More information

Technische Universität München Zentrum Mathematik

Technische Universität München Zentrum Mathematik Technische Universität München Zentrum Mathematik Prof. Dr. Dr. Jürgen Richter-Gebert, Bernhard Werner Projective Geometry SS 208 https://www-m0.ma.tum.de/bin/view/lehre/ss8/pgss8/webhome Solutions for

More information

Three Dimensional Geometry

Three Dimensional Geometry Three Dimensional Geometry Teaching learning points Distance between two given points P(x, y, z ) and Q(x, y, z ) is PQ = ( x x ) + ( y y ) + ( z z ) Direction ratio of line joining the points (x, y, z

More information

Notes on Spherical Geometry

Notes on Spherical Geometry Notes on Spherical Geometry Abhijit Champanerkar College of Staten Island & The Graduate Center, CUNY Spring 2018 1. Vectors and planes in R 3 To review vector, dot and cross products, lines and planes

More information

Parameterization. Michael S. Floater. November 10, 2011

Parameterization. Michael S. Floater. November 10, 2011 Parameterization Michael S. Floater November 10, 2011 Triangular meshes are often used to represent surfaces, at least initially, one reason being that meshes are relatively easy to generate from point

More information

Unit Vector Games. Rahul Savani Bernhard von Stengel. February 15, 2016

Unit Vector Games. Rahul Savani Bernhard von Stengel. February 15, 2016 Unit Vector Games Rahul Saani Bernhard on Stengel February 5, 06 arxi:50.0 [cs.gt] Feb 06 Published in: International Journal of Economic Theory (06), 7 7. doi: 0./ijet.077 Abstract McLennan and Tourky

More information

7. Texture Mapping. Idea. Examples Image Textures. Motivation. Textures can be images or procedures. Textures can be 2D or 3D

7. Texture Mapping. Idea. Examples Image Textures. Motivation. Textures can be images or procedures. Textures can be 2D or 3D 3 4 Idea Add srface detail withot raising geometric complexity Textres can be images or procedres Textres can be D or 3D Motiation Wireframe Model + Lighting & Shading + Textre Mapping http://www.3drender.com/jbirn/prodctions.html

More information

Three Dimensional Geometry. Linear Programming

Three Dimensional Geometry. Linear Programming Three Dimensional Geometry Linear Programming A plane is determined uniquely if any one of the following is known: The normal to the plane and its distance from the origin is given, i.e. equation of a

More information

COMP30019 Graphics and Interaction Perspective & Polygonal Geometry

COMP30019 Graphics and Interaction Perspective & Polygonal Geometry COMP30019 Graphics and Interaction Perspective & Polygonal Geometry Department of Computing and Information Systems The Lecture outline Introduction Perspective Geometry Virtual camera Centre of projection

More information

7.3 3-D Notes Honors Precalculus Date: Adapted from 11.1 & 11.4

7.3 3-D Notes Honors Precalculus Date: Adapted from 11.1 & 11.4 73 3-D Notes Honors Precalculus Date: Adapted from 111 & 114 The Three-Variable Coordinate System I Cartesian Plane The familiar xy-coordinate system is used to represent pairs of numbers (ordered pairs

More information

Ioannis Stamos and Peter K. Allen. Department of Computer Science, Columbia University, New York, NY fistamos,

Ioannis Stamos and Peter K. Allen. Department of Computer Science, Columbia University, New York, NY fistamos, Interactie Sensor Planning Λ IEEE Conference on Computer Vision and Pattern Recognition, Santa Barbara, 1998, pages 489-494 Ioannis Stamos and Peter K. Allen Department of Computer Science, Columbia Uniersity,

More information

Part II. Working and Playing with Geometry

Part II. Working and Playing with Geometry Part II Working and Playing with Geometry 129 Need to play is the mother of all invention. Kristina Brenneman, Portland Tribune, 2005 So far we have prepared a solid basis for projective geometry with

More information

Camera Calibration Using Line Correspondences

Camera Calibration Using Line Correspondences Camera Calibration Using Line Correspondences Richard I. Hartley G.E. CRD, Schenectady, NY, 12301. Ph: (518)-387-7333 Fax: (518)-387-6845 Email : hartley@crd.ge.com Abstract In this paper, a method of

More information

Module 4F12: Computer Vision and Robotics Solutions to Examples Paper 2

Module 4F12: Computer Vision and Robotics Solutions to Examples Paper 2 Engineering Tripos Part IIB FOURTH YEAR Module 4F2: Computer Vision and Robotics Solutions to Examples Paper 2. Perspective projection and vanishing points (a) Consider a line in 3D space, defined in camera-centered

More information

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

COMPUTER AIDED ENGINEERING DESIGN (BFF2612) COMPUTER AIDED ENGINEERING DESIGN (BFF2612) BASIC MATHEMATICAL CONCEPTS IN CAED by Dr. Mohd Nizar Mhd Razali Faculty of Manufacturing Engineering mnizar@ump.edu.my COORDINATE SYSTEM y+ y+ z+ z+ x+ RIGHT

More information

Kinematics on oblique axes

Kinematics on oblique axes Bolina 1 Kinematics on oblique axes Oscar Bolina Departamento de Física-Matemática Uniersidade de São Paulo Caixa Postal 66318 São Paulo 05315-970 Brasil E-mail; bolina@if.usp.br Abstract We sole a difficult

More information

Overview. Viewing and perspectives. Planar Geometric Projections. Classical Viewing. Classical views Computer viewing Perspective normalization

Overview. Viewing and perspectives. Planar Geometric Projections. Classical Viewing. Classical views Computer viewing Perspective normalization Overview Viewing and perspectives Classical views Computer viewing Perspective normalization Classical Viewing Viewing requires three basic elements One or more objects A viewer with a projection surface

More information

Computer Vision I - Appearance-based Matching and Projective Geometry

Computer Vision I - Appearance-based Matching and Projective Geometry Computer Vision I - Appearance-based Matching and Projective Geometry Carsten Rother 05/11/2015 Computer Vision I: Image Formation Process Roadmap for next four lectures Computer Vision I: Image Formation

More information

B-Spline and NURBS Surfaces CS 525 Denbigh Starkey. 1. Background 2 2. B-Spline Surfaces 3 3. NURBS Surfaces 8 4. Surfaces of Rotation 9

B-Spline and NURBS Surfaces CS 525 Denbigh Starkey. 1. Background 2 2. B-Spline Surfaces 3 3. NURBS Surfaces 8 4. Surfaces of Rotation 9 B-Spline and NURBS Surfaces CS 525 Denbigh Starkey 1. Background 2 2. B-Spline Surfaces 3 3. NURBS Surfaces 8 4. Surfaces of Rotation 9 1. Background In my preious notes I e discussed B-spline and NURBS

More information

Chapter 8 Three-Dimensional Viewing Operations

Chapter 8 Three-Dimensional Viewing Operations Projections Chapter 8 Three-Dimensional Viewing Operations Figure 8.1 Classification of planar geometric projections Figure 8.2 Planar projection Figure 8.3 Parallel-oblique projection Figure 8.4 Orthographic

More information

Object Pose from a Single Image

Object Pose from a Single Image Object Pose from a Single Image How Do We See Objects in Depth? Stereo Use differences between images in or left and right eye How mch is this difference for a car at 00 m? Moe or head sideways Or, the

More information

Parameterization of triangular meshes

Parameterization of triangular meshes Parameterization of triangular meshes Michael S. Floater November 10, 2009 Triangular meshes are often used to represent surfaces, at least initially, one reason being that meshes are relatively easy to

More information

Linear algebra deals with matrixes: two-dimensional arrays of values. Here s a matrix: [ x + 5y + 7z 9x + 3y + 11z

Linear algebra deals with matrixes: two-dimensional arrays of values. Here s a matrix: [ x + 5y + 7z 9x + 3y + 11z Basic Linear Algebra Linear algebra deals with matrixes: two-dimensional arrays of values. Here s a matrix: [ 1 5 ] 7 9 3 11 Often matrices are used to describe in a simpler way a series of linear equations.

More information

So we have been talking about 3D viewing, the transformations pertaining to 3D viewing. Today we will continue on it. (Refer Slide Time: 1:15)

So we have been talking about 3D viewing, the transformations pertaining to 3D viewing. Today we will continue on it. (Refer Slide Time: 1:15) Introduction to Computer Graphics Dr. Prem Kalra Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture - 8 3D Viewing So we have been talking about 3D viewing, the

More information

The Denavit Hartenberg Convention

The Denavit Hartenberg Convention The Denavit Hartenberg Convention Ravi Balasubramanian ravib@cmu.edu Robotics Institute Carnegie Mellon University 1 Why do Denavit Hartenberg (DH)? Last class, Matt did forward kinematics for the simple

More information

Computer Vision Projective Geometry and Calibration. Pinhole cameras

Computer Vision Projective Geometry and Calibration. Pinhole cameras Computer Vision Projective Geometry and Calibration Professor Hager http://www.cs.jhu.edu/~hager Jason Corso http://www.cs.jhu.edu/~jcorso. Pinhole cameras Abstract camera model - box with a small hole

More information

A simple method for interactive 3D reconstruction and camera calibration from a single view

A simple method for interactive 3D reconstruction and camera calibration from a single view A simple method for interactive 3D reconstruction and camera calibration from a single view Akash M Kushal Vikas Bansal Subhashis Banerjee Department of Computer Science and Engineering Indian Institute

More information

Multiple View Geometry in Computer Vision

Multiple View Geometry in Computer Vision Multiple View Geometry in Computer Vision Prasanna Sahoo Department of Mathematics University of Louisville 1 Projective 3D Geometry (Back to Chapter 2) Lecture 6 2 Singular Value Decomposition Given a

More information

Linear Algebra Simplified

Linear Algebra Simplified Linear Algebra Simplified Readings http://szeliski.org/book/drafts/szeliskibook_20100903_draft.pdf -2.1.5 for camera geometry, -2.1.3, 2.1.4 for rotation representation Inner (dot) Product v w α 3 3 2

More information

CORRIDOR FOLLOWING BY MOBILE ROBOTS EQUIPPED WITH PANORAMIC CAMERAS

CORRIDOR FOLLOWING BY MOBILE ROBOTS EQUIPPED WITH PANORAMIC CAMERAS CORRIDOR FOLLOWING BY MOBILE ROBOTS EQUIPPED WITH PANORAMIC CAMERAS DIMITRIS P. TSAKIRIS y, ANTONIS A. ARGYROS y y Institute of Computer Science, FORTH, P.O. Box 385, GR 7 0, Heraklion, Crete, Greece,

More information

CS 130 Final. Fall 2015

CS 130 Final. Fall 2015 CS 130 Final Fall 2015 Name Student ID Signature You may not ask any questions during the test. If you believe that there is something wrong with a question, write down what you think the question is trying

More information

PROJECTIVE SPACE AND THE PINHOLE CAMERA

PROJECTIVE SPACE AND THE PINHOLE CAMERA PROJECTIVE SPACE AND THE PINHOLE CAMERA MOUSA REBOUH Abstract. Here we provide (linear algebra) proofs of the ancient theorem of Pappus and the contemporary theorem of Desargues on collineations. We also

More information

Geometric Transformations

Geometric Transformations CS INTRODUCTION TO COMPUTER GRAPHICS Geometric Transformations D and D Andries an Dam 9/9/7 /46 CS INTRODUCTION TO COMPUTER GRAPHICS How do we use Geometric Transformations? (/) Objects in a scene at the

More information

Geometry. Prof. George Wolberg Dept. of Computer Science City College of New York

Geometry. Prof. George Wolberg Dept. of Computer Science City College of New York Geometry Prof. George Wolberg Dept. of Computer Science City College of New York Objectives Introduce the elements of geometry -Scalars - Vectors - Points Develop mathematical operations among them in

More information

Grad operator, triple and line integrals. Notice: this material must not be used as a substitute for attending the lectures

Grad operator, triple and line integrals. Notice: this material must not be used as a substitute for attending the lectures Grad operator, triple and line integrals Notice: this material must not be used as a substitute for attending the lectures 1 .1 The grad operator Let f(x 1, x,..., x n ) be a function of the n variables

More information