Professional Documents
Culture Documents
Measuring Light
Radiant power or radiant flux or just flux: Φ = dQ/dt
EECS 487: Interactive energy per time unit, in joules per sec (= watt (W))
Spectral Energy Density/ energy
RTR3
Rods:
• highly sensitive, 1000× more The rods and each of the three types of
sensitive than cones cone absorb light differently
• spread over the retina, but
predominate in peripheral vision Given a monochromatic spectrum (λ),
• effective in low light, night-vision we denote the response (light Medium (534)
spectral luminous
James A. Ferwerda Sumanta N. Pattanaik
Nearly everyone has experienced the temporary blindness
efficiency curve, enough to find an empty seat. Similarly, once you have dark
(response curve centered around
adapted in the theatre and then go out into the daylight af-
ter the show, the brightness is at first dazzling and you need
!4
rods
changes in vision into account. In this paper we develop a Figure 2: Scotopic V ⇥ and photopic V luminous efficiency
monochrome
computational model of visual adaptation and apply it to the
problem of rendering scenes illuminated at vastly di⇥erent
functions. After Wyszecki (1982).
Luminance (Y or V):
levels. The model predicts the visibility of object features
Abstract Luminance -6
and colors at particular -4
illumination -2 and simulates
levels, 0 2 4 6 8
(logthe changes
cd/m 2) in visibility and appearance that occur over the the range of 0.01 to 108 cd/m2 . At light levels from 0.01 to
• is the overall magnitude of visual response to a spectrum
In this paper we develop a computational model of vi-
time-course of light and dark adaptation. 10 cd/m2 both the rod and cone systems are active. This
starlight moonlight indoorislighting
known as the sunlight
mesopic range. Relatively little is known
What the
Bleaching and regeneration of photopigments
a significant role in adaptation it is thought that variation
Colorimetry
tures. This allows the model to be used as the basis of ing the limits of conventional CRT displays and determin-
in pupil size serves to mitigate the visual consequences of
ing how to bestlight
perceptually-based error metrics for limiting the precision of display simulated environments reflectance
aberrations in the eye’s optical system. At high levels where
tosensitive pigments inwithin the
At high light intensities, the action of light depletes the pho-
there is plenty of light to see by, the pupil stops down to limit
the rods and cones at a faster rate
Eyes See
global illumination computations. limited dynamic range available. Tumblin the e⇥ects of the aberrations. At low levels where catching
receptors lessand
sensitiveRushmeier
than chemical processes can restore them. This makes the
enough light to allow detection is more essential than opti-
to light. This process is known as
CR Categories and Subject Descriptors: I.3.0
(1993) introduced the concept of tone reproduction to the
Science of color measurement
mizing the resolution of the retinal image, the pupil opens
pigment bleaching. Early theories of adaptation were based
“Light is not a thing that can
[Computer Graphics]: General; I.3.6 [Computer Graphics]:
computer graphics community and developed
to allow more light into the eye.
the idea that light adaptation was produced by pigment
bleaching and dark a adaptation
tone repro- was produced by pigment
be reproduced, but something
Methodology and Techniques. 2.2 The rod and cone systems
duction operator that preserves the
restoration
apparent
(Hecht 1934). However pigment bleaching can-
brightness oftwo reasons: first,
Color of an object determine Additional
not completely account for adaptation for
Yellow
Red
Trichromatic Theory:
Perceived color: red = Perceived color: red
• claims that any color can be represented
as a weighted sum of three primary colors
• proposed red, green, blue as primaries
• developed in the 18th, 19th century
(before the discovery of photoreceptor cells!) 400 500 600 700
Durand06
Wavelengths (nm) Schulze08
Color Matching Color Matching Experiment
Metamers allows for color matching experiment Result: RGB amounts needed to match all
• reproduce the color of any reference light with the wavelengths of the visible spectrum:
addition of three given primary lights
• how strong must each of the three primaries be for a certain colors The tristimulus values
match? (known as tristimulus weight or value) cannot be were determined
reproduced
• if no match can be obtained, add by RGB mixes
experimentally c. 1920
a primary to reference (negative weight) by the CIE (Commission
Internationale de
l’Eclairage (Illumination))
Durand06
• proportionality: u = v ⇔ tu = tv • RGB
• convenient for display (CRT uses red, green, and blue phosphors)
• additivity: if any two of the statements: • not very intuitive
u = v, w = x, (u+w) = (v+x) are true, so is the third • HSV
• an intuitive color space
• these are natural laws and they mean
• Hue is cyclic so HSV is a non-linear transformation of RGB
additive color matching is linear
• CIE XYZ
• a linear transform of RGB used by color scientists
• Why not use the L, M, S cone responses as the basis?
• not discovered until the 1980s …
Forsyth&Ponce
Additive Primaries: RGB Subtractive Primaries: CMY
http://www.jgiesen.de/ColorTheory/RGBColorApplet/rgbcolorapplet.html http://www.jgiesen.de/ColorTheory/CMYColorApplet/cmycolorapplet.html
black
(0,0,0)
white
(1,1,1)
Cyan
(1,0,0)
perceptible colors (not perceptually based)
yellow blue red and green
C
White
(0,0,0)
black all none
Yellow Green
(1,0,1)
Perceptually non-linear
black ink used to ensure high quality printed black
(0,0,1)
• the perceived difference between two colors is not
consistently proportional to their separation in the
Y
• complements of RGB blue
(0,0,1 ) cyan
(0,1,1)
⎡ C ⎤ ⎡ 1 ⎤ ⎡ R ⎤
magenta
(1,0,1)
white
(1,1,1)
color space
⎢ ⎥=⎢ ⎥−⎢ ⎥
⎢ M ⎥ ⎢ 1 ⎥ ⎢ G ⎥
⎢⎣ Y ⎥⎦ ⎢⎣ 1 ⎥⎦ ⎢⎣ B ⎥⎦
White minus Blue minus Green = Red
red yellow
(1,0,0) (1,1,0) Hodgins Chenney
HSV Color Model HSV: Non-linear Distortion
of the RGB Color Cube green
V=1, S=0 V
What do we perceive? 120˚ yellow
• Hue (or chromaticity): what color is it? S=1
• red vs. green vs. blue Top of HSV hexcone corresponds cyan 1.0 white
red
• Saturation (or purity or chroma): to the projection of the RGB color 0˚
how non-gray is it? cube along the principal diagonal blue
• the main diagonal of RGB space 240˚ magenta
• vivid red vs. pastel grayish pink
• Value (or luminance or intensity): V=0 becomes the V axis of the HSV space
how bright is it? The RGB cube has subcubes H
• perceived intensity reflected by object black 0.0 S
• the term “brightness” is used only for emitters Each plane of constant V in Riesenfeld
Green Yellow
e.g., light-bulbs HSV space corresponds to Blue Cyan
Riesenfeld 2006
CIE XYZ Color Space Recall: Color Matching Experiment
Standardized by the International Commission on
Certain visible colors cannot
Illumination (Commission Internationale de l’Éclairage)
be reproduced by RGB mixes
• defines three “imaginary” primary lights (X, Y, Z) representing
an imaginary basis that does not correspond to human
perception of color
• color c = X X + Y Y + Z Z
same point within this region cyan white • points outside a gamut
• shaded area: color 490 nm
red 700 nm
correspond to negative
blue weights of the primaries
found in nature
magenta
FvD
ideal blue 400 nm ideal red
Riesenfeld,TP3
Freeman&Durand06
RGB ↔ YIQ xyY Coordinate
brightness ⎡Y ⎤ ⎡ 0.299 0.587 0.144 ⎤ ⎡ R ⎤ 1.0 Y The chromaticity diagram
⎢ ⎥ ⎢ ⎥⎢ ⎥ Spectral Colors does not represent a
I ⎥ = ⎢ 0.596 −0.275 −0.321 ⎥ ⎢ G ⎥ 0 .9
color ⎢ 520 complete color palette:
⎢⎣ Q ⎥⎦ ⎢⎣ 0.212 −0.528 0.311 ⎥⎦ ⎣⎢ B ⎥⎦ 0 .8 54 0
0 .7 510
green 560 • doesn’t account for color
⎡ R ⎤ ⎡ 1 0.9563 0.6210 ⎤ ⎡ Y ⎤ 0 .6 changes due to luminance
⎢ ⎥=⎢ ⎥⎢ ⎥ • brown, which is orange-red with
⎢ G ⎥ ⎢ 1 −0.2721 −0.6474 ⎥ ⎢ I ⎥ 0 .5 50 0
yellow
580
low luminance, is not represented
⎢⎣ B ⎥⎦ ⎢⎣ 1 −1.1070 1.7046 ⎥⎦ ⎢⎣ Q ⎥⎦ 0 .4 cyan
60 0 • to recover full palette add
0 .3 490 white
• for modern CRT and HDTV: blue
red 70 0 back luminance: (x,y,Y )
Y = 0.2125 R + 0.7154 G + 0.0721 B 0 .2
magenta x (1− x − y)
X = Y, Y = Y, Z = Y
comparable to sRGB: 0 .1
40 0 X y y
Y = 0.213 R + 0.712 G + 0.072 B
0.1 0.2 0.3 0.4 0.5 0.6 0.7
Riesenfeld 2006
Schulze,Schubert
Perceptually Uniform Color Spaces
Two major color spaces standardized by the CIE
CIE L*a*b*
• designed so that equal steps in coordinates produce equally Perceptually uniform -a
visible differences in color
color space:
• L*u’v’: non-linear color space that gives perceptual linearity: • L*: luminance
MacAdam ellipses now look more like circles • a*: red-green
• b*: blue-yellow
⎡ ⎤ 1 ⎡ 4X ⎤
⎢ u′ ⎥ = ⎢ ⎥ • the ‘*’s are to differentiate it from
⎣ v ′ ⎦ X + 15Y + 3Z ⎣ 9Y ⎦ Hunter-Lab color space . . .
• L*a*b*: more complex but
more uniform
Non-linear conversion
• both separate luminance between CIE XYZ and
(L*) from chromaticity CIE L*a*b*
James,Chenney,Schubert