Chi-Cheng Lin, Winona State University

Slides:



Advertisements
Similar presentations
4.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 4 – Colour Models.
Advertisements

REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Copyright, © Qiming Zhou GEOG3610 Remote Sensing and Image Interpretation Human Vision and Colour.
PSSA Preparation.
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.
CS 445 / 645 Introduction to Computer Graphics Lecture 13 Color Color.
Introduction to Computer Graphics ColorColor. Specifying Color Color perception usually involves three quantities: Hue: Distinguishes between colors like.
ECE 472/572 - Digital Image Processing Lecture 10 - Color Image Processing 10/25/11.
Achromatic and Colored Light CS 288 9/17/1998 Vic.
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.
School of Computing Science Simon Fraser University
CS 4731: Computer Graphics Lecture 24: Color Science
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.
Color.
COLOR and the human response to light
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
CS559-Computer Graphics Copyright Stephen Chenney Color Recap The physical description of color is as a spectrum: the intensity of light at each wavelength.
Color Models AM Radio FM Radio + TV Microwave Infrared Ultraviolet Visible.
Raster Graphics and Color
Digital Images ColorColor. Color  The human eye combines 3 primary colors using the 3 different types of cones to discern all visible colors. This suggests.
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.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Color Representation K. H. Ko Department of Mechatronics Gwangju Institute.
Color Theory What is color? How do we describe and match colors? Color spaces.
Chapter 6: Color Image Processing Digital Image Processing.
Color Management. How does the color work?  Spectrum Spectrum is a contiguous band of wavelengths, which is emitted, reflected or transmitted by different.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Light and Color Graphics Systems / Computer.
CS 325 Introduction to Computer Graphics 01 / 29 / 2010 Instructor: Michael Eckmann.
Color Theory And Photography
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.
Week 6 Colour. 2 Overview By the end of this lecture you will be familiar with: –Human visual system –Foundations of light and colour –HSV and user-oriented.
CS 445 / 645 Introduction to Computer Graphics Lecture 13 Color Color.
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.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
CSC361/ Digital Media Burg/Wong
CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light:
CS 376 Introduction to Computer Graphics 01 / 24 / 2007 Instructor: Michael Eckmann.
A color model is a specification of a 3D color co-ordinate system and a visible subset in the co-ordinate System within all colors in a particular color.
Mixing the broad distributions of green and red yields yellow. Although the resulting spectral distribution is very different from spectral yellow. If.
CS654: Digital Image Analysis Lecture 29: Color Image Processing.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Introduction to Computer Graphics
EEL Introduction to Computer Graphics PPT12: Color models Yamini Bura – U
Color Models. Color models,cont’d Different meanings of color: painting wavelength of visible light human eye perception.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Raster Graphics and Color Greg Humphreys University of Virginia CS 445, Fall 2003.
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.
COLOR THEORY Color is the eye’s response to the visual spectrum from red to violet. Different colors in the spectrum are created by different wavelengths.
Chapter 12 Color Models and Color Applications
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
Display Issues Ed Angel
COLOR THEORY Color is the eye’s response to the visual spectrum from red to violet. Different colors in the spectrum are created by different wavelengths.
Color Image Processing
COLOR space Mohiuddin Ahmad.
Color 2017, Fall.
Chapter 6: Color Image Processing
Color 2015, Fall.
RGB Color Model CMY Color Model.
Slides taken from Scott Schaefer
Color Model By : Mustafa Salam.
Color Models l Ultraviolet Infrared 10 Microwave 10
Color Theory What is color? How do we perceive it?
Presentation transcript:

Chi-Cheng Lin, Winona State University CS430 Computer Graphics Color Theory Chi-Cheng Lin, Winona State University

Topics Colors CIE Color Model RGB Color Model CMY Color Model YIQ Color Model Intuitive Color Concepts HSV Color Model HLS Color Model

Colors Colors A narrow frequency band within the electromagnetic spectrum

Colors Visible band Each frequency corresponds to a distinct color Low-frequency end (4.3 x 1014 Hz): Red High-frequency end (7.5 x 1014 Hz): Violet Wavelength  = v/f, where v=300,000km/sec Low frequency High frequency red orange yellow green blue violet Long wavelength Short wavelength 700nm 400nm

Colors Colors of an object Dominant wavelength (or frequency) Light source emits “white light” (all frequencies of light) Object reflects/absorbs some frequencies Color = combination of frequencies reflected Dominant wavelength (or frequency) Hue or color of the light E.g., pink S(): spectrum (luminance/intensity of light)  400 620 700

CIE Color Model Color models Primary colors CIE color model Use three primary colors to produce other colors Primary colors Colors used in a color model to produce all the other colors in that model. Cannot be made from the other (two) colors defining the model. CIE color model X, Y, and Z: nonexistent, super saturated colors Vectors in 3-D additive color space Any color S = AX + BY + CZ

CIE Color Model S = AX + BY + CZ can be normalized to x = A/(A+B+C) y = B/(A+B+C) z = C/(A+B+C)  s = xX + yY + zZ, where x + y + z = 1  s lies in the plane x + y + z = 1 in 3D y =670 z x =400

CIE Color Model CIE chromaticity diagram s'() = (x(), y()) By viewing the 3D curve in an orthographic projection, looking along the z-axis horseshoe shape y =670 x z =400

CIE Chromaticity Diagram

CIE Chromaticity Diagram

Uses of CIE Chromaticity Diagram

Uses of CIE Chromaticity Diagram Any colors on the line l between two colors a and b Is a convex combination of a and b Is a legitimate color can be generated by shining various amounts of a and b onto a screen (like “tweening”) Complementary colors Any two colors on a line passing through white and added up to be white are complementary e.g., e and f redcyan greenmagenta blueyellow

Uses of CIE Chromaticity Diagram Measure dominant wavelength and saturation Color g: Some combination of h and white Dominant wavelength of g = wavelength at h Saturation (purity) of g = (g - w) / (h - w) Color j has no dominant wavelength because k is not a pure color (k lies on the purple line) Represented by dominant wavelength of k’s complement m, with by a c suffix, e.g., 498c

Uses of CIE Chromaticity Diagram Any color within a triangle can be generated by the three vertices of the triangle Any point inside IJK is a convex combination of points I, J, and K

Uses of CIE Chromaticity Diagram Define color gamuts Range of colors that can be produced on a device CRT monitor’s gamut is different from printer’s (See Plate 33 in the textbook) Any choice of three primaries can never encompass all visible colors RGB are natural choices for primaries as they can cover the largest part of the “horseshoe”

Gamut Example

RGB Color Model Used in light emitting devices Additive Color CRT monitors Additive Result = individual contributions of each primary color added together C = rR + gG + bB, where r, g, b  [0, 1] R = (1, 0, 0) G = (0, 1, 0) B = (0, 0, 1)

RGB Color Model

RGB Color Model Color Cube R + G = (1, 0, 0) + (0, 1, 0) = (1, 1, 0) = Y R + B = (1, 0, 0) + (0, 0, 1) = (1, 0, 1) = M B + G = (0, 0, 1) + (0, 1, 0) = (0, 1, 1) = C R + G + B = (1, 1, 1) = W 1 – W = (0, 0, 0) = BLK Grays = (x, x, x), where x  (0, 1)

Color Cube

CMY Color Model CMY: Complements of RGB Used in light absorbing devices Hardcopy output devices Subtractive Color specified by what is subtracted from white light Cyan absorbs red, magenta absorbs green, and yellow absorbs blue

CMY Color Model

CMY Color Model W = (0, 0, 0) B = (1, 1, 1) Conversion from RGB to CMY Conversion from CMY to RGB

CMYK Color Model Motivations CMYK model Given C, M, and Y Do we get black if paint cyan, magenta and yellow on a white paper? Which cartridge is more expensive? CMYK model K = greatest gray that can be extracted Given C, M, and Y K = min(C, M, Y) C = C – K M = M – K Y = Y – K Try some examples…

YIQ Color Model Used in U.S. commercial color-TV broadcasting Recoding of RGB for transmission efficiency Backward compatible with black-and-white TV Transmitted using NTSC (National Television System Committee) standard

YIQ Color Model YIQ RGB  YIQ Y: luminance I, Q: chromaticity Only Y shown in black-and-white TV RGB  YIQ

YIQ Color Model Human’s visual properties More sensitive to changes in luminance than in hue or saturation  more bits should be used to represent Y than I and Q Limited color sensation to objects covering extremely small part of our field of view  One, rather than two color dimensions would be adequate  I or Q can have a lower bandwidth than the others

YIQ Color Model NTSC encoding of YIQ into broadcast signal Uses human’s visual system properties to maximize information transmitted in a fixed bandwidth Y: 4MHz I: 1.5MHz Q: 0.6MHz

Intuitive Color Concepts Terminology Perceptual Term Colorimetry Comments hue dominated wavelength to distinguish colors saturation excitation purity e.g., red and pink Lightness (reflecting objects) luminance Brightness (self-luminous objects) e.g., Sun, CRT

Intuitive Color Concepts tints pure color white tones Tint: white pigment added to pure pigment  saturation reduced Shade: black pigment added to pure pigment  lightness reduced Tone: consequence of adding both white and black pigments to pure pigments grays shades black

Intuitive Color Concepts Tints, shades, and tones  different colors of same hue are produced Grays = black pigments + white pigments Graphics packages that provide color palettes to users often employ two or more color models

HSV Color Model HSV = Hue, Saturation, and Value A.k.a. HSB, where B is Brightness RGB, CMY, and YIQ: hardware-oriented HSV and HLS: user-oriented Cylinder coordinate system Space: hexcone hexagon is obtained from the color cube in isometric projection (h, s, v), where h  [0, 360) and s, v  [0, 1] hue: angle round the hexagon saturation: distance from the center value: axis through the center

HSV Color Model Color Cube Hexcone

HSV Color Model W = (-, 0, 1) B = (-, 0, 0) R = (0, 1, 1) Y = (60, 1, 1) : M = (300, 1, 1) Adding white pigments  S Adding black pigments  V Creating tones  S and V

HSV Color Model True color system: 16 million colors Q: Do we need that many? Human eyes can distinguish 128 hues 130 tints (saturation levels) 23 shades of yellow colors, 16 of blue colors  128 x 130 x 23 = 82720 colors

HLS Color Model HLS: Hue, Lightness, and Saturation Cylinder coordinate system Space: double cone base is from the hexagon as in HSV (h, l, s), where h  [0, 360) and s, v  [0, 1] hue: angle round the base lightness: axis through the center saturation: distance from the center W = (-, 0, 1) B = (-, 0, 0) R = (0, 0.5, 1), Y = (60, 0.5, 1), …

HLS Color Model Double cones white pure color h black