Philip Willis Projective Alpha Colour Media Technology Research Centre, University of Bath.

Slides:



Advertisements
Similar presentations
Today Composing transformations 3D Transformations
Advertisements

Points, Vectors, Lines, Spheres and Matrices
This terms course Last term we both worked on learning 2 things –Processing –The concepts of graphics etc. This term will focus more on the basic concepts.
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
1 Geometrical Transformation 2 Outline General Transform 3D Objects Quaternion & 3D Track Ball.
Philip Willis Projective Alpha Colour Media Technology Research Centre, University of Bath.
Part I: Basics of Computer Graphics Viewing Transformation and Coordinate Systems Chapter
2D/3D Geometric Transformations CS485/685 Computer Vision Dr. George Bebis.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Representation Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Outline for Today More math… Finish linear algebra: Matrix composition
1 Geometrical Transformation Tong-Yee Lee. 2 Modeling Transform Specify transformation for objects Allow definitions of objects in own coordinate systems.
Course Website: Computer Graphics 3: 2D Transformations.
Computer Graphics (Fall 2008) COMS 4160, Lecture 3: Transformations 1
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Representation CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
10/5/04© University of Wisconsin, CS559 Fall 2004 Last Time Compositing Painterly Rendering Intro to 3D Graphics Homework 3 due Oct 12 in class.
Introduction to 3D Graphics Lecture 3: General Camera Model Anthony Steed University College London.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices n New stuff Homogenous co-ordinates 3D transformations as matrices.
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
Patrick Nichols Thursday, September 18, Linear Algebra Review.
Transformations Aaron Bloomfield CS 445: Introduction to Graphics
Transformations Jehee Lee Seoul National University.
Digital Image Fundamentals II 1.Image modeling and representations 2.Pixels and Pixel relations 3.Arithmetic operations of images 4.Image geometry operation.
Metrology 1.Perspective distortion. 2.Depth is lost.
3D transformations Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki
The Rendering Pipeline CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
STEPS FOR MULTIPLYING A 2-DIGIT NUMBER BY ANOTHER 2-DIGIT NUMBER With Partial Products.
CS654: Digital Image Analysis Lecture 6: Basic Transformations.
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.
Robot Kinematics: Position Analysis 2.1 INTRODUCTION  Forward Kinematics: to determine where the robot ’ s hand is? (If all joint variables are known)
CS559: Computer Graphics Lecture 8: 3D Transforms Li Zhang Spring 2008 Most Slides from Stephen Chenney.
CS559: Computer Graphics Lecture 8: Warping, Morphing, 3D Transformation Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Section 9.2 Adding and Subtracting Matrices Objective: To add and subtract matrices.
ARCH 655 Parametric Modeling in Design Wei Yan, Ph.D., Associate Professor College of Architecture, Texas A&M University Lecture 5 Matrices and Transforms.
Transformations CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
David Luebke1/10/2016 CS 551 / 645: Introductory Computer Graphics David Luebke
Transformations: Projection CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Honours Graphics 2008 Session 2. Today’s focus Vectors, matrices and associated math Transformations and concatenation 3D space.
1 Representation. 2 Objectives Introduce concepts such as dimension and basis Introduce coordinate systems for representing vectors spaces and frames.
II-1 Transformations Transformations are needed to: –Position objects defined relative to the origin –Build scenes based on hierarchies –Project objects.
CS 445 / 645: Introductory Computer Graphics Review.
III- 1 III 3D Transformation Homogeneous Coordinates The three dimensional point (x, y, z) is represented by the homogeneous coordinate (x, y, z, 1) In.
Honors Geometry: Unit 9 Vectors, Matrices, Reflection, Translations, Rotations, Compositions, Clock & Buried Treasure and Dilations Gagan Mavi & Haripriya.
YEAR 11 MATHS REVISION Transformations.
Modeling Transformation
COMPUTER GRAPHICS AND LINEAR ALGEBRA AN INTRODUCTION.
Robotic Arms and Matrices By Chris Wong and Chris Marino.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
Modeling Transformations
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Coordinate Change.
Advanced Computer Graphics
3D Geometric Transformations
3D Transformations Source & Courtesy: University of Wisconsin,
Points, Vectors, Lines, Spheres and Matrices
FP1 Matrices Transformations
Isaac Gang University of Mary Hardin-Baylor
Viewing and Perspective Transformations
4-4 Geometric Transformations with Matrices
(c) 2002 University of Wisconsin, CS 559
Rigid Body Transformations
Geometrical Transformations
Lecture 8: 3D Transforms Li Zhang Spring 2008
Transformations.
3D transformations Dr Nicolas Holzschuch University of Cape Town
TWO DIMENSIONAL TRANSFORMATION
Rigid Body Transformations
Representation Ed Angel
Presentation transcript:

Philip Willis Projective Alpha Colour Media Technology Research Centre, University of Bath

1.Digital compositing and alpha 2.Projective geometry 3.How they come together Overview of Talk Media Technology Research Centre, University of Bath

Porter and Duff 1984 Opacity, alpha: (r, g, b, ), Digital Compositing Media Technology Research Centre, University of Bath

Porter and Duff 1984 A over B C= = Digital Compositing Media Technology Research Centre, University of Bath

Porter and Duff 1984 A over B C= A C A + (1 – A ) B C B = A + (1 – A ) B Digital Compositing Media Technology Research Centre, University of Bath B CBCB

Porter and Duff 1984 A over B C= A C A + (1 – A ) B C B = A + (1 – A ) B Digital Compositing Media Technology Research Centre, University of Bath CBCB B CACA A

Porter and Duff 1984 A over B C= A C A + (1 – A ) B C B = A + (1 – A ) B Digital Compositing Media Technology Research Centre, University of Bath CACA A CBCB B 1 - A

Porter and Duff 1984 Pre-multiplied colours C= A C A + (1 – A ) B C B = c A + (1 – A ) c B Digital Compositing Media Technology Research Centre, University of Bath

Homogeneous Coordinates Media Technology Research Centre, University of Bath Unify rotation, translation, scaling. Why? 4 by 4 matrices.

Projective Transformations Media Technology Research Centre, University of Bath

Projective Geometry Media Technology Research Centre, University of Bath Projective (wx, wy, wz, w) … normalises to give Euclidean: (x, y, z, 1) The w coordinate is the scale of the projective space.

1D Projective Geometry (x,w) Media Technology Research Centre, University of Bath

1D Projective Geometry (x,w) Media Technology Research Centre, University of Bath

2D Projective Geometry (x,y,w) Media Technology Research Centre, University of Bath

Projective Geometry and Colour Media Technology Research Centre, University of Bath 1. (wx, wy, wz, w) … projective (x, y, z, 1) … normalised 2. ( r, g, b, ) … premultiplied (r, g, b, 1) … normalised

Projective Alpha Colour Media Technology Research Centre, University of Bath (r, g, b, ) r, g, b are measures of energy. They are unbounded i.e. not just in [0.0, 1.0]

Projective Alpha Colour Media Technology Research Centre, University of Bath (r, g, b, ) is a measure of scale: area. It is unbounded i.e. not just in [0.0, 1.0]

Projective Colour Space Media Technology Research Centre, University of Bath

Projective Colour Space Media Technology Research Centre, University of Bath

Projective Colour Space Media Technology Research Centre, University of Bath

Projective Colour Space Media Technology Research Centre, University of Bath

Projective Colour Space Media Technology Research Centre, University of Bath

Pre-multiplied colours? Media Technology Research Centre, University of Bath Non pre-multiplied colours?

Colours as (r, g, b, ) vectors Materials as 4 by 4 projective transformations Materials transform colours Colour Transformations Media Technology Research Centre, University of Bath

Blend materials by blending matrices: matrix multiplication or matrix addition Colour mixing, illumination, filtering etc. Colour Transformations Media Technology Research Centre, University of Bath

Fluorescence Translation: colour offset Colour rotation Scaling: change area of material Colour vanishing points. Colour Transformations Media Technology Research Centre, University of Bath

Correct colour filtering Correct illumination effects Back-illumination too. Subtractive colour (C,M,Y) Correct perspective shading Some Benefits Media Technology Research Centre, University of Bath

Spectral rendering with one alpha value Volume rendering Unbounded energy and alpha Any colour calculations Some Benefits Media Technology Research Centre, University of Bath

Example: Filtering/Illumination Media Technology Research Centre, University of Bath

Example: Filtering/Illumination Media Technology Research Centre, University of Bath

Philip Willis Thank you! Projective Alpha Colour Media Technology Research Centre, University of Bath