SlideShare a Scribd company logo
1 of 48
CHAPTER1
INTRODUCTION
Dr. Varun Kumar Ojha
and
Prof. (Dr.) Paramartha Dutta
Visva Bharati University
Santiniketan, West Bengal, India
Introduction
 Introduction to Digital Image Processing
 Importance of Image Processing
 Image Representation
 Steps in Digital Image Processing
 Image Digitization
Back to Course Content Page
Click Here
Introduction to Digital Image
Processing
 “A digital Image Processing is processing of
image which is digital in nature”
Back to the chapter content
Click Here
Importance of Image
Processing
 Enhancing Pictorial Information
 Improving the pictorial information for human
interpretation
 Noise Filtering
 Content Enhancements
 Contrast Enhancement (Low contrast to High
contrast)
 Deblurring ( Hazy image to clear image)
 Remote Sensing (Enhancing Satellite image)
Noise Filtering
Noisy Image Filtered Image
Content Enhancement
 Contrast Enhancement
Low contrast Image High contrast Image
Content Enhancement Cont..
 Deblurring
Remote Sensing
 Weather forecasting
 Atmospheric Study
 Astronomy
Ozone Hole GalaxyHurricane
Machine Vision Application
 Image processing for autonomous machine
application ( Medical, Mechanical Engg. Etc.)
 Industrial Machine Vision for Product Assembly &
Inspection
 Automated Target Detection & Tracking
 Fingerprint Recognition
 Satellite Image for weather forecasting
 Movement Detection
Automated Inspection
Middle bottle can be rejected
after inspection
Image Compression
 Image compression is needed for efficient storage and
transmission of an image
 An image contains lot of redundancy that can be
exploited to achieve compression
 Pixel Redundancy
 Coding Redundancy
 Psycho visual Redundancy
 Image contain two entity “Information” and
“Redundancy”. In image compression we try to keep
information content intact and we are removing the
redundancy
Image Compression Cont..
Original Image with
256 gray level
Image with 8 gray
level
Image represented
using binary dots
 Lossless Image Compression
 Only the redundancy is removed. The information
remains intact
 In case of medicine science we can not afford to
loss any information
 Lossy Compression
 Loss of information can be compromised for
some cases so we can afford to do lossy
compression ( in case of photographic image
some information loss can not affect the quality of
the image)
Image Compression Cont..
Back to the chapter content
Click Here
Image Representation
 An image is a 2D light intensity
function f(x,y)
 A digital image f(x,y) is
dicretized both in spatial
coordinate and brightness
 It can be considered as a
matrix whose row , column
indices specify a point in the
image and the element value
identify gray level value at that
point
 These elements are referred to
as pixel or pel
Y
X
f(x,y) = r(x,y) * i(x,y)
f(x,y) → Intensity function
r(x,y) → reflectivity of the
corresponding image point
i(x,y) → Intensity of incident
light at particular point
Image Representation Cont..
 Spatial discretization by grid
 Intensity discretization by quantization
Image Representation Cont..
 An image I can be represented as matrix
 An image size can be a matrix of size 256 x 256
, 512 x512, 1024 x 1024 etc
 Quantization bit : 8 bit for b/w image
: 24 bit for colour image ( 8 bit
for
Image Representation Cont..
Back to the chapter content
Click Here
Steps In Digital Image
Processing
1. Image Acquisition
 The capability to digitize the signal produced
by an image capturing sensor
1. Preprocessing
 Enhancing the image quality by filtering,
contrast enhancement etc.
1. Segmentation
 Partitioning an image into constituent part of
object
Steps In Digital Image
Processing
4. Description/Feature Selection
 Extract description of image objet suitable for further
preocess
4. Recognition & Interpretation
 Assigning a label to the object based on the
information provided by its descriptor.
 Interpretation assign meaning to a set of labeled
object
4. Knowledge Base
 Helps for efficient processing as well as inter module
cooperation
Steps In Digital Image
Processing
Knowledge
Base
Preprocessing
Segmentation
Description
&
Feature
Selection
Recognition
&
Interpretatio
n
Image
Acquisition
Problem
domain
Results
Block Diagram: Image Processing
Back to the chapter content
Click Here
Image Digitization
 Why do we need Digitization?
 What is Image Digitization?
 How to Digitize an Image
Why Digitization
No of pixel along x axis 0 ≤ x ≤ H
No of pixel along y axis 0 ≤ y ≤ L
Intensity at f(x,y)
Imin ≤ f(x,y) ≤ Imax
Imin → minimum intensity value
Imax → maximum intensity value
Plotting intensity value against
pixel along y axis
Intensity along the yellow line in
the figure can vary from Imin to
Imax.
H
L
x
y
f(x,y)
I min
I max
Why Digitization
 Real Number Theory: Between any two points there
are infinite number of points.
 Between 0 to H and 0 to L there are infinite possible
points
 Between Imin to Imax there are infinite possible
intensity value
 So the problem is an image can have infinite points
and each point can have intensity value (colour
value) from infinite range
 So it is not possible to represent an image in
computer that’s why we need to digitize an image
Digitization
 Digitization means Sampling & Quantization
 An image can be represented by a 2D matrix
which has finite no. of values in rows and
columns
 Still, the value of element in the matrix may vary
from 0 to infinity
 We need to represent values of the matrix
element from a finite range, say from 0 to 8
Digitization
 To display an digital image we first convert it
to analog signal
Sampling Quantization
Digital
Computer
Digital
Computer
Digital to
Analog
Converter
Display
Sampling
 Image representation by a 2D matrix
 A 1D analog signal can be represented as
t
X(t)
Cycle/time
X(t)
∆ts ∆ts ∆ts ∆ts
Ruther by taking value at every point
we are taking value at some interval
∆
Sampling frequency fs = 1/ ∆ts
Sampling Cont..
∆ts ∆ts ∆ts ∆ts
Problem is some information
can be missed when we taking
value at interval ∆t
Missed Information Solution is increasing the
sampling frequency or
decreasing the sampling
interval ∆t
Here we take interval ∆t’s = ∆t /2
Sampling frequency
f’s = 1/ ∆t’s = 2/ ∆t = 2fs
X(t)
X(t)
Sampling Theory
 Sampling Function: 1D array of Dirac delta
function situated at regular spacing of ∆t.
∆t
Sampling Theory cont..
X(t)
X(t) : Continuous function
t
Xs(t)
Xs(t) : multiplication with
comb function
t
Xs(t) = set to 1 when
comb(t:∆t) gives 1
else Xs(t) set to 0
Sampling is correct and true if and only if reconstruction of the
previous analog signal is possible from the sampled signal
Convolution
Multiplication of two signal in time domain
If we have two signal h(t) and x(t) in time domain then h(t) * x(t) is
the convolution of the signals is represented as
Let we have the Fourier transform of the convolution
Convolution Cont..
Where X(w) is Fourier transform of xs(t) and H(w) is Fourier transform of h(t)
x(t) * h(t) ≡ X(w) . H(w)
So convolution of two signal in time domain is equivalent to the multiplication
of two signal in frequency domain
Convolution Concept
 Let we have function h(n) which I nothing but a
comb function and a signal x(n) as
-9 0 9
0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0
h(n)
-2 -1 0 1 2
2 5 7 9 3x(n)
In discrete domain the convolution of h(n) and x(n) is represented as
Convolution Concept
-9
0 9
0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0
h(m)
3 9 7 5 2
x( - n)
x( - 11 - m)
↓ -9
0 9
0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-2 -1 0 1 2
3 9 7 5 2
Convolution concept
-9
0 9
0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0
h(m)
3 9 7 5 2
x( - n)
x( - 10 - m)
↓ -9
0 9
0 0 2 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-2 -1 0 1 2
3 9 7 5 2
Convolution concept
-9
0 9
0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0
h(m)
3 9 7 5 2
x( - n)
x( - 9 - m)
↓ 0 9
0 0 2 5 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-2 -1 0 1 2
3 9 7 5 2
Convolution concept
-9
0 9
0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0
h(m)
3 9 7 5 2
x( - n)
x( - 8 - m)
↓ 0 9
0 0 2 5 7 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-2 -1 0 1 2
3 9 7 5 2
Convolution concept
-9
0 9
0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0
h(m)
3 9 7 5 2
x( - n)
x( - 7 -m)
↓ 0 9
0 0 2 5 7 9 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-2 -1 0 1 2
3 9 7 5 2
Convolution concept
h(m) convolution x(n)
0 9
0 0 2 5 7 9 3 0 0 0 0 2 5 7 9 3 0 0 0 0 2 5 7 9 3 0 0
-9 0 9
0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0
-2 -1 0 1 2
2 5 7 9 3
Aliasing
w0
w00
1/ ∆ts
-w0
-w0
w0 Highest frequency
- w0 Lowest fequency
1/ ∆ts – w0 > w0
=> 1/ ∆ts > 2w0
fs = 2w0
(nyquest frequency)
Aliasing
w00 -w0
If we use alow pass fillter (LPF)
for cutting out frequency fs > 2w0
the reconstruction of original
continuous signal is possible
0
Overlapping
If fs 2w0 i.e fs < 2w0
Here single spectrum can not be
taken out by using LPF. Hence
distorted image in results. This
problem of overlapping is known
as aliasing
Quantization
 Quantization is a mapping of a continuous
variable U to a discrete variable U’
 U’ є { r1, r2, ….., rL} i.e u’ belongs to one of
these value
 U U‘Quantization
It is only discrete in time domain and we
get analog sample value U which also
needs to be dicretized. For this we use a
mapping function which generaly a stair
case function
Quantization Rule
 Define a set of decision or transition level
 { tk ; k= 1, 2, ….., L +1}
 Where t1 is the minimum value
 and tL+1 is the maximum value
 U’ = rk if tk < U < tk+1
Staircase Quantizer
t2t1 tL +1
t1
t2
rL+1
U
U’
Input signal lies along the U
axis
And corresponding U’
represent the quantized value
Here if the i/p signal lies
between t1 and t2 then it will
take the value r1 as
quantized value
Back to the chapter content
Click Here

More Related Content

What's hot

Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
Ashish Kumar
 

What's hot (20)

Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Boundary Extraction
Boundary ExtractionBoundary Extraction
Boundary Extraction
 
Unit ii
Unit iiUnit ii
Unit ii
 
Huffman Coding
Huffman CodingHuffman Coding
Huffman Coding
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Image compression .
Image compression .Image compression .
Image compression .
 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Spatial filtering
Spatial filteringSpatial filtering
Spatial filtering
 
Digital Image Processing - Image Restoration
Digital Image Processing - Image RestorationDigital Image Processing - Image Restoration
Digital Image Processing - Image Restoration
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram Processing
 
Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filtering
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 

Similar to Chapter 1 introduction (Image Processing)

ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
Shajun Nisha
 
chAPTER1CV.pptx is abouter computer vision in artificial intelligence
chAPTER1CV.pptx is abouter computer vision in artificial intelligencechAPTER1CV.pptx is abouter computer vision in artificial intelligence
chAPTER1CV.pptx is abouter computer vision in artificial intelligence
shesnasuneer
 
computervision1.pptx its about computer vision
computervision1.pptx its about computer visioncomputervision1.pptx its about computer vision
computervision1.pptx its about computer vision
shesnasuneer
 

Similar to Chapter 1 introduction (Image Processing) (20)

Lecture 2 Introduction to digital image
Lecture 2 Introduction to digital imageLecture 2 Introduction to digital image
Lecture 2 Introduction to digital image
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
 
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
 
Lect5 v2
Lect5 v2Lect5 v2
Lect5 v2
 
Chapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementChapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image Enhancement
 
Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and Representation
 
Image Processing
Image ProcessingImage Processing
Image Processing
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Image restoration1
Image restoration1Image restoration1
Image restoration1
 
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error normRobust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
 
International Journal of Engineering Research and Development (IJERD)
 International Journal of Engineering Research and Development (IJERD) International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Notes on image processing
Notes on image processingNotes on image processing
Notes on image processing
 
chAPTER1CV.pptx is abouter computer vision in artificial intelligence
chAPTER1CV.pptx is abouter computer vision in artificial intelligencechAPTER1CV.pptx is abouter computer vision in artificial intelligence
chAPTER1CV.pptx is abouter computer vision in artificial intelligence
 
computervision1.pptx its about computer vision
computervision1.pptx its about computer visioncomputervision1.pptx its about computer vision
computervision1.pptx its about computer vision
 
Image formation
Image formationImage formation
Image formation
 
3rd unit.pptx
3rd unit.pptx3rd unit.pptx
3rd unit.pptx
 
2. filtering basics
2. filtering basics2. filtering basics
2. filtering basics
 
A Review on Image Denoising using Wavelet Transform
A Review on Image Denoising using Wavelet TransformA Review on Image Denoising using Wavelet Transform
A Review on Image Denoising using Wavelet Transform
 

More from Varun Ojha

More from Varun Ojha (11)

Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier Transformation
 
Chapter 4 Image Processing: Image Transformation
Chapter 4 Image Processing: Image TransformationChapter 4 Image Processing: Image Transformation
Chapter 4 Image Processing: Image Transformation
 
Chapter 2 Image Processing: Pixel Relation
Chapter 2 Image Processing: Pixel RelationChapter 2 Image Processing: Pixel Relation
Chapter 2 Image Processing: Pixel Relation
 
Chapter 3 Image Processing: Basic Transformation
Chapter 3 Image Processing:  Basic TransformationChapter 3 Image Processing:  Basic Transformation
Chapter 3 Image Processing: Basic Transformation
 
Neural Tree for Estimating the Uniaxial Compressive Strength of Rock Materials
Neural Tree for Estimating the Uniaxial Compressive Strength of Rock MaterialsNeural Tree for Estimating the Uniaxial Compressive Strength of Rock Materials
Neural Tree for Estimating the Uniaxial Compressive Strength of Rock Materials
 
Metaheuristic Tuning of Type-II Fuzzy Inference System for Data Mining
Metaheuristic Tuning of Type-II Fuzzy Inference System for Data MiningMetaheuristic Tuning of Type-II Fuzzy Inference System for Data Mining
Metaheuristic Tuning of Type-II Fuzzy Inference System for Data Mining
 
A Framework of Secured and Bio-Inspired Image Steganography Using Chaotic Enc...
A Framework of Secured and Bio-Inspired Image Steganography Using Chaotic Enc...A Framework of Secured and Bio-Inspired Image Steganography Using Chaotic Enc...
A Framework of Secured and Bio-Inspired Image Steganography Using Chaotic Enc...
 
Dimensionality Reduction and Prediction of the Protein Macromolecule Dissolut...
Dimensionality Reduction and Prediction of the Protein Macromolecule Dissolut...Dimensionality Reduction and Prediction of the Protein Macromolecule Dissolut...
Dimensionality Reduction and Prediction of the Protein Macromolecule Dissolut...
 
Ensemble of Heterogeneous Flexible Neural Tree for the approximation and feat...
Ensemble of Heterogeneous Flexible Neural Tree for the approximation and feat...Ensemble of Heterogeneous Flexible Neural Tree for the approximation and feat...
Ensemble of Heterogeneous Flexible Neural Tree for the approximation and feat...
 
Simultaneous optimization of neural network weights and active nodes using me...
Simultaneous optimization of neural network weights and active nodes using me...Simultaneous optimization of neural network weights and active nodes using me...
Simultaneous optimization of neural network weights and active nodes using me...
 
Design and analysis of algorithm
Design and analysis of algorithmDesign and analysis of algorithm
Design and analysis of algorithm
 

Recently uploaded

Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
HyderabadDolls
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
ahmedjiabur940
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
HyderabadDolls
 

Recently uploaded (20)

Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
 
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptxRESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
 
👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...
👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...
👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
 
Case Study 4 Where the cry of rebellion happen?
Case Study 4 Where the cry of rebellion happen?Case Study 4 Where the cry of rebellion happen?
Case Study 4 Where the cry of rebellion happen?
 
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
 
Statistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbersStatistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbers
 
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
 
Vastral Call Girls Book Now 7737669865 Top Class Escort Service Available
Vastral Call Girls Book Now 7737669865 Top Class Escort Service AvailableVastral Call Girls Book Now 7737669865 Top Class Escort Service Available
Vastral Call Girls Book Now 7737669865 Top Class Escort Service Available
 

Chapter 1 introduction (Image Processing)

  • 1. CHAPTER1 INTRODUCTION Dr. Varun Kumar Ojha and Prof. (Dr.) Paramartha Dutta Visva Bharati University Santiniketan, West Bengal, India
  • 2. Introduction  Introduction to Digital Image Processing  Importance of Image Processing  Image Representation  Steps in Digital Image Processing  Image Digitization Back to Course Content Page Click Here
  • 3. Introduction to Digital Image Processing  “A digital Image Processing is processing of image which is digital in nature”
  • 4. Back to the chapter content Click Here
  • 5. Importance of Image Processing  Enhancing Pictorial Information  Improving the pictorial information for human interpretation  Noise Filtering  Content Enhancements  Contrast Enhancement (Low contrast to High contrast)  Deblurring ( Hazy image to clear image)  Remote Sensing (Enhancing Satellite image)
  • 7. Content Enhancement  Contrast Enhancement Low contrast Image High contrast Image
  • 9. Remote Sensing  Weather forecasting  Atmospheric Study  Astronomy Ozone Hole GalaxyHurricane
  • 10. Machine Vision Application  Image processing for autonomous machine application ( Medical, Mechanical Engg. Etc.)  Industrial Machine Vision for Product Assembly & Inspection  Automated Target Detection & Tracking  Fingerprint Recognition  Satellite Image for weather forecasting  Movement Detection
  • 11. Automated Inspection Middle bottle can be rejected after inspection
  • 12. Image Compression  Image compression is needed for efficient storage and transmission of an image  An image contains lot of redundancy that can be exploited to achieve compression  Pixel Redundancy  Coding Redundancy  Psycho visual Redundancy  Image contain two entity “Information” and “Redundancy”. In image compression we try to keep information content intact and we are removing the redundancy
  • 13. Image Compression Cont.. Original Image with 256 gray level Image with 8 gray level Image represented using binary dots
  • 14.  Lossless Image Compression  Only the redundancy is removed. The information remains intact  In case of medicine science we can not afford to loss any information  Lossy Compression  Loss of information can be compromised for some cases so we can afford to do lossy compression ( in case of photographic image some information loss can not affect the quality of the image) Image Compression Cont..
  • 15. Back to the chapter content Click Here
  • 16. Image Representation  An image is a 2D light intensity function f(x,y)  A digital image f(x,y) is dicretized both in spatial coordinate and brightness  It can be considered as a matrix whose row , column indices specify a point in the image and the element value identify gray level value at that point  These elements are referred to as pixel or pel Y X f(x,y) = r(x,y) * i(x,y) f(x,y) → Intensity function r(x,y) → reflectivity of the corresponding image point i(x,y) → Intensity of incident light at particular point
  • 17. Image Representation Cont..  Spatial discretization by grid  Intensity discretization by quantization
  • 18. Image Representation Cont..  An image I can be represented as matrix  An image size can be a matrix of size 256 x 256 , 512 x512, 1024 x 1024 etc  Quantization bit : 8 bit for b/w image : 24 bit for colour image ( 8 bit for
  • 20. Back to the chapter content Click Here
  • 21. Steps In Digital Image Processing 1. Image Acquisition  The capability to digitize the signal produced by an image capturing sensor 1. Preprocessing  Enhancing the image quality by filtering, contrast enhancement etc. 1. Segmentation  Partitioning an image into constituent part of object
  • 22. Steps In Digital Image Processing 4. Description/Feature Selection  Extract description of image objet suitable for further preocess 4. Recognition & Interpretation  Assigning a label to the object based on the information provided by its descriptor.  Interpretation assign meaning to a set of labeled object 4. Knowledge Base  Helps for efficient processing as well as inter module cooperation
  • 23. Steps In Digital Image Processing Knowledge Base Preprocessing Segmentation Description & Feature Selection Recognition & Interpretatio n Image Acquisition Problem domain Results Block Diagram: Image Processing
  • 24. Back to the chapter content Click Here
  • 25. Image Digitization  Why do we need Digitization?  What is Image Digitization?  How to Digitize an Image
  • 26. Why Digitization No of pixel along x axis 0 ≤ x ≤ H No of pixel along y axis 0 ≤ y ≤ L Intensity at f(x,y) Imin ≤ f(x,y) ≤ Imax Imin → minimum intensity value Imax → maximum intensity value Plotting intensity value against pixel along y axis Intensity along the yellow line in the figure can vary from Imin to Imax. H L x y f(x,y) I min I max
  • 27. Why Digitization  Real Number Theory: Between any two points there are infinite number of points.  Between 0 to H and 0 to L there are infinite possible points  Between Imin to Imax there are infinite possible intensity value  So the problem is an image can have infinite points and each point can have intensity value (colour value) from infinite range  So it is not possible to represent an image in computer that’s why we need to digitize an image
  • 28. Digitization  Digitization means Sampling & Quantization  An image can be represented by a 2D matrix which has finite no. of values in rows and columns  Still, the value of element in the matrix may vary from 0 to infinity  We need to represent values of the matrix element from a finite range, say from 0 to 8
  • 29. Digitization  To display an digital image we first convert it to analog signal Sampling Quantization Digital Computer Digital Computer Digital to Analog Converter Display
  • 30. Sampling  Image representation by a 2D matrix  A 1D analog signal can be represented as t X(t) Cycle/time X(t) ∆ts ∆ts ∆ts ∆ts Ruther by taking value at every point we are taking value at some interval ∆ Sampling frequency fs = 1/ ∆ts
  • 31. Sampling Cont.. ∆ts ∆ts ∆ts ∆ts Problem is some information can be missed when we taking value at interval ∆t Missed Information Solution is increasing the sampling frequency or decreasing the sampling interval ∆t Here we take interval ∆t’s = ∆t /2 Sampling frequency f’s = 1/ ∆t’s = 2/ ∆t = 2fs X(t) X(t)
  • 32. Sampling Theory  Sampling Function: 1D array of Dirac delta function situated at regular spacing of ∆t. ∆t
  • 33. Sampling Theory cont.. X(t) X(t) : Continuous function t Xs(t) Xs(t) : multiplication with comb function t Xs(t) = set to 1 when comb(t:∆t) gives 1 else Xs(t) set to 0 Sampling is correct and true if and only if reconstruction of the previous analog signal is possible from the sampled signal
  • 34. Convolution Multiplication of two signal in time domain If we have two signal h(t) and x(t) in time domain then h(t) * x(t) is the convolution of the signals is represented as Let we have the Fourier transform of the convolution
  • 35. Convolution Cont.. Where X(w) is Fourier transform of xs(t) and H(w) is Fourier transform of h(t) x(t) * h(t) ≡ X(w) . H(w) So convolution of two signal in time domain is equivalent to the multiplication of two signal in frequency domain
  • 36. Convolution Concept  Let we have function h(n) which I nothing but a comb function and a signal x(n) as -9 0 9 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 h(n) -2 -1 0 1 2 2 5 7 9 3x(n) In discrete domain the convolution of h(n) and x(n) is represented as
  • 37. Convolution Concept -9 0 9 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 h(m) 3 9 7 5 2 x( - n) x( - 11 - m) ↓ -9 0 9 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 -1 0 1 2 3 9 7 5 2
  • 38. Convolution concept -9 0 9 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 h(m) 3 9 7 5 2 x( - n) x( - 10 - m) ↓ -9 0 9 0 0 2 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 -1 0 1 2 3 9 7 5 2
  • 39. Convolution concept -9 0 9 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 h(m) 3 9 7 5 2 x( - n) x( - 9 - m) ↓ 0 9 0 0 2 5 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 -1 0 1 2 3 9 7 5 2
  • 40. Convolution concept -9 0 9 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 h(m) 3 9 7 5 2 x( - n) x( - 8 - m) ↓ 0 9 0 0 2 5 7 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 -1 0 1 2 3 9 7 5 2
  • 41. Convolution concept -9 0 9 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 h(m) 3 9 7 5 2 x( - n) x( - 7 -m) ↓ 0 9 0 0 2 5 7 9 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 -1 0 1 2 3 9 7 5 2
  • 42. Convolution concept h(m) convolution x(n) 0 9 0 0 2 5 7 9 3 0 0 0 0 2 5 7 9 3 0 0 0 0 2 5 7 9 3 0 0 -9 0 9 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 -2 -1 0 1 2 2 5 7 9 3
  • 43. Aliasing w0 w00 1/ ∆ts -w0 -w0 w0 Highest frequency - w0 Lowest fequency 1/ ∆ts – w0 > w0 => 1/ ∆ts > 2w0 fs = 2w0 (nyquest frequency)
  • 44. Aliasing w00 -w0 If we use alow pass fillter (LPF) for cutting out frequency fs > 2w0 the reconstruction of original continuous signal is possible 0 Overlapping If fs 2w0 i.e fs < 2w0 Here single spectrum can not be taken out by using LPF. Hence distorted image in results. This problem of overlapping is known as aliasing
  • 45. Quantization  Quantization is a mapping of a continuous variable U to a discrete variable U’  U’ є { r1, r2, ….., rL} i.e u’ belongs to one of these value  U U‘Quantization It is only discrete in time domain and we get analog sample value U which also needs to be dicretized. For this we use a mapping function which generaly a stair case function
  • 46. Quantization Rule  Define a set of decision or transition level  { tk ; k= 1, 2, ….., L +1}  Where t1 is the minimum value  and tL+1 is the maximum value  U’ = rk if tk < U < tk+1
  • 47. Staircase Quantizer t2t1 tL +1 t1 t2 rL+1 U U’ Input signal lies along the U axis And corresponding U’ represent the quantized value Here if the i/p signal lies between t1 and t2 then it will take the value r1 as quantized value
  • 48. Back to the chapter content Click Here