Professional Documents
Culture Documents
Some figures from Steve Seitz, Steve Palmer, Paul Debevec, and Gonzalez et al.
Image Formation
Digital Camera
Film
The Eye
Digital camera
Sensor Array
CMOS sensor
http://www.axis.com/products/video/camera/progressive_scan.htm
Progressive scan
http://www.axis.com/products/video/camera/progressive_scan.htm
Interlace
http://www.axis.com/products/video/camera/progressive_scan.htm
The Eye
The Retina
Cross-section of eye Cross section of retina
Pigmented epithelium Ganglion axons Ganglion cell layer Bipolar cell layer Receptor layer
Retina up-close
Light
cone rod
Stephen E. Palmer, 2002
# Receptors/mm2
Night Sky: why are there more stars off-center? Stephen E. Palmer, 2002
Electromagnetic Spectrum
Visible Light
2000
3000
Stephen E. Palmer, 2002
Wavelength (nm)
400 500
600
700
Stephen E. Palmer, 2002
Wavelength (nm.)
400 500
600
700
600
700
Wavelength (nm.)
Wavelength (nm.)
D. Normal Daylight
400 500
600
700
400 500
600
700
Stephen E. Palmer, 2002
% Photons Reflected
Red
Yellow
Blue
Purple
400
700 400
700 400
700
There is no simple functional description for the perceived color of all lights under all viewing conditions, but ... A helpful constraint: Consider only physical spectra with normal distributions mean
# Photons
area
variance
600 700
400
500
Wavelength (nm.)
Stephen E. Palmer, 2002
Mean
Hue
# Photons
blue
green yellow
Wavelength
Stephen E. Palmer, 2002
Variance
Saturation
# Photons
Wavelength
Stephen E. Palmer, 2002
Area
B. Area
# Photons
Brightness
Lightness
bright
dark
Wavelength
Stephen E. Palmer, 2002
50
400
450
500
550
600 650
WAVELENGTH (nm.)
Why are M and L cones so close? Are are there 3? Stephen E. Palmer, 2002
More Spectra
metamers
Why 3 colors?
http://www.cooldic http://www.cooldi tionary.com/words/Bayer-filter.wikipedia
RGB cube
Easy for devices But not perceptual Where do the grays live? Where is hue and saturation?
HSV
Decouples the three components (a bit) Use rgb2hsv() and hsv2rgb() in Matlab
White Balance
Programming Assignment #1
How to compare R,G,B channels? No right answer
Sum of Squared Differences (SSD):
Image Formation
1 1500 25,000
400,000 2,000,000,000
Is Camera a photometer?
Image
Long Exposure
10-6
Real world
106
10-6
Picture
0 to 255
106
Short Exposure
10-6
Real world
106
10-6
Picture
0 to 255
106
Shutter
sensor irradiance
t ADC
CCD
analog voltages
Remapping
digital values pixel values
Varying Exposure
The eye has a huge dynamic range Do we see a true radiance map?
"Every light is a shade, compared to the higher lights, till you come to the sun; and every shade is a light, compared to the deeper shades, till you come to the night." John Ruskin, 1879
Cornsweet Illusion
Sine wave
Metamers