Professional Documents
Culture Documents
Fundamentals
Lecture # 2
1/50
Human Eye
2/50
Human Eye
3/50
Visual Receptors
4/50
Visual Receptors
Retina
Cones (photopic or bright-light vision)
6-7 million cones
One per nerve
Human can resolve fine details with cones
Located in fovea (central portion)
Sensitive to color
Rods (scotopic or dim-light vision)
75-150 million rods
Several per nerve
Distributed over retinal surface
Sensitive to low level of illumination
5/50
Visual Receptors
6/50
Visual Receptors
Blind spot in eye
~17o off axis
7/50
Blind Spot
The distance between the + and the dot should be between 5
and 7 inches. Cover your LEFT eye, and with your RIGHT eye,
look at the + on the LEFT. (So that you're looking past your
nose a little bit.) Now very slowly move your head closer or
away from the screen, until the dot on the right disappears.
Remember, you have to be looking at the +, as you notice the
dot disappear.
8/50
Distribution of Rods and Cones
9/50
Human Visual System
Brightness Perception
Not a simple function of intensity (entering dark room)
Depends on adjacency (Overshoot or undershoot
around the boundary of region).
Depends on background (Simultaneous contrast)
10/50
Under / Over shoot
Brightness is not a simple function of
intensity.
11/50
Simultaneous Contrast
Center is
of same
gray
level in
all four
pictures
12/50
Optical illusions
Eye fills in non-existing information or wrongly
perceives geometrical properties of object
13/50
Optical illusions
Eye fills in non-existing information or wrongly
perceives geometrical properties of object
14/50
16/50
In each of the two illustrations above, one square is
surrounded by four rectangles larger than the center
square in one drawing, smaller in the other. The center
square that is surrounded by smaller rectangles appears to
be larger than the center square surrounded by larger
rectangles. In reality, the center squares are the same size.
17/50
Find the black dot
19/50
VISUAL ILLUSION
20/50
VISUAL ILLUSION
21/50
Image Acquisition
24/50
Image description
f (x,y): intensity/brightness of the image at spatial coordinates (x,y)
25/50
Digital Image
2 D function f (x,y), where
x and y are spatial (plane) coordinates.
Amplitude of f at any pair of coordinates x, y is called
the intensity or gray level of the image at any point.
When (x,y) and amplitude of f are finite, discrete
quantities, we call the image as Digital Image
26/50
Digital Image
f(x,y) x
f(0,0)
27/50
Example
640 x 480 8-bit image
28/50
Digital Images
Digital images are 2D arrays (matrices) of numbers:
29/50
Digital Image
A gray scale digital image is nothing else than an array of
number (a matrix).
The image consists of a large number of tiny squares called
pixels (PICture ELements).
The matrix representing a digital image assigns a value to each
pixel.
Typically this value is a real number between 0 and 255
30/50
Digital Image
Once an image is represented as a matrix, all tools we know
for matrices become available for processing the image.
Therefore many image processing methods are based on
linear algebra
31/50
Resolution
Resolution (how much you can see the detail of the
image) depends on
Sampling
Quantization (Gray levels)
The bigger the sampling rate (n) and the gray scale
(g), the better the approximation of the digitized
image from the original.
The increase in the quantization scale increases the
size of the digitized image.
33/50
Sampling and Quantization
34/50
Sampling and Quantization
35/50
Sampling and Quantization
Sampling: Digitization of the spatial coordinates (x,y)
Quantization: Digitization in amplitude (also called gray-level quantization)
36/50
Spatial and Gray-Level Resolution
Spatial Resolution
Sampling is the principal factor
Spatial resolution is the smallest discernible detail in an image
Insufficient spatial resolution result in appearance of
checkerboard pattern in the image
Gray-Level Resolution
Quantization is the principal factor
Smallest discernible change in gray level
37/50
Spatial and Gray-Level Resolution
38/50
Spatial Resolution
39/50
Spatial Resolution
40/50
Grey-Level Resolution
41/50
Grey-Level Resolution
8 gray level
16 gray level
False contouring
42/50
Effect of Sampling and Quantization
L = 2k (K=no of bits)
K=3 -> L=8; 8 gray level
M=N=10, K=3
b=300 bits. 300 bits required to store an image
45/50
Required storage bits (N=M)
46/50
Digital Image Processing
Digital Image
...a sampled, quantized function of two dimensions that
has been generated by optical means, sampled in an
equally spaced rectangular grid pattern, and quantized in
equal intervals of amplitude.
Processing
...starts with one image and produces a modified version
of that image [without interpreting it]
47/50
Representation of Digital Image
48/50
Representation of Digital Image
. . . . . .
. . . . . .
. . . . . .
f ( M 1,0) f ( M 1,1) . . . f ( M 1, N 1)
N : No of Columns
M : No of Rows
49/50
Mathematical Representation
Pixel Intensity as a Function of Row/column Position
Matrix Representation
Translation, rotation, and other operations performed by
matrix multiplications
f 0, 0 f 0,1 f 0, M 1
f 1, 0 f 1,1 f 1, M 1
I f x, y
f N 1, 0 f N 1,1 f N 1, M 1
50/50