SlideShare a Scribd company logo
Digital Image Processing
M K Kar
Balasore college of Engineering and Technology
July 12, 2020
M K Kar (BCET) Digital Image Processing July 12, 2020 1 / 26
Overview
1 Fundamentals of Digital Image Processing
2 Representation of digital image
3 Intensity Transformation
4 Relation between pixels
5 Image Histogram
6 Fundamentals of Spatial Filtering
7 Frequency domain representation
M K Kar (BCET) Digital Image Processing July 12, 2020 2 / 26
Fundamentals of Digital Image Processing
Image processing involves changing the nature of an image in order to
either
improve its pictorial information for human interpretation.
render it more suitable for autonomous machine perception.
M K Kar (BCET) Digital Image Processing July 12, 2020 3 / 26
Definitions
An Image may be defined as a two dimensional function f (x, y) where
x and y are spatial coordinates and the amplitude of ’f ’ at any pair of
coordinates (x,y) is called the intensity value or gray level of the
image at that point.
An image is called a digital image when the spatial coordinates x, y
and the intensity value of ’f’ all are finite and discrete quantities.
A digital image is an array of real or complex numbers represented by
a finite number of bits.
M K Kar (BCET) Digital Image Processing July 12, 2020 4 / 26
Representation of digital image
A digital image is formed by sampling and quantization containing M
rows and N columns.
f (x, y) =





f (0, 0) f (0, 1) . . . f (0, N − 1)
f (1, 0)
...
f (1, 1) · · ·
...
f (1, N − 1)
...
f (M − 1, 0) f (M − 1, 0) · · · f (M − 1, N − 1)





Each element of this matrix is called an image element or picture
element or pixels.
The origin of a digital image is at the top left with the + x axis
extending downward and the + y axis extending to the right.
M K Kar (BCET) Digital Image Processing July 12, 2020 5 / 26
Representation of digital image
M K Kar (BCET) Digital Image Processing July 12, 2020 6 / 26
Types of digital image
An Image may be classified in to three types
Color Image
Grey Image
Binary Image
M K Kar (BCET) Digital Image Processing July 12, 2020 7 / 26
Application
Medicine
Agriculture
Industry
Law enforcement
Entertainment
Weatherforecast
M K Kar (BCET) Digital Image Processing July 12, 2020 8 / 26
Application
M K Kar (BCET) Digital Image Processing July 12, 2020 9 / 26
Intensity Transformations
The spatial domain processes can be denoted by the expression
g(x, y) = T[f (x, y)]
where f (x, y) is the input image and g(x, y) is the output image
M K Kar (BCET) Digital Image Processing July 12, 2020 10 / 26
Image Negatives
The negative of an image with intensity levels in the range [0, L − 1]
is obtained by using the negative transformation, given by the
expression s = (L − 1) − r.
Figure: image negetive
M K Kar (BCET) Digital Image Processing July 12, 2020 11 / 26
Log Transformations
The general form of log transformation is given by
s = c log(1 + r)
The general form of power law (gamma)transformation is given by
s = crγ
M K Kar (BCET) Digital Image Processing July 12, 2020 12 / 26
Contrast stretching
Contrast stretching is a process that expands the range of intensity
levels in an image so that it spans the full intensity range of the
recording medium or display device.
The result of contrast stretching is obtained by setting
(r1, s1) = (rmin, 0)
and
(r2, s2) = (rmax, L − 1)
where rmin and rmaxdenote the minimum and maximum intensity
levels in the image respectively.
M K Kar (BCET) Digital Image Processing July 12, 2020 13 / 26
Contrast stretching
Figure: Original image, Contrast image
M K Kar (BCET) Digital Image Processing July 12, 2020 14 / 26
Image Histogram
The histogram of a digital image with intensity levels in the range
[0,L-1] is a discrete function h(rk) = nk, where rk is the kth intensity
value and nkis the number of pixels in the image with intensity rk.
M K Kar (BCET) Digital Image Processing July 12, 2020 15 / 26
Histogram Equalization
The histogram equalization of a digital image with intensity levels in
the range [0, L − 1] is a discrete function sk = T(rk), where rk is the
kth intensity value and nkis the number of pixels in the image with
intensity rk is.
sk = T(rk) = (L − 1)
k
j=0
pr (rj ) =
(L − 1)
MN
k
j=0
(nj )
M K Kar (BCET) Digital Image Processing July 12, 2020 16 / 26
Histogram Equalization
0
1000
2000
3000
0 100 200
0
2000
4000
0 100 200
M K Kar (BCET) Digital Image Processing July 12, 2020 17 / 26
Fundamentals of Spatial Filtering
The spatial filter consist of a neighborhood and a predefined
operation that is performed on the image pixels encompassed by the
neighborhood.Filtering creates a new pixel with coordinates equal to
the coordinates of the center of the neighborhood and whose value is
the result of the filtering operation.
M K Kar (BCET) Digital Image Processing July 12, 2020 18 / 26
Image smoothing using Averaging/Box filter
Replacing the value of every pixel in an image by the average of the
intensity levels in the neighborhood defined by the filter mask, which
results in an image with reduced sharp transitions.
M K Kar (BCET) Digital Image Processing July 12, 2020 19 / 26
Image smoothing using Median filter
Median filter replaces the value of a pixel by the median of the
intensity values in the neighborhood of that pixel including the
original value of that pixel.
M K Kar (BCET) Digital Image Processing July 12, 2020 20 / 26
Image sharpening using Laplacian
Laplacian is the simplest isotropic derivative operator(rotation
invarient) which is defined for an image function f (x, y) is given by
2
f =
∂2f
∂x2
+
∂2f
∂y2
.
For any image pixel f (x, y) , the laplacian is given by
2
f (x, y) = f (x+1, y)+f (x−1, y)+f (x, y +1)+f (x, y −1)−4f (x, y)
This equation can be implemented using the filter mask given below


0 1 0
1 −4 1
0 1 0


or 

0 −1 0
−1 4 −1
0 −1 0


M K Kar (BCET) Digital Image Processing July 12, 2020 21 / 26
Image sharpening using Laplacian
Figure: Sharpened Image and Laplacian Image.
Figure: Laplacian Image and Sharpened Image.
M K Kar (BCET) Digital Image Processing July 12, 2020 22 / 26
Image Representation in frequency Domain
A fourier transform is used to transform an intensity image in to the
domain of spatial frequency using the 2D-DFT.
F(u, v) =
M−1
x=0
N−1
y=0
f (x, y)e
−j2πux
M e
−j2πvy
N
M K Kar (BCET) Digital Image Processing July 12, 2020 23 / 26
Image Representation in frequency Domain
Figure: Fourier transformed Image and spectral Image.
M K Kar (BCET) Digital Image Processing July 12, 2020 24 / 26
References
Rafael C. Gonzalez, Richard E. Woods (2008)
Digital Image Processing
Pearson Education 2009,Third Edition.
M K Kar (BCET) Digital Image Processing July 12, 2020 25 / 26
The End
M K Kar (BCET) Digital Image Processing July 12, 2020 26 / 26

More Related Content

What's hot

Histogram Operation in Image Processing
Histogram Operation in Image ProcessingHistogram Operation in Image Processing
Histogram Operation in Image Processing
VARUN KUMAR
 
Mathematical operations in image processing
Mathematical operations in image processingMathematical operations in image processing
Mathematical operations in image processing
Asad Ali
 
05 histogram processing DIP
05 histogram processing DIP05 histogram processing DIP
05 histogram processing DIP
babak danyal
 
Data hiding using image interpolation
Data hiding using image interpolationData hiding using image interpolation
Data hiding using image interpolation
Vikrant Arya
 
Image transforms
Image transformsImage transforms
Image transforms
BCET, Balasore
 
Histogram based Enhancement
Histogram based Enhancement Histogram based Enhancement
Histogram based Enhancement
Vivek V
 
Adaptive lifting based image compression scheme using interactive artificial ...
Adaptive lifting based image compression scheme using interactive artificial ...Adaptive lifting based image compression scheme using interactive artificial ...
Adaptive lifting based image compression scheme using interactive artificial ...
csandit
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantization
BCET, Balasore
 
DCT image compression
DCT image compressionDCT image compression
DCT image compression
youssef ramzy
 
1.arithmetic & logical operations
1.arithmetic & logical operations1.arithmetic & logical operations
1.arithmetic & logical operations
mukesh bhardwaj
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantization
VARUN KUMAR
 
4.intensity transformations
4.intensity transformations4.intensity transformations
4.intensity transformationsYahya Alkhaldi
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
Azharo7
 
[PDF] Automatic Image Co-segmentation Using Geometric Mean Saliency (Top 10% ...
[PDF] Automatic Image Co-segmentation Using Geometric Mean Saliency (Top 10% ...[PDF] Automatic Image Co-segmentation Using Geometric Mean Saliency (Top 10% ...
[PDF] Automatic Image Co-segmentation Using Geometric Mean Saliency (Top 10% ...
Koteswar Rao Jerripothula
 
Log Transformation in Image Processing with Example
Log Transformation in Image Processing with ExampleLog Transformation in Image Processing with Example
Log Transformation in Image Processing with Example
Mustak Ahmmed
 
Histogram based enhancement
Histogram based enhancementHistogram based enhancement
Histogram based enhancement
liba manopriya.J
 
CPlaNet: Enhancing Image Geolocalization by Combinatorial Partitioning of Maps
CPlaNet: Enhancing Image Geolocalization by Combinatorial Partitioning of MapsCPlaNet: Enhancing Image Geolocalization by Combinatorial Partitioning of Maps
CPlaNet: Enhancing Image Geolocalization by Combinatorial Partitioning of Maps
NAVER Engineering
 
V2 v posenet
V2 v posenetV2 v posenet
V2 v posenet
NAVER Engineering
 
imageCorrectionLinearDiffusion
imageCorrectionLinearDiffusionimageCorrectionLinearDiffusion
imageCorrectionLinearDiffusionKellen Betts
 

What's hot (19)

Histogram Operation in Image Processing
Histogram Operation in Image ProcessingHistogram Operation in Image Processing
Histogram Operation in Image Processing
 
Mathematical operations in image processing
Mathematical operations in image processingMathematical operations in image processing
Mathematical operations in image processing
 
05 histogram processing DIP
05 histogram processing DIP05 histogram processing DIP
05 histogram processing DIP
 
Data hiding using image interpolation
Data hiding using image interpolationData hiding using image interpolation
Data hiding using image interpolation
 
Image transforms
Image transformsImage transforms
Image transforms
 
Histogram based Enhancement
Histogram based Enhancement Histogram based Enhancement
Histogram based Enhancement
 
Adaptive lifting based image compression scheme using interactive artificial ...
Adaptive lifting based image compression scheme using interactive artificial ...Adaptive lifting based image compression scheme using interactive artificial ...
Adaptive lifting based image compression scheme using interactive artificial ...
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantization
 
DCT image compression
DCT image compressionDCT image compression
DCT image compression
 
1.arithmetic & logical operations
1.arithmetic & logical operations1.arithmetic & logical operations
1.arithmetic & logical operations
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantization
 
4.intensity transformations
4.intensity transformations4.intensity transformations
4.intensity transformations
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
[PDF] Automatic Image Co-segmentation Using Geometric Mean Saliency (Top 10% ...
[PDF] Automatic Image Co-segmentation Using Geometric Mean Saliency (Top 10% ...[PDF] Automatic Image Co-segmentation Using Geometric Mean Saliency (Top 10% ...
[PDF] Automatic Image Co-segmentation Using Geometric Mean Saliency (Top 10% ...
 
Log Transformation in Image Processing with Example
Log Transformation in Image Processing with ExampleLog Transformation in Image Processing with Example
Log Transformation in Image Processing with Example
 
Histogram based enhancement
Histogram based enhancementHistogram based enhancement
Histogram based enhancement
 
CPlaNet: Enhancing Image Geolocalization by Combinatorial Partitioning of Maps
CPlaNet: Enhancing Image Geolocalization by Combinatorial Partitioning of MapsCPlaNet: Enhancing Image Geolocalization by Combinatorial Partitioning of Maps
CPlaNet: Enhancing Image Geolocalization by Combinatorial Partitioning of Maps
 
V2 v posenet
V2 v posenetV2 v posenet
V2 v posenet
 
imageCorrectionLinearDiffusion
imageCorrectionLinearDiffusionimageCorrectionLinearDiffusion
imageCorrectionLinearDiffusion
 

Similar to Presentation 1

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
BHAGYAPRASADBUGGE
 
Math behind the kernels
Math behind the kernelsMath behind the kernels
Math behind the kernels
Revanth Kumar
 
Computer vision 3 4
Computer vision 3 4Computer vision 3 4
Computer vision 3 4
sachinmore76
 
Lect02.ppt
Lect02.pptLect02.ppt
Lect02.ppt
RaniaAzad
 
Lect 03 - first portion
Lect 03 - first portionLect 03 - first portion
Lect 03 - first portion
Moe Moe Myint
 
Lec_3_Image Enhancement_spatial Domain.pdf
Lec_3_Image Enhancement_spatial Domain.pdfLec_3_Image Enhancement_spatial Domain.pdf
Lec_3_Image Enhancement_spatial Domain.pdf
nagwaAboElenein
 
Fundamentals of image processing
Fundamentals of image processingFundamentals of image processing
Fundamentals of image processing
RoufulAlamBhat1
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantization
BCET, Balasore
 
It 603
It 603It 603
It 603
vanaja nakka
 
It 603
It 603It 603
It 603
vanaja nakka
 
3rd unit.pptx
3rd unit.pptx3rd unit.pptx
3rd unit.pptx
ssuser0bf6a8
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
nagwaAboElenein
 
03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIP
babak danyal
 
Iisrt zzz bhavyasri vanteddu
Iisrt zzz bhavyasri vantedduIisrt zzz bhavyasri vanteddu
Iisrt zzz bhavyasri vanteddu
IISRT
 
Image Texture Analysis
Image Texture AnalysisImage Texture Analysis
Image Texture Analysis
lalitxp
 
Unit-1Chapter-1Lecture-2.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...
Unit-1Chapter-1Lecture-2.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...Unit-1Chapter-1Lecture-2.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...
Unit-1Chapter-1Lecture-2.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...
MonikaSharma151258
 
WAVELET BASED AUTHENTICATION/SECRET TRANSMISSION THROUGH IMAGE RESIZING (WA...
WAVELET BASED AUTHENTICATION/SECRET  TRANSMISSION THROUGH IMAGE RESIZING  (WA...WAVELET BASED AUTHENTICATION/SECRET  TRANSMISSION THROUGH IMAGE RESIZING  (WA...
WAVELET BASED AUTHENTICATION/SECRET TRANSMISSION THROUGH IMAGE RESIZING (WA...
sipij
 
Lecture 5.pptx
Lecture 5.pptxLecture 5.pptx
Lecture 5.pptx
VladsGamerHut
 

Similar to Presentation 1 (20)

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
 
Math behind the kernels
Math behind the kernelsMath behind the kernels
Math behind the kernels
 
Computer vision 3 4
Computer vision 3 4Computer vision 3 4
Computer vision 3 4
 
Lec-3 DIP.pptx
Lec-3 DIP.pptxLec-3 DIP.pptx
Lec-3 DIP.pptx
 
Lect02.ppt
Lect02.pptLect02.ppt
Lect02.ppt
 
Lect 03 - first portion
Lect 03 - first portionLect 03 - first portion
Lect 03 - first portion
 
Lec_3_Image Enhancement_spatial Domain.pdf
Lec_3_Image Enhancement_spatial Domain.pdfLec_3_Image Enhancement_spatial Domain.pdf
Lec_3_Image Enhancement_spatial Domain.pdf
 
Fundamentals of image processing
Fundamentals of image processingFundamentals of image processing
Fundamentals of image processing
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantization
 
It 603
It 603It 603
It 603
 
It 603
It 603It 603
It 603
 
3rd unit.pptx
3rd unit.pptx3rd unit.pptx
3rd unit.pptx
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
 
03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIP
 
Lect5 v2
Lect5 v2Lect5 v2
Lect5 v2
 
Iisrt zzz bhavyasri vanteddu
Iisrt zzz bhavyasri vantedduIisrt zzz bhavyasri vanteddu
Iisrt zzz bhavyasri vanteddu
 
Image Texture Analysis
Image Texture AnalysisImage Texture Analysis
Image Texture Analysis
 
Unit-1Chapter-1Lecture-2.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...
Unit-1Chapter-1Lecture-2.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...Unit-1Chapter-1Lecture-2.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...
Unit-1Chapter-1Lecture-2.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...
 
WAVELET BASED AUTHENTICATION/SECRET TRANSMISSION THROUGH IMAGE RESIZING (WA...
WAVELET BASED AUTHENTICATION/SECRET  TRANSMISSION THROUGH IMAGE RESIZING  (WA...WAVELET BASED AUTHENTICATION/SECRET  TRANSMISSION THROUGH IMAGE RESIZING  (WA...
WAVELET BASED AUTHENTICATION/SECRET TRANSMISSION THROUGH IMAGE RESIZING (WA...
 
Lecture 5.pptx
Lecture 5.pptxLecture 5.pptx
Lecture 5.pptx
 

Recently uploaded

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 

Recently uploaded (20)

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 

Presentation 1

  • 1. Digital Image Processing M K Kar Balasore college of Engineering and Technology July 12, 2020 M K Kar (BCET) Digital Image Processing July 12, 2020 1 / 26
  • 2. Overview 1 Fundamentals of Digital Image Processing 2 Representation of digital image 3 Intensity Transformation 4 Relation between pixels 5 Image Histogram 6 Fundamentals of Spatial Filtering 7 Frequency domain representation M K Kar (BCET) Digital Image Processing July 12, 2020 2 / 26
  • 3. Fundamentals of Digital Image Processing Image processing involves changing the nature of an image in order to either improve its pictorial information for human interpretation. render it more suitable for autonomous machine perception. M K Kar (BCET) Digital Image Processing July 12, 2020 3 / 26
  • 4. Definitions An Image may be defined as a two dimensional function f (x, y) where x and y are spatial coordinates and the amplitude of ’f ’ at any pair of coordinates (x,y) is called the intensity value or gray level of the image at that point. An image is called a digital image when the spatial coordinates x, y and the intensity value of ’f’ all are finite and discrete quantities. A digital image is an array of real or complex numbers represented by a finite number of bits. M K Kar (BCET) Digital Image Processing July 12, 2020 4 / 26
  • 5. Representation of digital image A digital image is formed by sampling and quantization containing M rows and N columns. f (x, y) =      f (0, 0) f (0, 1) . . . f (0, N − 1) f (1, 0) ... f (1, 1) · · · ... f (1, N − 1) ... f (M − 1, 0) f (M − 1, 0) · · · f (M − 1, N − 1)      Each element of this matrix is called an image element or picture element or pixels. The origin of a digital image is at the top left with the + x axis extending downward and the + y axis extending to the right. M K Kar (BCET) Digital Image Processing July 12, 2020 5 / 26
  • 6. Representation of digital image M K Kar (BCET) Digital Image Processing July 12, 2020 6 / 26
  • 7. Types of digital image An Image may be classified in to three types Color Image Grey Image Binary Image M K Kar (BCET) Digital Image Processing July 12, 2020 7 / 26
  • 9. Application M K Kar (BCET) Digital Image Processing July 12, 2020 9 / 26
  • 10. Intensity Transformations The spatial domain processes can be denoted by the expression g(x, y) = T[f (x, y)] where f (x, y) is the input image and g(x, y) is the output image M K Kar (BCET) Digital Image Processing July 12, 2020 10 / 26
  • 11. Image Negatives The negative of an image with intensity levels in the range [0, L − 1] is obtained by using the negative transformation, given by the expression s = (L − 1) − r. Figure: image negetive M K Kar (BCET) Digital Image Processing July 12, 2020 11 / 26
  • 12. Log Transformations The general form of log transformation is given by s = c log(1 + r) The general form of power law (gamma)transformation is given by s = crγ M K Kar (BCET) Digital Image Processing July 12, 2020 12 / 26
  • 13. Contrast stretching Contrast stretching is a process that expands the range of intensity levels in an image so that it spans the full intensity range of the recording medium or display device. The result of contrast stretching is obtained by setting (r1, s1) = (rmin, 0) and (r2, s2) = (rmax, L − 1) where rmin and rmaxdenote the minimum and maximum intensity levels in the image respectively. M K Kar (BCET) Digital Image Processing July 12, 2020 13 / 26
  • 14. Contrast stretching Figure: Original image, Contrast image M K Kar (BCET) Digital Image Processing July 12, 2020 14 / 26
  • 15. Image Histogram The histogram of a digital image with intensity levels in the range [0,L-1] is a discrete function h(rk) = nk, where rk is the kth intensity value and nkis the number of pixels in the image with intensity rk. M K Kar (BCET) Digital Image Processing July 12, 2020 15 / 26
  • 16. Histogram Equalization The histogram equalization of a digital image with intensity levels in the range [0, L − 1] is a discrete function sk = T(rk), where rk is the kth intensity value and nkis the number of pixels in the image with intensity rk is. sk = T(rk) = (L − 1) k j=0 pr (rj ) = (L − 1) MN k j=0 (nj ) M K Kar (BCET) Digital Image Processing July 12, 2020 16 / 26
  • 17. Histogram Equalization 0 1000 2000 3000 0 100 200 0 2000 4000 0 100 200 M K Kar (BCET) Digital Image Processing July 12, 2020 17 / 26
  • 18. Fundamentals of Spatial Filtering The spatial filter consist of a neighborhood and a predefined operation that is performed on the image pixels encompassed by the neighborhood.Filtering creates a new pixel with coordinates equal to the coordinates of the center of the neighborhood and whose value is the result of the filtering operation. M K Kar (BCET) Digital Image Processing July 12, 2020 18 / 26
  • 19. Image smoothing using Averaging/Box filter Replacing the value of every pixel in an image by the average of the intensity levels in the neighborhood defined by the filter mask, which results in an image with reduced sharp transitions. M K Kar (BCET) Digital Image Processing July 12, 2020 19 / 26
  • 20. Image smoothing using Median filter Median filter replaces the value of a pixel by the median of the intensity values in the neighborhood of that pixel including the original value of that pixel. M K Kar (BCET) Digital Image Processing July 12, 2020 20 / 26
  • 21. Image sharpening using Laplacian Laplacian is the simplest isotropic derivative operator(rotation invarient) which is defined for an image function f (x, y) is given by 2 f = ∂2f ∂x2 + ∂2f ∂y2 . For any image pixel f (x, y) , the laplacian is given by 2 f (x, y) = f (x+1, y)+f (x−1, y)+f (x, y +1)+f (x, y −1)−4f (x, y) This equation can be implemented using the filter mask given below   0 1 0 1 −4 1 0 1 0   or   0 −1 0 −1 4 −1 0 −1 0   M K Kar (BCET) Digital Image Processing July 12, 2020 21 / 26
  • 22. Image sharpening using Laplacian Figure: Sharpened Image and Laplacian Image. Figure: Laplacian Image and Sharpened Image. M K Kar (BCET) Digital Image Processing July 12, 2020 22 / 26
  • 23. Image Representation in frequency Domain A fourier transform is used to transform an intensity image in to the domain of spatial frequency using the 2D-DFT. F(u, v) = M−1 x=0 N−1 y=0 f (x, y)e −j2πux M e −j2πvy N M K Kar (BCET) Digital Image Processing July 12, 2020 23 / 26
  • 24. Image Representation in frequency Domain Figure: Fourier transformed Image and spectral Image. M K Kar (BCET) Digital Image Processing July 12, 2020 24 / 26
  • 25. References Rafael C. Gonzalez, Richard E. Woods (2008) Digital Image Processing Pearson Education 2009,Third Edition. M K Kar (BCET) Digital Image Processing July 12, 2020 25 / 26
  • 26. The End M K Kar (BCET) Digital Image Processing July 12, 2020 26 / 26