Lec 1 Image Processing
Lec 1 Image Processing
(CSC 352)
2022 – 2023
Lecture-1
Dr: Mary monir saied
Email: [email protected]
Agenda
Course Outlines
2
Agenda
Course Outlines
3
Course Assessment
Method Marks
ORAL 10
PRACTICAL 10
Midterm Exam 20
Final Exam 60
Total 100
4
Course Labs
Course Labs :
Practical Implementations using Matlab.
Course TA’s:
Eng. Hadeer Mostafa
Eng. Kyrils Sammy
5
Course – Text Book and References
• Digital Image Processing, 4rd edition, Rafael C.
Gonzalez and Richard E. Woods, Prentice
Hall, 2008, http://www.imageprocessingplace.com
Course Outlines
7
Overview
Early days of computing – data was numerical
8
What is the Signal?
9
What is the Signal?
10
What is the Signal?
ECG signal
EEG signal
11
What is the Signal?
Variable of Signals:
Time/Distance/Temperature/Voltage
One-dimensional Signals: Single variable y=x(t)
Two-dimensional Signals: Two variables f(x, y)
12
Three-dimensional Signals :Three variables f(x, y, t)
What is the Signal?
Signal is a function of one or more independent variables such
as time, distance, position, temperature and pressure.
An audio signal is created by changes in air pressure, and
therefore can be represented by a function of time f(t) with f
representing the air pressure due to the sound at time t.
13
What is the Signal?
A gray image can be represented as a function f(x, y)
of two variables. Here (x, y) denotes a particular point
on the image, and the value f(x, y) denotes the
brightness (or gray level) of the image at that point.
1
pix
el
14
What is the Signal?
A video can be thought of as a sequence of images.
Hence, a black and white video signal can be
represented by a function f(x, y, t) of three variables
(two spatial variables and time).
15
Fields that deal with Images
Computer Graphics: Creation of images synthetically.
16
What is an Image?
17
Why image processing?
18
What is a Digital Image?
•A digital image is a representation of a two-
dimensional image as a finite set of digital values,
called picture elements or pixels
19
What is a Digital Image?
An image is a 2D function f(x,y), where x and y
are spatial coordinates and the magnitude of f
at any point is called the intensity of the image
at that point.
When x, y and the intensity are discrete quantities
we call the image a digital image
The elements of a digital image are referred to
as pixels
20
What is a Digital Image? – (cont.)
21
What is a Digital Image? – (cont.)
y
(0,0)
1 pixel
22
x f(x,y)
What is a Digital Image? – (cont.)
•Types of an image:
• 1 sample per point (B&W or Grayscale)
• 3 samples per point (Red, Green, and Blue)
23
Image Types : Binary Image
Binary image or black and white image
Each pixel contains one bit :
1 represent white
0 represents black
Binary data
0 0 0 0
0 0 0 0
1 1 1 1 24
1 1 1 1
Digital Image Types : Grayscale Images
Grayscale Images
Each pixel is usually stored as
a byte (value between 0 to 255)
RGB components
10 10 16 28
9 656 70 26
56 43
3756 78
32 99 54 96 67
70
15 256013902296 67
21 54 47 42 26
32 158587853943 92
54 65 65 39
32 65 87 99
Image Types : Index Image
Index image
Each pixel contains index number pointing to a color in a color table
Color Table
35 45 20
43 64 52
10 29 39
28
How are images represented in the computer?
29
What is DIP?
Course Outlines
33
3. Applications
– Image enhancement/restoration.
– Medical field
– Machine/Robot vision
– Video processing
– Human computer interfaces.
– Others
34
3. Example Applications – (cont.)
- Image Enhancement/restoration: One of
the most common uses of DIP techniques:
improve quality, remove noise, etc.
35
3. Example Applications – (cont.)
- Image Enhancement/restoration: One of the
most common uses of DIP techniques: improve
quality, remove noise, etc.
36
3. Example Applications – (cont.)
- Image Enhancement
37
3. Example Applications – (cont.)
Noise Removal
38
3. Example Applications – (cont.)
Contrast Adjustment
39
3. Example Applications – (cont.)
- Image Restoration
40
3. Example Applications – (cont.)
Edge Detection
41
3. Example Applications – (cont.)
- Image Compression
43
3. Example Applications – (cont.)
Face Recognition
Search in the
database
Surveillance video
44
Agenda
Course Outlines
45
4. Fundamental Steps of DIP
46
4. Fundamental Steps of DIP (cont.)
48
Image Enhancement
49
Example: Change contrast
4. Fundamental Steps of DIP (cont.)
Image Enhancement:
50
4. Fundamental Steps of DIP (cont.)
51
Example: Remove Noise
52
4. Fundamental Steps of DIP (cont.)
53
4. Fundamental Steps of DIP (cont.)
54
4. Fundamental Steps of DIP (cont.)
Image regions transformed suitable for
computer processing
55
4. Fundamental Steps of DIP (cont.)
56
4. Fundamental Steps of DIP (cont.)
Reduce image size (e.g. JPEG)
57
4. Fundamental Steps of DIP (cont.)
58
Thank You
59