MM Lect 9
MM Lect 9
and
Multimedia
Dr. Rudwan Ali A Abdullah, Multimedia, Spring 2013, IT College, Tripoli University 189
Coloured Objects
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 190
Reflected light: Light incident on a surface
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 191
Why are things coloured?
• Most things reflect, rather than emit, light
• Materials have different absorption and scattering
characteristics for different wavelengths of light
Examples:
• A yellow object absorbs a lot of blue light, but scatters in the
longer (red and green) wavelengths
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 193
Light and Spectra (range)
• Visible light is an electromagnetic wave in the 400nm – 700 nm
range.
• Most light we see is not one wavelength, it’s a combination
of many wavelengths
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 194
The Human Eye
light
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 195
Photoreceptors
• The retina is the area at the back of the eye on
which the image we see is formed.
• Photoreceptors are sensitive to light, and send
signals to the brain about what we see.
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 196
Rods
• Rods are very sensitive to light, and allow us to see under a
very low level of illumination
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 198
Artificial Eye
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 199
Blind See Through Sound
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 200
Additive Colour Matching
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 201
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 202
RGB Colour Space
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 203
Colour Constancy/Stability Example
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 204
Colour Constancy/Stability Example
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 205
CRT Displays
• CRT displays have three phosphors (RGB) which produce a
combination of wavelengths when excited with electrons.
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 206
Monitors: flat screen
• There are two basic types of flat screen monitors:
• Plasma
– Cells of neon gas are ionised by a high voltage to
release ultraviolet photons turned into visible light by
a phosphorscreen
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 207
Flat-screen characteristics
• LCD:
– Lower power
– Can be quite small or larger: pixel pitch is 0.2 to
0.5mm
– Sizes up to about 32 inches (but larger
recently possible)
• Plasma:
– Relatively higher power consumption
– Difficult to make small
– Generally above 32 inches
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 208
Use of Video RAM
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 209
Monitor Gamut
• The gamut is the range of displayable colour
• Note that the gamut shrinks as surrounding light
increases
– as you will know from trying to use a monitor when
the sun is shining
• The darkest colours are lost first
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 210
Colour Models
Examples:
• Orange R=255 G=135 B=75
• Turquoise R=23 G=173 B=178
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 212
CMY and CMYK
• CMY = Cyan Magenta Yellow
Invert CMY you will get:
C = G+B = W-R
M = R+B = W-G
Y = R+G = W-B
(W = white)
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 214
C
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 215
HLS/HBS/HSV
• Closer to how we think about colour
• Hue
– which colour along spectrum of red - yellow-green-
blue-violet
• Lightness or Brightness or Value
– how much or little light is produced from an area
• Saturation or Colourfulness
– how much colour it exhibits (greys are very unsaturated)
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 216
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 217
Device-Dependent Colour Models
• Colour models so far: RGB, HSV,CMY,CMYK
• They are all device-dependent
– specific to particular hardware
– eg a colour with RGB values (140,60,203) will show up
as slightly different colours on different monitors
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 218
CIE and the Standard Observer
• Based on experiments, the CIE (Committee
Internationale de l’Éclairage) in 1931 defined a
– Standard Observer
– A standard set of three primaries (X,Y,Z)
• These primaries are “imaginary” primaries in that
they do not actually correspond to real visible colours
• They are “not real” in the sense that they are more
saturated (intensely colourful) than real colours
• Y is chosen to match a standard measure of
brightness - also known as Gamma (Υ)
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 219
All visible colours are in a horseshoe shaped cone in the X-Y-
Z space
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 220
221
XYZ and Device Independence
• XYZ is one industry standard for a device
independent colour space
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 223
Accurate Colour Matching
• Monitor calibration alone doesn’t ensure colour
matching
• Colour matching technology requires software to
perform calculations matching colours between
screen and printer (or other devices)
How to use:
• Install software on computer, print out samples, then
choose your colour according to the printout
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 225
What is colour blindness?
• Colour blindness is not a “blindness”. It is a common
misperception that colour blind people cannot see colours.
• Colour blind people can see colours, but they see a different
range of colours from non-colour-blind people
• The cone receptors in their eyes (usually the red and/or the
green cones) are different.
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 226
Types of Colour Blindness
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 228
Deuteranomalia
• The green cones are weak
• 5 out of 100 men are affected
• A deuteranomalic person sees all colours, but will adjust the
TV so that it appears much too greenish
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 229
Protanopia
• The red cones give a severely reduced red brightness
• 1 out of 100 men are affected
• Protanopic people may not even see red traffic lights
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 230
Deuteranopia
• The green cones give severely reduced green-ness, but overall less
dimming (not bright) than with protanopia
• 1 out of 100 men are affected
• Deuteranopic people confuse red, yellowish-brown, green!
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 231
Some colour-blindness tests
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 232
Effects on everyday life
• Lack of thought by designers is the major problem facing
those who are colour-blind
• As one colour-blind man puts it:
“We don’t buy things we can’t use.
We don’t hit web pages we can’t read”
• If you are colour blind, get a non-colour blind friend to give their
opinion of the tastefulness of the colour scheme
• Let users customise their colours
– but don’t pick poor ones in the first place!
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 234
End of lecture
Dr. Rudwan Ali A Abdullah, Multimedia, Autumn 2012, IT College, Tripoli University 235