Digital Image Processing - Lecture-2
Digital Image Processing - Lecture-2
By
Teams Link
https://teams.microsoft.com/l/team/19%3aV89kJ8amsbE3ssF9V0x
mGOukoYKvZIwPVey1-
EUiL4Y1%40thread.tacv2/conversations?groupId=47e1fe88-6e6b-
433e-b771-94c21eeb96c6&tenantId=ff4a48d6-4b5e-4fd3-8266-
7eafc3e6e23e
Text Book
R. Gonzalez, R. Woods.
Digital Ιmage Processing,
Prentice Hall, 2008.
Third Edition .
History…………
Examples: GIS
Night-Time Lights of
the World data set
– Global inventory of
human settlement
– Not hard to imagine the
kind of analysis that
might be done using this
data
Examples: Industrial
Inspection
SOURCES OF IMAGES
Gamma-Ray imaging of
A starburst galaxy about
12 million light-years
away
Gamma-Ray
Imaging
Cherenkov
Telescope
Gamma-Ray Imaging
İn nuclear medicine
Sources of Digital Images
X-rays
The best Known use of x-ray is medical
diagnostics, but they are used extensively
industry of other areas, like security applications.
Normal corn
Smut corn
Cygnus Loop
Sources of Digital Images
Infrared
Ultrasonic spectrum
G B
Visible light
STAGES OF DIGITAL IMAGE
PROCESSING
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Dr Mai Kamal DIP 2022 49
Key Stages in Digital Image
Processing:
Image Acquisition
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Dr Mai Kamal DIP 2022 50
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Dr Mai Kamal DIP 2022 51
Key Stages in Digital Image
Processing:
Image Restoration
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Dr Mai Kamal DIP 2022 52
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Dr Mai Kamal DIP 2022 53
Key Stages in Digital Image
Processing:
Image Segmentation
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Dr Mai Kamal DIP 2022 54
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Dr Mai Kamal DIP 2022 55
Key Stages in Digital Image
Processing:
Representation & Description
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Dr Mai Kamal DIP 2022 56
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Dr Mai Kamal DIP 2022 57
Key Stages in Digital Image
Processing:
Colour Image Processing
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Dr Mai Kamal DIP 2022 58
Image Perception
Image perception consists of two basic
steps:
capturing the image with the eye.
Recognizing and interpreting the image with
visual cortex in the brain.
72
What is an Image
An image is a visual representation of
something.
A digital image is a binary representation of
visual data.
These images can take the form of
photographs, graphics and individual video
frames.
For this purpose, an image is a picture that was
created or copied and stored in electronic form.
1 pixel
Image Acquisition
What is an Image
f (x,y)= i (x,y) r(x,y)
Where, 0< i(x,y) <∞ and 0 < r(x,y) <1 .
Image Pixels
Image is a grid of squares, each of which
contains a single color (called pixel).
This pixel is a point on the image that takes on
a specific shade, opacity or color.
In 8-bit representation
Pixel intensity values
rows columns change between 0 (Black)
and 255 (White)
f(645:650,1323:1328) =
83 82 82 82 82 82
82 82 82 81 81 81
82 82 81 81 80 80
82 82 81 80 80 79
80 79 78 77 77 77
80 79 78 78 77 77
f(2724,2336) = 88
One pixel
RGBA Image
RGBA images are colored RGB images with an extra
channel known as “alpha” that depicts the opacity of
the RGB image. Opacity ranges from a value of 0% to
100% and is essentially a “see-through” property.
Opacity in physics depicts the amount of light that
passes through an object. For instance, cellophane
paper is transparent (100% opacity), frosted glass is
translucent, and wood is opaque. The alpha channel in
RGBA images tries to mimic this property.