SlideShare a Scribd company logo
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

More Related Content

What's hot (20)

PPT
Image trnsformations
John Williams
 
PPTX
Image Filtering in the Frequency Domain
Amnaakhaan
 
PPSX
Image Enhancement in Spatial Domain
Dr. A. B. Shinde
 
PPT
Image Restoration
Poonam Seth
 
PDF
Digital Image Fundamentals
Dr. A. B. Shinde
 
PPT
Image degradation and noise by Md.Naseem Ashraf
MD Naseem Ashraf
 
PPTX
Image Smoothing using Frequency Domain Filters
Suhaila Afzana
 
PPT
06 spatial filtering DIP
babak danyal
 
PPTX
Image Enhancement - Point Processing
Gayathri31093
 
PPTX
5. gray level transformation
MdFazleRabbi18
 
POTX
Presentation of Lossy compression
Omar Ghazi
 
ODP
image compression ppt
Shivangi Saxena
 
PDF
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
vijayanand Kandaswamy
 
PPT
Frequency Domain Image Enhancement Techniques
Diwaker Pant
 
PPT
Spatial domain and filtering
University of Potsdam
 
PPTX
Basic Relationships between Pixels- Digital Image Processing
Md.Shohel Rana ( M.Sc in CSE Khulna University of Engineering & Technology (KUET))
 
PPTX
Fundamentals and image compression models
lavanya marichamy
 
PPTX
Image compression models
priyadharshini murugan
 
PPTX
Lecture 1 for Digital Image Processing (2nd Edition)
Moe Moe Myint
 
Image trnsformations
John Williams
 
Image Filtering in the Frequency Domain
Amnaakhaan
 
Image Enhancement in Spatial Domain
Dr. A. B. Shinde
 
Image Restoration
Poonam Seth
 
Digital Image Fundamentals
Dr. A. B. Shinde
 
Image degradation and noise by Md.Naseem Ashraf
MD Naseem Ashraf
 
Image Smoothing using Frequency Domain Filters
Suhaila Afzana
 
06 spatial filtering DIP
babak danyal
 
Image Enhancement - Point Processing
Gayathri31093
 
5. gray level transformation
MdFazleRabbi18
 
Presentation of Lossy compression
Omar Ghazi
 
image compression ppt
Shivangi Saxena
 
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
vijayanand Kandaswamy
 
Frequency Domain Image Enhancement Techniques
Diwaker Pant
 
Spatial domain and filtering
University of Potsdam
 
Basic Relationships between Pixels- Digital Image Processing
Md.Shohel Rana ( M.Sc in CSE Khulna University of Engineering & Technology (KUET))
 
Fundamentals and image compression models
lavanya marichamy
 
Image compression models
priyadharshini murugan
 
Lecture 1 for Digital Image Processing (2nd Edition)
Moe Moe Myint
 

Similar to 08 frequency domain filtering DIP (20)

PPTX
Image Enhancement using Frequency Domain Filters
Karthika Ramachandran
 
PPTX
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
satyanarayana242612
 
PDF
Lecture 10
Wael Sharba
 
PPTX
Image filtering in Digital image processing
Abinaya B
 
PPTX
Image processing 2
Taymoor Nazmy
 
PPTX
DIP -Unit 3 ppt.pptx
1DA20CS085Nithyashre
 
PPT
07 frequency domain DIP
babak danyal
 
PPT
Enhancement in frequency domain
Ashish Kumar
 
PPT
digital image processing FrequencyFiltering.ppt
ssuserc2235e
 
PPT
Frequency Domain Filtering 1.ppt
ManishKumawat77
 
PPTX
Design of Filters PPT
Imtiyaz Rashed
 
PPTX
04 cie552 image_filtering_frequency
Elsayed Hemayed
 
PPT
image restoration unit4-191105055541 (1).ppt
kumarankit06875
 
PPTX
Digital Image restoration
Md Shabir Alam
 
PPTX
Image Restoration (Frequency Domain Filters):Basics
Kalyan Acharjya
 
PPT
Digital Image Processing Restoration UNIT-3.ppt
durgakru
 
PPTX
Module 31
UllasSS1
 
PPT
Image restoration and enhancement techniques
Priyadharsini R
 
PPT
image restoration.ppt
RajarajeswariKannan
 
PPTX
FIR Filters Lecture (What are FIR FIlters)pptx
MuhammadAbbasMalik
 
Image Enhancement using Frequency Domain Filters
Karthika Ramachandran
 
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
satyanarayana242612
 
Lecture 10
Wael Sharba
 
Image filtering in Digital image processing
Abinaya B
 
Image processing 2
Taymoor Nazmy
 
DIP -Unit 3 ppt.pptx
1DA20CS085Nithyashre
 
07 frequency domain DIP
babak danyal
 
Enhancement in frequency domain
Ashish Kumar
 
digital image processing FrequencyFiltering.ppt
ssuserc2235e
 
Frequency Domain Filtering 1.ppt
ManishKumawat77
 
Design of Filters PPT
Imtiyaz Rashed
 
04 cie552 image_filtering_frequency
Elsayed Hemayed
 
image restoration unit4-191105055541 (1).ppt
kumarankit06875
 
Digital Image restoration
Md Shabir Alam
 
Image Restoration (Frequency Domain Filters):Basics
Kalyan Acharjya
 
Digital Image Processing Restoration UNIT-3.ppt
durgakru
 
Module 31
UllasSS1
 
Image restoration and enhancement techniques
Priyadharsini R
 
image restoration.ppt
RajarajeswariKannan
 
FIR Filters Lecture (What are FIR FIlters)pptx
MuhammadAbbasMalik
 
Ad

More from babak danyal (20)

DOCX
applist
babak danyal
 
PPT
Easy Steps to implement UDP Server and Client Sockets
babak danyal
 
PPT
Java IO Package and Streams
babak danyal
 
PPT
Swing and Graphical User Interface in Java
babak danyal
 
PPT
Tcp sockets
babak danyal
 
PPTX
block ciphers and the des
babak danyal
 
PPT
key distribution in network security
babak danyal
 
PPT
Lecture10 Signal and Systems
babak danyal
 
PPT
Lecture8 Signal and Systems
babak danyal
 
PPT
Lecture7 Signal and Systems
babak danyal
 
PPT
Lecture6 Signal and Systems
babak danyal
 
PPT
Lecture5 Signal and Systems
babak danyal
 
PPT
Lecture4 Signal and Systems
babak danyal
 
PPT
Lecture3 Signal and Systems
babak danyal
 
PPT
Lecture2 Signal and Systems
babak danyal
 
PPT
Lecture1 Intro To Signa
babak danyal
 
PPT
Lecture9 Signal and Systems
babak danyal
 
PPT
Lecture9
babak danyal
 
PPT
Cns 13f-lec03- Classical Encryption Techniques
babak danyal
 
PPT
Classical Encryption Techniques in Network Security
babak danyal
 
applist
babak danyal
 
Easy Steps to implement UDP Server and Client Sockets
babak danyal
 
Java IO Package and Streams
babak danyal
 
Swing and Graphical User Interface in Java
babak danyal
 
Tcp sockets
babak danyal
 
block ciphers and the des
babak danyal
 
key distribution in network security
babak danyal
 
Lecture10 Signal and Systems
babak danyal
 
Lecture8 Signal and Systems
babak danyal
 
Lecture7 Signal and Systems
babak danyal
 
Lecture6 Signal and Systems
babak danyal
 
Lecture5 Signal and Systems
babak danyal
 
Lecture4 Signal and Systems
babak danyal
 
Lecture3 Signal and Systems
babak danyal
 
Lecture2 Signal and Systems
babak danyal
 
Lecture1 Intro To Signa
babak danyal
 
Lecture9 Signal and Systems
babak danyal
 
Lecture9
babak danyal
 
Cns 13f-lec03- Classical Encryption Techniques
babak danyal
 
Classical Encryption Techniques in Network Security
babak danyal
 
Ad

Recently uploaded (20)

DOCX
Lesson 1 - Nature and Inquiry of Research
marvinnbustamante1
 
PPTX
Elo the Hero is an story about a young boy who became hero.
TeacherEmily1
 
PPTX
How to Add a Custom Button in Odoo 18 POS Screen
Celine George
 
PDF
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
PDF
COM and NET Component Services 1st Edition Juval Löwy
kboqcyuw976
 
PPTX
How to Setup Automatic Reordering Rule in Odoo 18 Inventory
Celine George
 
PPTX
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
PPTX
Life and Career Skills Lesson 2.pptxProtective and Risk Factors of Late Adole...
ryangabrielcatalon40
 
PDF
Genomics Proteomics and Vaccines 1st Edition Guido Grandi (Editor)
kboqcyuw976
 
PPTX
PLANNING A HOSPITAL AND NURSING UNIT.pptx
PRADEEP ABOTHU
 
PDF
Quiz Night Live May 2025 - Intra Pragya Online General Quiz
Pragya - UEM Kolkata Quiz Club
 
PPTX
How to Configure Taxes in Company Currency in Odoo 18 Accounting
Celine George
 
PPTX
ENGLISH 8 REVISED K-12 CURRICULUM QUARTER 1 WEEK 1
LeomarrYsraelArzadon
 
PDF
Andreas Schleicher_Teaching Compass_Education 2040.pdf
EduSkills OECD
 
PDF
AI-assisted IP-Design lecture from the MIPLM 2025
MIPLM
 
PDF
Our Guide to the July 2025 USPS® Rate Change
Postal Advocate Inc.
 
PPTX
How to Create & Manage Stages in Odoo 18 Helpdesk
Celine George
 
PDF
CAD25 Gbadago and Fafa Presentation Revised-Aston Business School, UK.pdf
Kweku Zurek
 
PDF
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
PDF
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.06.25.pdf
TechSoup
 
Lesson 1 - Nature and Inquiry of Research
marvinnbustamante1
 
Elo the Hero is an story about a young boy who became hero.
TeacherEmily1
 
How to Add a Custom Button in Odoo 18 POS Screen
Celine George
 
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
COM and NET Component Services 1st Edition Juval Löwy
kboqcyuw976
 
How to Setup Automatic Reordering Rule in Odoo 18 Inventory
Celine George
 
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
Life and Career Skills Lesson 2.pptxProtective and Risk Factors of Late Adole...
ryangabrielcatalon40
 
Genomics Proteomics and Vaccines 1st Edition Guido Grandi (Editor)
kboqcyuw976
 
PLANNING A HOSPITAL AND NURSING UNIT.pptx
PRADEEP ABOTHU
 
Quiz Night Live May 2025 - Intra Pragya Online General Quiz
Pragya - UEM Kolkata Quiz Club
 
How to Configure Taxes in Company Currency in Odoo 18 Accounting
Celine George
 
ENGLISH 8 REVISED K-12 CURRICULUM QUARTER 1 WEEK 1
LeomarrYsraelArzadon
 
Andreas Schleicher_Teaching Compass_Education 2040.pdf
EduSkills OECD
 
AI-assisted IP-Design lecture from the MIPLM 2025
MIPLM
 
Our Guide to the July 2025 USPS® Rate Change
Postal Advocate Inc.
 
How to Create & Manage Stages in Odoo 18 Helpdesk
Celine George
 
CAD25 Gbadago and Fafa Presentation Revised-Aston Business School, UK.pdf
Kweku Zurek
 
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.06.25.pdf
TechSoup
 

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