Lesson3
Lesson3
OF
AGRICULTURE & TECHNOLOGY
JKUAT SODeL
Nairobi, Kenya
E-mail: [email protected]
Back Close 0
ICS 2311 Computer Graphics
LESSON 3
Color Representation
3.1. introduction
JKUAT SODeL
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 1
ICS 2311 Computer Graphics
JKUAT SODeL
©2014
In the eye we have just three distinct ’cone’ cells for detecting
light energy.
These respond to a band of wavelength centered around red
(600), green (560) and blue (440); respectively.
The bands overlap, so, for example green light excites all
three types.
JJ II
The consequence of this is that each type of cell may be
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 2
ICS 2311 Computer Graphics
excited similarly from very different energy distributions
Any distribution of wavelengths will be perceived by us as a
single color, but two entirely different distributions of intensities
could be perceived as the same color.
JKUAT SODeL
Back Close 3
ICS 2311 Computer Graphics
sources. Not all colors can be matched in this way.However, by
adding one of the pure colors to an unknown unmatchable color,
we can make a match.
This is in effect subtracting a color from the mix.
JKUAT SODeL
Back Close 4
ICS 2311 Computer Graphics
3.1.1. Specifying Color:
JKUAT SODeL
©2014
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 5
ICS 2311 Computer Graphics
JKUAT SODeL
©2014
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 6
ICS 2311 Computer Graphics
JKUAT SODeL
©2014
Back Close 7
ICS 2311 Computer Graphics
just noticeably different colors varies with the wavelength!
More than 10 nm at the extremes of the spectrum
Less than 2 nm around blue and yellow
Most JND hues are within 4 nm.
JKUAT SODeL
Back Close 8
ICS 2311 Computer Graphics
• Adding the primary colors – R, G, and B
• Removing their complimentary colors.
Back Close 9
ICS 2311 Computer Graphics
3.1.5. The CIE Chromaticity:
• Represents colors in terms of three new primaries: x, Y
and Z Basically an additive scheme.
JKUAT SODeL
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 10
ICS 2311 Computer Graphics
Revision Questions
hue
saturation
©2014
lightness/brightness
Exercise 1. ...
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 11