SlideShare a Scribd company logo
1
Digital Image Processing
Image Enhancement in the
Frequency Domain,
Part I
Dr Z. Azimifar
Computer Science and Engineering Department
Shiraz University
Winter 2020
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 2
An operator 𝐻 (or system) is linear if two properties hold.
Suppose 𝑓1 and 𝑓2 are some functions, 𝑎 is a constant:
1. Superposition (additivity):
𝐻(𝑓1 + 𝑓2) = 𝐻(𝑓1) + 𝐻(𝑓2) (looks like distributive law)
2. Scaling (Homogeneity of degree 1):
𝐻(𝑎∙𝑓1) = 𝑎∙𝐻(𝑓1)
Because it is sums and multiplies, the “filtering”
operation we were doing are linear.
Linear & Shift Invariant Systems
3
Linear & Shift Invariant Systems
H(.)
f(x,y) g(x,y)
g(x,y)=H{f(x,y)}
H(.) is linear if:
H[a f(x,y) + b t(x,y)]=a H[f(x,y)] + b H[t(x,y)]
Define:
H(.) = impulse response
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 4
Which of these operators are not linear?
1. SUM
2. SQUARE ROOT
3. AVERAGE
4. MAX
5. SIN
Linear & Shift Invariant Systems
Linear & Shift Invariant Systems
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 5
Linearity allows us
1. So we can sum up a bunch of things to make it as
an image.
2. So we apply a linear operator to that whole image
Then
It must be the same as if we sum applying that linear
operator to each piece of the image, separately
The building block of function is what is referred to as
impulse.
6
Shift Invariance
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
Shift Invariance
Shift invariant: Operator behaves the same
everywhere, i.e. the value of the output depends
on the pattern in the image neighborhood, not the
position of the neighborhood.
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 7
Impulse Function
In the discrete world, and impulse is a very easy signal to
understand: it is just a value of 1 at a single location.
In the continuous world, an impulse is an idealized function
that is very narrow and very tall so that it has a unit area. In
the limit:
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 8
Impulse Function
If we have an unknown system and we apply an impulse,
the response is called the impulse response.
If the black box is linear we can describe 𝐻 by h(t). Why?
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 9
10
Delta Function
Impulse Response Function
(Point Spread Function)
H
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
11
Delta Function
n Can be defined as the limit of a sequence of functions
q each member has some area, but getting narrower & higher
n A “sharp spike” at origin
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
12
Delta Function
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
13
Delta Function
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
14
Delta Function
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
15
Point Spread Function (PSF)
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
16
Point Spread Function (PSF)
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
17
Point Spread Function (PSF)
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
Filtering an Impulse Signal
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 18
What is the result of filtering the impulse signal (image)
F(x,y) with the arbitrary kernel H(u,v)?
Filtering an Impulse Signal
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 19
Filtering an Impulse Signal
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 20
Filtering an Impulse Signal
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 21
Filtering an Impulse Signal
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 22
Filtering an Impulse Signal
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 23
Filtering an Impulse Signal
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 24
Convolution
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020 25
1. Flip where the filter is applied in both dimensions
(bottom to top, right to left)
2. Then apply cross-correlation
26
Convolution
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
27
Convolution
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
28
Convolution
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
29
Convolution
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
30
Discrete LSI Systems
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
31
Discrete LSI Systems
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
32
Discrete LSI Systems
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
33
Discrete LSI Systems
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
34
Discrete LSI Systems
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
35
Discrete LSI Systems
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020
36
Discrete LSI Systems
Shiraz University, Comp. Sc. & Eng Dpt,
Prof. Z. Azimifar, 2020

More Related Content

Similar to Dip azimifar enhancement_l02_2020

Nonlinear Manifolds in Computer Vision
Nonlinear Manifolds in Computer VisionNonlinear Manifolds in Computer Vision
Nonlinear Manifolds in Computer Visionzukun
 
Mohammad Sabawi NTCCIT-2018 Presentation
Mohammad Sabawi NTCCIT-2018 PresentationMohammad Sabawi NTCCIT-2018 Presentation
Study on Impact of Media on Education Using Fuzzy Relational Maps
Study on Impact of Media on Education Using Fuzzy Relational MapsStudy on Impact of Media on Education Using Fuzzy Relational Maps
Study on Impact of Media on Education Using Fuzzy Relational Maps
MangaiK4
 
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
The Statistical and Applied Mathematical Sciences Institute
 
Definite Integral and Properties of Definite Integral
Definite Integral and Properties of Definite IntegralDefinite Integral and Properties of Definite Integral
Definite Integral and Properties of Definite Integral
ShaifulIslam56
 
Reading Seminar (140515) Spectral Learning of L-PCFGs
Reading Seminar (140515) Spectral Learning of L-PCFGsReading Seminar (140515) Spectral Learning of L-PCFGs
Reading Seminar (140515) Spectral Learning of L-PCFGs
Keisuke OTAKI
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
Muhammad Ahad
 
3rd NIPS Workshop on PROBABILISTIC PROGRAMMING
3rd NIPS Workshop on PROBABILISTIC PROGRAMMING3rd NIPS Workshop on PROBABILISTIC PROGRAMMING
3rd NIPS Workshop on PROBABILISTIC PROGRAMMING
Christian Robert
 
MediaEval 2014: THU-HCSIL Approach to Emotion in Music Task using Multi-level...
MediaEval 2014: THU-HCSIL Approach to Emotion in Music Task using Multi-level...MediaEval 2014: THU-HCSIL Approach to Emotion in Music Task using Multi-level...
MediaEval 2014: THU-HCSIL Approach to Emotion in Music Task using Multi-level...
multimediaeval
 
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGICDESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
VLSICS Design
 
GSA-BBO HYBRIDIZATION ALGORITHM
GSA-BBO HYBRIDIZATION ALGORITHMGSA-BBO HYBRIDIZATION ALGORITHM
GSA-BBO HYBRIDIZATION ALGORITHM
Sajad Ahmad Rather
 
application of partial differentiation
application of partial differentiationapplication of partial differentiation
application of partial differentiation
eteaching
 
Analog properties and Z-transform
Analog properties and Z-transformAnalog properties and Z-transform
Analog properties and Z-transform
Gandhinagar Institute of Technology
 
Lecture 2&3 Computer vision image formation ,filters&edge detection
Lecture 2&3 Computer vision image formation ,filters&edge detectionLecture 2&3 Computer vision image formation ,filters&edge detection
Lecture 2&3 Computer vision image formation ,filters&edge detection
cairo university
 
Linear response theory and TDDFT
Linear response theory and TDDFT Linear response theory and TDDFT
Linear response theory and TDDFT
Claudio Attaccalite
 
Approximate Bayesian model choice via random forests
Approximate Bayesian model choice via random forestsApproximate Bayesian model choice via random forests
Approximate Bayesian model choice via random forests
Christian Robert
 
random forests for ABC model choice and parameter estimation
random forests for ABC model choice and parameter estimationrandom forests for ABC model choice and parameter estimation
random forests for ABC model choice and parameter estimation
Christian Robert
 
A new Evolutionary Reinforcement Scheme for Stochastic Learning Automata
A new Evolutionary Reinforcement Scheme for Stochastic Learning AutomataA new Evolutionary Reinforcement Scheme for Stochastic Learning Automata
A new Evolutionary Reinforcement Scheme for Stochastic Learning Automata
infopapers
 
Maths Investigatory Project Class 12 on Differentiation
Maths Investigatory Project Class 12 on DifferentiationMaths Investigatory Project Class 12 on Differentiation
Maths Investigatory Project Class 12 on Differentiation
SayanMandal31
 
Tutorial of topological data analysis part 3(Mapper algorithm)
Tutorial of topological data analysis part 3(Mapper algorithm)Tutorial of topological data analysis part 3(Mapper algorithm)
Tutorial of topological data analysis part 3(Mapper algorithm)
Ha Phuong
 

Similar to Dip azimifar enhancement_l02_2020 (20)

Nonlinear Manifolds in Computer Vision
Nonlinear Manifolds in Computer VisionNonlinear Manifolds in Computer Vision
Nonlinear Manifolds in Computer Vision
 
Mohammad Sabawi NTCCIT-2018 Presentation
Mohammad Sabawi NTCCIT-2018 PresentationMohammad Sabawi NTCCIT-2018 Presentation
Mohammad Sabawi NTCCIT-2018 Presentation
 
Study on Impact of Media on Education Using Fuzzy Relational Maps
Study on Impact of Media on Education Using Fuzzy Relational MapsStudy on Impact of Media on Education Using Fuzzy Relational Maps
Study on Impact of Media on Education Using Fuzzy Relational Maps
 
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
 
Definite Integral and Properties of Definite Integral
Definite Integral and Properties of Definite IntegralDefinite Integral and Properties of Definite Integral
Definite Integral and Properties of Definite Integral
 
Reading Seminar (140515) Spectral Learning of L-PCFGs
Reading Seminar (140515) Spectral Learning of L-PCFGsReading Seminar (140515) Spectral Learning of L-PCFGs
Reading Seminar (140515) Spectral Learning of L-PCFGs
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
 
3rd NIPS Workshop on PROBABILISTIC PROGRAMMING
3rd NIPS Workshop on PROBABILISTIC PROGRAMMING3rd NIPS Workshop on PROBABILISTIC PROGRAMMING
3rd NIPS Workshop on PROBABILISTIC PROGRAMMING
 
MediaEval 2014: THU-HCSIL Approach to Emotion in Music Task using Multi-level...
MediaEval 2014: THU-HCSIL Approach to Emotion in Music Task using Multi-level...MediaEval 2014: THU-HCSIL Approach to Emotion in Music Task using Multi-level...
MediaEval 2014: THU-HCSIL Approach to Emotion in Music Task using Multi-level...
 
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGICDESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
 
GSA-BBO HYBRIDIZATION ALGORITHM
GSA-BBO HYBRIDIZATION ALGORITHMGSA-BBO HYBRIDIZATION ALGORITHM
GSA-BBO HYBRIDIZATION ALGORITHM
 
application of partial differentiation
application of partial differentiationapplication of partial differentiation
application of partial differentiation
 
Analog properties and Z-transform
Analog properties and Z-transformAnalog properties and Z-transform
Analog properties and Z-transform
 
Lecture 2&3 Computer vision image formation ,filters&edge detection
Lecture 2&3 Computer vision image formation ,filters&edge detectionLecture 2&3 Computer vision image formation ,filters&edge detection
Lecture 2&3 Computer vision image formation ,filters&edge detection
 
Linear response theory and TDDFT
Linear response theory and TDDFT Linear response theory and TDDFT
Linear response theory and TDDFT
 
Approximate Bayesian model choice via random forests
Approximate Bayesian model choice via random forestsApproximate Bayesian model choice via random forests
Approximate Bayesian model choice via random forests
 
random forests for ABC model choice and parameter estimation
random forests for ABC model choice and parameter estimationrandom forests for ABC model choice and parameter estimation
random forests for ABC model choice and parameter estimation
 
A new Evolutionary Reinforcement Scheme for Stochastic Learning Automata
A new Evolutionary Reinforcement Scheme for Stochastic Learning AutomataA new Evolutionary Reinforcement Scheme for Stochastic Learning Automata
A new Evolutionary Reinforcement Scheme for Stochastic Learning Automata
 
Maths Investigatory Project Class 12 on Differentiation
Maths Investigatory Project Class 12 on DifferentiationMaths Investigatory Project Class 12 on Differentiation
Maths Investigatory Project Class 12 on Differentiation
 
Tutorial of topological data analysis part 3(Mapper algorithm)
Tutorial of topological data analysis part 3(Mapper algorithm)Tutorial of topological data analysis part 3(Mapper algorithm)
Tutorial of topological data analysis part 3(Mapper algorithm)
 

More from Zahra Amini

Dip azimifar enhancement_l04_2020
Dip azimifar enhancement_l04_2020Dip azimifar enhancement_l04_2020
Dip azimifar enhancement_l04_2020
Zahra Amini
 
Dip azimifar enhancement_l01_2020
Dip azimifar enhancement_l01_2020Dip azimifar enhancement_l01_2020
Dip azimifar enhancement_l01_2020
Zahra Amini
 
Ch 1-3 nn learning 1-7
Ch 1-3 nn learning 1-7Ch 1-3 nn learning 1-7
Ch 1-3 nn learning 1-7
Zahra Amini
 
Ch 1-2 NN classifier
Ch 1-2 NN classifierCh 1-2 NN classifier
Ch 1-2 NN classifier
Zahra Amini
 
Ch 1-1 introduction
Ch 1-1 introductionCh 1-1 introduction
Ch 1-1 introduction
Zahra Amini
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
Zahra Amini
 
Kernel estimation(ref)
Kernel estimation(ref)Kernel estimation(ref)
Kernel estimation(ref)
Zahra Amini
 
Dr azimifar pattern recognition lect4
Dr azimifar pattern recognition lect4Dr azimifar pattern recognition lect4
Dr azimifar pattern recognition lect4
Zahra Amini
 
Dr azimifar pattern recognition lect2
Dr azimifar pattern recognition lect2Dr azimifar pattern recognition lect2
Dr azimifar pattern recognition lect2
Zahra Amini
 
Dr azimifar pattern recognition lect1
Dr azimifar pattern recognition lect1Dr azimifar pattern recognition lect1
Dr azimifar pattern recognition lect1
Zahra Amini
 

More from Zahra Amini (10)

Dip azimifar enhancement_l04_2020
Dip azimifar enhancement_l04_2020Dip azimifar enhancement_l04_2020
Dip azimifar enhancement_l04_2020
 
Dip azimifar enhancement_l01_2020
Dip azimifar enhancement_l01_2020Dip azimifar enhancement_l01_2020
Dip azimifar enhancement_l01_2020
 
Ch 1-3 nn learning 1-7
Ch 1-3 nn learning 1-7Ch 1-3 nn learning 1-7
Ch 1-3 nn learning 1-7
 
Ch 1-2 NN classifier
Ch 1-2 NN classifierCh 1-2 NN classifier
Ch 1-2 NN classifier
 
Ch 1-1 introduction
Ch 1-1 introductionCh 1-1 introduction
Ch 1-1 introduction
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Kernel estimation(ref)
Kernel estimation(ref)Kernel estimation(ref)
Kernel estimation(ref)
 
Dr azimifar pattern recognition lect4
Dr azimifar pattern recognition lect4Dr azimifar pattern recognition lect4
Dr azimifar pattern recognition lect4
 
Dr azimifar pattern recognition lect2
Dr azimifar pattern recognition lect2Dr azimifar pattern recognition lect2
Dr azimifar pattern recognition lect2
 
Dr azimifar pattern recognition lect1
Dr azimifar pattern recognition lect1Dr azimifar pattern recognition lect1
Dr azimifar pattern recognition lect1
 

Recently uploaded

Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
 

Recently uploaded (20)

Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
 

Dip azimifar enhancement_l02_2020

  • 1. 1 Digital Image Processing Image Enhancement in the Frequency Domain, Part I Dr Z. Azimifar Computer Science and Engineering Department Shiraz University Winter 2020 Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 2. Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 2 An operator 𝐻 (or system) is linear if two properties hold. Suppose 𝑓1 and 𝑓2 are some functions, 𝑎 is a constant: 1. Superposition (additivity): 𝐻(𝑓1 + 𝑓2) = 𝐻(𝑓1) + 𝐻(𝑓2) (looks like distributive law) 2. Scaling (Homogeneity of degree 1): 𝐻(𝑎∙𝑓1) = 𝑎∙𝐻(𝑓1) Because it is sums and multiplies, the “filtering” operation we were doing are linear. Linear & Shift Invariant Systems
  • 3. 3 Linear & Shift Invariant Systems H(.) f(x,y) g(x,y) g(x,y)=H{f(x,y)} H(.) is linear if: H[a f(x,y) + b t(x,y)]=a H[f(x,y)] + b H[t(x,y)] Define: H(.) = impulse response Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 4. Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 4 Which of these operators are not linear? 1. SUM 2. SQUARE ROOT 3. AVERAGE 4. MAX 5. SIN Linear & Shift Invariant Systems
  • 5. Linear & Shift Invariant Systems Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 5 Linearity allows us 1. So we can sum up a bunch of things to make it as an image. 2. So we apply a linear operator to that whole image Then It must be the same as if we sum applying that linear operator to each piece of the image, separately The building block of function is what is referred to as impulse.
  • 6. 6 Shift Invariance Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 7. Shift Invariance Shift invariant: Operator behaves the same everywhere, i.e. the value of the output depends on the pattern in the image neighborhood, not the position of the neighborhood. Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 7
  • 8. Impulse Function In the discrete world, and impulse is a very easy signal to understand: it is just a value of 1 at a single location. In the continuous world, an impulse is an idealized function that is very narrow and very tall so that it has a unit area. In the limit: Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 8
  • 9. Impulse Function If we have an unknown system and we apply an impulse, the response is called the impulse response. If the black box is linear we can describe 𝐻 by h(t). Why? Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 9
  • 10. 10 Delta Function Impulse Response Function (Point Spread Function) H Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 11. 11 Delta Function n Can be defined as the limit of a sequence of functions q each member has some area, but getting narrower & higher n A “sharp spike” at origin Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 12. 12 Delta Function Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 13. 13 Delta Function Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 14. 14 Delta Function Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 15. 15 Point Spread Function (PSF) Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 16. 16 Point Spread Function (PSF) Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 17. 17 Point Spread Function (PSF) Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 18. Filtering an Impulse Signal Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 18 What is the result of filtering the impulse signal (image) F(x,y) with the arbitrary kernel H(u,v)?
  • 19. Filtering an Impulse Signal Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 19
  • 20. Filtering an Impulse Signal Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 20
  • 21. Filtering an Impulse Signal Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 21
  • 22. Filtering an Impulse Signal Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 22
  • 23. Filtering an Impulse Signal Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 23
  • 24. Filtering an Impulse Signal Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 24
  • 25. Convolution Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020 25 1. Flip where the filter is applied in both dimensions (bottom to top, right to left) 2. Then apply cross-correlation
  • 26. 26 Convolution Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 27. 27 Convolution Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 28. 28 Convolution Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 29. 29 Convolution Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 30. 30 Discrete LSI Systems Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 31. 31 Discrete LSI Systems Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 32. 32 Discrete LSI Systems Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 33. 33 Discrete LSI Systems Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 34. 34 Discrete LSI Systems Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 35. 35 Discrete LSI Systems Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020
  • 36. 36 Discrete LSI Systems Shiraz University, Comp. Sc. & Eng Dpt, Prof. Z. Azimifar, 2020