Professional Documents
Culture Documents
WSE Unit - 7
WSE Unit - 7
3
Color Space
• What is color space?
A 3D model used to define a specified color
• The difference between color spaces:
The choice of axes
4
Color Space – RGB
• RGB:
The simplest color space
Axes: Red, green, blue
Advantages: simple
5
Color Space – YCbCr &YPbPr
• YCbCr & YPbPr
Used for: digital video encoding, digital
camera
• Axes:
Y: luma
Cb: blue chroma
Cr: red chroma
6
Color Space – YCbCr &YPbPr
• Conversion from RGB:
Y=0.299(R-G) + G + 0.114(B-G)
Cb=0.564(B-Y)
Cr=0.713(R-Y)
• The Matrix form:
• Advantage:
Bandwidth efficiency
8
Color Space – YUV
• YUV
Used for: video encoding for some standard
such as NTSC, PAL, SECAM
• Axes:
Y: luma
U: blue chroma
V: red chroma
9
Color Space – YUV
• Conversion from RGB:
Y=0.299R+0.587G+0.114B
U=0.436(B-Y)/(1-0.114)
V=0.615(R-Y)/(1-0.299)
• The Matrix form:
11
Color Space – YIQ
• Conversion from RGB:
12
Color Space – CMYK
• Used for: printer printing
• Use the subtractive color mixing
• Axes:
Cyan
Magenta
Yellow
K: black
13
Color Space – CMYK
• Conversion from RGB:
C = 255 -Y - 1.4021(Cr-128)
M = 255 - Y + 0.3441(Cb-128) + 0.7142(Cr-128)
Y = 255 - Y - 1.7718(Cb -128)
K = min (C, M, Y)
14
Color Space – Comparison
purple!
high high
low low
hue
saturation
medium
low
• Eye is sensitive to visual light which lies between 380 to 760 nanometer
Electromagnetic Spectrum
Colour terms
Colour terms are the System which is specify to understand any specific
colour.
•Chromatic colour
•Achromatic colour
Achromatic colour – colour that is white through all shades of grey to black
History of Identifying Colors
•Ostwald’s double-cone:
• Ostwald's color wheel or double cone in its simplest diagrammatic form. The
colors are at their most saturated on the equator; from this point they become
lighter toward white or darker toward black in the direction of the poles of the
neutral axis. The inside of the solid contains all the colors it is possible to mix with
their relative gradations of lightness and darkness.
Munsell Colour
System
•Hue
•chroma
(describing
satuartion)
•value (describing
lightness)
chroma
Value
Hue
Munsell systems are interpreted as follows-
• Hue
• Munsell value (describing lightness)
• chroma (describing satuartion)
Eg
Notation: 5.0 R +5/ ; 5.0+ BG 7/
• Chroma: (describing saturation) – Describes the purity of colour
Eg
notation of color is 5+RP 5/26 indicates a red purple hue.
5+RP(Hue) ,value 5 and chroma 26.
Other colour terms
One of the difficulty with munsell system is that the expression Hue, value,
chroma may not familiar to users
2002/02/12 FromPSYC202,
http://www.heavenforcars.com/products/gifts/index7.htm
Term 2, Copyright Jason H 67
arrison 2002
Complications, complications…
1. Illumination (intensity, hue, motion)
2. Projection (3D world to 2D images)
3. Fragmentation (occlusion)
distance 1
distance 2
2002/02/12From http://psychlab1.hanover.edu/classes/Sensation/SizeConstancy/index.html
PSYC202, Term 2, Copyright Jason H 73
arrison 2002
Projection
b. size constancy
• known object size
• retinal size determines
depth
• depth cues determine size
pupil
retinal
image
pupil
retinal
image s
(size = r)
distance d
pupil
retinal
image s
(size = r)
visual
angle
distance d
pupil
retinal
image s
(size = r)
visual
angle
tan s/d
or
arctan(s/d)
distance d
pupil
retinal
image s1
(size = r)
visual
angle
tan s/d
or
arctan(s/d)
distance d1
distance d1
distance d2
follows distance d1
crossbar belongs to
object in front
T-junction
2002/02/12 PSYC202,From
Term 2,http://www.navsource.org/archives/01/55.htm
Copyright Jason H 90
arrison 2002
Shadows
• dark patches interpreted as shadows
• lighting from above
with shadows perceived as
standing (3D)
From http://psych.hanover.edu/Krantz/art/texture.html
2002/02/12 PSYC202, Term 2, Copyright Jason H 95
arrison 2002
Height in plane (distance from horizon)
• objects closer to horizon appear further away
120°
"Hole"
where
optic
nerve
leaves
retina
= blindspot Optic
Retina nerve
Information actually
picked up
?
What kind of completion
occurs?
2002/02/12 PSYC202, Term 2, Copyright Jason H 123
arrison 2002
• Result - areaBlindspot completion
is filled in (limited)
• filling in includes
– texture, complex patterns (but not text)
– smooth transitions between colours, alignment,
intensity, etc.
123456
AB
891012
345678 CD