SlideShare uma empresa Scribd logo
1 de 47
Frequency Domain Filtering : 1
Frequency DomainFrequency Domain
FilteringFiltering
Frequency Domain Filtering : 2
Blurring/Noise reductionBlurring/Noise reduction
Noise characterized by sharp transitions in image intensity
Such transitions contribute significantly to high frequency
components of Fourier transform
Intuitively, attenuating certain high frequency components result in
blurring and reduction of image noise
Frequency Domain Filtering : 3
Ideal Low-pass FilterIdeal Low-pass Filter
Cuts off all high-frequency components at a distance greater than a
certain distance from origin (cutoff frequency)
0
0
1, if ( , )
( , )
0, if ( , )
D u v D
H u v
D u v D
≤
= 
>
Frequency Domain Filtering : 4
VisualizationVisualization
Frequency Domain Filtering : 5
Effect of Different CutoffEffect of Different Cutoff
FrequenciesFrequencies
Frequency Domain Filtering : 6
Effect of Different CutoffEffect of Different Cutoff
FrequenciesFrequencies
Frequency Domain Filtering : 7
Effect of Different CutoffEffect of Different Cutoff
FrequenciesFrequencies
As cutoff frequency decreases
Image becomes more blurred
Noise becomes reduced
Analogous to larger spatial filter sizes
Noticeable ringing artifacts that increase as the amount of high
frequency components removed is increased
Frequency Domain Filtering : 8
Why is there ringing?Why is there ringing?
Ideal low-pass filter function is a rectangular function
The inverse Fourier transform of a rectangular function is a sinc
function
Frequency Domain Filtering : 9
RingingRinging
Frequency Domain Filtering : 10
Butterworth Low-pass FilterButterworth Low-pass Filter
Transfer function does not have sharp discontinuity establishing
cutoff between passed and filtered frequencies
Cutoff frequency D0 defines point at which H(u,v)=0.5
[ ]
2
0
1
( , )
1 ( , ) /
n
H u v
D u v D
=
+
Frequency Domain Filtering : 11
Butterworth Low-pass FilterButterworth Low-pass Filter
Frequency Domain Filtering : 12
Spatial RepresentationsSpatial Representations
Tradeoff between amount of smoothing and ringing
Frequency Domain Filtering : 13
Butterworth Low-pass Filters of DifferentButterworth Low-pass Filters of Different
FrequenciesFrequencies
Frequency Domain Filtering : 14
Gaussian Low-pass FilterGaussian Low-pass Filter
Transfer function is smooth, like Butterworth filter
Gaussian in frequency domain remains a Gaussian in spatial
domain
Advantage: No ringing artifacts
2 2
0( , )/2
( , ) D u v D
H u v e−
=
Frequency Domain Filtering : 15
Gaussian Low-pass FilterGaussian Low-pass Filter
Frequency Domain Filtering : 16
Gaussian Low-pass FilterGaussian Low-pass Filter
Frequency Domain Filtering : 17
Low-pass Filtering: ExampleLow-pass Filtering: Example
Frequency Domain Filtering : 18
Low-pass Filtering: ExampleLow-pass Filtering: Example
Frequency Domain Filtering : 19
Periodic Noise ReductionPeriodic Noise Reduction
Typically occurs from electrical or electromechanical interference
during image acquisition
Spatially dependent noise
Example: spatial sinusoidal noise
Frequency Domain Filtering : 20
ExampleExample
Frequency Domain Filtering : 21
ObservationsObservations
Symmetric pairs of bright spots appear in the Fourier spectra
Why?
Fourier transform of sine function is the sum of a pair of
impulse functions
Intuitively, sinusoidal noise can be reduced by attenuating these
bright spots
[ ]0 0 0
1
sin(2 ) ( ) ( )
2
k x j k k k kπ δ δ⇔ + − −
Frequency Domain Filtering : 22
Bandreject FiltersBandreject Filters
Removes or attenuates a band of frequencies about the origin of
the Fourier transform
Sinusoidal noise may be reduced by filtering the band of
frequencies upon which the bright spots associated with period
noise appear
Frequency Domain Filtering : 23
Example: Ideal Bandreject FiltersExample: Ideal Bandreject Filters
0
0 0
0
1, if ( , )
2
( , ) 0, if ( , )
2 2
1, if ( , )
2
W
D u v D
W W
H u v D D u v D
W
D u v D

< −


= − ≤ < +


> +

Frequency Domain Filtering : 24
ExampleExample
Frequency Domain Filtering : 25
Notchreject FiltersNotchreject Filters
Idea:
Sinusoidal noise appears as bright spots in Fourier spectra
Reject frequencies in predefined neighborhoods about a
center frequency
In this case, center notchreject filters around frequencies
coinciding with the bright spots
Frequency Domain Filtering : 26
Some Notchreject FiltersSome Notchreject Filters
Frequency Domain Filtering : 27
ExampleExample
Frequency Domain Filtering : 28
SharpeningSharpening
Edges and fine detail characterized by sharp transitions in
image intensity
Such transitions contribute significantly to high frequency
components of Fourier transform
Intuitively, attenuating certain low frequency components and
preserving high frequency components result in sharpening
Frequency Domain Filtering : 29
Sharpening Filter Transfer FunctionSharpening Filter Transfer Function
Intended goal is to do the reverse operation of low-pass filters
When low-pass filer attenuates frequencies, high-pass filter
passes them
When high-pass filter attenuates frequencies, low-pass filter
passes them
( , ) 1 ( , )hp lpH u v H u v= −
Frequency Domain Filtering : 30
Some Sharpening FilterSome Sharpening Filter
Transfer FunctionsTransfer Functions
Ideal High-pass filter
Butterworth High-pass filter
Gaussian High-pass filter
0
0
0, if ( , )
( , )
1, if ( , )
D u v D
H u v
D u v D
≤
= 
>
[ ]
2
0
1
( , )
1 / ( , )
n
H u v
D D u v
=
+
2 2
0( , )/2
( , ) 1 D u v D
H u v e−
= −
Frequency Domain Filtering : 31
Sharpening Filter Transfer FunctionsSharpening Filter Transfer Functions
Frequency Domain Filtering : 32
Spatial Representation ofSpatial Representation of
Highpass FiltersHighpass Filters
Frequency Domain Filtering : 33
Filtered Results: IHPFFiltered Results: IHPF
Frequency Domain Filtering : 34
Filtered Results: BHPFFiltered Results: BHPF
Frequency Domain Filtering : 35
Filtered Results: GHPFFiltered Results: GHPF
Frequency Domain Filtering : 36
ObservationsObservations
As with ideal low-pass filter, ideal high-pass filter shows significant
ringing artifacts
Second-order Butterworth high-pass filter shows sharp edges with
minor ringing artifacts
Gaussian high-pass filter shows good sharpness in edges with no
ringing artifacts
Frequency Domain Filtering : 37
High-boost filteringHigh-boost filtering
In frequency domain
( , ) ( , ) ( , )lpg x y Af x y f x y= −
( , ) ( 1) ( , ) ( , ) ( , )hpg x y A f x y f x y h x y= − + ∗
( , ) ( 1) ( , ) ( , ) ( , )lpg x y A f x y f x y f x y= − + −
( , ) ( 1) ( , ) ( , )hpg x y A f x y f x y= − +
( , ) ( 1) ( , ) ( , ) ( , )G u v A F u v F u v H u v= − +
( , ) ( 1) ( , ) ( , )hp
hb
G u v A H u v F u v
H
 = − + 144424443
Frequency Domain Filtering : 38
High frequency emphasisHigh frequency emphasis
Advantageous to accentuate enhancements made by high- frequency
components of image in certain situations (e.g., image visualization)
Solution: multiply high-pass filter by a constant and add offset so zero
frequency term not eliminated
Generalization of high-boost filtering
( , ) ( , )hfe hpH u v a bH u v= +
Frequency Domain Filtering : 39
ResultsResults
Frequency Domain Filtering : 40
Homomorphic FilteringHomomorphic Filtering
Image can be modeled as a product of illumination (i) and
reflectance (r)
Can't operate on frequency components of illumination and
reflectance separately
( , ) ( , ) ( , )f x y i x y y x y=
[ ] [ ] [ ]( , ) ( , ) ( , )f x y i x y r x yℑ ≠ ℑ ℑ
Frequency Domain Filtering : 41
Homomorphic FilteringHomomorphic Filtering
Idea: What if we take the logarithm of the image?
Now the frequency components of i and r can be operated on
separately
ln ( , ) ln ( , ) ln ( , )f x y i x y r x y= +
[ ] [ ] [ ]ln ( , ) ln ( , ) ln ( , )f x y i x y r x yℑ = ℑ + ℑ
Frequency Domain Filtering : 42
Homomorphic FilteringHomomorphic Filtering
FrameworkFramework
Frequency Domain Filtering : 43
Homomorphic Filtering: ImageHomomorphic Filtering: Image
EnhancementEnhancement
Simultaneous dynamic range compression (reduce illumination
variation) and contrast enhancement (increase reflectance variation)
Illumination component characterized by slow spatial variations (low
spatial frequencies)
Reflectance component characterized by abrupt spatial variations
(high spatial frequencies)
Frequency Domain Filtering : 44
Homomorphic Filtering: ImageHomomorphic Filtering: Image
EnhancementEnhancement
Can be accomplished using a high frequency emphasis filter in
log space
DC gain of 0.5 (reduce illumination variations)
High frequency gain of 2 (increase reflectance variations)
Output of homomorphic filter
( )
2
( , ) ( , ) ( , )g x y i x y r x y≈
Frequency Domain Filtering : 45
ExampleExample
Frequency Domain Filtering : 46
Homomorphic Filtering: Noise ReductionHomomorphic Filtering: Noise Reduction
Multiplicative noise model
Transforming into log space turns multiplicative noise to additive noise
Low-pass filtering can now be applied to reduce noise
( , ) ( , ) ( , )f x y s x y n x y=
ln ( , ) ln ( , ) ln ( , )f x y s x y n x y= +
Frequency Domain Filtering : 47
ExampleExample

Mais conteúdo relacionado

Mais procurados

Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domainAshish Kumar
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersSuhaila Afzana
 
Image Restoration
Image RestorationImage Restoration
Image RestorationPoonam Seth
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point ProcessingGayathri31093
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit NotesAAKANKSHA JAIN
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Frequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesFrequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesUpendra Pratap Singh
 
Transform coding
Transform codingTransform coding
Transform codingNancy K
 
Discrete cosine transform
Discrete cosine transform   Discrete cosine transform
Discrete cosine transform Rashmi Karkra
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods thanhhoang2012
 
06 spatial filtering DIP
06 spatial filtering DIP06 spatial filtering DIP
06 spatial filtering DIPbabak danyal
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processingasodariyabhavesh
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filteringGautam Saxena
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processingAnuj Arora
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationVarun Ojha
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image ProcessingPallavi Agarwal
 

Mais procurados (20)

Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
 
Unit ii
Unit iiUnit ii
Unit ii
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Frequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesFrequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital Images
 
Transform coding
Transform codingTransform coding
Transform coding
 
Discrete cosine transform
Discrete cosine transform   Discrete cosine transform
Discrete cosine transform
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods
 
06 spatial filtering DIP
06 spatial filtering DIP06 spatial filtering DIP
06 spatial filtering DIP
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processing
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier Transformation
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 

Semelhante a 08 frequency domain filtering DIP

ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
ch-2.5 Image Enhancement in FREQUENCY  Domain.pptxch-2.5 Image Enhancement in FREQUENCY  Domain.pptx
ch-2.5 Image Enhancement in FREQUENCY Domain.pptxsatyanarayana242612
 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processingAbinaya B
 
07 frequency domain DIP
07 frequency domain DIP07 frequency domain DIP
07 frequency domain DIPbabak danyal
 
Frequency Domain Filtering 1.ppt
 Frequency Domain Filtering 1.ppt Frequency Domain Filtering 1.ppt
Frequency Domain Filtering 1.pptManishKumawat77
 
04 cie552 image_filtering_frequency
04 cie552 image_filtering_frequency04 cie552 image_filtering_frequency
04 cie552 image_filtering_frequencyElsayed Hemayed
 
Image Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):BasicsImage Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):BasicsKalyan Acharjya
 
Frequency Domain FIltering.pdf
Frequency Domain FIltering.pdfFrequency Domain FIltering.pdf
Frequency Domain FIltering.pdfMuhammad_Ilham_21
 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Kalyan Acharjya
 

Semelhante a 08 frequency domain filtering DIP (20)

ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
ch-2.5 Image Enhancement in FREQUENCY  Domain.pptxch-2.5 Image Enhancement in FREQUENCY  Domain.pptx
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processing
 
Image processing 2
Image processing 2Image processing 2
Image processing 2
 
DIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptxDIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptx
 
07 frequency domain DIP
07 frequency domain DIP07 frequency domain DIP
07 frequency domain DIP
 
Frequency Domain Filtering 1.ppt
 Frequency Domain Filtering 1.ppt Frequency Domain Filtering 1.ppt
Frequency Domain Filtering 1.ppt
 
Design of Filters PPT
Design of Filters PPTDesign of Filters PPT
Design of Filters PPT
 
04 cie552 image_filtering_frequency
04 cie552 image_filtering_frequency04 cie552 image_filtering_frequency
04 cie552 image_filtering_frequency
 
Image Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):BasicsImage Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):Basics
 
Module 31
Module 31Module 31
Module 31
 
image restoration.ppt
image restoration.pptimage restoration.ppt
image restoration.ppt
 
Frequency Domain FIltering.pdf
Frequency Domain FIltering.pdfFrequency Domain FIltering.pdf
Frequency Domain FIltering.pdf
 
Active filters
Active filtersActive filters
Active filters
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)
 
Digital Filters Part 1
Digital Filters Part 1Digital Filters Part 1
Digital Filters Part 1
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
12936608 (2).ppt
12936608 (2).ppt12936608 (2).ppt
12936608 (2).ppt
 
234456743edc.pdf
234456743edc.pdf234456743edc.pdf
234456743edc.pdf
 

Mais de babak danyal

Easy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client SocketsEasy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client Socketsbabak danyal
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streamsbabak danyal
 
Swing and Graphical User Interface in Java
Swing and Graphical User Interface in JavaSwing and Graphical User Interface in Java
Swing and Graphical User Interface in Javababak danyal
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the desbabak danyal
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network securitybabak danyal
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systemsbabak danyal
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systemsbabak danyal
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systemsbabak danyal
 
Lecture6 Signal and Systems
Lecture6 Signal and SystemsLecture6 Signal and Systems
Lecture6 Signal and Systemsbabak danyal
 
Lecture5 Signal and Systems
Lecture5 Signal and SystemsLecture5 Signal and Systems
Lecture5 Signal and Systemsbabak danyal
 
Lecture4 Signal and Systems
Lecture4  Signal and SystemsLecture4  Signal and Systems
Lecture4 Signal and Systemsbabak danyal
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systemsbabak danyal
 
Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systemsbabak danyal
 
Lecture1 Intro To Signa
Lecture1 Intro To SignaLecture1 Intro To Signa
Lecture1 Intro To Signababak danyal
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systemsbabak danyal
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniquesbabak danyal
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Securitybabak danyal
 

Mais de babak danyal (20)

applist
applistapplist
applist
 
Easy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client SocketsEasy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client Sockets
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streams
 
Swing and Graphical User Interface in Java
Swing and Graphical User Interface in JavaSwing and Graphical User Interface in Java
Swing and Graphical User Interface in Java
 
Tcp sockets
Tcp socketsTcp sockets
Tcp sockets
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the des
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network security
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systems
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systems
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systems
 
Lecture6 Signal and Systems
Lecture6 Signal and SystemsLecture6 Signal and Systems
Lecture6 Signal and Systems
 
Lecture5 Signal and Systems
Lecture5 Signal and SystemsLecture5 Signal and Systems
Lecture5 Signal and Systems
 
Lecture4 Signal and Systems
Lecture4  Signal and SystemsLecture4  Signal and Systems
Lecture4 Signal and Systems
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systems
 
Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systems
 
Lecture1 Intro To Signa
Lecture1 Intro To SignaLecture1 Intro To Signa
Lecture1 Intro To Signa
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systems
 
Lecture9
Lecture9Lecture9
Lecture9
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniques
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Security
 

Último

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Último (20)

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

08 frequency domain filtering DIP

  • 1. Frequency Domain Filtering : 1 Frequency DomainFrequency Domain FilteringFiltering
  • 2. Frequency Domain Filtering : 2 Blurring/Noise reductionBlurring/Noise reduction Noise characterized by sharp transitions in image intensity Such transitions contribute significantly to high frequency components of Fourier transform Intuitively, attenuating certain high frequency components result in blurring and reduction of image noise
  • 3. Frequency Domain Filtering : 3 Ideal Low-pass FilterIdeal Low-pass Filter Cuts off all high-frequency components at a distance greater than a certain distance from origin (cutoff frequency) 0 0 1, if ( , ) ( , ) 0, if ( , ) D u v D H u v D u v D ≤ =  >
  • 4. Frequency Domain Filtering : 4 VisualizationVisualization
  • 5. Frequency Domain Filtering : 5 Effect of Different CutoffEffect of Different Cutoff FrequenciesFrequencies
  • 6. Frequency Domain Filtering : 6 Effect of Different CutoffEffect of Different Cutoff FrequenciesFrequencies
  • 7. Frequency Domain Filtering : 7 Effect of Different CutoffEffect of Different Cutoff FrequenciesFrequencies As cutoff frequency decreases Image becomes more blurred Noise becomes reduced Analogous to larger spatial filter sizes Noticeable ringing artifacts that increase as the amount of high frequency components removed is increased
  • 8. Frequency Domain Filtering : 8 Why is there ringing?Why is there ringing? Ideal low-pass filter function is a rectangular function The inverse Fourier transform of a rectangular function is a sinc function
  • 9. Frequency Domain Filtering : 9 RingingRinging
  • 10. Frequency Domain Filtering : 10 Butterworth Low-pass FilterButterworth Low-pass Filter Transfer function does not have sharp discontinuity establishing cutoff between passed and filtered frequencies Cutoff frequency D0 defines point at which H(u,v)=0.5 [ ] 2 0 1 ( , ) 1 ( , ) / n H u v D u v D = +
  • 11. Frequency Domain Filtering : 11 Butterworth Low-pass FilterButterworth Low-pass Filter
  • 12. Frequency Domain Filtering : 12 Spatial RepresentationsSpatial Representations Tradeoff between amount of smoothing and ringing
  • 13. Frequency Domain Filtering : 13 Butterworth Low-pass Filters of DifferentButterworth Low-pass Filters of Different FrequenciesFrequencies
  • 14. Frequency Domain Filtering : 14 Gaussian Low-pass FilterGaussian Low-pass Filter Transfer function is smooth, like Butterworth filter Gaussian in frequency domain remains a Gaussian in spatial domain Advantage: No ringing artifacts 2 2 0( , )/2 ( , ) D u v D H u v e− =
  • 15. Frequency Domain Filtering : 15 Gaussian Low-pass FilterGaussian Low-pass Filter
  • 16. Frequency Domain Filtering : 16 Gaussian Low-pass FilterGaussian Low-pass Filter
  • 17. Frequency Domain Filtering : 17 Low-pass Filtering: ExampleLow-pass Filtering: Example
  • 18. Frequency Domain Filtering : 18 Low-pass Filtering: ExampleLow-pass Filtering: Example
  • 19. Frequency Domain Filtering : 19 Periodic Noise ReductionPeriodic Noise Reduction Typically occurs from electrical or electromechanical interference during image acquisition Spatially dependent noise Example: spatial sinusoidal noise
  • 20. Frequency Domain Filtering : 20 ExampleExample
  • 21. Frequency Domain Filtering : 21 ObservationsObservations Symmetric pairs of bright spots appear in the Fourier spectra Why? Fourier transform of sine function is the sum of a pair of impulse functions Intuitively, sinusoidal noise can be reduced by attenuating these bright spots [ ]0 0 0 1 sin(2 ) ( ) ( ) 2 k x j k k k kπ δ δ⇔ + − −
  • 22. Frequency Domain Filtering : 22 Bandreject FiltersBandreject Filters Removes or attenuates a band of frequencies about the origin of the Fourier transform Sinusoidal noise may be reduced by filtering the band of frequencies upon which the bright spots associated with period noise appear
  • 23. Frequency Domain Filtering : 23 Example: Ideal Bandreject FiltersExample: Ideal Bandreject Filters 0 0 0 0 1, if ( , ) 2 ( , ) 0, if ( , ) 2 2 1, if ( , ) 2 W D u v D W W H u v D D u v D W D u v D  < −   = − ≤ < +   > + 
  • 24. Frequency Domain Filtering : 24 ExampleExample
  • 25. Frequency Domain Filtering : 25 Notchreject FiltersNotchreject Filters Idea: Sinusoidal noise appears as bright spots in Fourier spectra Reject frequencies in predefined neighborhoods about a center frequency In this case, center notchreject filters around frequencies coinciding with the bright spots
  • 26. Frequency Domain Filtering : 26 Some Notchreject FiltersSome Notchreject Filters
  • 27. Frequency Domain Filtering : 27 ExampleExample
  • 28. Frequency Domain Filtering : 28 SharpeningSharpening Edges and fine detail characterized by sharp transitions in image intensity Such transitions contribute significantly to high frequency components of Fourier transform Intuitively, attenuating certain low frequency components and preserving high frequency components result in sharpening
  • 29. Frequency Domain Filtering : 29 Sharpening Filter Transfer FunctionSharpening Filter Transfer Function Intended goal is to do the reverse operation of low-pass filters When low-pass filer attenuates frequencies, high-pass filter passes them When high-pass filter attenuates frequencies, low-pass filter passes them ( , ) 1 ( , )hp lpH u v H u v= −
  • 30. Frequency Domain Filtering : 30 Some Sharpening FilterSome Sharpening Filter Transfer FunctionsTransfer Functions Ideal High-pass filter Butterworth High-pass filter Gaussian High-pass filter 0 0 0, if ( , ) ( , ) 1, if ( , ) D u v D H u v D u v D ≤ =  > [ ] 2 0 1 ( , ) 1 / ( , ) n H u v D D u v = + 2 2 0( , )/2 ( , ) 1 D u v D H u v e− = −
  • 31. Frequency Domain Filtering : 31 Sharpening Filter Transfer FunctionsSharpening Filter Transfer Functions
  • 32. Frequency Domain Filtering : 32 Spatial Representation ofSpatial Representation of Highpass FiltersHighpass Filters
  • 33. Frequency Domain Filtering : 33 Filtered Results: IHPFFiltered Results: IHPF
  • 34. Frequency Domain Filtering : 34 Filtered Results: BHPFFiltered Results: BHPF
  • 35. Frequency Domain Filtering : 35 Filtered Results: GHPFFiltered Results: GHPF
  • 36. Frequency Domain Filtering : 36 ObservationsObservations As with ideal low-pass filter, ideal high-pass filter shows significant ringing artifacts Second-order Butterworth high-pass filter shows sharp edges with minor ringing artifacts Gaussian high-pass filter shows good sharpness in edges with no ringing artifacts
  • 37. Frequency Domain Filtering : 37 High-boost filteringHigh-boost filtering In frequency domain ( , ) ( , ) ( , )lpg x y Af x y f x y= − ( , ) ( 1) ( , ) ( , ) ( , )hpg x y A f x y f x y h x y= − + ∗ ( , ) ( 1) ( , ) ( , ) ( , )lpg x y A f x y f x y f x y= − + − ( , ) ( 1) ( , ) ( , )hpg x y A f x y f x y= − + ( , ) ( 1) ( , ) ( , ) ( , )G u v A F u v F u v H u v= − + ( , ) ( 1) ( , ) ( , )hp hb G u v A H u v F u v H  = − + 144424443
  • 38. Frequency Domain Filtering : 38 High frequency emphasisHigh frequency emphasis Advantageous to accentuate enhancements made by high- frequency components of image in certain situations (e.g., image visualization) Solution: multiply high-pass filter by a constant and add offset so zero frequency term not eliminated Generalization of high-boost filtering ( , ) ( , )hfe hpH u v a bH u v= +
  • 39. Frequency Domain Filtering : 39 ResultsResults
  • 40. Frequency Domain Filtering : 40 Homomorphic FilteringHomomorphic Filtering Image can be modeled as a product of illumination (i) and reflectance (r) Can't operate on frequency components of illumination and reflectance separately ( , ) ( , ) ( , )f x y i x y y x y= [ ] [ ] [ ]( , ) ( , ) ( , )f x y i x y r x yℑ ≠ ℑ ℑ
  • 41. Frequency Domain Filtering : 41 Homomorphic FilteringHomomorphic Filtering Idea: What if we take the logarithm of the image? Now the frequency components of i and r can be operated on separately ln ( , ) ln ( , ) ln ( , )f x y i x y r x y= + [ ] [ ] [ ]ln ( , ) ln ( , ) ln ( , )f x y i x y r x yℑ = ℑ + ℑ
  • 42. Frequency Domain Filtering : 42 Homomorphic FilteringHomomorphic Filtering FrameworkFramework
  • 43. Frequency Domain Filtering : 43 Homomorphic Filtering: ImageHomomorphic Filtering: Image EnhancementEnhancement Simultaneous dynamic range compression (reduce illumination variation) and contrast enhancement (increase reflectance variation) Illumination component characterized by slow spatial variations (low spatial frequencies) Reflectance component characterized by abrupt spatial variations (high spatial frequencies)
  • 44. Frequency Domain Filtering : 44 Homomorphic Filtering: ImageHomomorphic Filtering: Image EnhancementEnhancement Can be accomplished using a high frequency emphasis filter in log space DC gain of 0.5 (reduce illumination variations) High frequency gain of 2 (increase reflectance variations) Output of homomorphic filter ( ) 2 ( , ) ( , ) ( , )g x y i x y r x y≈
  • 45. Frequency Domain Filtering : 45 ExampleExample
  • 46. Frequency Domain Filtering : 46 Homomorphic Filtering: Noise ReductionHomomorphic Filtering: Noise Reduction Multiplicative noise model Transforming into log space turns multiplicative noise to additive noise Low-pass filtering can now be applied to reduce noise ( , ) ( , ) ( , )f x y s x y n x y= ln ( , ) ln ( , ) ln ( , )f x y s x y n x y= +
  • 47. Frequency Domain Filtering : 47 ExampleExample