Chapter12 (Compatibility Mode)
Chapter12 (Compatibility Mode)
with OpenGL 3e
• Dominant frequency
– Light source emits all the frequencies within the visible
range to produce white light
– Some frequency are aborted when white light is incident
upon an opaque object
– The combination of frequencies present in the reflected light
determines what we perceive as the color of object
• For example, an object is described as red, when
the perceived
light has a dominant frequency at the red end of the
spectrum
– Dominate frequency is also called as hue or color of
light
• Standard primaries
– Three standard primaries are defined by CIE by 1931
– Imaginary color defined mathematically with positive
color- matching functions
– Eliminate the negative-value color matching and other problem
associated with selecting a set of real primaries
• The XYZ model
– CIE primitives is referred to as the XYZ model
• In XYZ color space, color C (λ) represented
as C (λ) = (X,Y,Z)
• Where XYZ are calculated from the color-
matching
X k functions
fx ( )I ( )d
visible
Y k
visible
fy ( )I ( )d
Z k
visible
• Color-matching functions
• Color gamuts
– Example
• All color along the straight line joining C1 and
C2 can be obtained by mixing colors C1 and C2
• Greater proportion of C1 is used, the resultant color is closer
to C1 than C2
• Complementary colors
– Represented on the diagram as two points on opposite
sides of C and collinear with C
– The distance of the two colors C1 and C2 to C determine
the amount of each needed to produce white light
• Dominant Wavelength
– Draw a straight from C through color point to a spectral color
on the curve, the spectral color is the dominant wavelength
– Special case: a point between C and purple line
• Purity
– For a point C1, the purity determined as the relative distance of C1 from
C along the straight line joining C to Cs
=R–YQ
=B–Y
© 2005 Pearson Education
The YIQ and related color models (2)