Image Processing Chapter 1
Image Processing Chapter 1
Recognition (IPPR):
Introduction (Lecture 1)
1 pixel
7
of
92
What is a Digital Image? (cont…)
Common image formats include:
– 1 sample per point (B&W or Grayscale)
– 3 samples per point (Red, Green, and Blue)
– 4 samples per point (Red, Green, Blue, and “Alpha”,
a.k.a. Opacity)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
26
of
Key Stages in Digital Image Processing:
92 Image Aquisition
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
27
of
Key Stages in Digital Image Processing:
92 Image Enhancement
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
28
of
Key Stages in Digital Image Processing:
92 Image Restoration
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
29
of
Key Stages in Digital Image Processing:
92 Morphological Processing
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
30
of
Key Stages in Digital Image Processing:
92 Segmentation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
31
of
Key Stages in Digital Image Processing:
92 Object Recognition
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
32
of
Key Stages in Digital Image Processing:
92 Representation & Description
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
33
of
Key Stages in Digital Image Processing:
92 Image Compression
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
34
of
Key Stages in Digital Image Processing:
92 Colour Image Processing
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
35
of
92
Summary
We have looked at:
– What is a digital image?
– What is digital image processing?
– History of digital image processing
– State of the art examples of digital image
processing
– Key stages in digital image processing
36
of
92
Contents
This lecture will cover:
The human visual system
Light and the electromagnetic spectrum
Image representation
Image sensing and acquisition
Sampling, quantisation and resolution
37
of
92
Human Visual System
The best vision model we have!
Knowledge of how images form in the eye
can help us with processing digital images
We will take just a whirlwind tour of the
human visual system
38
of
92
Structure Of The Human Eye
The lens focuses light from objects onto the
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
retina
The retina is covered with
light receptors called
cones (6-7 million) and
rods (75-150 million)
Cones are concentrated
around the fovea and are
very sensitive to colour
Rods are more spread out
and are sensitive to low levels of illumination
39
of
92
Blind-Spot Experiment
Draw an image similar to that below on a
piece of paper (the dot and cross are about
6 inches apart)
of
92
43
Brightness Adaptation & Discrimination
(cont…)
44
of
Brightness Adaptation & Discrimination
92 (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Our visual
systems play lots
of interesting
tricks on us
48
of
92
Light And The Electromagnetic Spectrum
Light
absorbed, while green
n
Gree
matrices row
52
of
92
Image Acquisition
Images are typically generated by
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Imaging Sensor
of
92
54
of
92
56
Image Sampling And Quantisation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
57
Image Sampling And Quantisation
58
of
Image Sampling And Quantisation
92 (cont…)
Remember that a digital image is always
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
59
Image Representation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
60
Image Representation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
61
Image Representation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
62
Image Representation
63
of
92
Spatial Resolution
The spatial resolution of an image is
determined by how sampling was carried out
Spatial resolution simply refers to the
smallest discernable detail in an image
Vision specialists will
often talk about pixel
size
Graphic designers will
talk about dots per 5.1
g a pixel
Me
inch (DPI) s
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
64
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
65
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
66
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
67
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
68
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
69
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
70
Spatial Resolution (cont…)
71
of
92
Intensity Level Resolution
Intensity level resolution refers to the
number of intensity levels used to represent
the image
The more intensity levels used, the finer the level of detail
discernable in an image
Intensity level resolution is usually given in terms of the
number of bits used to store each intensity level
Number of Intensity
Number of Bits Examples
Levels
1 2 0, 1
2 4 00, 01, 10, 11
4 16 0000, 0101, 1111
8 256 00110011, 01010101
16 65,536 1010101010101010
72
of
92
Intensity Level Resolution (cont…)
256 grey levels (8 bits per pixel) 128 grey levels (7 bpp) 64 grey levels (6 bpp) 32 grey levels (5 bpp)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
16 grey levels (4 bpp) 8 grey levels (3 bpp) 4 grey levels (2 bpp) 2 grey levels (1 bpp)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
73
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
74
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
75
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
76
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
77
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
78
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
79
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
80
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
81
Saturation & Noise
82
of
92
Resolution: How Much Is Enough?
The big question with resolution is always
how much is enough?
This all depends on what is in the image and what
you would like to do with it
Key questions include
• Does the image look aesthetically pleasing?
• Can you see what you need to see within the
image?
83
of
Resolution: How Much Is Enough?
92 (cont…)
of
92
85
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
86
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of
92
87
Intensity Level Resolution (cont…)
88
of
92
Summary
We have looked at:
Human visual system
Light and the electromagnetic spectrum
Image representation
Image sensing and acquisition
Sampling, quantisation and resolution
Next time we start to look at techniques for
image enhancement