CS 325 Computer Graphics

Similar documents
Overview. Raster Graphics and Color. Overview. Display Hardware. Liquid Crystal Display (LCD) Cathode Ray Tube (CRT)

Outline. Quantizing Intensities. Achromatic Light. Optical Illusion. Quantizing Intensities. CS 430/585 Computer Graphics I

Introduction to Computer Graphics

The Information Processing model

CBIR: Colour Representation. COMPSCI.708.S1.C A/P Georgy Gimel farb

Introduction to Computer Graphics. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012

Computer Graphics. Anders Hast

A Short Introduction to Computer Graphics

1. Introduction to image processing

COMP175: Computer Graphics. Lecture 1 Introduction and Display Technologies

CS 106 Introduction to Computer Science I

Perception of Light and Color

INTRODUCTION IMAGE PROCESSING >INTRODUCTION & HUMAN VISION UTRECHT UNIVERSITY RONALD POPPE

Important Notes Color

Computer Graphics AACHEN AACHEN AACHEN AACHEN. Public Perception of CG. Computer Graphics Research. Methodological Approaches

Color Management Terms

Institution : Majmaah University. Academic Department : College of Science at AzZulfi. Programme : Computer Science and Information Course :

Computer Graphics. Coursework. Overview. Programming Assignments. Art Contest. Administrative Matters. Exams (30%) In class (Mar 11 and Apr 29)

CS 4810 Introduction to Computer Graphics

Filters for Black & White Photography

How Landsat Images are Made

Lecture Notes, CEng 477

INTRODUCTION TO RENDERING TECHNIQUES

A Proposal for OpenEXR Color Management

COMP-557: Fundamentals of Computer Graphics McGill University, Fall 2010

Digital Color Workflows and the HP DreamColor LP2480zx Professional LCD Display

Adding Animation With Cinema 4D XL

Review Vocabulary spectrum: a range of values or properties

Choosing Colors for Data Visualization Maureen Stone January 17, 2006

Imaging Systems Laboratory II. Laboratory 4: Basic Lens Design in OSLO April 2 & 4, 2002

Expert Color Choices for Presenting Data

A comparison between a CRT and a LCD monitors colors rendering

VISUAL ARTS VOCABULARY

Light Waves and Matter

Experiment C-31 Color Absorption

Computers in Film Making

A Guided User Experience Using Subtle Gaze Direction

ELEMENTS OF ART & PRINCIPLES OF DESIGN

game development documentation game development documentation: concept document

Graphic Design. Background: The part of an artwork that appears to be farthest from the viewer, or in the distance of the scene.

How To Teach Computer Graphics

Lecture 1: The Visual System

Calibration Best Practices

Introduction Week 1, Lecture 1

Computer Vision. Color image processing. 25 August 2014

Course Overview. CSCI 480 Computer Graphics Lecture 1. Administrative Issues Modeling Animation Rendering OpenGL Programming [Angel Ch.

Better Vision with LED lights

Electromagnetic Radiation (EMR) and Remote Sensing

CS130 - Intro to computer graphics. Dr. Victor B. Zordan vbz@cs.ucr.edu Objectives

Color Part I. (The two items we can determine: a. How bright is the light is. b. What color the light is.)

Teaching Methodology for 3D Animation

Lesson 3: Behind the Scenes with Production

8.2 Cells and Energy. What is photosynthesis? Photosynthesis takes place in the chloroplasts. CHAPTER 8. Solar cells and chloroplasts

ILLUSTRATIVE EXAMPLE: Given: A = 3 and B = 4 if we now want the value of C=? C = = = 25 or 2

The Limits of Human Vision

TEACHING INTRODUCTORY COMPUTER GRAPHICS WITH THE PROCESSING LANGUAGE

The 3D rendering pipeline (our version for this class)

Visualization methods for patent data

Instructor. Goals. Image Synthesis Examples. Applications. Computer Graphics. Why Study 3D Computer Graphics?

1 Laboratory #5: Grating Spectrometer

Elements of Art Name Design Project!

Q1. The diagram below shows the range of wavelengths and frequencies for all the types of radiation in the electromagnetic spectrum.

GRAFICA - A COMPUTER GRAPHICS TEACHING ASSISTANT. Andreas Savva, George Ioannou, Vasso Stylianou, and George Portides, University of Nicosia Cyprus

Image Processing and Computer Graphics. Rendering Pipeline. Matthias Teschner. Computer Science Department University of Freiburg

PDF Created with deskpdf PDF Writer - Trial ::

The Eye of the Beholder Designing for Colour-Blind Users

A Short Introduction on Data Visualization. Guoning Chen

Spectrophotometry and the Beer-Lambert Law: An Important Analytical Technique in Chemistry

CULTURAL HISTORY Primary Colors - Part 1 of 2 by Neal McLain

Digital Image Basics. Introduction. Pixels and Bitmaps. Written by Jonathan Sachs Copyright Digital Light & Color

Computer Graphics with OpenGL 3e

Physical Science Study Guide Unit 7 Wave properties and behaviors, electromagnetic spectrum, Doppler Effect

Video, film, and animation are all moving images that are recorded onto videotape,

Name Class Date. spectrum. White is not a color, but is a combination of all colors. Black is not a color; it is the absence of all light.

How to rotoscope in Adobe After Effects

3 hours One paper 70 Marks. Areas of Learning Theory

Welcome to this presentation on Thermal Characteristics of LEDs, part of OSRAM Opto Semiconductors LED Fundamentals series.

Introduction to. With Slides from Dongho Kim and Karen Liu. School of Computer Soongsil University Animation. Computer Animation

Prentice Hall: Middle School Math, Course Correlated to: New York Mathematics Learning Standards (Intermediate)

Visualizing Data: Scalable Interactivity

Rapid Android Development

At the core of this relationship there are the three primary pigment colours RED, YELLOW and BLUE, which cannot be mixed from other colour elements.

Glencoe. correlated to SOUTH CAROLINA MATH CURRICULUM STANDARDS GRADE 6 3-3, , , 4-9

Teaching Introductory Computer Graphics Via Ray Tracing

Using 3D Computer Graphics Multimedia to Motivate Teachers Learning of Geometry and Pedagogy

Waves Sound and Light

Computer Vision: Machine Vision Filters. Computer Vision. Optical Filters. 25 August 2014

How To Be A 3D Modelled Environment Artist

Upon completion of this lab, the student will be able to:

GUI GRAPHICS AND USER INTERFACES. Welcome to GUI! Mechanics. Mihail Gaianu 26/02/2014 1

Silverlight for Windows Embedded Graphics and Rendering Pipeline 1

Particles, Flocks, Herds, Schools

Lesson 4. Temporal Management of Layers

Computer Graphics ( / ) Prof. Misha Kazhdan misha@cs.jhu.edu

Three Key Paper Properties

CPIT-285 Computer Graphics

Transcription:

CS 325 Computer Graphics 01 / 25 / 2016 Instructor: Michael Eckmann

Today s Topics Review the syllabus Review course policies Color CIE system chromaticity diagram color gamut, complementary colors, dominant wavelength Students will fill out a questionnaire

Who is your instructor? I'm Mike Eckmann, an Associate Professor in the Mathematics and Computer Science Dept., Skidmore College. This is my twelfth year of teaching at Skidmore. Before coming to Skidmore I was at Lehigh University in PA. I studied Mathematics and Computer Engineering and Computer Science all at Lehigh University. I was employed as a programmer (systems analyst) for eight years.

General comments I m really looking forward to teaching this course again. I have taught this course several times and it has gone pretty well. Partly because of student feedback, a lab/discussion hour was added. This hour will allow you to have time to work on programming in class (in addition to outside of class) so that I will be there to help out if you need it.

Syllabus Office hours Text book Class room Assignments Mostly programming Collaboration policy Grading scheme Attendance Readings http://www.skidmore.edu/~meckmann/2016spring/cs325/index.html The most up-to-date syllabus will be found on the course web page.

Suggestions on how to succeed in this (or any? CS) course Keep up on the reading before the class period that we cover it. Participate in class -- ask questions in class (best), via email or in my office. Start the programs as soon as they are assigned. You will run into snags. Debugging can take a long, long time. These are based on my observations of successful students in past classes.

CG Definition and Application Areas Computer Graphics is using computer hardware and software to assist in creating images. Application areas of computer graphics are many Entertainment: Film, art, games Scientific Visualization (large, multidimensional data sets) examples: http://design.osu.edu/carlson/history/lesson18.html Systems used for various types of training Usability of computers (Human Computer Interaction) And more...

Some of the concepts we ll cover In this course we will be learning about the following Computer Graphics concepts. Color Algorithms for drawing lines, circles, etc. in 2d. Learning how to transform a 3d description of a scene into 2d for display on a screen, based on viewing angle, etc. How to model lighting in scenes. Some of the concepts behind making realistic looking models of objects. And more...

Programming Oriented I feel that writing programs using the concepts learned in class is one of the best ways to really understand those concepts. Writing programs that produce graphics requires the programmer to have a deep understanding of the topics involved. I ll assume you know how to program well in Java. I will review the Linear Algebra material necessary for the course. I will cover the basics of the OpenGL/Jogl graphics library (soon).

Programming Oriented OpenGL is a graphics library that has functionality to draw pixels, lines, polygons, etc. It also contains ways for us to control the appearance of what is drawn: e.g. Color, surface properties, lighting in the scene, textures etc. We will be using OpenGL to aid us in our graphics programming. However, this course is not a course in learning all the cool stuff you can do with OpenGL, instead we will use some of the basic functions available in the OpenGL library to draw pixels etc. which will allow us to implement (and learn about) some important algorithms in Computer Graphics. Think about the data structures you coded from scratch in cs206 --- same idea here.

Some Examples of Computer Graphics in Films 1982: Star Trek: The Wrath of Khan First all digital computer graphics sequence in a film 1985: Young Sherlock Holmes First fully computer graphics created character in a film 1993: Jurassic Park First computer graphically created live animals in a film 1995: Toy Story First feature length CG film. 1997:Titanic http://www.pbs.org/wgbh/nova/specialfx2/real.html Source for info: http://www.pbs.org/wgbh/nova/specialfx2/1980.html

Examples of Computer Graphics in Films 2001: Final Fantasy: The Spirits Within Stats for this film: Poly counts for main characters = ~ 300,000 Number of Frames in the Movie = 149,246 (at 24 frames/sec. for over 100 minutes) 934,162 days of render time on one processor (>2500 years) Used ~ 1200 processors Storage ~ 4 TB http://arstechnica.com/wankerdesk/01q3/ff-interview/ff-interview-2.html

Examples of Computer Graphics in 2009: Avatar Stats for this film: Films Poly counts for plants = ~ 100,000 1 million Number of full CG frames in the movie = 158,400 (at 24 frames/sec. for 110 minutes) Number of partial CG frames in the movie = 28,800 (at 24 frames/sec. for 20 minutes) Multiply those by 2 (because of 3D) Each frame 30-50 (60-100) hours of render time Used ~ 40,000 processors w/ 104 TB RAM

Examples of Computer Graphics in Films 2013: Gravity Stats for this film: Polygon count for International Space Station: 100 million Source: http://www.framestore.com/news/gravity-cg-sets-and-suits Over 7000 years of render time on one processor Source: http://www.fxguide.com/featured/gravity/ Used over 15000 processor cores Source: http://www.firstshowing.net/2013/vfx-work-on-gravity-required-a

Color Ok, enough introduction, let s start our discussion of color. Color is covered in Chapter 19 of our textbook. Physically, color is electromagnetic radiation in the visible light frequency range. Psychologically, how humans perceive color is more than just the frequency. Hue, brightness and purity are what characterize what color is seen. These terms will be defined shortly.

Color Frequency range of visible light is approx. from: 3.8*10^14 Hz up to 7.9*10^14 Hz

Color Terms White light contains approx. equal amounts of all frequencies of the visible range and when light hits an opaque object, some frequencies are absorbed and others are reflected. The ones that are reflected are the colors that we see. Hue, Brightness and Purity are the three perceived characteristics of light. Hue: the Dominant Frequency of perceived light Brightness (aka Luminance of the light): the total light energy Purity (aka Saturation): a measure of how much white light is entering the eye (e.g. Red is more pure than pink) Chromaticity refers collectively to hue and purity (everything except brightness)

Color x-axis is time. Period of the wave is T (units: s). Frequency f =1/T (units: 1/s). Wavelength = c / f. Speed of light is approx. 3*10^8 m / s Visible light s wavelength range is approximately: wavelength of the low frequency end 3.8 * 10^14 Hz is: 3*10^8 m/s / 3.8 * 10^14 Hz = 789 nm (Red end) wavelength of the high frequency end of 7.9 * 10^14 Hz is: 3*10^8 m/s / 7.9 * 10^14 Hz = 379 nm (Violet end)

Color

Color The last slide shows a color that is reddish and fairly pure due to the fact that E D is >> E W. If the graph contained approximately the same amount of energy of each frequency then it would represent white.

Color If we combine light with different dominant frequencies, we can create other colors. We combine primary colors in various proportions to make up a wide range of colors known as the color gamut. Complementary colors are two colors that combine to produce white. No finite set of light sources can produce all colors. The color gamut of three primary colors is typically sufficient for most purposes.

Color The tristimulus theory of color perception states that the retina in the human eye has three kinds of color sensors (cones) with peak sensitivities to red, blue and green light. Cones (6-8 million in retina, concentrated in fovea) for color / bright light vision Rods (over 100 million in retina, none in fovea) for achromatic brightness levels / night vision fovea is in center of retina --- that's where most of the cones are Let's look here for the rod & cone distribution throughout the retina: http://www.cis.rit.edu/people/faculty/montag/vandplite/pages/chap_9/ch9p1.html http://dragon.uml.edu/psych/rodconedistribution.html

Color The tristimulus theory of color perception (continued) Experiments have shown that based on this theory that blue's peak is 440 nm, green's is 545 nm, and red's is 580 nm. Also, experiments have shown that the eye's response to blue light is much less strong than to red and green. Given 3 primary colors, we can combine them with various proportions to produce new colors. Defining colors by mixtures of three primaries is an extremely useful approach.

Color Experiments were done on humans to determine what proportions of three primaries would produce certain test colors. The experiments were like this: A test color was shown. An adjustable color was also shown that contained a mixture of three primaries 700 nm (red), 546.1 nm (green) and 435.8 nm (blue). The observer adjusted the amount of each of the three primaries until the observer determined that it matched the test color. Some test colors were not matchable. In these cases, a primary was added to the test color and then attempted to be matched. This resulted in the original test color being represented by a certain mixture of the three primaries (one with a negative contribution.)

Color Public domain image This shows how much of each of the three primaries are needed to generate each monochromatic color (the wavelength on the x-axis.)

Color This is a chromaticity diagram (shows colors at a single (highest) brightness). Only hue and saturation are represented. The bottom left circle is the blue primary, the top circle is the green primary and the bottom right circle is the red primary. These are the three primaries from the last slide. The triangle contains the color gamut of those primaries.

Color The next slide shows color matching functions f Z, f Y and f X for a standard set (CIE 1931) of primaries Z, Y and X. These three colors were defined so that there is no need for a negative contribution of one of them and so that the entire range of visible colors is producible. These three colors X, Y and Z correspond roughly to red, green, and blue respectively.

Color

Color Data files exist with the amounts of each of the color matching functions needed to produce colors at all the wavelengths between 360 nm and 830 nm. The values in the charts correspond to the graph on the last slide. The values are used as weights thusly: Color = xx + yy + zz, where x, y and z are the weights applied to the primaries X, Y and Z. x+y+z is the total light energy. We can normalize with respect to this amount.

Color Color = xx + yy + zz x' = x / (x+y+z) y' = y / (x+y+z) z' = z / (x+y+z) Since x' + y' + z' = 1, any color can be represented by just two of the x', y' and z'. By normalizing based on the total light energy (brightness) we are only now dealing with hue and purity (collectively known as Chromaticity) The graph on the next slide is in 2d and it's x axis corresponds to x' here, and y axis to y' here.

Color

Questionnaire & Homework Please fill out the questionnaire and give it to me before you leave today. READING: Color Models & Color Applications: Read Chapter 19 (entire chapter) (it s only 18 pages) Introduction: Skim Chapter 1