SlideShare a Scribd company logo
2- Frequency Filtering
Aly Abdelkareem
Image Filters
Time to
Frequency
Domain
Transform (Spatial to
Frequency )
• Fourier Transform
• It allows a frequency content
(spectral) analysis of a signal.
• FT is suitable for periodic signals.
• If the signal is not periodic then the
Windowed FT or the linear integral
transformation with time (spatially
in 2D) localized basis function, e.g.,
wavelets, Gabor filters can be used
Any Function can be “Odd + Even” parts
FT Examples
Discrete
Fourier
Transform
(1D)
DFT (2D)
Low pass
filter vs High
pass filter
Resources DFT
• http://people.ciirc.cvut.cz/~hlavac/TeachPr
esEn/11ImageProc/12FourierTxEn.pdf
• http://madebyevan.com/dft/?fbclid=IwAR1
wTWCGeYO-
jymhSkPG6f883xEJbnpLmFtDOyZCvcQZXOV
swO8E5G6Cj0Y
Sheet 2 – Frequency Filters
Uniform pattern
Noisy with
random freq
Cosine Diagonally
LPF -> Radius decrease (more blur )
HPF -> Remove low frequency
Ideal High passLow pass Band pass
• The main cause of ringing artifacts is due to a signal passed
through a low-pass filter; this is the frequency domain
description.
• In terms of the time domain, the cause of this type of
ringing is the ripples in the sinc function which is the
impulse response (time domain representation) of a perfect
low-pass filter.
Ideal Loss pass filter
• It suppresses all frequencies higher than the cut-off frequency D0
• Ringing As mentioned earlier, multiplication in the Fourier domain corresponds to
a convolution in the spatial domain. Due to the multiple peaks of the ideal filter in
the spatial domain, the filtered image produces ringing along intensity edges in
the spatial domain.
Bonus:
How to avoid
ringing effect
?
Avoid Ringing Effect
• Butterworth filter: The
Butterworth filter is a type
of signal processing filter
designed to have as flat
frequency response as
possible (no ripples) in
the pass-band.
Digital Image Processing - Frequency Filters
Q-5)a
Q-5)b
• Another Solution form
• Because of the cosine terms, this filter has a gain of +1 at
the center or zero frequency, a gain of zero at u = v = N/4,
and a gain of -1 at u = v = N/2.
• N/2 is the maximum valid frequency for an N x N image.
Since the gain decreases with increasing frequency, the
filter is a low pass filter
Quiz 1 out of 5
Pop Quiz (1) Model A
• Q1 (2 marks )
• A)Answer each of the following questions with true or false and justify your choice
(include neat diagrams if needed):
1. The optimal way to remove Salt only noise is to use median filter.
2. Butterworth filter can be used to avoid ringing effect.
Digital Image Processing - Frequency Filters
Solution 1
• Q1 (2 marks )
1. The optimal way to remove Salt
only noise is to use median filter.
1. False, Min Filter
2. Butterworth filter can be used to
avoid ringing effect.
1. True
Pop Quiz (1) Model B
• Q1 (2 marks ) Answer each of the following questions with true or false and
justify your choice (include neat diagrams if needed):
1. The optimal way to remove pepper-only noise is to use minimum filter.
2. Ideal low pass filter is used to avoid ringing effect.
Q2 (2 marks )
Solution 1)
1. The optimal way to remove pepper-only noise is to use minimum filter.
• False -> Max Filter
2. Ideal low pass filter is used to avoid ringing effect
• False -> it causes ringing effect
• the cause of this type of ringing is the ripples in the sinc function which is the
impulse response (time domain representation) of a perfect low-pass filter.
Solution (2)

More Related Content

PPTX
Image Filtering in the Frequency Domain
PDF
Lecture 14 Properties of Fourier Transform for 2D Signal
PPTX
Image Restoration (Frequency Domain Filters):Basics
PPTX
Implementation and comparison of Low pass filters in Frequency domain
PPT
Image trnsformations
PPT
Enhancement in frequency domain
PPTX
Digital Image Processing
PPSX
Edge Detection and Segmentation
Image Filtering in the Frequency Domain
Lecture 14 Properties of Fourier Transform for 2D Signal
Image Restoration (Frequency Domain Filters):Basics
Implementation and comparison of Low pass filters in Frequency domain
Image trnsformations
Enhancement in frequency domain
Digital Image Processing
Edge Detection and Segmentation

What's hot (20)

PPT
08 frequency domain filtering DIP
PPTX
Introduction to wavelet transform
PPTX
Image Enhancement using Frequency Domain Filters
PPTX
HSI MODEL IN COLOR IMAGE PROCESSING
PPTX
Convolution&Correlation
PPT
Sharpening using frequency Domain Filter
PPTX
Noise filtering
PDF
03 image transform
PPT
6.frequency domain image_processing
PPTX
Histogram Equalization
PDF
Image Restoration (Digital Image Processing)
PPTX
Histogram Processing
PPTX
Spatial Filters (Digital Image Processing)
PPT
Chapter10 image segmentation
PPT
Fir and iir filter_design
PPTX
Hough Transform By Md.Nazmul Islam
PPT
Spatial filtering
PPTX
NYQUIST CRITERION FOR ZERO ISI
PDF
Design of FIR filters
08 frequency domain filtering DIP
Introduction to wavelet transform
Image Enhancement using Frequency Domain Filters
HSI MODEL IN COLOR IMAGE PROCESSING
Convolution&Correlation
Sharpening using frequency Domain Filter
Noise filtering
03 image transform
6.frequency domain image_processing
Histogram Equalization
Image Restoration (Digital Image Processing)
Histogram Processing
Spatial Filters (Digital Image Processing)
Chapter10 image segmentation
Fir and iir filter_design
Hough Transform By Md.Nazmul Islam
Spatial filtering
NYQUIST CRITERION FOR ZERO ISI
Design of FIR filters
Ad

Similar to Digital Image Processing - Frequency Filters (20)

PPTX
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
PPT
Digital Image Processing Restoration UNIT-3.ppt
PDF
PPT s05-machine vision-s2
PPT
Image processing7 frequencyfiltering
PDF
Lec_4_Frequency Domain Filtering-I.pdf
PDF
Chapter 3 Image Enhancement in Frequency Domain.pdf
PPTX
low pass filter power point presentation
PPT
Frequency Domain Filtering 1.ppt
PPTX
SignalDecompositionTheory.pptx
PPTX
Image Smoothing using Frequency Domain Filters
PPT
Unit1 image transform
PPTX
Signal Filtering
PPTX
Vibration signal filtering
PDF
Solution Manual for Introduction to Digital Signal Processing, 1st Edition, D...
PDF
Solution Manual for Introduction to Digital Signal Processing, 1st Edition, D...
PDF
Filters two design_with_matlab
PPT
CSE6366_11(enhancement in frequency domain 2).ppt
PDF
Frequency Domain Filtering of Digital Images
PDF
Frequency Image Processing
PPTX
Image processing 2
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
Digital Image Processing Restoration UNIT-3.ppt
PPT s05-machine vision-s2
Image processing7 frequencyfiltering
Lec_4_Frequency Domain Filtering-I.pdf
Chapter 3 Image Enhancement in Frequency Domain.pdf
low pass filter power point presentation
Frequency Domain Filtering 1.ppt
SignalDecompositionTheory.pptx
Image Smoothing using Frequency Domain Filters
Unit1 image transform
Signal Filtering
Vibration signal filtering
Solution Manual for Introduction to Digital Signal Processing, 1st Edition, D...
Solution Manual for Introduction to Digital Signal Processing, 1st Edition, D...
Filters two design_with_matlab
CSE6366_11(enhancement in frequency domain 2).ppt
Frequency Domain Filtering of Digital Images
Frequency Image Processing
Image processing 2
Ad

More from Aly Abdelkareem (16)

PDF
An Inductive inference Machine
PPTX
Deep learning: Overfitting , underfitting, and regularization
PDF
Practical Digital Image Processing 5
PDF
Practical Digital Image Processing 4
PDF
Practical Digital Image Processing 3
PDF
Pattern recognition 4 - MLE
PDF
Practical Digital Image Processing 2
PDF
Practical Digital Image Processing 1
PDF
Machine Learning for Everyone
PDF
How to use deep learning on biological data
PDF
Deep Learning using Keras
PPTX
Object extraction from satellite imagery using deep learning
PDF
Pattern recognition Tutorial 2
PDF
Android Udacity Study group 1
PDF
Java for android developers
PDF
Introduction to Android Development
An Inductive inference Machine
Deep learning: Overfitting , underfitting, and regularization
Practical Digital Image Processing 5
Practical Digital Image Processing 4
Practical Digital Image Processing 3
Pattern recognition 4 - MLE
Practical Digital Image Processing 2
Practical Digital Image Processing 1
Machine Learning for Everyone
How to use deep learning on biological data
Deep Learning using Keras
Object extraction from satellite imagery using deep learning
Pattern recognition Tutorial 2
Android Udacity Study group 1
Java for android developers
Introduction to Android Development

Recently uploaded (20)

PDF
Well-logging-methods_new................
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
composite construction of structures.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
additive manufacturing of ss316l using mig welding
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
web development for engineering and engineering
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
PPT on Performance Review to get promotions
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Well-logging-methods_new................
Operating System & Kernel Study Guide-1 - converted.pdf
composite construction of structures.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
additive manufacturing of ss316l using mig welding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
web development for engineering and engineering
Mechanical Engineering MATERIALS Selection
Internet of Things (IOT) - A guide to understanding
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
UNIT-1 - COAL BASED THERMAL POWER PLANTS
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
bas. eng. economics group 4 presentation 1.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT on Performance Review to get promotions
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
R24 SURVEYING LAB MANUAL for civil enggi
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...

Digital Image Processing - Frequency Filters

  • 4. Transform (Spatial to Frequency ) • Fourier Transform • It allows a frequency content (spectral) analysis of a signal. • FT is suitable for periodic signals. • If the signal is not periodic then the Windowed FT or the linear integral transformation with time (spatially in 2D) localized basis function, e.g., wavelets, Gabor filters can be used
  • 5. Any Function can be “Odd + Even” parts
  • 9. Low pass filter vs High pass filter
  • 10. Resources DFT • http://people.ciirc.cvut.cz/~hlavac/TeachPr esEn/11ImageProc/12FourierTxEn.pdf • http://madebyevan.com/dft/?fbclid=IwAR1 wTWCGeYO- jymhSkPG6f883xEJbnpLmFtDOyZCvcQZXOV swO8E5G6Cj0Y
  • 11. Sheet 2 – Frequency Filters
  • 12. Uniform pattern Noisy with random freq Cosine Diagonally
  • 13. LPF -> Radius decrease (more blur ) HPF -> Remove low frequency
  • 14. Ideal High passLow pass Band pass
  • 15. • The main cause of ringing artifacts is due to a signal passed through a low-pass filter; this is the frequency domain description. • In terms of the time domain, the cause of this type of ringing is the ripples in the sinc function which is the impulse response (time domain representation) of a perfect low-pass filter.
  • 16. Ideal Loss pass filter • It suppresses all frequencies higher than the cut-off frequency D0 • Ringing As mentioned earlier, multiplication in the Fourier domain corresponds to a convolution in the spatial domain. Due to the multiple peaks of the ideal filter in the spatial domain, the filtered image produces ringing along intensity edges in the spatial domain.
  • 18. Avoid Ringing Effect • Butterworth filter: The Butterworth filter is a type of signal processing filter designed to have as flat frequency response as possible (no ripples) in the pass-band.
  • 20. Q-5)a
  • 21. Q-5)b • Another Solution form • Because of the cosine terms, this filter has a gain of +1 at the center or zero frequency, a gain of zero at u = v = N/4, and a gain of -1 at u = v = N/2. • N/2 is the maximum valid frequency for an N x N image. Since the gain decreases with increasing frequency, the filter is a low pass filter
  • 22. Quiz 1 out of 5
  • 23. Pop Quiz (1) Model A • Q1 (2 marks ) • A)Answer each of the following questions with true or false and justify your choice (include neat diagrams if needed): 1. The optimal way to remove Salt only noise is to use median filter. 2. Butterworth filter can be used to avoid ringing effect.
  • 25. Solution 1 • Q1 (2 marks ) 1. The optimal way to remove Salt only noise is to use median filter. 1. False, Min Filter 2. Butterworth filter can be used to avoid ringing effect. 1. True
  • 26. Pop Quiz (1) Model B • Q1 (2 marks ) Answer each of the following questions with true or false and justify your choice (include neat diagrams if needed): 1. The optimal way to remove pepper-only noise is to use minimum filter. 2. Ideal low pass filter is used to avoid ringing effect. Q2 (2 marks )
  • 27. Solution 1) 1. The optimal way to remove pepper-only noise is to use minimum filter. • False -> Max Filter 2. Ideal low pass filter is used to avoid ringing effect • False -> it causes ringing effect • the cause of this type of ringing is the ripples in the sinc function which is the impulse response (time domain representation) of a perfect low-pass filter.