Page 1
ENEE631 Digital Image Processing (Spring'04)
Visual PerceptionVisual Perception
Spring ’04 Instructor: Min Wu
ECE Department, Univ. of Maryland, College Park
www.ajconline.umd.edu (select ENEE631 S’04) [email protected]
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
04
)
Based on ENEE631 Based on ENEE631 Spring’04Spring’04Section 2 Section 2
Page 2
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [3]
Information Processing by Human ObserverInformation Processing by Human Observer
Visual perception– Concerns how an image is perceived by a human observer
preliminary processing by eye this lecture further processing by brains
– Important for developing image fidelity measures needed for design and evaluate DIP/DVP algorithms &
systems
imageimage eyeeye perceived perceived imageimage
understanding of content
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
01
)
Page 3
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [4]
The EyeThe Eye
– Cross section illustrationFigure is from slides at Gonzalez/ Woods DIP book website (Chapter 2)
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
04
)
Page 4
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [5]
Two Types of Photoreceptors at RetinaTwo Types of Photoreceptors at Retina
Rods– Long and thin– Large quantity (~ 100 million)– Provide scotopic vision (i.e., dim light vision or at low illumination)– Only extract luminance information and provide a general overall picture
Cones– Short and thick, densely packed in fovea (center of retina)– Much fewer (~ 6.5 million) and less sensitive to light than rods– Provide photopic vision (i.e., bright light vision or at high illumination)– Help resolve fine details as each cone is connected to its own nerve end– Responsible for color vision
– Mesopic vision provided at intermediate illumination by both rod and cones
our interest (well-lighted display)
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
01
/20
04
)
Page 5
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [6]
LightLight
Light is an electromagnetic wave– with wavelength of 350nm to 780nm stimulating human visual response
Expressed as spectral energy distribution I()
– The range of light intensity levels that human visual system can adapt is huge: ~ on 10 orders of magnitude (1010) but not simultaneously
– Brightness adaptation: small intensity range to discriminate simultaneously
Figure is from slides at Gonzalez/ Woods DIP book website (Chapter 2)
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
04
)
Page 6
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [7]
Luminance vs. BrightnessLuminance vs. Brightness
Luminance (or intensity)– Independent of the luminance of surroundings
I(x,y,) -- spatial light distributionV() -- relative luminous efficiency func. of visual system ~ bell shape
(different for scotopic vs. photopic vision; highest for green wavelength, second for red, and least for blue )
Brightness– Perceived luminance– Depends on surrounding luminance
Same lum. Different brightness
Different lum.
Similar brightness
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
01
/20
04
)
Page 7
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [8]
Luminance vs. Brightness (cont’d)Luminance vs. Brightness (cont’d)
Example: visible digital watermark– How to make the watermark
appears the same graylevelall over the image?
from IBM Watson web page“Vatican Digital Library”
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
01
)
Page 8
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [9]
Look into Simultaneous Contrast PhenomenonLook into Simultaneous Contrast Phenomenon
Human perception more sensitive to luminance contrast than absolute luminance
Weber’s Law: | Ls – L0 | / L0 = const
– Luminance of an object (L0) is set to be just noticeable from luminance of surround (Ls)
– For just-noticeable luminance difference L: L / L d( log L ) 0.02 (const)
equal increments in log luminance are perceived as equally different
Empirical luminance-to-contrast models
– Assume L [1, 100], and c [0, 100]– c = 50 log10 L (logarithmic law, widely used)
– c = 21.9 L1/3 (cubic root law)
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
01
/20
04
)
Page 9
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [10]
Mach BandsMach Bands
Visual system tends to undershoot or overshoot around the boundary of regions of different intensities
Demonstrates the perceived brightness is not a simple function of light intensity
Figure is from slides at Gonzalez/ Woods DIP book website (Chapter 2)
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
04
)
Page 10
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [11]
dot
dot
Visual Angle and Spatial FrequencyVisual Angle and Spatial Frequency
Visual angle matters more than absolute distance– Smaller but closer object vs. larger but farther object– Eyes can distinguish about 25-30 lines per degree in bright illumination
25 lines per degree translate to 500 lines if distance=4*screenheight
Spatial Frequency– Measures the extent of spatial transition
in unit of “cycles per visual degree”
UM
CP
EN
EE
40
8G
Slid
es
(cre
ate
d b
y M
.Wu
& R
.Liu
© 2
00
2)
Page 11
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [12]
Visibility Threshold at Various Spatial FrequencyVisibility Threshold at Various Spatial Frequency
Preliminaries on 2-D linear (spatial) invariant system
[ Extending from 1-D LTI systems ]
– Can be characterized by “Point Spread Function (PSF)” (i.e. impulse response) and the 2-D transfer function
– The magnitude of the (normalized) transfer function is called the “Modulation Transfer Function (MTF)”
We’ll study 2-D systems and transforms in detail in 2 lectures
Visibility threshold at different spatial frequency– Eyes are most sensitive to mid frequencies,
and least sensitive to high frequencies– Most sensitive to horizontal and vertical ones than other orientations
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
04
)
Page 12
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [14]
Image Fidelity CriteriaImage Fidelity Criteria
Subjective measures– Examination by human viewers– Goodness scale: excellent, good, fair, poor, unsatisfactory– Impairment scale: unnoticeable, just noticeable, … – Comparative measures
with another image or among a group of images
Objective (Quantitative) measures– Mean square error and variations– Pro:
Simple, less dependent on human subjects, & easy to handle mathematically
– Con: Not always reflect human perception
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
01
)
Page 13
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [15]
Mean-square CriterionMean-square Criterion
Average (or sum) of squared difference of pixel luminance between two images
Signal-to-noise ratio (SNR)– SNR = 10 log10 ( s
2 / e2 ) in unit of decibel (dB)
s2 – image variance, e
2 – variance of noise or error
– PSNR = 10 log10 ( A2 / e2 ) with A being peak-to-peak value
PSNR is about 12-15 dB higher than SNR
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
01
)
Page 14
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [16]
Color of LightColor of Light
Perceived color depends on spectral content (wavelength composition)
– e.g., 700nm ~ red.– “spectral color”
A light with very narrow bandwidth
A light with equal energy in all visible bands appears white
“Spectrum” from http://www.physics.sfasu.edu/astro/color.html
UM
CP
EN
EE
40
8G
Slid
es
(cre
ate
d b
y M
.Wu
& R
.Liu
© 2
00
2)
Page 15
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [17]
Perceptual Attributes of Color Perceptual Attributes of Color
Value of Brightness (perceived luminance)
Chrominance– Hue
specify color tone (redness, greenness, etc.)
depend on peak wavelength
– Saturation describe how pure the color is depend on the spread
(bandwidth) of light spectrum reflect how much white light is
added
RGB HSV Conversion ~ nonlinear
HSV circular cone is from online documentation of Matlab image processing toolbox
http://www.mathworks.com/access/helpdesk/help/toolbox/images/color10.shtml
UM
CP
EN
EE
40
8G
Slid
es
(cre
ate
d b
y M
.Wu
& R
.Liu
© 2
00
2)
Page 16
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [18]
Absorption of Light by R/G/B ConesAbsorption of Light by R/G/B Cones
Figure is from slides at Gonzalez/ Woods DIP book website (Chapter 6)
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
04
)
Page 17
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [19]
Representation by Three Primary ColorsRepresentation by Three Primary Colors
Any color can be reproduced by mixing an appropriate set of three primary colors (Thomas Young, 1802)
Three types of cones in human retina– Absorption response Si() has peaks around 450nm (blue), 550nm
(green), 620nm (yellow-green) – Color sensation depends on the spectral response {1(C), 2(C),
3(C) } rather than the complete light spectrum C()
S1() C() d
S2() C() d
S3() C() d
C()
color light
1(C)
2(C)
3(C)
Identically perceived colors if i (C1) = i (C2)
UM
CP
EN
EE
63
1 S
lide
s (c
rea
ted
by
M.W
u ©
20
01
/20
04
)
Page 18
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [20]
Example: Seeing Yellow Without YellowExample: Seeing Yellow Without Yellow
mix green and red light to obtain perception of yellow, without shining a single yellow photon
520nm 630nm570nm
=
UM
CP
EN
EE
40
8G
/63
1 S
lide
s (c
rea
ted
by
M.W
u &
R.L
iu ©
20
02
/20
04
)
“Seeing Yellow” figure is from B.Liu ELE330 S’01 lecture notes @ Princeton; R/G/B cone response is from slides at Gonzalez/ Woods DIP book website
Page 19
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [24]
RGB Primaries and Color RepresentationRGB Primaries and Color Representation
– Use red, green, blue light to represent a large number of visible colors– The contribution from each primary is normalized to [0, 1]
Color-cube figures: left figure is from B.Liu ELE330 S’01 lecture notes @ Princeton, right figure is from slides at Gonzalez/ Woods DIP book website
UM
CP
EN
EE
40
8G
Slid
es
(cre
ate
d b
y M
.Wu
& R
.Liu
© 2
00
2)
Page 20
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [25]
Color Coordinate for PrintingColor Coordinate for Printing
Primary colors for pigment– Defined as one that subtracts/absorbs a
primary color of light & reflects the other two
CMY – Cyan, Magenta, Yellow – Complementary to RGB– Proper mix of them produces black
UM
CP
EN
EE
40
8G
/63
1 S
lide
s (c
rea
ted
by
M.W
u &
R.L
iu ©
20
02
/20
04
)
Figure is from slides at Gonzalez/ Woods DIP book website (Chapter 6)
Page 21
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [26]
ExamplesExamples
HSV
YUV
RGB
UM
CP
EN
EE
40
8G
Slid
es
(cre
ate
d b
y M
.Wu
& R
.Liu
© 2
00
2)
Page 22
ENEE631 Digital Image Processing (Spring'04) Lec2 – HVS [27]
Color Coordinates Used in TV TransmissionColor Coordinates Used in TV Transmission
Facilitate sending color video via 6MHz mono TV channel
YIQ for NTSC (National Television Systems Committee) transmission system
– Use receiver primary system (RN, GN, BN) as TV receivers standard
– Transmission system use (Y, I, Q) color coordinate Y ~ luminance, I & Q ~ chrominance I & Q are transmitted in through orthogonal carriers at the
same freq.
YUV (YCbCr) for PAL and digital video– Y ~ luminance, Cb and Cr ~ chrominance
UM
CP
EN
EE
40
8G
Slid
es
(cre
ate
d b
y M
.Wu
& R
.Liu
© 2
00
2)