Professional Documents
Culture Documents
2003
The Spectrum
Light is a narrow range of
electromagnetic energy
Electromagnetic waves have the
properties of frequency and
wavelength
The human eye responds to the band
of wavelengths between 300nm and
700nm.
Materials modify the light incident upon them in several ways. Light can be reflected
from a surface. Light can be absorbed by, or transmitted through, a surface.
In many cases, light is both absorbed by and reflected from a surface. The amount
of absorption and reflection is often dependent on the wavelength, resulting in some
wavelengths being absorbed and others reflected, to varying degrees.
Reflected light from an object, perceived by the human eye, is what gives an object
its color.
Opaque surfaces do not pass light but rather reflect or absorb various wavelengths
of light, sometimes in various degrees, as with colored surfaces. Additionally, the
surface quality will affect the way in which the light is reflected. Smooth surfaces,
such as the one depicted on the left, reflect light at an angle that is 90 degrees to
the incident angle. This type of reflection is known as a specular reflection. This type
of surface can be described as glossy, and the specular reflection from incident
light can result in what we call glare.
The surface on the right is rough, or grainy. This surface reflects incident light at
multiple angles, as light reflects from the various angles present in the texture of the
surface. This type of reflection is known as diffuse reflection. The surface can be
described as matte, or flat.
These diagrams illustrate how a surface can create the perception of color by absorbing
certain wavelengths while reflecting others. The chart shows that a blue surface appears
blue because it reflects blue wavelengths, while absorbing all others. All colors in objects
result from selective absorption and reflection of light at various wavelengths.
A key point that follows from the previous slide is that only wavelengths that are
present can be reflected. For example, an object will appear its “usual” color under
white light because all wavelengths are present to be reflected. A “red” apple
appears red under white light because red is reflected and other wavelengths are
absorbed. If the apple is then illuminated with light of a single color, for example
green, there are no wavelengths in the red region to be reflected. Thus, all the light
is absorbed, and the apple appears dark gray instead of red. Similarly, if we
illuminate both the apple and a white sheet of paper with red light, both objects
appear the same. This is because both the apple and the white paper reflect red
light. The paper reflects all wavelengths, but only appears white under white light,
where all wavelengths are present.
The conclusion is that the apparent color of an object is the product of both the
object and the light source used for illumination of that object.
Color Mixing
Additive Color Mixing
› Applies to light
› Primaries are red, green, and blue (RGB)
› Colors are produced by adding various amounts of each primary
› Mixing additive primaries produces white
Subtractive Color Mixing
› Applied to pigments and dyes
› Primaries are cyan, magenta, and yellow (CMY)
› Light is subtracted through the process of selective absorption
› Mixing additive primaries produces black
Subtractive color mixing is used when dealing with dyes and pigments (paints).
Subtractive mixing ideally uses a different set of primaries than additive mixing, in
this case cyan, magenta, and yellow. These can be combined to produce any other
color, just as with additive mixing. When subtractive primaries are equally combined,
the resulting color is black.
10
This slide graphically illustrates how the additive primaries RGB combine to produce
other colors. In this example, the intensity, or amount, of each primary is equal. The
colors produced by the equal combination of any two primaries, shown in the
overlapping regions, are called secondaries. It is not a coincidence that the
secondaries produced in additive color mixing are the same as the primaries used in
subtractive color mixing. The opposite is also true.
The equal combination of all three primaries is white, as shown in the center of the
diagram.
11
12
This slide highlights a very common example of additive color – a color CRT, or
television screen. It works slightly differently than in the previous example, in which
the primaries where combined by layering on top of each other. In this case,
primaries are combined by the averaging effect of the eye. The eye can only resolve
spatial elements down to a certain size, at a certain distance. In this case, at normal
viewing distance, the eye cannot resolve the individual RGB elements in each pixel,
so they effectively are blended together by the eye, and are perceived as a single
colored region. The RGB elements are usually visible upon inspection at close
range.
Various colors are produced as in the previous example; by adjusting the relative
brightness of the R, G, and B elements.
13
Subtractive color mixing works by starting with a white light source, or white
medium, and removing certain wavelengths to produce a color. As with additive
mixing, the amount or concentration and blend of each primary determines the
resulting color.
As noted previously, the secondaries resulting from equal combination of adjacent
subtractive primaries are the same as the additive primaries.
Equal combination of all three primaries produces black.
Color Perception
14
This quote from Isaac Newton is used to illustrate the fact that color is strictly a
human perception; a sensation. Light can be described by wavelength and spectral
distributions, but color is the result of the interaction between light and the human
eye, and the operation of the brain on signals obtained from the eye.
Color Perception
15
The human eye is a marvelous and complex design, and even today the process of
converting light energy to the visual stimulus known as color is not fully understood.
It requires an understanding of optics, detectors, neural processing, and cognition.
However, knowledge of a few basic principals is helpful in understanding the
process of color perception.
Light reflected off a colored surface enters our eyes through the cornea and is
focused by the lens on a region at the back of the eye called the retina. The retina
contains light receptors known as rods and cones.
Rods detect very small amounts of light such as starlight and contain only one type
of pigment. Therefore rods to not contribute to color vision. This is why it is difficult
to perceive color in a dimly lit environment.
Cones are responsible for color perception and have much less sensitivity to light.
As the amount of available light increases, the response of the rods falls off and the
cones begin to take over. Cones are described in more detail in the next slide.
Color Perception
1
There are two types of
photoreceptors: rods and cones. S M L
0.8
Relative Sensitivity
Cones are responsible for color 0.6
vision and are found in three types:
L, M, and S having peak sensitivities 0.4
in the long, medium, and short
wavelength regions. 0.2
16
There are three types of cones, each responding differently to light of various
wavelengths. Stimuli that result in different color perception have different cone
signals.
The letters L, M, and S represent the three cones with their peak sensitivities in the
long, middle, and short wavelength regions, respectively. The overlap of the
response curves improves color discrimination. If the receptors did not have any
overlap in their spectrum, we would only perceive three hues in the spectrum.
When two stimuli, whether colored lights or illuminated media, produce the same
cones signals, the two stimuli match in color. The cones, as any detector, integrate,
or sum up, the light energy at all wavelengths incident on them. This summation
process is weighted at each wavelength by the response of the receptor at that
wavelength, according to the L, M, and S response curves. The integration process
of the three receptors reduces the entire spectrum to three signals, one for each
cone type, resulting in trichromacy.
Therefore, three signals are necessary and sufficient to describe any color.
Describing Color
Colors of objects can be described by
their hue, lightness, and saturation,
and chroma.
Hue – attribute of a visual perception
according to which an area appears
to be similar to one of the colors, red,
yellow, green, and blue, or a
combination of two of them.
Lightness – attribute by which a
perceived color is judged to be
equivalent to one of a series of grays
ranging from white to black.
Saturation – the degree of departure
from a gray of the same lightness
17
When we describe color, rather than specifying three abstract values, we seek to
use terms that have intuitive meaning to describe color. Color names can be used
and conjure reasonably consistent perceptions. In fact, eleven basic color names
have been identified: white, gray, black, red, yellow, green, blue, orange, purple,
pink, and brown. However, within each color, samples may differ widely from each
other. Therefore additional precision is needed in our description.
A more precise method of describing color is by hue, saturation, and lightness. Hue
is the attribute of a color according to its similarity with one of the colors red, yellow,
green, or blue, or a combination of adjacent pairs of these colors considered in a
closed ring, as shown in this slide.
Lightness is the attribute by which a color is judged to be similar to one of a series
of grays ranging from black to white.
Saturation is the degree of departure of the color from a gray of the same lightness,
or described another way, the intensity of the color compared to a gray or white.
18
HSV, or hue, saturation, and value (or lightness) is a three dimensional coordinate
system useful for describing a color mathematically. In this model, in which the three
values describe a cone, hue is represented by an angular position on the circle,
similar in concept to that shown on the previous slide.
Saturation ranges from 0 to 1 and is represented by the radius of the hue circle, or
cone. A value of 0 indicates gray and 1 is the pure primary color.
Value, or lightness, is represented by the vertical height of the cone and ranges
from black to white.
19
This slide uses screen captures from a java applet to give a visual representation of
the HSV model. Here the result of varying saturation and value, while keeping hue
constant (red) can be seen.
The brightest, purest color is obtained with maximum saturation and value. As
saturation is reduces, the color becomes less intense. In this case, the red becomes
more pink.
With maximum saturation but reduced value, the color remains intense, but
becomes darker. As value is reduced, the color tends toward black. In this last
example, if saturation were also reduced, the color would tend toward gray.
Measuring Color 1
124
0
300 700
124
0
300 700
245
0
300 700
20
The TCS230 combines three photodiodes, dye-based RGB (red, green, blue) filters,
and a current-to-frequency converter circuit on a single chip.
Based on the theory of trichromacy, three values, in this case R, G, and B, are
necessary and sufficient to describe any color.
In a color measurement application, a white light source, such as an incandescent
lamp or white LED, is used to illuminate a sample. Reflected light from the sample is
directed to the TCS230, either through a lens, or ideally, simply by close proximity to
the sample.
In the case of a colored source, light from the source is directly incident on the
TCS230.
The three outputs from the TCS230 are then processed to determine color. Details
of methods used to process the RGB values are described in other TAOS
application documents.