Sampling (extensions to  general lattice), Video, and  Color Shahram Ebadollahi

advertisement
Lecture 3 (2.9.09)
Sampling (extensions to general lattice), Video, and Color
Shahram Ebadollahi
02/09/09
DIP ELEN E4830
1
Lecture Outline




Review of Lecture 2
Sampling on general lattice
Video
 Fundamentals of Analog and Digital Video
Color
 Visual Perception
 Color Representation
 Color Models and Transformations
 Color Sampling and Interpolation
02/09/09
2
Progressive:
Interlaced:
02/09/09
3
Eye Physiology & Visual Perception
I  x,y,λ =r  x,y,λ  L  x,y,λ 
02/09/09
4
Eye Physiology & Visual Perception
•75~150 Million
•Sensitive to low illumination
•Distributed over Retina •6~7 Million
• Scotopic (dim light) vision
•Highly sensitive to color
•Concentrated in Fovea
•Photopic (day light) vision
Rods & Cones Distribution in Retina
Photoreceptor Cells
02/09/09
5
Visual Perception: Luminence
Spectral Power Distribution of the Stimulus
I  x,y,λ =r  x,y,λ  L  x,y,λ 
Well lit scene
∞
F  x,y =∫ I  x,y,λ V  λ  dλ
0
Luminance (intensity)
02/09/09
6
Visual Perception: Color
3 types of Cone Photoreceptors

Humans perceive only a few dozen gray levels but thousands of colors

Color perceptual attributes:



S 3 λ 
S 2  λ  S 1 λ
Brightness (perceived Luminence)
Hue (“redness”, “greenness”, …)
Saturation
02/09/09
Cones: 65% (R), 33% (G), 2% (B)
7
Color Representation
Cλ 
02/09/09
∫ S 1 λ C λ dλ
α1  C 
∫ S 2  λC λ dλ
α 2 C 
∫ S 3 λ C  λdλ
α 3C 
8
Painting, printing
Monitors, projectors, digital camera, scanner
Primary & Secondary Colors
Images above from: http://www.rgbworld.com/color.html
02/09/09
9
CIE Chromacity Diagram
02/09/09
10
Color Monitor & Printer Color Gamut
02/09/09
11
RGB Color Cube
02/09/09
12
Color Interpolation
1
2
3
4
5
6
7
8
1
G
B
G
B
G
B
G
B
2
R
G
R
G
R
G
R
G
3
G
B
G
B
G
B
G
B
4
R
G
R
G
R
G
R
G
5
G
B
G
B
G
B
G
B
6
R
G
R
G
R
G
R
G
7
G
B
G
B
G
B
G
B
8
R
G
R
G
R
G
R
G
Bayer Pattern 02/09/09
(a color filter array CFA pattern)
13
CMY and CMYK Color Model



Used in printers
Primary pigment colors, secondary light colors
Subtractive vs. Additive
[ ][][ ]
1
C
R
M =1 −G
Y
1
B
02/09/09
14
HSI Color Model



02/09/09
Intensity
Hue
Saturation
Cube at different intensity cross­
sections
15
HSI Color Model

Saturated colors on the outer points

Max. saturation at intermediate intensity levels

Distance between colors:
D C1 ,C 2 =w1 ΔH+w2 ΔS+w3 ΔI
02/09/09
16
Manipulation HSI images
• HSI values of primary and secondary colors
• Hue of Green & Blue set to Zero
• HSI allows for independent manipulation of colors
• Intensity of white reduced by ½
02/09/09
• Saturation of Cyan reduced by ½
17
Color Image Processing: Point vs. Kernel Processing
[ ]
f R  x,y 
f  x,y = f G  x,y 
g x,y =T [ f  x,y  ]
f B  x,y 
02/09/09
18
Download