CIT 2211 - Lecture 4 - Colour
CIT 2211 - Lecture 4 - Colour
From http://math.ucr.edu/home/baez/physics/General/BlueSky/blue_sky.html
Human Colour perception
• It is therefore possible to characterise a psycho-visual
colour by specifying the amounts of three primary colours:
red, green and blue, mixed together.
• This leads to the standard RGB space used in television,
computer monitors, etc.
• We specify the levels of R, G and B in the range [0, 1], but
they can easily be extended to other ranges (8-bit integers
for example).
(1,1,1)
RGB
(0,0,0)
Intuitive Colour Concepts
• Colour mixing created by an artist
• Shades, tints and tones in scene can be produced by
mixing colour pigments (hues) with white and black
pigments
• Shades
• Add black pigment to pure colour
• The more black pigment, the darker the shade
• Tints
• Add white pigment to the original colour
• Making it lighter as more white is added
• Tones
• Produced by adding both black and white pigments
Characteristics of Colour
• Dominant frequency (hue, colour)
• Additive
• Blue is one-third
• Subtractive
• Yellow (red+green) is two- • Orange (between red
thirds and yellow)<>cyan-blue
• When blue and yellow light • green-cyan<>magenta-
are added together, they red colour
produce white light
• Pair of complementary
colours
• blue and yellow
• green and magenta subYM
addRG • red and cyan
The CIE Chromaticity Diagram
• 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
The CIE Chromaticity Diagram
• Dominant wavelength
• Draw a straight from C through
colour point to a spectral colour on
the curve, the spectral colour is the
dominant wavelength
• Special case: a point between C
and a point on the purple line Cp,
take the compliment Csp as
dominant
• Purity
• For a point C1, the purity
determined as the relative distance
of C1 from C along the straight line
joining C to Cs
• Purity ratio = dC1 / dCs
Colour Models
• Method for explaining the properties or behavior of colour
within some particular context
• Combine the light from two or more sources with
different dominant frequencies and vary the intensity of
light to generate a range of additional colors
• Primary Colors
• 3 primaries are sufficient for most purposes
• Colour gamut is the set of all colors that we can produce
from the primary colors
• A Complementary colour is two primary colors that
produce white
• Red and Cyan, Green and Magenta, Blue and Yellow
Colour Models
• The purpose of a colour model (also called colour Space or
colour System) is to facilitate the specification of colors in some
standard way
• Colour Models
• Colour components:
• Hue (H) ∈ [0°, 360°]
• Saturation (S) ∈ [0, 1]
• Value (V) ∈ [0, 1]
The HSV Colour Model