Lecture 4_ Colour
Lecture 4_ Colour
COLOUR
Physical Background
• Visible light: a narrow band of
electromagnetic radiation →
380nm (blue) - 780nm (red)
• Wavelength: Each physically distinct
colour corresponds to at least one
wavelength in this band.
• Spectrum: Intensity as
a function of wavelength
• The colour of an object: is the product
of the spectrum of the incident light
with the light absorption and/or
reflection properties of the object.
Human Colour perception
• The human eye does not perceive individual light wavelengths.
• It contains three types of colour receptor (cones) which integrate over
parts of the spectrum:
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
• 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)
Illuminant Purple
Line
The CIE Chromaticity Diagram
To determine the range of colors
that can be obtained from the 3
given colors in the Chromaticity
Diagram, we simply draw connecting
lines to each of the three colour
points.
The result is a triangle and any
colour inside a triangle is produced
by various combinations of the three
initial colours.
The triangle shows a typical range of
colours (called the colour gamut)
produced by RGB monitor
Complementary Colours
subCR
• Additive
• Blue is one-third
• Subtractive
• Yellow (red+green) is two-thirds • Orange (between red and
yellow)<>cyan-blue
• When blue and yellow light are
added together, they produce white • green-cyan<>magenta-red colour
light
• Pair of complementary colours
• blue and yellow
• green and magenta
• red and cyan
subYM
addRG
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
• The RGB model is usually represented by a unit cube with one corner
located at the origin of a three-dimensional colour coordinate system,
the axes being labeled R, G, B, and having a range of values [0, 1].
• The origin (0, 0, 0) is considered black and the diagonally opposite
corner (1, 1, 1) is called white. The line joining black to white represents
a gray scale and has equal components of R, G, B.
The CMY and CMYK Colour Models
• Colour models for hard-copy devices, such as printers
• Produce a colour picture by coating a paper with colour pigments
• Obtain colour patterns on the paper by reflected light, which is a subtractive
process
• The CMY parameters
• A subtractive colour model can be formed with the primary colors cyan, magenta
and yellow
• Unit cube representation for the CMY model with white at origin
The CMY and CMYK Colour Models
• Most devices that deposit colour pigments on
paper (such as colour Printers and Copiers)
requires CMY data input or perform RGB to CMY
conversion internally
• Colour components:
• Hue (H) ∈ [0°, 360°]
• Saturation (S) ∈ [0, 1]
• Value (V) ∈ [0, 1]
The HSV Colour Model