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

What's hot

Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
Diwaker Pant
ย 

What's hot (20)

Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
ย 
Image segmentation
Image segmentation Image segmentation
Image segmentation
ย 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
ย 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
ย 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
ย 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
ย 
Chapter 5
Chapter 5Chapter 5
Chapter 5
ย 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
ย 
08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIP
ย 
Histogram processing
Histogram processingHistogram processing
Histogram processing
ย 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
ย 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
ย 
Digital Image Processing: Image Restoration
Digital Image Processing: Image RestorationDigital Image Processing: Image Restoration
Digital Image Processing: Image Restoration
ย 
Image Restoration And Reconstruction
Image Restoration And ReconstructionImage Restoration And Reconstruction
Image Restoration And Reconstruction
ย 
Wiener Filter
Wiener FilterWiener Filter
Wiener Filter
ย 
Digital image processing
Digital image processing  Digital image processing
Digital image processing
ย 
Image degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafImage degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem Ashraf
ย 
Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filters
ย 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
ย 
Noise Models
Noise ModelsNoise Models
Noise Models
ย 

Similar to Image Restoration (Frequency Domain Filters):Basics

234456743edc.pdf
234456743edc.pdf234456743edc.pdf
234456743edc.pdf
SukainaShukur1
ย 
Unit3 dip
Unit3 dipUnit3 dip
Unit3 dip
Imran Khan
ย 
Spatial filtering
Spatial filteringSpatial filtering
Spatial filtering
DeepikaT13
ย 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
Ashish Kumar
ย 
DIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptxDIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptx
1DA20CS085Nithyashre
ย 

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

234456743edc.pdf
234456743edc.pdf234456743edc.pdf
234456743edc.pdf
ย 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)
ย 
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
ย 
Frequency Domain Filtering 1.ppt
 Frequency Domain Filtering 1.ppt Frequency Domain Filtering 1.ppt
Frequency Domain Filtering 1.ppt
ย 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
ย 
Image restoration1
Image restoration1Image restoration1
Image restoration1
ย 
Frequency Domain FIltering.pdf
Frequency Domain FIltering.pdfFrequency Domain FIltering.pdf
Frequency Domain FIltering.pdf
ย 
Unit3 dip
Unit3 dipUnit3 dip
Unit3 dip
ย 
Lecture 10
Lecture 10Lecture 10
Lecture 10
ย 
Image_filtering (1).pptx
Image_filtering (1).pptxImage_filtering (1).pptx
Image_filtering (1).pptx
ย 
image restoration.ppt
image restoration.pptimage restoration.ppt
image restoration.ppt
ย 
Spatial filtering
Spatial filteringSpatial filtering
Spatial filtering
ย 
13 fourierfiltrationen
13 fourierfiltrationen13 fourierfiltrationen
13 fourierfiltrationen
ย 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
ย 
Image processing 2
Image processing 2Image processing 2
Image processing 2
ย 
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
ย 
DIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptxDIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptx
ย 
Lecture 11
Lecture 11Lecture 11
Lecture 11
ย 
Lecture 6
Lecture 6Lecture 6
Lecture 6
ย 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processing
ย 

More from Kalyan Acharjya

More from Kalyan Acharjya (20)

Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
ย 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
ย 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)
ย 
Histogram Specification or Matching Problem
Histogram Specification or Matching ProblemHistogram Specification or Matching Problem
Histogram Specification or Matching Problem
ย 
Histogram Equalization
Histogram EqualizationHistogram Equalization
Histogram Equalization
ย 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
ย 
Fundamental Steps of Digital Image Processing & Image Components
Fundamental Steps of Digital Image Processing & Image ComponentsFundamental Steps of Digital Image Processing & Image Components
Fundamental Steps of Digital Image Processing & Image Components
ย 
Introduction to Image Processing:Image Modalities
Introduction to Image Processing:Image ModalitiesIntroduction to Image Processing:Image Modalities
Introduction to Image Processing:Image Modalities
ย 
Electron Microscopy (SEM & TEM)
Electron Microscopy (SEM & TEM)Electron Microscopy (SEM & TEM)
Electron Microscopy (SEM & TEM)
ย 
Stick Diagram
Stick DiagramStick Diagram
Stick Diagram
ย 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
ย 
Photodetector (Photodiode)
Photodetector (Photodiode)Photodetector (Photodiode)
Photodetector (Photodiode)
ย 
Fiber fabrication
Fiber fabricationFiber fabrication
Fiber fabrication
ย 
Fiber End Preparations & Splicing
Fiber End Preparations & SplicingFiber End Preparations & Splicing
Fiber End Preparations & Splicing
ย 
Connector losses Optical Fiber Cable
Connector losses Optical Fiber CableConnector losses Optical Fiber Cable
Connector losses Optical Fiber Cable
ย 
Introduction to VLSI Design
Introduction to VLSI DesignIntroduction to VLSI Design
Introduction to VLSI Design
ย 
Guidlines for ppt Design
Guidlines for ppt DesignGuidlines for ppt Design
Guidlines for ppt Design
ย 
B.Tech Seminar schedule dates 8 EC B2 2016
B.Tech Seminar schedule dates 8 EC B2 2016B.Tech Seminar schedule dates 8 EC B2 2016
B.Tech Seminar schedule dates 8 EC B2 2016
ย 
Face recognition Face Identification
Face recognition Face IdentificationFace recognition Face Identification
Face recognition Face Identification
ย 
Internship Presentation B.Tech Communication Networks
Internship Presentation B.Tech Communication NetworksInternship Presentation B.Tech Communication Networks
Internship Presentation B.Tech Communication Networks
ย 

Recently uploaded

VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
SUHANI PANDEY
ย 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
dharasingh5698
ย 
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 

Recently uploaded (20)

ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ย 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
ย 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
ย 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
ย 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
ย 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
ย 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
ย 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
ย 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
ย 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
ย 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
ย 
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
ย 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
ย 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
ย 
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
ย 

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