Professional Documents
Culture Documents
Digital Images
Fundamentals
07/08/2019
1
Contents
•This lecture will cover:
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
07/08/2019
2
fdzl 1
Human Visual System
Nurturing Unlimited of Innovative and Knowledgeable Leaders
07/08/2019
3
07/08/2019
4
fdzl 2
Image Formation In The Eye
• Muscles within the eye can be used to change
Nurturing Unlimited of Innovative and Knowledgeable Leaders
07/08/2019
5
fdzl 3
Light And The Electromagnetic Spectrum
• Light is just a particular part of the
electromagnetic spectrum that can be sensed
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
07/08/2019
7
Reflected Light
•The colours that we perceive are
determined by the nature of the light
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
fdzl 4
Sampling, Quantization And Resolution
Nurturing Unlimited of Innovative and Knowledgeable Leaders
07/08/2019
9
Image Representation
07/08/2019
10
fdzl 5
Image Representation
Image Acquisition
•Images are typically generated by
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
fdzl 6
Image Sensing
• Incoming energy lands on a sensor material
Nurturing Unlimited of Innovative and Knowledgeable Leaders
generates a voltage
• Collections of sensors are arranged to capture
images
Imaging Sensor
Image Sensing
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
07/08/2019
Using Sensor Strips and Rings 14
fdzl 7
Image Sampling And Quantization
• A digital sensor can only measure a limited
number of samples at a discrete set of
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
energy levels
• Quantization is the process of converting a
continuous analogue signal into a digital
representation of this signal
07/08/2019
15
07/08/2019
16
fdzl 8
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
scene
07/08/2019
07/08/2019
18
17
9
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
07/08/2019
07/08/2019
Image Representation
Image Representation
20
19
10
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
07/08/2019
07/08/2019
Format of image
Image Representation
22
21
11
Image Representation
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
07/08/2019
23
Spatial Resolution
07/08/2019
24
fdzl 12
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
128 * 128
1024 * 1024
64 * 64
512 * 512
07/08/2019
32 * 32
256 * 256
26
25
13
Intensity Level Resolution
• Intensity level resolution refers to the number of
Nurturing Unlimited of Innovative and Knowledgeable Leaders
– 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
07/08/2019
27
07/08/2019
16 grey levels (4 bpp) 8 grey levels (3 bpp) 4 grey levels (2 bpp) 2 grey levels (1 bpp) 28
fdzl 14
Saturation & Noise
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
07/08/2019
29
07/08/2019
30
fdzl 15
Resolution: How Much Is Enough? (cont…)
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
07/08/2019
32
fdzl 16
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
07/08/2019
07/08/2019
34
33
17
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
07/08/2019
Pixel Relationships
Intensity Level Resolution (cont…)
35
18
Neighborhoods of a pixel
• A pixel p at location (x,y) has two horizontal and
two vertical neighbors
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
fdzl 19
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Universiti Kuala Lumpur Malaysia France Institute
Image Operations
Image Algebra
two images.
• Subtraction is used to detect motion.
• Multiplication and division are used to
adjust brightness of an image.
• AND and OR are used to perform a
masking operation (an easy way to
extract an ROI).
• NOT creates a negative of original image.
fdzl 20
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
07/08/2019
07/08/2019
Basic Matrix
Matrix operation
42
41
21
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
+
=
Image Algebra - Addition
Image Algebra - Addition
22
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
–
=
Image Algebra - Addition
23
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
a. Original Image
b. Image multiplied by 2
Image Algebra - Subtraction
24
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
a. Original Image
b. Image divided by 2
25
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
Image Algebra - OR
Image Algebra - AND
26
Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders
Image Algebra - NOT
Matrix operation-Exercise
10 33 40 20 40 40
Nurturing Unlimited of Innovative and Knowledgeable Leaders
A= B=
Universiti Kuala Lumpur Malaysia France Institute
65 70 25 60 75 15
10 20 15 90 30 50
Let Say A is a matirx image 3 * 3 and B is a matrix image 3* 3.
Find the image C based on the operation below:
i. A + B
ii. A – B
iii. B - A
iv. B * A
v. A * B
07/08/2019
54
fdzl 27
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
8/7/2019
Averaging
56
Image Averaging for Noise Reduction
28
fdzl
Universiti Kuala Lumpur Malaysia France Institute Universiti Kuala Lumpur Malaysia France Institute
Nurturing Unlimited of Innovative and Knowledgeable Leaders Nurturing Unlimited of Innovative and Knowledgeable Leaders
8/7/2019
8/7/2019
58
57
Image Averaging for Noise Reduction
29
Summary
Nurturing Unlimited of Innovative and Knowledgeable Leaders
fdzl 30