Professional Documents
Culture Documents
Materi 03 2020 B PDF
Materi 03 2020 B PDF
Many slides by
Alexei A. Efros
Image Formation
5
Digital Camera
Film
The Eye
A photon’s life choices
6
Absorption
Diffusion light source
Reflection
λ
Transparency
Refraction
Fluorescence
?
Subsurface scattering
Phosphorescence
Interreflection
A photon’s life choices
7
Refraction
Fluorescence
Subsurface scattering
Phosphorescence
Interreflection
A photon’s life choices
9
Interreflection
A photon’s life choices
10
Reflection λ
Transparency
Refraction
Fluorescence
Subsurface scattering
Phosphorescence
Interreflection
A photon’s life choices
11
Absorption
Subsurface scattering (or SSS), also
light source
known as subsurface light transport
Diffusion
(SSLT) is a mechanism of light
transport in which light penetrates the
Reflection
surface of a translucent object, is
λ
scattered by interacting with the
Transparency
material, and exits the surface at
some different points.
Refraction
Fluorescence
Subsurface scattering
Phosphorescence
Interreflection
A photon’s life choices
14
Absorption
Phosphorescence is an effect in which
light source
some chemicals re-emit light that they
Diffusion
absorb. It is similar to fluorescence, except
that the chemical reactions within
Reflection
phosphorescent materials happen less often,
t=1
thus they take longer to emit light. The
Transparency
slower time scales of the re-emission are
associated with "forbidden" energy state t=n
Refraction
transitions in quantum mechanics
Fluorescence
Subsurface scattering
Phosphorescence
Interreflection
A photon’s life choices
15
Absorption
Diffuse interreflection is a process
light source
whereby light reflected from an object
Diffusion
strikes other objects in the surrounding
area, illuminating them. Diffuse
Reflection
interreflection specifically describes light λ
reflected from objects which are not shiny
Transparency
orspecular. In real life terms what this
means is that light is reflected off non-shiny
Refraction
surfaces such as the ground, walls, or
fabric, to reach areas not directly in view of
a Fluorescence
light source. If the diffuse surface is
colored, the reflected light is also colored,
Subsurface scattering
resulting in similar coloration of surrounding
objects.
Phosphorescence (Specular Interreflection)
Interreflection
Lambertian Reflectance
16
CMOS sensor
Sampling and Quantization
19
Sampling corresponds to a
discretization of the space.
That is, of the domain of the
function, into
f : [1, . . . ,N] × [1, . . . , M]
→ℜm.
discretization is the process of
transferring continuous functions,
models, variables, and equations into
discrete counterparts
The smallest element resulting from
the discretization of the space is
called a pixel (picture element).
For 3-D images, this element is called
a voxel (volumetric pixel).
Quantization corresponds to a discretization
of the intensity values. That is, of the co- a b Generating a digital image. (a) Continuous image. (b) A
domain of the function. c d scaling line from A to B in the continuous image, used to
illustrate the concepts of sampling and quantization. (c)
After sampling and quantization, we get
sampling and quantization. (d) Digital scan line.
f : [1, . . . ,N] × [1, . . . , M] → [0, . . . , L].
Interlace vs. progressive scan
20
https://en.wikipedia.org/?title=
Talk:Interlaced_video/Archive_
1
Progressive scan
22
Pigmented
epithelium
Ganglion axons
Ganglion cell layer
Bipolar cell layer
Receptor layer
Retina up-close
27
Light
What humans don’t have:
tapetum lucidum
28
Cones
cone-shaped
less sensitive
operate in high light
color vision
Rods
rod-shaped
highly sensitive
operate at night
gray-scale vision
Rod / Cone sensitivity
30
Distribution of Rods and Cones
31
# Receptors/mm2
Fovea Spot
averted vision 150,000 Rods Rods
100,000
Averted vision is a technique for
viewing faint objects which uses 50,000 Cones Cones
peripheral vision. It involves not 0
80 60 40 20 0 20 40 60 80
looking directly at the object, but
looking a little off to the side, while Visual Angle (degrees from fovea)
continuing to concentrate on the
object
Averted vision works because there are virtually no rods (cells which detect dim
light in black and white) in the fovea: a small area in the center of the eye. The
fovea contains primarily cone cells, which serve as bright light and color
detectors and are not as useful during the night. This situation results in a
decrease in visual sensitivity in central vision at night.
Eye Movements
32
Saccades
Can be consciously controlled. Related to perceptual
attention.
200 ms to initiation, 20 to 200 ms to carry out. Large
amplitude.
Micro saccades
Involuntary. Smaller amplitude. Especially evident during
prolonged fixation. Function debated.
Ocular micro tremor (OMT)
involuntary. high frequency (up to 80Hz), small
amplitude.
Electromagnetic Spectrum
33
Why do we see light of these
34
wavelengths (visible light) ?
• Because that’s where the
Sun’s peak radiation was
• Because the atmosphere is
fairly transparent in that range
# Photons
(per ms.)
# Photons
(per ms.)
400 500 600 700
Wavelength
400 500 600 (nm.)
700
Any patch of light can be completely described
Wavelength
physically by its spectrum: the number of (nm.)
photons
(per time unit) at each wavelength 400 - 700 nm.
Some examples of the spectra of light
36
sources
A. Ruby Laser B. Gallium Phosphide Crystal
# Photons
# Photons
400 500 600 700 400 500 600 700
Wavelength (nm.) Wavelength (nm.)
# Photons
A helpful constraint:
Consider only physical spectra with normal distributions
mean
# Photons area
variance
Mean Hue
# Photons
Wavelength
The Psychophysical Correspondence
40
Variance Saturation
hi. high
# Photons
med. medium
low low
Wavelength
The Psychophysical Correspondence
41
Area Brightness
B. Area Lightness
# Photons
bright
dark
Wavelength
Physiology of Color Vision
42
100
S M L
50
W AV ELE N G TH (nm .)
Impossible Colors
43
metamerism is a perceived
matching of the colors with
different (nonmatching) spectral
metamers power distributions. Colors that
match this way are
called metamers.
Color blindness produced well
known instances of metamerism
Color Sensing in Camera (RGB)
46
Estimate RGB at
‘G’ cells from
neighboring
values
B
Images in Matlab
49
column
row 0.92 0.93 0.94 0.97 0.62 0.37 0.85 0.97 0.93 0.92 0.99 R
0.95 0.89 0.82 0.89 0.56 0.31 0.75 0.92 0.81 0.95 0.91
0.89 0.72 0.51
0.92
0.55
0.93
0.51
0.94
0.42
0.97
0.57
0.62
0.41
0.37
0.49
0.85
0.91
0.97
0.92
0.93 0.92 0.99 G
0.96 0.95 0.88 0.94 0.56 0.46 0.91 0.87 0.90 0.97 0.95
0.95 0.89 0.82 0.89 0.56 0.31 0.75 0.92 0.81 0.95 0.91
0.71 0.81 0.81
0.89
0.87
0.72
0.57
0.51
0.92
0.37
0.55
0.93
0.80
0.51
0.94
0.88
0.42
0.97
0.89
0.57
0.62
0.79
0.41
0.37
0.85
0.49
0.85
0.91
0.97
0.92
0.93 0.92 0.99
B
0.49 0.62 0.60 0.58 0.50 0.60 0.58 0.50 0.61 0.45 0.33
0.96 0.95 0.88 0.94 0.56 0.46 0.91 0.87 0.90 0.97 0.95
0.86 0.84 0.74 0.58 0.95
0.51 0.89
0.39 0.82
0.73 0.89
0.92 0.56
0.91 0.31
0.49 0.75
0.74 0.92 0.81 0.95 0.91
0.71 0.81 0.81 0.87 0.57 0.37 0.80 0.88 0.89 0.79 0.85
0.96 0.67 0.54 0.85 0.89
0.48 0.72
0.37 0.51
0.88 0.55
0.90 0.51
0.94 0.42
0.82 0.57
0.93 0.41 0.49 0.91 0.92
0.49 0.62 0.60 0.58 0.50 0.60 0.58 0.50 0.61 0.45 0.33
0.69 0.49 0.56 0.66 0.96
0.43 0.95
0.42 0.88
0.77 0.94
0.73 0.56
0.71 0.46
0.90 0.91
0.99 0.87 0.90 0.97 0.95
0.86 0.84 0.74 0.58 0.51 0.39 0.73 0.92 0.91 0.49 0.74
0.79 0.73 0.90 0.67 0.71
0.33 0.81
0.61 0.81
0.69 0.87
0.79 0.57
0.73 0.37
0.93 0.80
0.97 0.88 0.89 0.79 0.85
0.96 0.67 0.54 0.85 0.48 0.37 0.88 0.90 0.94 0.82 0.93
0.91 0.94 0.89 0.49 0.49
0.41 0.62
0.78 0.60
0.78 0.58
0.77 0.50
0.89 0.60
0.99 0.58
0.93 0.50 0.61 0.45 0.33
0.69 0.49 0.56 0.66 0.43 0.42 0.77 0.73 0.71 0.90 0.99
0.86 0.84 0.74 0.58 0.51 0.39 0.73 0.92 0.91 0.49 0.74
0.79 0.73 0.90 0.67 0.33 0.61 0.69 0.79 0.73 0.93 0.97
0.96 0.67 0.54 0.85 0.48 0.37 0.88 0.90 0.94 0.82 0.93
0.91 0.94 0.89 0.49 0.41 0.78 0.78 0.77 0.89 0.99 0.93
0.69 0.49 0.56 0.66 0.43 0.42 0.77 0.73 0.71 0.90 0.99
0.79 0.73 0.90 0.67 0.33 0.61 0.69 0.79 0.73 0.93 0.97
0.91 0.94 0.89 0.49 0.41 0.78 0.78 0.77 0.89 0.99 0.93
Color spaces
50
http://en.wikipedia.org/wiki/File:RGB_illumination.jpg
Color spaces: RGB
51
G
1,0,0 (R=0,B=0)
0,0,1
Some drawbacks B
(R=0,G=0)
• Strongly correlated channels
• Non-perceptual
Image from: http://en.wikipedia.org/wiki/File:RGB_color_solid_cube.png
Color spaces: HSV
52
S
(H=1,V=1)
V
(H=1,S=0)
Color spaces: YCbCr
53
Y=0 Y=0.5
Y
(Cb=0.5,Cr=0.5)
Cr
Cb
(Y=0.5,Cr=0.5)
Cb
Y=1
Fast to compute,
good for
compression, Cr
used by TV (Y=0.5,Cb=05)
Color spaces: L*a*b*
54
a
(L=65,b=0)
b
(L=65,a=0)
A Question
55
Original image
Back to grayscale intensity
60
0.92 0.93 0.94 0.97 0.62 0.37 0.85 0.97 0.93 0.92 0.99
0.95 0.89 0.82 0.89 0.56 0.31 0.75 0.92 0.81 0.95 0.91
0.89 0.72 0.51 0.55 0.51 0.42 0.57 0.41 0.49 0.91 0.92
0.96 0.95 0.88 0.94 0.56 0.46 0.91 0.87 0.90 0.97 0.95
0.71 0.81 0.81 0.87 0.57 0.37 0.80 0.88 0.89 0.79 0.85
0.49 0.62 0.60 0.58 0.50 0.60 0.58 0.50 0.61 0.45 0.33
0.86 0.84 0.74 0.58 0.51 0.39 0.73 0.92 0.91 0.49 0.74
0.96 0.67 0.54 0.85 0.48 0.37 0.88 0.90 0.94 0.82 0.93
0.69 0.49 0.56 0.66 0.43 0.42 0.77 0.73 0.71 0.90 0.99
0.79 0.73 0.90 0.67 0.33 0.61 0.69 0.79 0.73 0.93 0.97
0.91 0.94 0.89 0.49 0.41 0.78 0.78 0.77 0.89 0.99 0.93