CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: 400-700nm. range Visible light:

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

ECE 472/572 - Digital Image Processing Lecture 10 - Color Image Processing 10/25/11.
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.
School of Computing Science Simon Fraser University
SWE 423: Multimedia Systems Chapter 4: Graphics and Images (2)
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
Color Representation Lecture 3 CIEXYZ Color Space CIE Chromaticity Space HSL,HSV,LUV,CIELab X Z Y.
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Basic Color Theory Susan Farnand
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.
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.
Color & Color Management. Overview I. Color Perception Definition & characteristics of color II. Color Representation RGB, CMYK, XYZ, Lab III. Color Management.
Light, Color and Imaging. Light The Electromagnetic Spectrum: E = h.
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.
Image Processing Lecture 2 - Gaurav Gupta - Shobhit Niranjan.
Computer Graphics I, Fall 2008 Image Formation.
1 Image Formation. 2 Objectives Fundamental imaging notions Physical basis for image formation ­Light ­Color ­Perception Synthetic camera model Other.
Chapter 6: Color Image Processing Digital Image Processing.
Color Image Processing A spectrum of possibilities…
1 Color vision and representation S M L.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Light and Color Graphics Systems / Computer.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
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.
6. COLOR IMAGE PROCESSING
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
Chap 4 Color image processing. Chapter 6 Color Image Processing Chapter 6 Color Image Processing Two major areas: full color and pseudo color 6.1 Color.
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
COLORCOLOR Angel 1.4 and 2.4 J. Lindblad
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.
CS654: Digital Image Analysis Lecture 29: Color Image Processing.
COLOR.
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.
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.
David Luebke 1 2/5/2016 Color CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Computer Graphics: Achromatic and Coloured Light.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Digital Image Processing Lecture 12: Color Image Processing Naveed Ejaz.
Color Models Light property Color models.
School of Electronics & Information Engineering
IMAGE PROCESSING COLOR IMAGE PROCESSING
Display Issues Ed Angel
Color Image Processing - 1
Color Image Processing
Color Image Processing
Color Image Processing
COLOR space Mohiuddin Ahmad.
Chapter 6: Color Image Processing
Color Image Processing
Introduction to Computer Graphics with WebGL
Color Representation Although we can differentiate a hundred different grey-levels, we can easily differentiate thousands of colors.
Color Image Processing
Digital Image Processing
Digital Image Processing
Slides taken from Scott Schaefer
Color Image Processing
Color Model By : Mustafa Salam.
Color Models l Ultraviolet Infrared 10 Microwave 10
Presentation transcript:

CS6825: Color

2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light: nm. range

3 Color: Color: It is determined by light source, surface properties (what light is absorbed & reflected) and the sensor. It is determined by light source, surface properties (what light is absorbed & reflected) and the sensor.

4 The Sensor - Human Vision Human eyes have 2 types of sensors: Human eyes have 2 types of sensors: CONESCONES Sensitive to colored light, but not very sensitive to dim light, Curves like Red, Green, Blue Sensitive to colored light, but not very sensitive to dim light, Curves like Red, Green, Blue RODSRODS (very) Sensitive to achromatic light (very) Sensitive to achromatic light

5 Human Cones We perceive color using three different types of cones: We perceive color using three different types of cones: 440 nm (BLUE)440 nm (BLUE) 545 nm (GREEN)545 nm (GREEN) 580 nm (RED)580 nm (RED) SGSG SRSR SBSB

6 Illumination Source - Sunlight Sunlight under different conditions…is not pure white light Sunlight under different conditions…is not pure white light

7 Color Models They provide a standard way of specifying a particular color using a 3D coordinate system. Hardware oriented: Hardware oriented: RGBRGB CMYCMY YIQ (luminance, inphase, quadrature)YIQ (luminance, inphase, quadrature) Image processing oriented: Image processing oriented: HIS (hue, intensity, saturation)HIS (hue, intensity, saturation) XYZXYZ

8 CIE primaries: XYZ The Commission Internationale de l’Eclairage defined 3 standard primaries: X, Y, Z that can be added to form all visible colors. (better at this than Red, Green, Blue space ) The Commission Internationale de l’Eclairage defined 3 standard primaries: X, Y, Z that can be added to form all visible colors. (better at this than Red, Green, Blue space ) Y was chosen so that its color matching function matches the sum of the 3 human cone responses. Y was chosen so that its color matching function matches the sum of the 3 human cone responses.

9 CIE primaries: XYZ All positive spectral matching curves All positive spectral matching curves Y corresponds to brightness Y corresponds to brightness Equal energy white: X=Y=Z Equal energy white: X=Y=Z Relationship to RGB Relationship to RGB

10 x,y,z normalize X,Y,Z s.t. x+y+z=1x,y,z normalize X,Y,Z s.t. x+y+z=1 Chromaticity is given byChromaticity is given by HUE HUE SATURATION SATURATION Pure colors are at the curved boundaryPure colors are at the curved boundary White is (1/3,1/3,1/3)White is (1/3,1/3,1/3) Image Gonzales and Woods

11 Mixing Colors on CIE diagram Any color along a line can be obtained by mixing the colors of the endpoints. Any color along a line can be obtained by mixing the colors of the endpoints. Any point in a triangle can be obtained by mixing the colors of the vertices. Any point in a triangle can be obtained by mixing the colors of the vertices.

12 RGB Model Based on human visual system cones. Based on human visual system cones. Additive model. Additive model. An image consists of 3 BANDS: Red (R), Green (G), Blue (B) An image consists of 3 BANDS: Red (R), Green (G), Blue (B) Used in computer monitors, televisions, consumer digital cameras. Used in computer monitors, televisions, consumer digital cameras. Hence often used in media vision systems. Hence often used in media vision systems.

13 RGB convert to XYZ

14 CMY Model Cyan-Magenta-Yellow is a subtractive model which is good to model absorption of colors. Cyan-Magenta-Yellow is a subtractive model which is good to model absorption of colors. Appropriate for paper printing. Subtractive model Appropriate for paper printing. Subtractive model

15 RGB Is Additive CMY Is Subtractive Typically used for projected/ emitted light like TV / computers Typically used for reflected light like in printers

16 YIQ Model Used by NTSC TV standard Used by NTSC TV standard Separates Hue (I,Q) from Luminance (Y) (so for old black and white TVs can transmit/use just Y). Separates Hue (I,Q) from Luminance (Y) (so for old black and white TVs can transmit/use just Y).

17 Luminance vs Intensity

18 HSI Model HSI Model Multiple views of the HSI space

19 RGB-HSI Conversion (See Gonzalez and Woods) Note: R, G and B are in [0,1] range

20 Color constancy Ability to perceive the colors of objects in a scene independent for the most part from the color of the ambient illumination Ability to perceive the colors of objects in a scene independent for the most part from the color of the ambient illumination Research into how can from a measurement such as R,G,B extract the information from the true color of the object (surface) and REMOVE the factors of the illumination source and the sensor limitation/properties. Research into how can from a measurement such as R,G,B extract the information from the true color of the object (surface) and REMOVE the factors of the illumination source and the sensor limitation/properties.

21 Color Balancing by von Kries method balancing is the global adjustment of the intensities of the colors balancing is the global adjustment of the intensities of the colors Refer to wiki ( for details of this simple algorithm that uses XYZ space. Refer to wiki ( for details of this simple algorithm that uses XYZ space.wikihttp://en.wikipedia.org/wiki/Color_balancewikihttp://en.wikipedia.org/wiki/Color_balance Here are the results: Here are the results:

22 Conclusion Color is an important visual clue – how would you know how to grab a red pen without the red cap? Color is an important visual clue – how would you know how to grab a red pen without the red cap? Color can and is represented in many different “color spaces”…like RGB, CMY, XYZ,etc. Color can and is represented in many different “color spaces”…like RGB, CMY, XYZ,etc. We typically use different color spaces for different purposes (i.e. CMY for printers, RGB for monitors and cameras). We typically use different color spaces for different purposes (i.e. CMY for printers, RGB for monitors and cameras). Color correction looks at trying to reduce or if possible eliminate the effects the illumination has on the appearance of the color of an object. This is an active area of research in color. We saw a simple color balance method. Color correction looks at trying to reduce or if possible eliminate the effects the illumination has on the appearance of the color of an object. This is an active area of research in color. We saw a simple color balance method.