Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.

Slides:



Advertisements
Similar presentations
13- 1 Chapter 13: Color Processing 。 Color: An important descriptor of the world 。 The world is itself colorless 。 Color is caused by the vision system.
Advertisements

Introduction to Computer Graphics ColorColor. Specifying Color Color perception usually involves three quantities: Hue: Distinguishes between colors like.
Color Image Processing
Light Light is fundamental for color vision Unless there is a source of light, there is nothing to see! What do we see? We do not see objects, but the.
Informationsteknologi Monday, October 29, 2007Computer Graphics - Class 21 Today’s class Graphics programming Color.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2007 Tamara Munzner Vision/Color II, Virtual.
School of Computing Science Simon Fraser University
Multi-media Graphics JOUR 205 Color Models & Color Space 5 ways of specifying colors.
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
1 Perception. 2 “The consciousness or awareness of objects or other data through the medium of the senses.”
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Color Models AM Radio FM Radio + TV Microwave Infrared Ultraviolet Visible.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
9/14/04© University of Wisconsin, CS559 Spring 2004 Last Time Intensity perception – the importance of ratios Dynamic Range – what it means and some of.
Course Website: Digital Image Processing Colour Image Processing.
Digital Image Processing Colour Image Processing.
CS 376 Introduction to Computer Graphics 01 / 26 / 2007 Instructor: Michael Eckmann.
2001 by Jim X. Chen: 1 The purpose of a color model is to allow convenient specification of colors within some color gamut.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Visual Perception How We See Things. Visual Perception It is generally agreed that we have five senses o Vision o Hearing o Touch o Taste o Smell Of our.
Color Background. What is Color? Aspect of vision Physical reaction of the eye and the automatic interpretive response of the brain to wavelength characteristics.
Human Eye and Color Rays of light enter the pupil and strike the back of the eye (retina) – signals go to the optic nerve and eventually to the brain Retina.
Color Image Processing A spectrum of possibilities…
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Light and Color Graphics Systems / Computer.
I-1 Steps of Image Generation –Create a model of the objects –Create a model for the illumination of the objects –Create an image (render) the result I.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Color Principles for Computer Graphics Donald House 9/17/09 Artist’s slides by Lynette House.
Color Models. Color Vision The color-responsive chemicals in the cones are called cone pigments and are very similar to the chemicals in the rods. The.
Color. Contents Light and color The visible light spectrum Primary and secondary colors Color spaces –RGB, CMY, YIQ, HLS, CIE –CIE XYZ, CIE xyY and CIE.
Color 2011, Fall. Colorimetry : Definition (1/2) Colorimetry  Light is perceived in the visible band from 380 to 780 nm  distribution of wavelengths.
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
Color. Understanding Color ● What is a color? ● How is color perceived? ● How can color be represented?
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
©College of Computer and Information Science, Northeastern UniversityMay 27, CS 4300 Computer Graphics Prof. Harriet Fell Fall 2012 Lecture 4 – September.
CSC361/ Digital Media Burg/Wong
Graphics Lecture 4: Slide 1 Interactive Computer Graphics Lecture 4: Colour.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Color and Blending 03/22/06. RGB  Why?  Monitor  Human vision system  Scale: 0-1, 0-n.
Three-Receptor Model Designing a system that can individually display thousands of colors is very difficult Instead, colors can be reproduced by mixing.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Introduction to Computer Graphics
Color Principles for Computer Graphics Donald House 9/17/09 Artist’s slides by Lynette House.
Color Models. Color models,cont’d Different meanings of color: painting wavelength of visible light human eye perception.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
CS-321 Dr. Mark L. Hornick 1 Color Perception. CS-321 Dr. Mark L. Hornick 2 Color Perception.
Now… The Basics of Design Basic Elements of Design Dots Lines Shapes Color Type Size Direction.
Image credit: Wikipedia (Fovea) Human Eye Some interesting facts – Rod cells: requires only low light b/w vision blur, all over retina EXCEPT fovea – Cone.
Computer Graphics: Achromatic and Coloured Light.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
COMPUTER GRAPHICS CS 482 – FALL 2016 CHAPTER 28 COLOR COLOR PERCEPTION CHROMATICITY COLOR MODELS COLOR INTERPOLATION.
Color Models Light property Color models.
Half Toning Dithering RGB CMYK Models
Our Color vision is Limited
Color Image Processing
Color Image Processing
Pengenalan Warna Teori Warna.
Color 2017, Fall.
Color Image Processing
Color 2015, Fall.
Colour Theory Fundamentals
Given current computer technology, color is seldom NOT an option
Computer Vision Lecture 4: Color
Introduction to Perception and Color
Color Image Processing
Slides taken from Scott Schaefer
Light Light has wave-like properties
Color Image Processing
Color Models l Ultraviolet Infrared 10 Microwave 10
Presentation transcript:

Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College PowerPoint Instructor’s Resource

Color and Blending Specifying and working with color in your images

Color is Fundamental in Graphics Having full-capability color available everywhere was a great breakthrough in computing when it finally happened In order to use color, we need to know how to specify it and how to work with it We also need to know how color affects the way our audience understands our images

The Human Visual System Our eyes have two main kinds of cells involved in vision –Rods -- sense luminance or brightness –Cones -- sense chroma or color Three kinds of photosensitive chemicals in cones Generally these are sensitive to red, green, and blue light wavelengths

Computer Graphics Simulates These Capabilities Images are created using red, green, and blue primaries Primaries may be phosphors in screen or film Primaries may be created by complements in print –See the hardcopy chapter for more details

The RGB Color Model Colors are specified by naming their red, green, and blue components These are usually taken to be relative components with real-valued numbers in [0,1] each Devices will have a more discrete color space, but the [0,1] space is mapped to this as needed

The RGB Color Space It is convenient to visualize RGB space in terms of the RGB Cube, with pure primaries at the vertices

Color and Luminance It can be important to think of the luminance of a color as well as the chroma (RGB values) of the color Luminance can be approximated by 0.30*red *green *blue If a viewer has color deficiencies, he can usually distinguish color by luminance

Luminance Example The RGB cube clipped by a plane, shown in both color and grayscale The grayscale conversion is computer- based, not visually-based; is it right?

Other Color Models: HSV Hue - Saturation - Value : cone model Hue = angle; saturation = radius; value = height Views from side, top, and bottom

Other Color Models: HLS Hue - Lightness - Saturation double cone model with hue = angle; lightness = height; saturation = radius; Views from red, green, and blue sides

Emissive vs Transmissive Colors Emissive colors are from screen Transmissive colors are from inks RGB emissive model (left) CMYK transmissive model (right)

Color Depth Depth is number of bits to store color Current standard is at least 8 bits/color With smaller color depth, you can get more mach banding (some may always be there!) See them in figure

Color Gamut The color gamut is the range of colors that can be created compared to the number that can be seen The CIE color space helps to see the gamut of any device (see triangle)

Color Blending and the Alpha Channel The RGB color model is extended to the RGBA model by adding an alpha value This value represents the proportion of color this contributes when it is blended with other colors 1 = complete coverage; 0 = no coverage Blending models transparency but does not actually provide it

Creating Transparency with Blending Takes Some Work (left) Three planes with alpha =.5, order B-G-R (middle) Three planes as above, no depth testing (right) Three planes as at top, varying alpha values But if you divide each plane into four parts and draw them back to front, you get an accurate model of transparency

Color for Visual Communication Color can be used in many ways Highlight color (left) and background color (right) are two important ones

Color for Visual Communication (2) Pseudocolor is another very important use of color for communication Use color to show the value of data

Pseudocolor and Color Ramps Create a color ramp by associating values of each of R-G-B with values in [0,1] For example: –From 0 to.30, increase red to go from (0,0,0) to (1,0,0) –From.30 to.89, increase green to go from (1,0,0) to (1,1,0) –From.89 to 1.0, increase blue to go from (1,1,0) to (1,1,1) This is the uniform-luminance color ramp

Pseudocolor and Color Ramps Comparing color ramps –rainbow (left) vs uniform-luminance (right)

Color and Shape You can use either color or shape to encode values (or both) Compare these examples: which works?

Other Color Issues Color has some very specific meanings to people You need to respect those if you want your images to communicate well to a number of audiences Meanings can be professional, cultural, or even emotional

Perception Issues With Color There are problems with sharp contrasts in color along edges These come from the way our vision system works