Slides taken from Scott Schaefer

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
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.
Fundamentals of Digital Imaging
School of Computing Science Simon Fraser University
CS 4731: Computer Graphics Lecture 24: Color Science
SWE 423: Multimedia Systems Chapter 4: Graphics and Images (2)
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
What is color for?.
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.
Why Care About Color? Accurate color reproduction is commercially valuable - e.g. Kodak yellow, painting a house Color reproduction problems increased.
Color Models AM Radio FM Radio + TV Microwave Infrared Ultraviolet Visible.
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.
Colour Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 6 This presentation © 2004, MacAvon Media Productions Colour.
CS 376 Introduction to Computer Graphics 01 / 26 / 2007 Instructor: Michael Eckmann.
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.
Computer Science 631 Lecture 7: Colorspace, local operations
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.
CSC361/ Digital Media Burg/Wong
1 Light and Color. 2/118 Topics The Human Visual System Displaying Intensity and Luminance Display Using Fixed Intensities Understanding Color Display.
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.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Introduction to Computer Graphics
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.
Chapter 4: Color in Image and Video
09/10/02(c) University of Wisconsin, CS559 Fall 2002 Last Time Digital Images –Spatial and Color resolution Color –The physics of color.
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 Huamin Qu Hong Kong University of Science and Technology.
Multimedia systems Lecture 5: Color in Image and Video.
Color Models Light property Color models.
School of Electronics & Information Engineering
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Half Toning Dithering RGB CMYK Models
IMAGE PROCESSING COLOR IMAGE PROCESSING
Display Issues Ed Angel
Color Image Processing
Color Image Processing
Color Image Processing
(c) University of Wisconsin, CS559 Spring 2002
COLOR space Mohiuddin Ahmad.
Color 2017, Fall.
Chapter 6: Color Image Processing
Color Image Processing
Color 2015, Fall.
CITA 342 Section 7 Working with Color.
Color & Light CMSC 435/634.
Introduction to Computer Graphics with WebGL
© University of Wisconsin, CS559 Spring 2004
Color Representation Although we can differentiate a hundred different grey-levels, we can easily differentiate thousands of colors.
Introduction to Perception and Color
Color Image Processing
Color Image Processing
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:

Slides taken from Scott Schaefer Light and Color Slides taken from Scott Schaefer

Topics Understanding Color Display of Color Color Models

Seeing Color http://www.johnsadowski.com/big_spanish_castle.html

Light Light is carried by photons, traveling with different wavelengths/frequencies c=ln Speed of light = c (assume constant) Wavelength = l Frequency = n So, Wavelength & Frequency are interchangable, and inverse of each other

Visible Light Image taken from http://www.andor.com/image_lib/lores/introduction/introduction%20(light)/intlight%201%20small.jpg

Visible Light The response of the cells in our eye let us see from ~400nm (violet) to ~700nm (red). If all light arriving is one wavelength, we see it as one color.

Visible Light The response of the cells in our eye let us see from ~400nm (violet) to ~700nm (red). If all light arriving is one wavelength, we see it as one color. But, Light usually comes in as a spectrum – different intensities at all the various wavelengths. Images taken from http://www.newport.com/Information-on-Oriel-Spectral-Irradiance-Data/383232/1033/catalog.aspx

Tristimulus Theory There are 3 kinds of cones in the eye that respond differently to different wavelengths of light.

Tristimulus Theory There are 3 kinds of cones in the eye that respond differently to different wavelengths of light. Anything that stimulates these cones in the same way appears as the same color. This is fundamental to our ability to reproduce different colors! A monitor can stimulate the cones to make it appear that a particular color is being generated.

Response of Cones 3 Cones, Rods respond to light differently Image taken from http://www.unm.edu/~toolson/human_cone_response.htm

Receptor Response Though cones often called “red, green, blue”, the peak responses are actually in the yellow, yellow-green, and violet. Altogether, overall response is Gaussian-like, centered on yellow/green Sun and plants… Image taken from http://www.unm.edu/~toolson/human_cone_response.htm

Receptor Response

Tristimulus Since 3 different cones, the space of colors is 3-dimensional. We need a way to describe color within this 3 dimensional space. We want something that will let us describe any visible color…

Topics Understanding Color Display of Color Color Models

The CIE XYZ system CIE – Comission Internationale de l’Eclairage International Commission on Illumination Sets international standards related to light Defined the XYZ color system as an international standard in 1931 X, Y, and Z are three Primary colors. All visible colors can be defined as a combination of these three colors. Defines the 3 dimensional color space

Getting Luminance from RGB Luminance is a function of perception, not just color. People see green best, red next, blue least Simply averaging R, G, B gives an intensity value, but does not reflect luminance Sometimes “lightness” – the average of the max and the min of R, G, B is used. But, best is a perceptual combination: I = 0.299*R + 0.587*G + 0.114*B

Color Matching Functions Given an input spectrum, , we want to find the X, Y, Z coordinates for that color. Color matching functions, , , and tell how to weight the spectrum when integrating: Image taken from http://upload.wikimedia.org/wikipedia/commons/8/87/CIE1931_XYZCMF.png

XYZ space The visible colors form a “cone” in XYZ space. For visible colors, X, Y, Z are all positive. But, X, Y, and Z themselves are not visible colors! Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

Luminance and Chromaticity The intensity (luminance) is just X+Y+Z. Scaling X, Y, Z just increases intensity. We can separate this from the remaining part, chromaticity. Color = Luminance + Chromaticity Chromaticity is 2D, Luminance is 1D To help us understand chromaticity, we’ll fix intensity to the X+Y+Z=1 plane.

Chromaticity Diagram Project the X+Y+Z=1 slice along the Z-axis Chromaticity is given by the x, y coordinates Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

White Point White: at the center of the diagram. Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

Spectral Colors Visible Spectrum along outside curve Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

Saturation As you move on line from white to edge, you increase the saturation of that color. Royal blue, red: high saturation Carolina blue, pink: low saturation Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

Hue Hue is the “direction” from white. Combined with saturation, it gives another way to describe color Also called dominant wavelength Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

Non-Spectral Colors Non-spectral colors: do not correspond to any wavelength of light. i.e. not seen in rainbow e.g. maroon, purple, magenta Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

Combining Two Colors If we have two colors, A and B, by varying the relative intensity, we can generate any color on the line between A and B. Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

Complementary Colors Complementary colors are those that will sum to white. That is, white is halfway between them. Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

Combining Three Colors If we have three colors, A, B, and C, by varying the relative intensity, we can generate any color in the triangle between them. Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

Gamut Display devices generally have 3 colors (a few have more). e.g. RGB in monitor The display can therefore display any color created from a combination of those 3. This range of displayable colors is called the gamut of the device.

Differing Gamuts Different devices have different gamuts e.g. differing phosphors So, RGB on one monitor is not the same as RGB on another Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

Device Gamuts For monitors, typically have colors in the Red, Green, Blue areas Helps cover lots of visible spectrum But, not all (in fact, nowhere close to all) of the visible spectrum is ever represented Since all 3 colors are visible, can’t possibly encompass full visible spectrum!

Gamuts Red: typical monitor gamut Blue: maximum gamut with 3 phosphors Image taken from http://fourier.eng.hmc.edu/e180/handouts/color1/node27.html

What does cyan look like?

Topics Understanding Color Display of Color Color Models

Color Models CIE’s XYZ system is a standard, but not very intuitive. As we saw with saturation and hue, there’s more than one way to specify a color. A variety of color models have been developed to help with some specifications.

RGB Red, Green, Blue Common specifications for most monitors Tells how much intensity to use for pixels Note: Not standard – RGB means different things for different monitors Generally used in an additive system Each adds additional light (e.g. phosphor) Combine all three colors to get white

CMY Cyan, Magenta, Yellow Commonly used in printing Generally used in a subtractive system: Each removes color from reflected light Combine all three colors to get black Conceptually, [C M Y] = [1 1 1] – [R G B] Complimentary colors to RGB

CMYK Cyan, Magenta, Yellow, Black Comes from printing process – since CMY combine to form black, can replace equal amounts of CMY with Black, saving ink. K = min(C, M, Y) C = C-K M = M-K Y = Y-K

YIQ / YUV NTSC, PAL standards for broadcast TV Backward compatible to Black and White TV Y is luminance – only part picked up by Black and White Televisions Y is given most bandwidth in signal I, Q channels (or U,V) contain chromaticity information

HSV Hue, Saturation, Value Used as a user-friendly way to specify color. Hue – angle around cone Saturation – how far from center Value (luminance) – how high up cone (black at bottom, white at top center). Image taken from http://www.mandelbrot-dazibao.com/HSV/HSV.htm

HLS Hue, Lightness, Saturation A variation on HSV, but with a double cone Lightness: black at base (0), white at top (1) Image taken from http://en.wikipedia.org/wiki/Image:Color_cones.png

Lab and Luv Perceptually-based color spaces (CIE standards) Idea: want the distance between colors in the color space to correspond to intuitive notion of how “similar” colors are Not perfect, but much better than XYZ or RGB color spaces.

Representing Color Generally, store 3 color channels in equal bits Not necessary, though, e.g. YIQ Can sometimes get better mapping of color space for an application by adjusting bits e.g. 10 bits R, 8 bits G, 6 bits B Color indexing: give each color a numerical identifier, then use that as reference Good for specifying with a limited palette Note: you can use dithering/halftoning with color channels, similar to how you would for achromatic light.