21EC722 - Digital Image Processing M1
21EC722 - Digital Image Processing M1
Digital Image
Processing
Dr. Rajashekhargouda C. Patil
Professor, Dept. of ECE,
Jain College of Engineering,
Belagavi
Courtesy: https://www.craftypuzzles.com/blog/picture-worth-1000-words/
Course Details
• The field of digital image processing refers to processing digital images by means of a
digital computer.
• Note that a digital image is composed of a finite number of elements, each of which has
a particular location and value. These elements are called picture elements, image
elements, pels, and pixels. Pixel is the term used most widely to denote the elements of a
digital image.
The Origins of Digital Image Processing
• One of the first applications of digital images was in
the newspaper industry, when pictures were first sent
by submarine cable between London and New York.
Introduction of the Bartlane cable picture
transmission system in the early 1920s reduced the
time required to transport a picture across the Atlantic
from more than a week to less than three hours. FIGURE 1.1
• Thus, the history of digital image processing is intimately tied to the development of the digital computer.
• The idea of a computer goes back to the invention of the abacus in Asia Minor, more than 5000 years ago.
More recently, there were developments in the past two centuries that are the foundation of what we call a
computer today.
• However, the basis for what we call a modern digital computer dates back to only the 1940s with the
introduction by John von Neumann of two key concepts: (1) a memory to hold a stored program and data,
and (2) conditional branching.
The Origins of Digital Image Processing Contd..
1.The invention of the transistor at Bell Laboratories in 1948;
2.The development in the 1950s and 1960s of the high-level programming languages COBOL
(Common Business-Oriented Language) and FORTRAN (Formula Translator);
5.The development of the microprocessor (a single chip consisting of the central processing unit,
memory, and input and output controls) by Intel in the early 1970s;
7.Progressive miniaturization of components, starting with large scale integration (LI) in the late
1970s, then very large scale integration (VLSI) in the 1980s, to the present use of ultra large scale
integration (ULSI).
The Origins of Digital Image Processing Contd..
• The first computers powerful enough to
carry out meaningful image processing
tasks appeared in the early 1960s. The birth
of what we call digital image processing
today can be traced to the availability of
those machines and to the onset of the
space program during that period.
• The invention in the early 1970s of computerized axial tomography (CAT), also called
computerized tomography
• (CT) for short, is one of the most important events in the application of image
processing in medical diagnosis. Computerized axial tomography is a process in which a
ring of detectors encircles an object (or patient) and an X-ray source, concentric with the
detector ring, rotates about the object.
The Origins of Digital Image Processing Contd..
From the 1960s until the present, the field of image processing has grown vigorously. In addition to applications in
medicine and the space program, digital image processing techniques now are used in a broad range of applications.
Computer procedures are used to enhance the contrast or code the intensity levels into color for easier interpretation of
X-rays and other images used in industry, medicine, and the biological sciences.
Geographers use the same or similar techniques to study pollution patterns from aerial and satellite imagery. Image
enhancement and restoration procedures are used to process degraded images of unrecoverable objects or experimental
results too expensive to duplicate.
In archaeology, image processing methods have successfully restored blurred pictures that were the only available
records of rare artifacts lost or damaged after being photographed.
In physics and related fields, computer techniques routinely enhance images of experiments in areas such as high-
energy plasmas and electron microscopy.
Similarly successful applications of image processing concepts can be found in astronomy, biology, nuclear medicine,
law enforcement, defense, and industry.
Examples of Fields that Use Digital Image Proc.
FIGURE 1.8 Examples of ultraviolet imaging. FIGURE 1.9 Examples of light microscopy imagesa
(a) Normal corn. (b) Smut corn. (a) Cholesterol (b) Surface of audio CD
Examples of Fields that Use Digital Image Proc.
Imaging in the Visible and Infrared Bands
Examples of Fields that Use Digital Image Proc.
Examples of Fields that Use Digital Image Proc.
Imaging in the
Microwave Band
FIGURE 2.6
Typical Weber ratio as a function of intensity.
Module 1
FIGURE 2.8
Examples of simultaneous contrast. All the inner squares
have the same intensity, but they appear progressively
darker as the background becomes lighter.
FIGURE 2.7 →
Illustration of the Mach band effect. Perceived intensity is
not a simple function of actual intensity.
Image Sensing and Acquisition
FIGURE 2.13 →
FIGURE 2.12
Combining a
(a) Single imaging sensor.
single sensor with
(b) Line sensor. motion to
(c) Array sensor. generate a 2-D
image.
Image Acquisition Using Sensor Strips
FIGURE 2.14
(a) Image acquisition using a linear sensor strip.
(b) Image acquisition using a circular sensor strip.
Image Acquisition Using Sensor Arrays
FIGURE 2.16
Generating a digital image.
(a) Continuous image.
(b) A scan line from A to B in the
continuous image, used to
illustrate the concepts of
sampling and quantization.
(c) Sampling and quantization.
(d) Digital scan line.
Module 1
FIGURE 2.17
(a) Continuous
image projected
onto a sensor
array.
(b) Result of
image sampling
and
quantization.
Representing Digital Images
Module 1
This digitization process requires that decisions be made regarding the values
for M, N, and for the number, L, of discrete intensity levels. There are no
restrictions placed on M and N, other than they have to be positive integers.
L = 2k
b=M*N*k
Module 1
FIGURE 2.20 Typical effects of reducing spatial resolution. Images shown at:
(a) 1250 dpi, (b) 300 dpi, (c) 150 dpi, and (d) 72 dpi.
Some Basic Relationships between Pixels
Neighbors of a Pixel
Let V be the set of intensity values used to define adjacency. In a binary image, V={1}, if we
are referring to adjacency of pixels with value 1. In a gray-scale image, the idea is the same,
but set V typically contains more elements.For example, in the adjacency of pixels with a
range of possible intensity values 0 to 255, set V could be any subset of these 256 values.We
consider three types of adjacency:
(a) 4-adjacency.Two pixels p and q with values from V are 4-adjacent if q is in the set N4(p)
(b) 8-adjacency.Two pixels p and q with values from V are 8-adjacent if q is in the set N8(p)
(c) m-adjacency (mixed adjacency).Two pixels p and q with values from V are m-adjacent if
(i) q is in N4(p) or
(ii) q is in ND(p) and the set N4(p) N4(p) has no pixels whose values are from V.
Module 1
DIP: Lena Söderberg and Cameraman
Courtesy:
https://www.sbs.com.au/news/article/the-
campaign-to-erase-the-image-that-
accidentally-helped-entrench-sexism-in-
tech/0zboc3bbp
Courtesy:
https://pursuit.unimelb.edu.au/
articles/it-s-time-to-retire-lena-
from-computer-science