Visual Perception
Visual Perception
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
≈20mm
( )
1
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Light Reception
Cones
6-7millions
sensitive to Color
Photopic or Bright-light vision
Rods
75-150millions
Scotopic or Dim-light vision
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
2
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
≈1.5 mm
≈337000 cones
© 2002 R. C. Gonzalez & R. E. Woods
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
3
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
2.55mm
14mm ~ 17mm
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
4
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Photopic
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Two examples
to demonstrate the perceived brightness is not a simple
function of intensity
Mach Bands - 1865, Ernst Mach
5
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Simultaneous contrast
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Optical Illusion( )
is not fully understood
6
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
7
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
8
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
9
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Electromagnetic Spectrum( )
10
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Wavelength λ
− (2.2-1)
− (2.2-2)
h = 6.626068 ×10 −34 Js 1 eV = 1.6 × 10 −19 J
© 2002 R. C. Gonzalez & R. E. Woods
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Visible Band
430um~790nm
Illuminant ( )
reflected light from objects ( )
Achromatic or Monochromatic (Gray Level)
Chromatic - Color
Light Source
Radiance ( ) - measured in Watts
Luminance ( ) - measured in lumens
Brightness ( ) - subjective descriptor
11
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Image Sensing
Scene ( )
Molecules
Human Brain
...
Illumination( )
Radar
Infrared
X-ray
Sun
...
Reflection( )
© 2002 R. C. Gonzalez & R. E. Woods
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
12
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Scanning Direction
Flatbed Scanner
CAT
MRI
PET
13
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Sun
Lamp
Flash
Iris
Lens Digital Camera
CCD
CMOS
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
14
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
(2.3-1)
(2.3-2)
− Illumination
(2.3-3)
− Reflectance
(2.3-4)
15
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
16
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Sampling ( ) Quantization ( )
17
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
18
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
19
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
20
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
similar quality
21
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
22
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
An example
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Bilinear Interpolation
23
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
24
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
8-Path
Path
− 4-Path 8-Path m-Path
− 8-Path
− m-Path
Length
(x0, y0), (x1, y1), ... , (xn, yn)
− Length=n,
− if (1≤ i ≤ n) and pixels (xi-1, yi-1) and (xi, yi) are adjacent
− if (x0, y0)= (xn, yn), the path is a closed path
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Connected
− Let S represent a subset of pixels in an image
− Pixels p and q in S
− If there exists a path between two pixels p and q
Connected components
− For any pixel p in S, the set of pixels that are connected to p in S is
called a connected component
connected sets
− If there is only one connected component in S, S is called a
connected set
25
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Regions
– Let R be a subset of pixels in an image.We call R a region of the
image if R is a connected set.
Boundaries
– The boundary (also called border or contour) of a region R is the
set of pixels in the region that have one or more neighbors that are
not in R.
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
26
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
D4 distance
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
D8 distance
27
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
Dm distance
is defined as the shortest m-path between the points
depends on the values of pixels
p3 p4
p1 p2
p
0 1 0 1 1 1 1 1
0 1 1 1 0 1 1 1
1 1 1 1
m-distance=2 m-distance=3 m-distance=3 m-distance=4
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
28
Digital
Digital Image
Image Processing,
Processing, 2nd
2nd ed.
ed. www.imageprocessingbook.com
H (af + bg ) = aH ( f ) + bH (g ) (2.6 - 1)
29