02 Chapter 1 CV Introduction Digital Image Fundamentals
02 Chapter 1 CV Introduction Digital Image Fundamentals
(COMPUTER VISION)
Introduction to
of the lens allowing us focus on objects that are near or far Computer Vision and Image Processing, [email protected]. 2024
away
An image is focused onto the retina causing rods and
cones to become excited which ultimately send signals to
the brain
Optical Illusions Optical Illusions
Stare at the
Computer Vision and Image Processing, [email protected]. 2024
Line sensor
Array sensor
y
Image “After snow storm” f(x,y)
An image: a multidimensional function of spatial coordinates.
Spatial coordinate: (x,y) for 2D case such as photograph,
(x,y,z) for 3D case such as CT scan images
(x,y,t) for movies
The function f may represent intensity (for monochrome images)
or color (for color images) or other associated values.
Digital Image Types : Intensity Image Digital Image Types : RGB Image
approximately 1010 different light intensity Computer Vision and Image Processing, [email protected]. 2024
levels.
However, at any one time we can only
discriminate between a much smaller
number – brightness adaptation.
Similarly, the perceived intensity of a
region is related to the light intensities of
the regions surrounding it.
Brightness Adaptation of Human Eye : Mach Band Effect
Mach Band Effect
Computer Vision and Image Processing, [email protected]. 2024
left side.
Position
A
B
Intensity
Position
In area A, brightness perceived is darker while in area B is Simultaneous contrast. All small squares have exactly the
brighter. This phenomenon is called Mach Band Effect. same intensity but they appear progressively darker as
background becomes lighter.
Simultaneous Contrast Brightness Adaptation &
Discrimination
Computer Vision and Image Processing, [email protected]. 2024
Computer Vision and Image Processing, [email protected]. 2024 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
Sampling, Quantisation And
Reflected Light
Resolution
Computer Vision and Image Processing, [email protected]. 2024
responsive to that type of energy and this Computer Vision and Image Processing, [email protected]. 2024
generates a voltage
• Collections of sensors are arranged to capture
images
Computer Vision and Image Processing, [email protected]. 2024 approximation of a real world scene
Computer Vision and Image Processing, [email protected]. 2024 Computer Vision and Image Processing, [email protected]. 2024
Image Representation
Image Representation
Computer Vision and Image Processing, [email protected]. 2024 Computer Vision and Image Processing, [email protected]. 2024
Image Representation
Image Representation
Spatial Resolution Spatial Resolution (cont…)
128 * 128 64 * 64 32 * 32
Intensity Level Resolution 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)
Intensity level resolution refers to the number of
Computer Vision and Image Processing, [email protected]. 2024
16 grey levels (4 bpp) 8 grey levels (3 bpp) 4 grey levels (2 bpp) 2 grey levels (1 bpp)
plate
The picture on the right is fine for counting the
number of cars, but not for reading the number
Computer Vision and Image Processing, [email protected]. 2024 Computer Vision and Image Processing, [email protected]. 2024
Low Detail
Medium Detail
High Detail
Isopreference curves.
Computer Vision and Image Processing, [email protected]. 2024
How to choose the spatial resolution How to choose the spatial resolution:
Nyquist Rate
Spatial resolution = Sampling locations
Original image
Computer Vision and Image Processing, [email protected]. 2024
Sampled image
1mm
2mm
Sampled image
No detail is lost!
Minimum Nyquist Rate:
Spatial resolution
Period Spatial resolution must be less or equal
(sampling rate)
half of the minimum period of the image
= Sampling locations or sampling frequency must be greater
or Equal twice of the maximum
Under sampling, we lost some image details!
frequency.
Aliased Frequency Effect of Spatial Resolution
x1 (t ) sin(2t ), f 1
Computer Vision and Image Processing, [email protected]. 2024
-0.5
-1
0 0.5 1 1.5 2 256x256 pixels 128x128 pixels
Sampling rate:
1
5 samples/sec
0.5
-0.5
-1
0 0.5 1 1.5 2
Two different frequencies but the same results ! 64x64 pixels 32x32 pixels
Company
LOGO