2001 by Jim X. Chen: 1 The purpose of a color model is to allow convenient specification of colors within some color gamut.

Slides:



Advertisements
Similar presentations
CS 445 / 645 Introduction to Computer Graphics Lecture 13 Color Color.
Advertisements

Introduction to Computer Graphics ColorColor. Specifying Color Color perception usually involves three quantities: Hue: Distinguishes between colors like.
Color Physics –Light is E-M radiation of different frequencies. –Superposition principle Perception –3 cones -> 3D color space. (Metamers). –Convex subset.
2002 by Jim X. Chen: 1 Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology,
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
The eyes have three different kinds of color receptors; One kind is most sensitive to short wavelengths, one to middle wavelengths, and one to long wavelengths.
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)
Multi-media Graphics JOUR 205 Color Models & Color Space 5 ways of specifying colors.
Color Mixing There are two ways to control how much red, green, and blue light reaches the eye: “Additive Mixing” Starting with black, the right amount.
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
What is color for?.
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.
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.
CMYK Cyan Cyan Magenta Magenta Yellow Yellow Black Black.
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.
Understanding Colour Colour Models Dr Jimmy Lam Tutorial from Adobe Photoshop CS.
CS 376 Introduction to Computer Graphics 01 / 26 / 2007 Instructor: Michael Eckmann.
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.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Light and Color Graphics Systems / Computer.
CS 445 / 645: Introductory Computer Graphics Color.
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.
Color Principles for Computer Graphics Donald House 9/17/09 Artist’s slides by Lynette House.
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.
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.
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.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
CSC361/ Digital Media Burg/Wong
COLORCOLOR Angel 1.4 and 2.4 J. Lindblad
Graphics Lecture 4: Slide 1 Interactive Computer Graphics Lecture 4: Colour.
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.
Ch 6 Color Image processing CS446 Instructor: Nada ALZaben.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli
CS654: Digital Image Analysis Lecture 29: Color Image Processing.
Three-Receptor Model Designing a system that can individually display thousands of colors is very difficult Instead, colors can be reproduced by mixing.
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.
The Science of Color The How and Why of Color. Color Basics Sir Isaac Newton discovered that white light breaks into a rainbow of colors in 1666 by passing.
I N T R O D U C T I O N T O C O M P U T E R G R A P H I C S Andries van Dam October 1, 2002 Introduction to Computer Graphics 1/82 Constructive Solid Geometry.
Intro to Color Theory. Objectives Identify and discuss various color models including RGB, CMYK, Black/white and spot color. Investigate color mixing.
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.
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Half Toning Dithering RGB CMYK Models
(c) University of Wisconsin, CS559 Spring 2002
COLOR space Mohiuddin Ahmad.
CITA 342 Section 7 Working with Color.
Introduction to Perception and Color
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:

by Jim X. Chen: 1 The purpose of a color model is to allow convenient specification of colors within some color gamut. Three hardware-oriented color models are RGB (CRT monitors), YIQ (broadcase TV color system), and CMY (color-printing devices) To related directly to intuitive color notions of hue, saturation, and brightness, another class of models (HSV, HLS, HVC, etc) are developed with ease of use as a goal

by Jim X. Chen: 2 The RGB color model (color CRT monitors) the RGB primaries are additive primaries Diagonal of the cube, with equal amounts of each primary, represents the gray levels from black (0,0,0) to (1,1,1). The color gamut covered by the RGB model is defined by the chromaticities of a CRT’s phosphors. Two CRTs with different phosphors will cover different gamuts. Color: (R,G,B) (1,1,0)=Yellow (0,1,0)=Green (1,0,0)=Red (0,1,1)=Cyan (1,0,1)=Magenta (0,0,1)=Blue (1,1,1)=White (0,0,0)=Black

by Jim X. Chen: 3 The CMY color model (ink-jet plotters) CMY are the complements of RGB. When used as filters to subtract color from white light, they are called subtractive primaries. Colors are specified by what is removed or subtracted from white light, rather than by what is added to blackness. Cyan = RGB - R Magenta = RGB - G Yellow = GRB - B From white (paper) by adding CMY, we can generate all different colors. Use CMYK K=black instead of just CMY.

4 The YIQ color model (US color TV broadcasting) a recording of RGB for transmission efficiency and for downward compatibility with black and white television. More bits of bandwidth are used to represent Y than to represent I and Q, because our eye is more sensitive to changes in luminance Here Y=luminance, the same as the CIE Y primary. Only the Y component of a color TV signal is shown on black-and-white TVs.

5 The HSV color model RGB, CMY, and YIQ models are hardware- oriented. intermediate values of V for S=0 are the grays. HSV(hue, saturation, value) or HSB (brightness) model is user-oriented.

6 The HLS Color Model HLS (hue, lightness, saturation) is HSV pulled up.

7 Interactive Specification of Color Many application programs allow the user to specify colors of areas, lines, text, and so on. Interactive selection: Perception of color is affected by surrounding colors and the sizes of colored areas

8 Interpolating in Color Space Gouraud shading, antialiasing, and blending two images A straight line in one color model corresponds to a straight line in another color model: RGB, CMY, YIQ, CIE A straight line in RGB does not in general transform into a straight line in HSV or HLS. The model used for interpolation depends on the objectives: hue, saturation, or intensity

9 4 REPRODUCING COLOR color images are reproduced in print in a process called undercolor removal black ink replaces equal amount of primaries, and hastens drying by decreasing the amounts of CMY. The monochrome dithering techniques discussed can also be used with color to extend the number of available colors, again at the expense of resolution. Creating an accurate color reproduction is much more difficult than in approximating colors. Two display monitors can be calibrated to create the same tristimulus values.

10 5 USING COLOR IN COMPUTER GRAPHICS A conservative approach to color selection is to design first for a monochrome display, to ensure that color use is purely redundant. For aesthetic purposes: (certain rules) Select colors by traversing a smooth path in a color model (by restricting the colors to planes of hexcones in a color space. This means using colors of constant brightness.) Colors are best spaced at equal perceptual distances (Gouraud shading). A random selection of different hues and saturations is usually quite garish. If a chart contains just a few colors, the complement of one of the colors should be used as the background.

11 A neutral (gray) background should be used for an image containing many different colors. If two adjoining colors are not particularly harmonious, a thin black border can be used to set them apart. In general, it is good to user fewer number of colors. Physiological considerations: (certain rules) vary from the background not just in chromaticity, but in brightness (i.e. perceived intensity, which eye is more sensitive to) blue and black differ very little in brightness, yellow on white is relatively hard to distinguish. white on blue background provides a good contrast that is less harsh than white on black.

It is good to avoid reds and greens with low saturation and luminance, as these are the colors confused by those of us who are red-green color blind. The eye cannot distinguish the color of very small objects. The perceived color of a colored area is affected by the color of the surrounding area The color of an area can actually affect its perceived size. (red square is perceived as larger than green square of equal size) Use of large areas of saturated colors is unwise (afterimage of the large area)... 12