Digital Image Processing
Digital Image Processing
Contents
Our visual
systems play
lots of
interesting
tricks on us
Optical Illusions (cont…)
Stare at the cross
in the middle of
the image and
think circles
Light And The Electromagnetic Spectrum
Imaging Sensor
Image Representation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Representation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Representation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Representation
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)
1024
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
512
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
256
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
128
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
64
Spatial Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
32
Spatial Resolution (cont…)
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
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)
256
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
128
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
64
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
32
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
16
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
8
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
4
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
2
Intensity Level Resolution (cont…)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)