Introduction. The Spectral Basis for Color

Similar documents
Colors in Images & Video

LECTURE 07 COLORS IN IMAGES & VIDEO

Color & Graphics. Color & Vision. The complete display system is: We'll talk about: Model Frame Buffer Screen Eye Brain

Hello, welcome to the video lecture series on Digital image processing. (Refer Slide Time: 00:30)

Color Theory: Defining Brown

Digital Image Processing Color Models &Processing

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Interactive Computer Graphics

Chapter 3 Part 2 Color image processing

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing

COLOR and the human response to light

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1

Color Image Processing

Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color

COLOR. and the human response to light

Digital Image Processing. Lecture # 8 Color Processing

6 Color Image Processing

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD)

Digital Image Processing COSC 6380/4393. Lecture 20 Oct 25 th, 2018 Pranav Mantini

Color Image Processing EEE 6209 Digital Image Processing. Outline

Color Image Processing. Gonzales & Woods: Chapter 6

EECS490: Digital Image Processing. Lecture #12

MATH 5300 Lecture 3- Summary Date: May 12, 2008 By: Violeta Constantin

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models

Color vision and representation

Additive Color Synthesis

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University

Unit 8: Color Image Processing

Raster Graphics. Overview קורס גרפיקה ממוחשבת 2008 סמסטר ב' What is an image? What is an image? Image Acquisition. Image display 5/19/2008.

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור

COLOR AS A DESIGN ELEMENT

To discuss. Color Science Color Models in image. Computer Graphics 2

Digital Image Processing

Colors in images. Color spaces, perception, mixing, printing, manipulating...

Color Image Processing. Jen-Chang Liu, Spring 2006

Digital Image Processing (DIP)

The Principles of Chromatics

Colour (1) Graphics 2

Figure 1: Energy Distributions for light

In order to manage and correct color photos, you need to understand a few

VC 16/17 TP4 Colour and Noise

Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!

Color. Chapter 6. (colour) Digital Multimedia, 2nd edition

CIE tri-stimulus experiment. Color Value Functions. CIE 1931 Standard. Color. Diagram. Color light intensity for visual color match

Part I: Color Foundations The Basic Principles of COLOUR theory

Colour. Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!) Colour Lecture!

Introduction & Colour

Fig Color spectrum seen by passing white light through a prism.

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Color Image Processing

Digital Image Processing Chapter 6: Color Image Processing ( )

Color Image Processing

Exercise NMCGJ: Image Processing

Chapter 9: Color. What is Color? Wavelength is a property of an electromagnetic wave in the frequency range we call light

What is Color Gamut? Public Information Display. How do we see color and why it matters for your PID options?

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Color Theory and Mixing

Images and Colour COSC342. Lecture 2 2 March 2015

Chapter 4. Incorporating Color Techniques

Color Science. CS 4620 Lecture 15

Multimedia Systems and Technologies

Comparing Sound and Light. Light and Color. More complicated light. Seeing colors. Rods and cones

Geography 360 Principles of Cartography. April 24, 2006

Light. intensity wavelength. Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies

Digital Image Processing

Color Image Processing

Colour. Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5. Autumn 2016 University of Stirling

Mahdi Amiri. March Sharif University of Technology

The basic tenets of DESIGN can be grouped into three categories: The Practice, The Principles, The Elements

YIQ color model. Used in United States commercial TV broadcasting (NTSC system).

Test 1: Example #2. Paul Avery PHY 3400 Feb. 15, Note: * indicates the correct answer.

Wireless Communication

Visual Perception. Overview. The Eye. Information Processing by Human Observer

05 Color. Multimedia Systems. Color and Science

Lecture 8. Color Image Processing

check it out online at

Lecture Color Image Processing. by Shahid Farid

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Basics of Colors in Graphics Denbigh Starkey

White light can be split into constituent wavelengths (or colors) using a prism or a grating.

Introduction to Color Theory

CHAPTER 6 COLOR IMAGE PROCESSING

Computer Graphics Si Lu Fall /27/2016

Additive and Subtractive Color Lab On Line PreAP

Reading. Foley, Computer graphics, Chapter 13. Optional. Color. Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA 1995.

In a physical sense, there really is no such thing as color, just light waves of different wavelengths.

Lecture 6 6 Color, Waves, and Dispersion Reading Assignment: Read Kipnis Chapter 7 Colors, Section I, II, III 6.1 Overview and History

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing

Hue Do You Think Hue Are?

COLOR. Elements of color. Visible spectrum. The Human Visual System. The Fovea. There are three types of cones, S, M and L. r( λ)

color basics theory & application Fall 2013 Ahmed Ansari Communication Design Fundamentals

Color Studies for Kids

Optical properties. Quality Characteristics of Agricultural Materials

What is Color? Chapter 9: Color. Color Mixtures. Color Mixtures 10/29/2012. What is color? Color vocabulary

Introduction to Color Theory

Introduction to Color Science (Cont)

Transcription:

Introduction Color is an extremely important part of most visualizations. Choosing good colors for your visualizations involves understanding their properties and the perceptual characteristics of human vision. It is also important to understand how computer software assigns colors and various hardware devices interpret those assignments. This exercise should help develop your knowledge of color models and your ability to apply this knowledge to your projects. The Spectral Basis for Color Visible light, ultraviolet light, x-rays, TV and radio waves, etc are all forms of electromagnetic energy which travels in waves. The wavelength of these waves is measured in a tiny unit called the Angstrom, equal to 1 ten billionth of a meter. Another unit sometimes used to measure wavelength of light waves is nanometers (nm) which are equal to 1 billionth of a meter. Figure 1 - The electromagnetic spectrum There is a narrow range of this electromagnetic energy from the sun and other light sources which creates energy of wavelengths visible to humans. Each of these wavelengths, from approximately 4000 Angstroms to 7000 Angstroms, is associated with a particular color response. For example, the wavelengths near 4000 Angstroms (400 nm) are violet in color while those near 7000 (700 nm) are red.

Figure 2 - The colors of the wavelengths of visible light The CIE Color Model Although some colors can be created by a single, pure wavelength, most colors are the result of a mixture of wavelengths. A French organization, the Commission International de L'Eclairage (CIE), worked in the first half of the 20th century developing a method for systematically measuring color in relation to the wavelengths they contain. This system became known as the CIE color model (or system). The model was originally developed based on the tristimulus theory of color perception. The theory is based on the fact that our eyes contain three different types of color receptors called cones. These three receptors respond differently to different wavelengths of visible light. This differential response of the three cones is measured in three variables X, Y, and Z in the CIE color model. This gives a three dimensional model which is then projected onto one plane to give a 2 dimensional graphic (See figure 3a). XYand Z are mapped to X and Y coordinates. This variation of the CIE model is seen below in Figure 3b. Figure 3a - In the CIE model - Z coordinates are projected onto the XY plane

Figure 3b - The CIE color model mapped to X and Y coordinates Notice in Figure 3b that the perimeter edge marks the wavelengths of visible light. Along this edge will be the 'pure' spectral light colors. Other colors are developed by mixing varying amounts of different wavelengths. Notice the purples at the bottom do not have a wavelength associated with them. These purples are non-spectral colors, that is they can only be seen by mixing wavelengths from the two ends of the spectrum. White light is perceived when all three cones are stimulated, like purple it is only seen when light from many different wavelengths is mixed. One use for the CIE model is to specify ranges of colors that can be produced by a particular light source. This range is referred to as a gamut. For example, a typical computer monitor has a color gamut much smaller than all the possible colors. A color computer monitor produces color by mixing specific red, green, and blue phosphors. As seen in the following illustration, all the possible colors the monitor can produce fall within a triangle defined by these red, green, and blue starting colors.

Figure 4 - RGB Computer Monitor Gamut shown in the CIE color model Though there is a solid scientific basis behind the CIE system and it provides a very precise way of specifying color, it is not terribly easy to use in practice. An alternative is start with the three primary colors computer monitors use: red, green, and blue. Primary and Secondary Color Hues Figure 5 shows the three primary colors that computer monitors use to create all the possible colors displayed. They are called the light primaries because they are created colors by mixing light sources of these colors; in this case, glowing phosphors built into the computer monitor screen.

Figure 5 - The three light primaries: Red, Green, and Blue The three different colored phosphors are placed in groups very close to each other in groups of three; a triad(see Figure 5). Each triad of primary colored phosphors constitutes a single pixel on the computer monitor. The viewer does not see each phosphor, but the mix of the group of three: the pixel. In fact, it is very difficult to see even a single pixel. The viewer is likely to perceive the color of groups of pixels. By varying the intensity which these phosphors glow, the computer monitor can vary the perceived color at each pixel. As mentioned above, this manipulation of the phosphor intensity creates the gamut of colors which can be created on the computer monitor. Figure 6 - Each pixel on the computer monitor is made up of a triad of red, green, and blue phosphors.

This mixing process can be represented by laying out all of the possible color mixtures around in a circle. As you move in a circle from one primary to the next, you add more of the primary you approach and less of the one you are moving away from. When you are 180 degrees away from a primary, you have none of it mixed in. This color is the complement of the primary. Figure 7 shows the three complementary colors added to the wheel. Each of these complements has an equal amount of the primaries on either side of it and none of the primary opposite it: Primary Complement Red Cyan Green Magenta Blue Yellow Figure 7 - Light primary colors and their complements These complementary colors are also called either the secondary colors or the print primary colors. The term print (or pigment) primaries refers to the fact that these complements to the light primaries are the colored inks used to mix all possible print ink pigments.

This process can continue filling in colors around the wheel. The next level colors, the tertiary colors, are those colors between the secondary and primary colors (Figure 8): Figure 8 - The tertiary colors added to the primary and secondary colors The Hue, Saturation, Value (HSV) Color Model This process could continue, creating a solid ring of colors spanning all of the space between the primaries. This definition of color really describes just one dimension of color: hue. Hue is described with the words we normally think of as describing color: red, purple, blue, etc. Hue is more specifically described by the dominant wavelength in models such as the CIE system. Hue is also a term which describes a dimension of color we readily experience when we look at color. It will be the first of three dimensions we use to describe color.

Figure 9 - The Hue, Saturation, Value (HSV) color model You also perceive color changing along two other dimensions. One of the dimensions is lightness-darkness. How light or dark a color is is referred to either as a colors lightness or value. In terms of a spectral definition of color, value describes the overall intensity or strength of the light. If hue can be thought of as a dimension going around a wheel, then value is a linear axis like an axis running through the middle of the wheel (Figure 9). The last dimension of color that describes our response to color is saturation. Saturation refers to the dominance of hue in the color. On the outer edge of the hue wheel are the 'pure' hues. As you move into the center of the wheel, the hue we are using to describe the color dominates less and less. When you reach the center of the wheel, no hue dominates. These colors directly on the central axis are considered desaturated. These desaturated colors constitute the grayscale; running from white to black with all of the intermediate grays in between. Saturation, therefore, is the dimension running from the outer edge of the hue wheel (fully saturated) to the center (fully desaturated), perpendicular to the value axis (Figure 9). In terms of a spectral definition of color, saturation is the ratio of the dominant wavelength to

other wavelengths in the color. White light is white because it contains an even balance of all wavelengths. These three dimensions of color: hue, saturation, and value constitutes a color model that describes how humans naturally respond to and describe color: the HSV model. Because the HSV model has three dimensions, it describes a solid volume. A horizontal slice of the model shown in Figure 9 creates a disk of the hues running around the perimeter. The farther down the value axis, the more restricted the saturation range (the radius of the disk) is and, therefore, the smaller the disk. You can think of the overall shape of the HSV model as being an upside-down cone, even though in reality the shape of the cone is somewhat distorted. Another way you can slice the HSV model solid is vertically. If you took a slice along the saturation axis at a red hue, it might look something like Figure 10: Figure 10 - A saturation/value slice of a specific hue in the HSV model This wedge shows all of the saturation and value variations on this particular red. At the top of the wedge, the lightest red runs from high saturation on the right to white on the left. As you move down the wedge, the reds get darker and the saturation range from right to left gets

narrower. We can take this theoretical wedge and actually try and see how many saturation and value variations on this red you can make. It might look something like Figure 11: Figure 11 - Example saturation and value variations on a single red hue Color Mixing Interfaces used by Graphics Software A color model where colors are defined by the dimensions of Hue, Saturation, and Value becomes a useful method specifying colors to use when creating graphics. Different programs have implemented this model -- and variations on it -- in a number of different ways. One way is to slice the HSV model horizontally:

Figure 12 - HSV color selection interface using a hue/saturation disk and value slider With the interface shown in Figure 12, the user adjusts the darkness with a slider (seen below the disk) and then picks a hue/saturation combination within the disk. A larger swatch of the color is then shown in the New box. If you want to specify the color numerically, Hue is given as an angle while Saturation and Value are expressed as percentages. An alternative interface is to create a Value/Saturation slice of a particular Hue: Figure 13 - HSV color selection interface using a value/saturation rectangle and a hue slider With the interface shown in Figure 13, the user adjusts the hue with the vertical slider and then picks a value/saturation combination in the rectangle. Notice that the left hand edge of the rectangle shows the grayscale while the top edge shows the saturation range of a lightest version of this red hue. Finally, notice that the lower right quadrant (dark and high saturation)

does not contain very many useful colors. If this corner is trimmed, you end up with the value/saturation wedge seen in Figure 11. As in the previous HSV model interface, Hue is specified as an angle while Saturation and Value (referred to here as B(lack)) are percentages. There are, of course, many other ways of specifying color. One way is to specify color with amounts of Red, Green, and Blue (the light primaries). Another is to specify amounts of Cyan, Magenta and Yellow (the print primaries): Figure 14- CMYK color model selection interface Notice that in addition to Cyan, Magenta, and Yellow, Black (referred to by the letter K) is also mixed in. Even though black can theoretically be made by mixing the three print primaries, for practical reasons, pure black ink is added to expand the range of colors.