Lect 1
Lect 1
Our visual
systems play lots
of interesting
tricks on us
5
Light And The Electromagnetic
Spectrum
Light is just a particular part of the
electromagnetic spectrum that can be
sensed by the human eye
The electromagnetic spectrum is split up
according to the wavelengths of different
forms of energy
6 Reflected Light
The colours that we perceive are determined
by the nature of the light reflected from an
object
For example, if white
light is shone onto a
green object most Colours
N columns of pixels
each storing a value
col
Pixel values are most
often grey levels in the
range 0-255(black-white)
We will see later on
that images can easily
be represented as
matrices f (row, col)
row
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
9
Colour images
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
10
Colour images
11 Image Acquisition
Images are typically generated by
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Imaging Sensor
14
Image Sampling And Quantisation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
15
Image Sampling And Quantisation
16
Image Sampling And Quantisation
(cont…)
Remember that a digital image is always
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
17
Image Representation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
18
Image Representation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
19
Image Representation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
20
Image Representation
21 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
inch (DPI)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
22
Spatial Resolution (cont…)
23 Spatial Resolution (cont…)
1024 * 1024 512 * 512 256 * 256
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
128 * 128 64 * 64 32 * 32
24 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
25 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)
26 Histogram Example: Height of Trees
You measure the height of every tree in the orchard in centimeters (cm)
The heights vary from 100 cm to 340 cm.
You decide to put the results into groups of 50 cm:
The 100 to just below 150 cm range,
The 150 to just below 200 cm range, …etc...
So a tree that is 260 cm tall is added to the "250-300" range. And here is the result: