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

Slides:



Advertisements
Similar presentations
Today Composing transformations 3D Transformations
Advertisements

Philip Willis Projective Alpha Colour Media Technology Research Centre, University of Bath.
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.
Computer Graphics Lecture 4 Geometry & Transformations.
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.
Part I: Basics of Computer Graphics Viewing Transformation and Coordinate Systems Chapter
Sep 21, Fall 2005ITCS4010/ Computer Graphics Overview Color Displays Drawing Pipeline.
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,
1 Jinxiang Chai CSCE 441 Computer Graphics. 2 Midterm Time: 10:10pm-11:20pm, 10/20 Location: HRBB 113.
Sep 21, Fall 2006IAT 4101 Computer Graphics Overview Color Displays Drawing Pipeline.
1 Geometrical Transformation Tong-Yee Lee. 2 Modeling Transform Specify transformation for objects Allow definitions of objects in own coordinate systems.
IAT 3551 Computer Graphics Overview Color Displays Drawing Pipeline.
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.
1 Digital Images WorldCameraDigitizer Digital Image (i) What determines where the image of a 3D point appears on the 2D image? (ii) What determines how.
2D Transformations Unit - 3. Why Transformations? In graphics, once we have an object described, transformations are used to move that object, scale it.
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.
Lecture Notes: Computer Graphics.
Intro to 3D Models Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
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.
Projective geometry ECE 847: Digital Image Processing Stan Birchfield Clemson University.
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.
CS559: Computer Graphics Lecture 8: 3D Transforms Li Zhang Spring 2008 Most Slides from Stephen Chenney.
CSE Real Time Rendering Week 5. Slides(Some) Courtesy – E. Angel and D. Shreiner.
Geometric Transformations Hearn & Baker Chapter 5 Some slides are taken from Robert Thomsons notes.
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.
2x2 Matrices, Determinants and Inverses
Affine Geometry Jehee Lee Seoul National University.
Transformations CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Multimedia Programming 07: Image Warping Keyframe Animation Departments of Digital Contents Sang Il Park.
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.
Transformations ENLARGEMENTS A Enlarge: Scale factor 2 5cm 3cm 2cm 4cm 10cm 6cm A´A´
Modeling Transformation
Transformations. Modeling Transformations  Specify transformations for objects  Allows definitions of objects in own coordinate systems  Allows use.
Robotic Arms and Matrices By Chris Wong and Chris Marino.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
Computer Graphics Overview
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Coordinate Change.
Geometric Transformations Hearn & Baker Chapter 5
3D Transformations Source & Courtesy: University of Wisconsin,
Representation Ed Angel Professor Emeritus of Computer Science,
Points, Vectors, Lines, Spheres and Matrices
FP1 Matrices Transformations
Isaac Gang University of Mary Hardin-Baylor
Chapter IV Spaces and Transforms
Isaac Gang University of Mary Hardin-Baylor
Viewing and Perspective Transformations
(c) 2002 University of Wisconsin, CS 559
Rigid Body Transformations
Representation Ed Angel Professor Emeritus of Computer Science,
Transformations.
3D transformations Dr Nicolas Holzschuch University of Cape Town
Transformations 2 University of British Columbia
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,  ), 0.0   1.0 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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B CACA A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A CBCB B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?

Subtractive colours in printing: C, M, Y primaries. Media Technology Research Centre, University of Bath Negative alpha and colour?

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

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

Blend materials by “blending” matrices: matrix multiplication or matrix addition Colour mixing, illumination, filtering etc. 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 The End Projective Alpha Colour Media Technology Research Centre, University of Bath