DIP - Lecture 1
DIP - Lecture 1
RECOMMENDED:
4. Anil K.Jain, “Fundamentals of Digital Image Processing”, PHI, 2006
5. Digital Image Processing 3rd Edition by Rafael C. Gonzalez and Richard E.
Woods
2
Department of Computing & Communication Technology
Lecture Outline
Introduction
Application Areas of DIP
Steps in Image Processing System
Image Acquisition Processes
Sampling and Quantization Processes
3
Department of Computing & Communication Technology
Introduction
○ Digital Image Processing (DIP) refers to the processing of digital images by the use
of digital computers
○ OR – Is the process of using computer algorithms and mathematical models to
process and analyze digital images
○ OR - is the process of transforming an image into a digital form and performing
certain operations to get some useful information from it
The goal of digital image processing is to enhance the quality of images, extract
meaningful and useful information from the images, and automate image-based
tasks
4
Department of Computing & Communication Technology
Introduction
What is an Image?
5
Department of Computing & Communication Technology
Introduction
What is an Image?
○ The digital image comprises a finite number of elements, each with a
particular location and value
○ These elements are called picture elements, image elements, or pixels
○ Pixel is the term used most widely to denote the elements of digital image
An image is a two-dimensional function that represents a measure of
some characteristic such as the brightness or color of a viewed scene
An image is a projection of a 3-D scene into a 2-D projection plane
6
Department of Computing & Communication Technology
Introduction
7
Department of Computing & Communication Technology
Origin of Digital Image Processing
Self Reading, Chapter 1, section 1.2, Digital Image Processing 3rd Edition by
Rafael C. Gonzalez and Richard E. Woods
8
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
9
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
10
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
11
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
12
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
13
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
14
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
■ Image Understanding and Analysis: Digital image processing techniques enable higher-
level analysis and understanding of images in computer vision
● This includes tasks such as object tracking, scene understanding, and image classification
● By leveraging digital image processing algorithms, computer vision systems can interpret and
comprehend visual information, leading to intelligent decision-making and automation
15
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
16
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
17
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
■ License Plate Recognition: License plate recognition (LPR) systems utilize digital image
processing techniques to identify and extract license plate information from surveillance
images or video streams
● LPR algorithms can read and interpret license plate numbers, enabling automated vehicle
tracking, parking management, and law enforcement applications
18
Department of Computing & Communication Technology
Application Areas of Digital Image Processing
Digital image processing has other applications beyond these three areas
It is also used in
○ Remote sensing,
○ Satellite imagery analysis,
○ Industrial inspection,
○ Quality control,
○ Entertainment and gaming,
○ Image and video editing,
○ Biometrics, and more
The usefulness of image processing techniques makes them valuable in a
wide range of domains where visual information needs to be analyzed,
interpreted, and utilized
20
Department of Computing & Communication Technology
Fundamental Steps in Digital Image Processing
21
Department of Computing & Communication Technology
Fundamental Steps in Digital Image Processing
22
Department of Computing & Communication Technology
Fundamental Steps in Digital Image Processing
23
Department of Computing & Communication Technology
Fundamental Steps in Digital Image Processing
24
Department of Computing & Communication Technology
Fundamental Steps in Digital Image Processing
25
Department of Computing & Communication Technology
Fundamental Steps in Digital Image Processing
26
Department of Computing & Communication Technology
Fundamental Steps in Digital Image Processing
Steps
27
Department of Computing & Communication Technology
Components of an Image Processing System
Components
28
Department of Computing & Communication Technology
Components of an Image Processing System
Image Sensors:
○ Image sensors sense the intensity, amplitude, co-ordinates and other features
of the images and pass the result to the image processing hardware
○ In sensing, two elements are required to acquire digital images
○ The first is a physical sensing device that is sensitive to the energy radiated by
the object we wish to image (Sensors)
○ The second is called a digitizer is a device for converting the output of the
physical sensing device into digital form
■ For instance, in a digital video camera, the sensors produce an electrical output
proportional to light intensity
■ The digitizer converts these outputs to digital data
29
Department of Computing & Communication Technology
Components of an Image Processing System
30
Department of Computing & Communication Technology
Components of an Image Processing System
Software:
○ Consists of specialized modules that perform specific tasks
○ A well-designed package also includes the capability for the user to write code
that utilizes the specialized image-processing modules
Hardcopy:
○ The devices for recording images include laser printers, film cameras, inkjet
units, and digital units such as optical and CDROM disks
○ The film provides the highest possible resolution, but paper is the obvious
medium of choice for written material
○ For presentations, images are displayed on a digital medium if image projection
equipment is used
31
Department of Computing & Communication Technology
Components of an Image Processing System
32
Department of Computing & Communication Technology
Image Acquisition Process
Image acquisition: is the process of capturing and collecting visual
information from the real world and converting them into digital images
that can be processed and analyzed by computers or other devices
Several techniques are employed in image acquisition to capture and
convert images
Digital Cameras: Digital cameras are widely used for image acquisition
processes
○ They have an image sensor such as a Charge-Coupled Device (CCD) or
Complementary-Metal-Oxide-Semiconductor (CMOS) sensor that captures the
incoming light and converts it into an electrical analog signal
○ The analog signal is then digitized using an Analog-to-Digital Converter (ADC),
producing a digital representation of the image
33
Department of Computing & Communication Technology
Image Acquisition Process
Techniques employed in image acquisition to capture and convert images
Scanners: Scanners are used to convert physical documents or images into
digital format
○ They use a light source that illuminates (lightens) the document, and the
reflected light is captured by a sensor
○ The sensor converts the light into an electrical analog signal, which is then
digitized by ADC
X-ray Imaging: X-ray imaging is commonly used in medical and security
applications
○ X-ray machines emit X-rays that pass through the object being imaged, and a
detector captures the transmitted X-rays
○ The captured data is converted into digital images, revealing the internal
structures or objects
34
Department of Computing & Communication Technology
Image Acquisition Process
Techniques employed in image acquisition to capture and convert images
Digital Image Sensors: Integrated into various devices, such as
smartphones, tablets, and digital cameras, to convert light into digital image
data
Sonar and Ultrasound: Sonar and ultrasound techniques involve emitting
high-frequency sound waves and capturing the reflected waves to create
images
○ Sonar is used in underwater imaging, while ultrasound is used in medical
imaging
○ The captured data is processed to generate digital images
35
Department of Computing & Communication Technology
Image Acquisition Process
IN GENERAL: Most of the images are generated by the combination of an
“illumination” source and the reflection or absorption of energy from that
source by the elements of the “scene” being imaged
○ The illumination source, also known as the light source, is a fundamental
component in imaging systems that provides the necessary illumination for
capturing images
The illumination may originate from a source of electromagnetic energy
such as radar, infrared, or X-ray system, ultrasound, or even a computer-
generated illumination pattern
Similarly, the scene elements could be familiar objects, but they can just as
easily be molecules, buried rock formations, or a human brain
36
Department of Computing & Communication Technology
Image Acquisition Process
Depending on the nature of the source, illumination energy is reflected
from, or transmitted through objects
○ An example of reflection is when light is reflected from a planar surface
○ An example of transmission is when X-rays pass through a patient’s body to
generate a diagnostic X-ray film
In some applications, the reflected or transmitted energy is focused onto a
photoconverter which converts the energy into visible light
○ Electron microscopy and some applications of gamma imaging use this
approach
37
Department of Computing & Communication Technology
Image Acquisition Process
There are three principal sensor arrangements used to transform
illumination (light) energy into digital images
○ The idea is that incoming energy is converted into a voltage by the combination
of input electrical power and sensor material that is responsive to the particular
type of energy being detected (The sensor converts the optical information into
an electrical analog signal)
○ The captured image is in analog form, to process it digitally, an analog-to-digital
converter (ADC) is used to convert the analog signal into a digital
representation
○ The ADC maps the output voltage waveform intensity values of each pixel to
their corresponding digital values based on the quantization levels
○ From this process, a digital quantity is obtained from each sensor by digitizing
its response
38
Department of Computing & Communication Technology
Image Acquisition Process
Self-Reading (Chapter 2, Section 2.3.1, 2.3.2, & 2.3.3) Sensor Array
○ Image Acquisition using Single Sensor
○ Image Acquisition using Sensor Strips
○ Image Acquisition using Sensor Array
Sensor Strip
39
Department of Computing & Communication Technology
Simple Image Formation Model
A simple image formation model describes the basic process by which an
image is formed
The Image is formed based on the interaction of light with objects in a scene
It involves three main components: (Illumination, Reflection, and Imaging)
○ Illumination
■ The image formation process begins with an illumination source that provides light
that illuminates the scene (object to be imaged)
■ The illumination can be natural, such as sunlight, or artificial, such as a lamp
■ The intensity, direction, and color of the light source influence how the scene is
perceived and captured
40
Department of Computing & Communication Technology
Simple Image Formation Model
It involves three main components: (Illumination, Reflection, and Imaging)
○ Reflection
■ When the light from the illumination source interacts with objects in the scene, it undergoes
reflection
■ Objects can reflect light in different ways depending on their surface properties
■ The reflection can be diffuse where light scatters uniformly in all directions, or specular where light
reflects at a specific angle like a mirror
■ The reflective properties of objects determine how they appear in the captured image
○ Imaging
■ After the light interacts with the objects in the scene, it enters an imaging system, such as a
camera or an optical sensor
■ The imaging system captures the light and converts it into an image
■ The image formation process involves the lens focusing the light onto a photosensitive surface,
such as a digital sensor or a film, which records the intensity and color information of the light at
different points
■ This recorded information forms the image
41
Department of Computing & Communication Technology
Simple Image Formation Model
An image is defined by the two-dimensional (2-D) function
The value or amplitude of at a spatial coordinates is a positive scalar
quantity
When an image is generated from a physical process, its intensity
(concentration) values are proportional to energy radiated by a physical
source (e.g., electromagnetic waves)
As a consequence must be non-zero and finite
42
Department of Computing & Communication Technology
Simple Image Formation Model
The two components are called the illumination and reflectance
components and are denoted by and respectively
The two functions combined as a product to form
43
Department of Computing & Communication Technology
Simple Image Formation Model
The intensity of a monochrome image at any coordinates is called the grey
level of the Image at that point, that is
The grey level value lies in the range where is positive and is finite
The interval [ , ] is called the gray (or intensity) scale
Common practice is to shift the interval numerically to the interval [ where
is considered black and is considered white on the gray scale
All intermediate values are shades of gray varying from black to white
44
Department of Computing & Communication Technology
Image Sampling and Quantization
It is observed that there are numerous ways to acquire images, but the
objective is to generate digital images from sensed data
The output of most sensors is a continuous voltage waveform
To create a digital image, we need to convert the continuous sensed data
into digital form
This involves two processes which are sampling and quantization
>> Sampling and quantization are the two important processes used to
convert continuous analog image into a digital image
An image may be continuous with respect to the x- and y-coordinates, and
also in amplitude
45
Department of Computing & Communication Technology
Image Sampling and Quantization
46
Department of Computing & Communication Technology
End of Lecture 1
47
Department of Computing & Communication Technology