DIPch 2
DIPch 2
DIGITAL IMAGE
FUNDAMENTALS
CHAPTER 2: DIGITAL IMAGE FUNDAMENTALS
Iris diaphragm:
Lens: suspended by contracts or
fibers attached to the expands to control
ciliary body. the amount of light.
2
CONE AND ROD CELLS
3
DISTRIBUTION OF RODS AND CONES
4
IMAGE FORMATION IN THE EYE
5
BRIGHTNESS ADAPTATION
The range of light intensity levels to which the HVS can adapt is
enormous – on the order of 1010!
6
BRIGHTNESS DISCRIMINATION
A classical experiment:
A subject looks at a flat, uniformly illuminated area (large enough to occupy the
entire field of view).
The intensity I can be varied.
ΔI is added in the form of a short-duration flash that appears as a circle in the
middle.
If ΔI is not bright enough, the subject says “no.”
As ΔI gets stronger, the subject may say “yes.”
When ΔI is stronger enough, the subject will say “yes” all the time.
Weber ratio: ΔIc/ I, ΔIc: increment of illumination discriminable 50% of the time with
background illumination I.
7
WEBER RATIO AS FUNCTION OF INTENSITY
8
PERCEIVED BRIGHTNESS: NOT A SIMPLE FUNCTION
OF INTENSITY – MACH BANDS
9
PERCEIVED BRIGHTNESS: NOT A SIMPLE FUNCTION
OF INTENSITY – SIMULTANEOUS CONTRAST
10
OPTICAL ILLUSIONS: OTHER EXAMPLES OF HUMAN
PERCEPTION PHENOMENA
A few lines
The outline of are sufficient
a square is to give the
seen clearly illusion of a
although complete
there are no circle.
lines defining
such a figure.
11
LIGHT AND ELECTROMAGNETIC SPECTRUM
Electromagnetic spectrum
The range of colors we perceive in visible light represents a
very small portion of the spectrum.
Radio waves with wavelengths billions of times longer.
Gamma rays with wavelengths billions of smaller.
Wavelength, frequency and energy
λ = c/v, c: speed of light (2.998x108 m/s)
E = hv, h: Planck’s constant
Electromagnetic waves can be visualized as
propagating sinusoidal waves with wavelength λ.
a stream of massless particles, each traveling in a wavelike
pattern and moving at the speed of light.
Each massless particle contains a bundle of energy called a photon.
Higher frequency electromagnetic phenomena carry more energy
per photon.
The visible band: 0.43 μm (violet) – 0.79 μm (red)
Six broad color regions: violet, blue, green, yellow, orange, red.
12
ELECTROMAGNETIC SPECTRUM
13
COLOR PERCEPTION
14
IMAGE SENSING AND ACQUISITION
3 principal
sensor
arrangements
Illumination energy is
transformed into
digital images.
16
SINGLE SENSOR
Arrangement used in
high-precision scanning
17
SENSOR STRIPS
Typical arrangement in
most flat bed scanners
Basis for
medical and
industrial CAT
18
SENSOR ARRAYS
19
A SIMPLE IMAGE FORMATION MODEL
20
GRAY-SCALE IMAGES
Lmin= iminrmin
Lmax= imaxrmax
21
SAMPLING AND QUANTIZATION
22
GENERATING A DIGITAL IMAGE
23
IMAGE ACQUISITION WITH A SENSING ARRAY
24
DIGITAL IMAGE REPRESENTATION
f(0,0)
f(0,N-1)
L = 2k
b=MxNxk
f(M-1,0)
25
STORAGE REQUIREMENTS
26
SPATIAL AND GRAY LEVEL RESOLUTION
27
RESAMPLING INTO 1024X1024 PIXELS
28
256/128/64/32 GRAY LEVELS
False contouring
29
16/8/4/2 GRAY LEVELS
30
ISOPREFERENCE CURVES
31
ZOOMING AND SHRINKING DIGITAL IMAGES
32
NEIGHBORS OF A PIXEL
4 diagonal neighbors
of p, ND(p)
pixel p at (x,y)
33
ADJACENCY, CONNECTIVITY
3 types of adjacency
4- adjacency: 2 pixels p and q with values from V are 4-
adjacent if q is in the set N4(p)
8- adjacency: 2 pixels p and q with values from V are 8-
adjacent if q is in the set N8(p)
m- adjacency: 2 pixels p and q with values from V are m-
adjacent if q is in the set N4(p) if
q is in N4(p)
q is in ND(p) and the set N4(p) N4(q) has no pixels whose values
are from V
A digital path from pixel p with coordinates (x,y) to pixel q
with coordinates (s,t) is a sequence of distinct pixels with
coordinates (x0,y0), (x1,y1), …, (xn,yn), where (x0,y0)= (x,y) and
(xn,yn)=(s,t), and pixels (xi,yi) and (xi-1,yi-1) are adjacent for 1
i n.
34
REGIONS, BOUNDARIES
35
DISTANCE MEASURES
36
LINEAR AND NONLINEAR OPERATIONS
37