Professional Documents
Culture Documents
Color I
Computer Graphics
Dariusz Sawicki
Color is the visual perceptual property created in human
brain as an result of specific wavelength detection by
receptors in human eyes.
Introduction Color II
Intensity
• Grassman’s laws, metamerism
• High Dynamic Range Imaging • Saturation (Purity of Light) (0 - 100%)
- blending with White
• Intensity (Brightness) — how much
energy is emitted (0 - 1)
Black
1
2022-11-25
• Independent
– CIE XYZ X = k ∫ P( λ )x ( λ )dλ
– CIE Lab
• Connected to user
Y = k ∫ P( λ )y ( λ )dλ
– HLS
– HSV
• Connected do device Z = k ∫ P( λ )z ( λ )dλ
– RGB
– CMY, CMYK
CIE XYZ color space, mathematically defined in 1931.
Natural day light decomposed into three components in XYZ space.
Trichromacity law
Any color can be matched by a linear combination of three other
colors (primaries eg. RGB), provided that none of those three can be
matched by a combination of the other two.
Continuity law
A mixture of any two colors can be matched by linearly and
continuous adding of components. Continuous change of one
component causes continuous change of the mixture.
Additivity law
Color of a mixture depends only on components colors not on spectral
properties.
CIE chromaticity diagram
2
2022-11-25
B [0,0,1]
C [0,1,1]
M [1,0,1]
White
White
[1,1,1]
[1,1,1]
Black G [0,1,0]
[0,0,0]
R [1,0,0] Y [1,1,0]
CE – equal energy white The dominant wavelength
(illuminant EE ) of the color
_
=
K: black level Let G be G=min(C,M,Y)
Complementary colors Mixing of the colors C=C-G
M=M-G
Y=Y-G
CIE XZY Color Space is a linear space K=k*G
CG Light and Color 14 CG Light and Color 17
H H
Black
G Y
R
C B M
Perceptually Uniform Color Space
Color space in which Euclidean L
distance between two colors in
space is proportional to the
perceived distance
S S
HLS HSV
CG Light and Color 15 CG Light and Color 18
3
2022-11-25
Lens
Intensity Choroid
Iris
Retina
H H Cornea
Black Vitreous
ciało
G Y Fovea
R humour
szkliste
C B M Pupil
Blind disc
L V Anterior chamber (optic disc)
(aqeous humour)
Optic nerve
Ciliary muscle
S S
HLS HSV
CG Light and Color 19 CG Light and Color 22
Monitor poor quality Cones and rods were discovered by Max Schultz in 1866.
Printer
Computer
CG Light and Color 21 CG Light and Color 24
4
2022-11-25
• Combination of
frequencies present in
the reflected light that
determines what we
perceive as the color of
the object
• neighborhood problem
The eye senses brightness logarithmically
• lighting (illumination)
problem
• scale problem
5
2022-11-25
Trichromacity law
• neighborhood problem Any color can be matched by a linear combination of three other
colors (primaries eg. RGB), provided that none of those three can be
• lighting (illumination) matched by a combination of the other two.
problem
• scale problem Continuity law
A mixture of any two colors can be matched by linearly and
continuous adding of components. Continuous change of one
component causes continuous change of the mixture.
6
2022-11-25
real
perception
White paper
luminance
problem
Adelson’s chessboard
Adelson’s chessboard
7
2022-11-25
HDRI
Human color perception – High Dynamic Range Imaging
attributes of color:
hue, knowledge,
intensity (brightness) experience How to solve the problem of dynamic range ?
saturation
memory
environment, culture
neighborhood and tradition
+ + =
suggestion,
size of illusion
picture
psychological
expectation Use set of pictures created with different levels of exposure.
CG Light and Color 43 CG Light and Color 46