EECE/CS 253 Image Processing: Lecture Notes
EECE/CS 253 Image Processing: Lecture Notes
EECE/CS 253 Image Processing: Lecture Notes
This work is licensed under the Creative Commons Attribution-Noncommercial 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
Color Images
Are constructed from three intensity maps. Each intensity map is projected through a color filter (e.g., red, green, or blue, or cyan, magenta, or yellow) to create a single color image. The intensity maps are overlaid to create a color image. Each pixel in a color image is a three element vector.
2011-09-14
2011-09-14
2011-09-14
Images are separated into four color bands, each of which is printed as a grid regularly spaced dots. A dots diameter varies in proportion to the intensity of the color.
2011-09-14 1999-2011 by Richard Alan Peters II 5
2011-09-14
The screens are oriented at different angles. The resulting patterns are called rosettes.
2011-09-14
The original is separated into an intensity image for each of the four color bands.
2011-09-14
2011-09-14
Yellow
Black
Each screened image is printed in its own color on the same page.
2011-09-14
10
2011-09-14
11
The Eye
The Retina
Fovea
Optic nerve
2011-09-14
13
The Retina
Light
Diagram from http://webvision.med.utah.edu/
2011-09-14 1999-2011 by Richard Alan Peters II 14
Retinal Mosaic
Cepko, Connie, Giving in to the blues, Nature Genetics, 24, 99 - 100 (2000) [email protected]
2011-09-14 1999-2011 by Richard Alan Peters II 15
Photoreceptor Densities
2011-09-14
16
Photoreceptor Densities
The density of cone photoreceptors decreases from the high-resolution fovea to the periphery of the eye. A human eyes field of view is about 155 of that, the fovea comprises the central 2. To see the world in detail requires active scanning by the eyes. A person does not see much more than he or she does see in most situations. The slides that follow mimic a multiresolution scan of a painting by a single eye. (The digital image processing in this case was done with a log-polar transform.)
Figure: Anatomical Distribution of Rods and Cones from Neuroscience. 2nd edition. Purves D, Augustine GJ, Fitzpatrick D, et al., editors. Sunderland (MA): Sinauer Associates; 2001. http://www.ncbi.nlm.nih.gov/books/NBK10848/ 2011-09-14 1999-2011 by Richard Alan Peters II 17
2011-09-14
18
2011-09-14
19
2011-09-14
20
2011-09-14
21
2011-09-14
22
2011-09-14
23
2011-09-14
24
2011-09-14
25
2011-09-14
26
spatial domain
= 32
frequency domain
=2
g (r ) =
2
r2 r2 1 exp 2 2 2 2
G ( ) = exp
2
2 2
2
r2 = x2 + y2
2 = u2 + v2
27
Louis Boilly (1761-1845) Thirty-Six Faces of Expression. Photo negative of LoG output.
2011-09-14
28
Louis Boilly (1761-1845) Thirty-Six Faces of Expression. Photo negative of LoG output.
2011-09-14
29
This is the reduction in size from the full image to a compact multiresolution representation including the fovea (the disk) and the periphery.
2011-09-14
30
2011-09-14
31
2011-09-14
32
hue saturation
The brain transforms RGB into separate brightness and color channels (e.g., LHS).
brain photo receptors
34
2011-09-14
35
2011-09-14
36
16 Pixelization
2011-09-14
37
16 Pixelization
2011-09-14
38
16 Pixelization
2011-09-14
39
2011-09-14
40
2011-09-14
41
b1
r1 g1
2011-09-14
42
b2
r2 g2
2011-09-14
43
g3
r3 b3
2011-09-14
44
r4 g4 b4
2011-09-14
45
The simultaneous red + blue response causes us to perceive a continuous range of hues on a circle. No hue is greater than or less than any other hue.
2011-09-14
46
Complementary Colors
CYAN - RED
GREEN - MAGENTA
BLUE - YELLOW
Colors opposite each other on the color disk are called complementary.
2011-09-14 1999-2011 by Richard Alan Peters II 47
Complementary Colors
response
red green blue
color
0 180
red green blue
color
2011-09-14
48
2011-09-14
50
2011-09-14
51
2011-09-14
52
The color negatives saturate the local receptors so that when the color is removed the agonist (opposite) color receptors remain saturated.
2011-09-14 1999-2011 by Richard Alan Peters II 53
Dale Purves, R. Beau Lotto, Surajit Nundy, Why We See What We Do, American Scientist, Volume 90, No. 3, May-June 2002
2011-09-14 1999-2011 by Richard Alan Peters II 54
Dale Purves, R. Beau Lotto, Surajit Nundy, Why We See What We Do, American Scientist, Volume 90, No. 3, May-June 2002
2011-09-14 1999-2011 by Richard Alan Peters II 55
Wrong!
Dale Purves, R. Beau Lotto, Surajit Nundy, Why We See What We Do, American Scientist, Volume 90, No. 3, May-June 2002
2011-09-14 1999-2011 by Richard Alan Peters II 56
Dale Purves, R. Beau Lotto, Surajit Nundy, Why We See What We Do, American Scientist, Volume 90, No. 3, May-June 2002
2011-09-14 1999-2011 by Richard Alan Peters II 57
Brightness Perception
255
image
intensity profile
Brightness Perception
The previous slide demonstrates the WeberFechner relation. The linear slope of the intensity change is perceived as logarithmic.
g1 - g 2 Dg = g1 + g 2
The green curve is the actual intensity; the blue curve is the perceived intensity.
2011-09-14
59
decreasing contrast
increasing frequency
2011-09-14 1999-2011 by Richard Alan Peters II 60