SlideShare a Scribd company logo
Unit 4
Image Restoration
Frequency Domain Filters
(Part III)
Kalyan Acharjya
Jaipur National University, Jaipur
1
Lecture by Kalyan Acharjya
Lecture by Kalyan Acharjya
2
Disclaimer
All images/contents used in this presentation
are copyright of original owner. This PPT is
use for academic purpose only.
Filter
 Filter: A device or material for suppression or
minimizing waves or oscillations of certain
frequencies
 Frequency: The number of times that a periodic
function repeats the same sequence of values
during a unit variation of the independent
variable.
 Filters are classified as (Frequency Domain):
(1) Low-pass (2) High-pass
(3) Band-pass (4) Band-stop ….many more
3
Lecture by Kalyan Acharjya
Filters Types
Original signal
Low-pass filtered
High-pass filtered
Band-pass filtered
Band-stop filtered
4
Lecture by Kalyan Acharjya
Image Restoration?
 Objective: To restore a degraded/distorted image to its original content
and quality.
 Spatial Domain: g(x,y)=h(x,y)*f(x,y)+ ŋ(x,y)
 Frequency Domain: G(u,v)=H(u,v)F(u,v)+ ŋ(u,v)
 Matrix: G=HF+ŋ
Degradation
Function h
Restoration
Filters
g(x,y)
f(x,y)
ŋ(x,y)
f(x,y)
^
Degradation Restoration
5
Lecture by Kalyan Acharjya
Low-Pass Filters (Smoothing filters)
 Preserve Low Frequencies-Useful For Noise Suppression
Frequency Domain Time Domain
Example:
6
Lecture by Kalyan Acharjya
High-Pass Filters (Sharpening Filters)
 Preserves High Frequencies - Useful for Edge Detection
Frequency Domain Time Domain
Example:
7
Lecture by Kalyan Acharjya
Band-Pass and Band Stop Filters
 Preserves Frequencies Within a Certain Band
Frequency Domain Time Domain
Example:
Band Stop/ Reject
8
Lecture by Kalyan Acharjya
Lecture by Kalyan Acharjya
9
Correction:
Before Integration
1/2pi
Image Processing and Fourier Transform
Lecture by Kalyan Acharjya
10
Input
Image
Fourier
Transform
Do
Operations
Inverse
Fourier
Transform
Fourier Transform:
Inverse Fourier Transform
Fourier Transform
Lecture by Kalyan Acharjya
11
Fourier Spectrum
Lecture by Kalyan Acharjya
12
Percentage of image power enclosed in circles (Small to
Large): 90, 95, 98, 99, 99.5, 99.9
Fourier Transform
Lecture by Kalyan Acharjya
13
f(x,y) F(u,v)
H(u,v)g(x,y)
G(u,v)=F(u,v) • H(u,v)g(x,y) =f(x,y) * h(x,y)
Ideal Low Pass Filters
Lecture by Kalyan Acharjya
14
u
v
H(u,v)
0 D0
1
D(u,v)
H(u,v)
H(u,v) =
1 D(u,v)  D0
0 D(u,v) > D0
D(u,v) =  u2 + v2
D0 = cut off frequency
Blurring-Ideal Low Pass Filter
98.65%
99.37%
99.7%
15Lecture by Kalyan Acharjya
Image Sharpening - High Pass Filter
H(u,v) - Ideal Filter
H(u,v) =
0 D(u,v)  D0
1 D(u,v) > D0
D(u,v) =  u2 + v2
D0 = cut off frequency
0 D0
1
D(u,v)
H(u,v)
u
v
H(u,v)
16Lecture by Kalyan Acharjya
H(u,v)
D(u,v)0 D0
1
D(u,v) =  u2 + v2
High Pass Gaussian Filter
u
v
H(u,v)
H(u,v) = 1 - e
-D2(u,v)/(2D2
0)
e/11 
17Lecture by Kalyan Acharjya
High Pass Filtering - Example
Original High pass Emphasis
High Frequency Emphasis + Histogram Equalization
18Lecture by Kalyan Acharjya
Band Pass Filtering
H(u,v) = 1 D0-  D(u,v)  D0 +
0 D(u,v) > D0 +
D(u,v) =  u2 + v2
D0 = cut off frequency
u
v
H(u,v)
0
1
D(u,v)
H(u,v)
D0- w
2 D0+ w
2D0
0 D(u,v)  D0 -w
2
w
2
w
2
w
2
w = band width
19Lecture by Kalyan Acharjya
Band Reject Filters
 Removing periodic noise form an image involves removing a particular range of
frequencies from that image.
 Band reject filters can be used for this purpose.
 An ideal band reject filter is given as follows:












2
),(1
2
),(
2
0
2
),(1
),(
0
00
0
W
DvuDif
W
DvuD
W
Dif
W
DvuDif
vuH
20
Lecture by Kalyan Acharjya
Band Reject Filters contd..
 The ideal band reject filter is shown below, along with Butterworth
and Gaussian versions of the filter.
Ideal Band
Reject Filter
Butterworth
Band Reject
Filter (of order 1)
Gaussian
Band Reject
Filter
21
Lecture by Kalyan Acharjya
Result of Band Reject Filter
Fig: Corrupted by Sinusoidal Noise Fig: Fourier spectrum of Corrupted Image
Fig: Butterworth Band Reject Filter Fig :Filtered image
22
Lecture by Kalyan Acharjya
Adaptive Filters
23
Lecture by Kalyan Acharjya
24
Lecture by Kalyan Acharjya
Adaptive Median Filter
25
Lecture by Kalyan Acharjya
Algorithm
Objectives:
Remove salt and
pepper (Impulse)
noise
Provide smoothing
Reduce distortion,
such as excessive
thinning or
thickening of object
boundaries
26
Lecture by Kalyan Acharjya
Results
27
Lecture by Kalyan Acharjya
Band Pass Filters
),(1),( vuHvuH brbp 
28
Lecture by Kalyan Acharjya
Notch Filter
Lecture by Kalyan Acharjya
29
Are used to remove repetitive "Spectral" noise
from an image.
Are like a narrow High pass filter, but they
"notch" out frequencies other than the dc
component.
Attenuate a selected frequency (and some of
its neighbors) and leave other frequencies of
the Fourier transform relatively unchanged.
Notch Filters
 Notch filters
 Ideal Notch Reject Filter


 

otherwise1
Dv)(u,DorDv)(u,Dif0
),( 0201
vuH
  2/12
0
2
01 )2/()2/(),( vNvuMuvuD 
  2/12
0
2
02 )2/()2/(),( vNvuMuvuD 
30
Lecture by Kalyan Acharjya
Notch Filters
 Butterworth Notch Reject Filter of order n
 Gaussian notch reject filter
n
vuDvuD
D
vuH








),(),(
1
1
),(
21
2
0










2
0
21 ),(),(
2
1
1),(
D
vuDvuD
evuH
31
Lecture by Kalyan Acharjya
32
Lecture by Kalyan Acharjya
Notch Filter Result
33
Lecture by Kalyan Acharjya
Thank You!
Any Question Please?
kalyan5.blogspot.in
34Lecture by Kalyan Acharjya

More Related Content

PPTX
Image Restoration (Order Statistics Filters)
PDF
Frequency Domain FIltering.pdf
PPT
Chapter 5
PPT
PPTX
Unit3 dip
PDF
Digital Image Processing - Image Enhancement
PPT
Sharpening using frequency Domain Filter
PPTX
Image Smoothing using Frequency Domain Filters
Image Restoration (Order Statistics Filters)
Frequency Domain FIltering.pdf
Chapter 5
Unit3 dip
Digital Image Processing - Image Enhancement
Sharpening using frequency Domain Filter
Image Smoothing using Frequency Domain Filters

What's hot (20)

PPTX
Image Filtering in the Frequency Domain
PPTX
HSI MODEL IN COLOR IMAGE PROCESSING
PPT
Spatial filtering
PPTX
Digital Image Processing
PPSX
Edge Detection and Segmentation
PPTX
Image Enhancement using Frequency Domain Filters
PPTX
Spatial Filters (Digital Image Processing)
PDF
Digital Image Fundamentals
PPT
Image segmentation
PDF
Wiener Filter
PDF
Image Restoration (Digital Image Processing)
PPTX
Digital Image restoration
PPSX
Image Enhancement in Spatial Domain
PPTX
Color Image Processing
PDF
Digital Image Processing - Image Compression
PPTX
Texture,pattern and pattern classes
PPT
ImageProcessing10-Segmentation(Thresholding) (1).ppt
PPTX
Region based segmentation
Image Filtering in the Frequency Domain
HSI MODEL IN COLOR IMAGE PROCESSING
Spatial filtering
Digital Image Processing
Edge Detection and Segmentation
Image Enhancement using Frequency Domain Filters
Spatial Filters (Digital Image Processing)
Digital Image Fundamentals
Image segmentation
Wiener Filter
Image Restoration (Digital Image Processing)
Digital Image restoration
Image Enhancement in Spatial Domain
Color Image Processing
Digital Image Processing - Image Compression
Texture,pattern and pattern classes
ImageProcessing10-Segmentation(Thresholding) (1).ppt
Region based segmentation
Ad

Similar to Image Restoration (Frequency Domain Filters):Basics (20)

PDF
234456743edc.pdf
PPTX
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
PDF
13 fourierfiltrationen
PPTX
Module 3-DCT.pptxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...
PPTX
Image filtering in Digital image processing
PPT
Digital Image Processing Restoration UNIT-3.ppt
PPT
Frequency Domain Filtering 1.ppt
PPTX
Image Restoration ppt unit III for III years.pptx
PPT
08 frequency domain filtering DIP
PPTX
Image processing 2
PPT
Image processing7 frequencyfiltering
PPT
Unit1 image transform
PPT
notes_Image Enhancement in Frequency Domain(2).ppt
PPTX
Filtering an image is to apply a convolution
PPTX
Module 31
PPT
notes_Image Enhancement in Frequency Domain(2).ppt
PPTX
Frequency-Domain-Filtering Frequency-Domain-Filtering
PPTX
lec06-resampling2.pptx
PDF
Paper id 24201427
PDF
An Adaptive Two-level Filtering Technique for Noise Lines in Video Images
234456743edc.pdf
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
13 fourierfiltrationen
Module 3-DCT.pptxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...
Image filtering in Digital image processing
Digital Image Processing Restoration UNIT-3.ppt
Frequency Domain Filtering 1.ppt
Image Restoration ppt unit III for III years.pptx
08 frequency domain filtering DIP
Image processing 2
Image processing7 frequencyfiltering
Unit1 image transform
notes_Image Enhancement in Frequency Domain(2).ppt
Filtering an image is to apply a convolution
Module 31
notes_Image Enhancement in Frequency Domain(2).ppt
Frequency-Domain-Filtering Frequency-Domain-Filtering
lec06-resampling2.pptx
Paper id 24201427
An Adaptive Two-level Filtering Technique for Noise Lines in Video Images
Ad

More from Kalyan Acharjya (20)

PPTX
Introduction to Image Compression
PPTX
Introduction to Image Compression
PPTX
Histogram Specification or Matching Problem
PPTX
Histogram Equalization
PPTX
Digital Image Fundamentals
PPTX
Fundamental Steps of Digital Image Processing & Image Components
PPTX
Introduction to Image Processing:Image Modalities
PDF
Electron Microscopy (SEM & TEM)
PPTX
Stick Diagram
PPTX
Hypothesis Testing
PPT
Photodetector (Photodiode)
PDF
Fiber fabrication
PDF
Fiber End Preparations & Splicing
PDF
Connector losses Optical Fiber Cable
PDF
Introduction to VLSI Design
PDF
Guidlines for ppt Design
PDF
B.Tech Seminar schedule dates 8 EC B2 2016
PDF
Face recognition Face Identification
PDF
Internship Presentation B.Tech Communication Networks
PDF
Research Methodology and Research Design
Introduction to Image Compression
Introduction to Image Compression
Histogram Specification or Matching Problem
Histogram Equalization
Digital Image Fundamentals
Fundamental Steps of Digital Image Processing & Image Components
Introduction to Image Processing:Image Modalities
Electron Microscopy (SEM & TEM)
Stick Diagram
Hypothesis Testing
Photodetector (Photodiode)
Fiber fabrication
Fiber End Preparations & Splicing
Connector losses Optical Fiber Cable
Introduction to VLSI Design
Guidlines for ppt Design
B.Tech Seminar schedule dates 8 EC B2 2016
Face recognition Face Identification
Internship Presentation B.Tech Communication Networks
Research Methodology and Research Design

Recently uploaded (20)

DOCX
573137875-Attendance-Management-System-original
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Digital Logic Computer Design lecture notes
PDF
PPT on Performance Review to get promotions
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Geodesy 1.pptx...............................................
PDF
Well-logging-methods_new................
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Construction Project Organization Group 2.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
573137875-Attendance-Management-System-original
bas. eng. economics group 4 presentation 1.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Embodied AI: Ushering in the Next Era of Intelligent Systems
Digital Logic Computer Design lecture notes
PPT on Performance Review to get promotions
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
R24 SURVEYING LAB MANUAL for civil enggi
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
OOP with Java - Java Introduction (Basics)
CYBER-CRIMES AND SECURITY A guide to understanding
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Geodesy 1.pptx...............................................
Well-logging-methods_new................
Internet of Things (IOT) - A guide to understanding
Construction Project Organization Group 2.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...

Image Restoration (Frequency Domain Filters):Basics

  • 1. Unit 4 Image Restoration Frequency Domain Filters (Part III) Kalyan Acharjya Jaipur National University, Jaipur 1 Lecture by Kalyan Acharjya
  • 2. Lecture by Kalyan Acharjya 2 Disclaimer All images/contents used in this presentation are copyright of original owner. This PPT is use for academic purpose only.
  • 3. Filter  Filter: A device or material for suppression or minimizing waves or oscillations of certain frequencies  Frequency: The number of times that a periodic function repeats the same sequence of values during a unit variation of the independent variable.  Filters are classified as (Frequency Domain): (1) Low-pass (2) High-pass (3) Band-pass (4) Band-stop ….many more 3 Lecture by Kalyan Acharjya
  • 4. Filters Types Original signal Low-pass filtered High-pass filtered Band-pass filtered Band-stop filtered 4 Lecture by Kalyan Acharjya
  • 5. Image Restoration?  Objective: To restore a degraded/distorted image to its original content and quality.  Spatial Domain: g(x,y)=h(x,y)*f(x,y)+ ŋ(x,y)  Frequency Domain: G(u,v)=H(u,v)F(u,v)+ ŋ(u,v)  Matrix: G=HF+ŋ Degradation Function h Restoration Filters g(x,y) f(x,y) ŋ(x,y) f(x,y) ^ Degradation Restoration 5 Lecture by Kalyan Acharjya
  • 6. Low-Pass Filters (Smoothing filters)  Preserve Low Frequencies-Useful For Noise Suppression Frequency Domain Time Domain Example: 6 Lecture by Kalyan Acharjya
  • 7. High-Pass Filters (Sharpening Filters)  Preserves High Frequencies - Useful for Edge Detection Frequency Domain Time Domain Example: 7 Lecture by Kalyan Acharjya
  • 8. Band-Pass and Band Stop Filters  Preserves Frequencies Within a Certain Band Frequency Domain Time Domain Example: Band Stop/ Reject 8 Lecture by Kalyan Acharjya
  • 9. Lecture by Kalyan Acharjya 9 Correction: Before Integration 1/2pi
  • 10. Image Processing and Fourier Transform Lecture by Kalyan Acharjya 10 Input Image Fourier Transform Do Operations Inverse Fourier Transform Fourier Transform: Inverse Fourier Transform
  • 11. Fourier Transform Lecture by Kalyan Acharjya 11
  • 12. Fourier Spectrum Lecture by Kalyan Acharjya 12 Percentage of image power enclosed in circles (Small to Large): 90, 95, 98, 99, 99.5, 99.9
  • 13. Fourier Transform Lecture by Kalyan Acharjya 13 f(x,y) F(u,v) H(u,v)g(x,y) G(u,v)=F(u,v) • H(u,v)g(x,y) =f(x,y) * h(x,y)
  • 14. Ideal Low Pass Filters Lecture by Kalyan Acharjya 14 u v H(u,v) 0 D0 1 D(u,v) H(u,v) H(u,v) = 1 D(u,v)  D0 0 D(u,v) > D0 D(u,v) =  u2 + v2 D0 = cut off frequency
  • 15. Blurring-Ideal Low Pass Filter 98.65% 99.37% 99.7% 15Lecture by Kalyan Acharjya
  • 16. Image Sharpening - High Pass Filter H(u,v) - Ideal Filter H(u,v) = 0 D(u,v)  D0 1 D(u,v) > D0 D(u,v) =  u2 + v2 D0 = cut off frequency 0 D0 1 D(u,v) H(u,v) u v H(u,v) 16Lecture by Kalyan Acharjya
  • 17. H(u,v) D(u,v)0 D0 1 D(u,v) =  u2 + v2 High Pass Gaussian Filter u v H(u,v) H(u,v) = 1 - e -D2(u,v)/(2D2 0) e/11  17Lecture by Kalyan Acharjya
  • 18. High Pass Filtering - Example Original High pass Emphasis High Frequency Emphasis + Histogram Equalization 18Lecture by Kalyan Acharjya
  • 19. Band Pass Filtering H(u,v) = 1 D0-  D(u,v)  D0 + 0 D(u,v) > D0 + D(u,v) =  u2 + v2 D0 = cut off frequency u v H(u,v) 0 1 D(u,v) H(u,v) D0- w 2 D0+ w 2D0 0 D(u,v)  D0 -w 2 w 2 w 2 w 2 w = band width 19Lecture by Kalyan Acharjya
  • 20. Band Reject Filters  Removing periodic noise form an image involves removing a particular range of frequencies from that image.  Band reject filters can be used for this purpose.  An ideal band reject filter is given as follows:             2 ),(1 2 ),( 2 0 2 ),(1 ),( 0 00 0 W DvuDif W DvuD W Dif W DvuDif vuH 20 Lecture by Kalyan Acharjya
  • 21. Band Reject Filters contd..  The ideal band reject filter is shown below, along with Butterworth and Gaussian versions of the filter. Ideal Band Reject Filter Butterworth Band Reject Filter (of order 1) Gaussian Band Reject Filter 21 Lecture by Kalyan Acharjya
  • 22. Result of Band Reject Filter Fig: Corrupted by Sinusoidal Noise Fig: Fourier spectrum of Corrupted Image Fig: Butterworth Band Reject Filter Fig :Filtered image 22 Lecture by Kalyan Acharjya
  • 25. Adaptive Median Filter 25 Lecture by Kalyan Acharjya
  • 26. Algorithm Objectives: Remove salt and pepper (Impulse) noise Provide smoothing Reduce distortion, such as excessive thinning or thickening of object boundaries 26 Lecture by Kalyan Acharjya
  • 28. Band Pass Filters ),(1),( vuHvuH brbp  28 Lecture by Kalyan Acharjya
  • 29. Notch Filter Lecture by Kalyan Acharjya 29 Are used to remove repetitive "Spectral" noise from an image. Are like a narrow High pass filter, but they "notch" out frequencies other than the dc component. Attenuate a selected frequency (and some of its neighbors) and leave other frequencies of the Fourier transform relatively unchanged.
  • 30. Notch Filters  Notch filters  Ideal Notch Reject Filter      otherwise1 Dv)(u,DorDv)(u,Dif0 ),( 0201 vuH   2/12 0 2 01 )2/()2/(),( vNvuMuvuD    2/12 0 2 02 )2/()2/(),( vNvuMuvuD  30 Lecture by Kalyan Acharjya
  • 31. Notch Filters  Butterworth Notch Reject Filter of order n  Gaussian notch reject filter n vuDvuD D vuH         ),(),( 1 1 ),( 21 2 0           2 0 21 ),(),( 2 1 1),( D vuDvuD evuH 31 Lecture by Kalyan Acharjya
  • 33. Notch Filter Result 33 Lecture by Kalyan Acharjya
  • 34. Thank You! Any Question Please? kalyan5.blogspot.in 34Lecture by Kalyan Acharjya