SlideShare a Scribd company logo
1 of 25
IMAGE SMOOTHING
USING FREQUENCY
DOMAIN FILTERS
By,
H. Suhaila Afzana
C. Surega
T. Vaitheeswari
1
CONTENTS
 Frequency Domain Filters
 Lowpass Filters
 Ideal Lowpass Filters
 Butterworth Lowpass Filters
 Gaussian Lowpass Filters
 Lowpass Filters – Comparison
 Lowpass Filtering Examples
2
FREQUENCY DOMAIN FILTERS
 Smoothing(blurring) is achieved in the frequency domain by high-
frequency attenuation; that is, by lowpass filtering.
 Here, we consider 3 types of lowpass filters:
 Ideal lowpass filters
 Butterworth lowpass filters
 Gaussian lowpass filters
 These three categories cover the range from very sharp(ideal), to
very smooth(Gaussian) filtering.
3
FREQUENCY DOMAIN FILTERS
 The Butterworth filter has a parameter called the filter order.
 For high order values, the Butterworth filter approaches the ideal
filter. For low order values, Butterworth filter is more like a Gaussian
filter.
 Thus, the Butterworth filter may be viewed as providing a transition
between two “extremes”.
4
LOWPASS FILTERS
 The most basic of filtering operations is called “lowpass”.
 A lowpass filter is also called a “blurring” or smoothing filter.
 The simplest lowpass filter just calculates the average of a pixel and
all of its eight immediate neighbours.
 Lowpass is also called as blurring mask.
5
IDEAL LOWPASS FILTERS
 A 2-D lowpass filter that passes without attenuation all frequencies
within a circle of radius D0 from the origin and “cuts off” all
frequencies outside this circle is called an ideal lowpass filter(ILPF); it
is specified by the function:






0
0
),(if0
),(if1
),(
DvuD
DvuD
vuH
6
IDEAL LOWPASS FILTERS
 D0 is a positive constant and D(u,v) is the distance between a point
(u,v) in the frequency domain and the center of the frequency
rectangle; that is,
2/122
])2/()2/[(),( QvPuvuD 
7
IDEAL LOWPASS FILTERS
 The ideal lowpass filter is radially symmetric about the origin, which
means that the filter is completely defined by a radial cross section.
 Rotating the cross section by 360° yields the filter in 2-D.
 For an ILPF cross section, the point of transition between H(u,v)=1 and
H(u,v)=0 is called the cutoff frequency D0.
 Simply cut off all high frequency components that are at a specified
distance D0 from the origin of the transform, changing the distance
changes the behaviour of the filter.
8
IDEAL LOWPASS FILTERS
A)Perspective plot of an ideal lowpass filter transfer function
B)Filter displayed as an image
C)Filter radius cross section
9
IDEAL LOWPASS FILTERS
 When the lowpass filter is applied ringing occurs in the image.
 The narrower the filter in the frequency domain, the more severe
are the blurring and ringing.
 The more ringing in the image, the more blurring of the image.
10
IDEAL LOWPASS FILTERS
 Above we show an image, it’s Fourier spectrum and a series of ideal
low pass filters of radius 5, 15, 30, 80 and 230 superimposed on top
of it.
11
IDEAL LOWPASS FILTERS
Original
image
Result of filtering
with ideal low pass
filter of radius 5
Result of filtering
with ideal low pass
filter of radius 30
Result of filtering
with ideal low
pass filter of
radius 230
Result of filtering
with ideal low pass
filter of
radius 80
Result of filtering
with ideal low pass
filter of
radius 15
12
BUTTERWORTH LOWPASS
FILTERS
 The Butterworth lowpass filter is a type of signal processing filter
designed to have as flat a frequency response as possible in the
passband.
 It is also referred to as a maximally flat magnitude filter.
 It was first described in 1930 by the British Engineer and physicist
Stephen Butterworth.
13
BUTTERWORTH LOWPASS
FILTERS
 The transfer function of a Butterworth lowpass filter of order n with
cutoff frequency at distance D0 from the origin is defined as:
n
DvuD
vuH 2
0 ]/),([1
1
),(


14
BUTTERWORTH LOWPASS
FILTERS
A)Perspective plot of an Butterworth lowpass filter transfer function
B)Filter displayed as an image
C)Filter radius cross section of orders 1 through 4
15
BUTTERWORTH LOWPASS
FILTERS
Original
image
Result of filtering with
Butterworth filter of
order 2 and cutoff
radius 5
Result of filtering with
Butterworth filter of
order 2 and cutoff
radius 30
Result of filtering with
Butterworth filter of
order 2 and cutoff
radius 230
Result of filtering with
Butterworth filter of
order 2 and cutoff
radius 80
Result of filtering with
Butterworth filter of
order 2 and cutoff
radius 15
16
BUTTERWORTH LOWPASS
FILTERS
17
GAUSSIAN LOWPASS FILTERS
 The transfer function of a Gaussian lowpass filter is defined as:
 Here, is the standard deviation and is a measure of spread of the
Gaussian curve.
 If we put =D0 we get,
22
2/),(
),( vuD
evuH 

2
0
2
2/),(
),( DvuD
evuH 

18
GAUSSIAN LOWPASS FILTERS
A)Perspective plot of a GLPF transfer function
B)Filter displayed as an image
C)Filter radius cross section for various values of D0
19
GAUSSIAN LOWPASS FILTERS
 Main advantage of a Gaussian LPF over a Butterworth LPF is that
we are assured that there will be no ringing effects no matter what
filter order we choose to work with.
20
GAUSSIAN LOWPASS FILTERS
Original
image
Result of filtering
with Gaussian filter
with cutoff radius 5
Result of filtering
with Gaussian filter
with cutoff radius 30
Result of filtering
with Gaussian filter
with cutoff radius
230
Result of filtering
with Gaussian
filter with cutoff
radius 85
Result of filtering
with Gaussian filter
with cutoff radius
15
21
LOWPASS FILTERS-COMPARISON
Result of
filtering with
ideal low pass
filter of radius
15
Result of
filtering with
Butterworth
filter of order
2 and cutoff
radius 15
Result of
filtering with
Gaussian filter
with cutoff
radius 15
22
LOWPASS FILTERING EXAMPLES
 A low pass Gaussian filter is used to connect broken text
23
LOWPASS FILTERING EXAMPLES
 Different lowpass Gaussian filters used to remove blemishes in a
photograph 24
25

More Related Content

What's hot

5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformationMdFazleRabbi18
 
Image enhancement sharpening
Image enhancement  sharpeningImage enhancement  sharpening
Image enhancement sharpeningarulraj121
 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processingAbinaya B
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Kalyan Acharjya
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filteringGautam Saxena
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restorationMd Shabir Alam
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 
Interpixel redundancy
Interpixel redundancyInterpixel redundancy
Interpixel redundancyNaveen Kumar
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency DomainAmnaakhaan
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processingkiruthiammu
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainDEEPASHRI HK
 

What's hot (20)

5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
Image enhancement sharpening
Image enhancement  sharpeningImage enhancement  sharpening
Image enhancement sharpening
 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processing
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Sharpening spatial filters
Sharpening spatial filtersSharpening spatial filters
Sharpening spatial filters
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Psuedo color
Psuedo colorPsuedo color
Psuedo color
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Interpixel redundancy
Interpixel redundancyInterpixel redundancy
Interpixel redundancy
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
Hit and-miss transform
Hit and-miss transformHit and-miss transform
Hit and-miss transform
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
image enhancement
 image enhancement image enhancement
image enhancement
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 

Similar to Image Smoothing using Frequency Domain 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.pptxsatyanarayana242612
 
Active filters & Low Pass Filters (LMS).ppt
Active filters & Low Pass Filters (LMS).pptActive filters & Low Pass Filters (LMS).ppt
Active filters & Low Pass Filters (LMS).pptAdnanZafar83
 
Vibration signal filtering
Vibration signal filtering Vibration signal filtering
Vibration signal filtering JackieFAbraham
 
unit-5 2nd part active filters by ACEIT.ppt
unit-5 2nd part active filters by ACEIT.pptunit-5 2nd part active filters by ACEIT.ppt
unit-5 2nd part active filters by ACEIT.pptamitthory13012003
 
Applications of RLC Circuits
Applications of RLC CircuitsApplications of RLC Circuits
Applications of RLC Circuitszain saleem
 
08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIPbabak danyal
 
vibration signal filtering
vibration signal filteringvibration signal filtering
vibration signal filteringernest8397
 
5. An analog filer has system fnction Ha(s)--a (a) (10 pts,) Comvert .pdf
5. An analog filer has system fnction Ha(s)--a (a) (10 pts,) Comvert .pdf5. An analog filer has system fnction Ha(s)--a (a) (10 pts,) Comvert .pdf
5. An analog filer has system fnction Ha(s)--a (a) (10 pts,) Comvert .pdfinfo324235
 
Ayesha low pass filter
Ayesha low pass filterAyesha low pass filter
Ayesha low pass filterAyesha Saeed
 
600193789-Unit-6-Filters-Att.pptxattunators
600193789-Unit-6-Filters-Att.pptxattunators600193789-Unit-6-Filters-Att.pptxattunators
600193789-Unit-6-Filters-Att.pptxattunatorskiran93845
 
Passive electrical filters
Passive electrical filtersPassive electrical filters
Passive electrical filtersJawad Khan
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image ProcessingPallavi Agarwal
 

Similar to Image Smoothing using Frequency Domain Filters (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
 
Filters
FiltersFilters
Filters
 
Active filters & Low Pass Filters (LMS).ppt
Active filters & Low Pass Filters (LMS).pptActive filters & Low Pass Filters (LMS).ppt
Active filters & Low Pass Filters (LMS).ppt
 
Vibration signal filtering
Vibration signal filtering Vibration signal filtering
Vibration signal filtering
 
unit-5 2nd part active filters by ACEIT.ppt
unit-5 2nd part active filters by ACEIT.pptunit-5 2nd part active filters by ACEIT.ppt
unit-5 2nd part active filters by ACEIT.ppt
 
Active filters
Active filtersActive filters
Active filters
 
Applications of RLC Circuits
Applications of RLC CircuitsApplications of RLC Circuits
Applications of RLC Circuits
 
Active filter
Active filterActive filter
Active filter
 
08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIP
 
vibration signal filtering
vibration signal filteringvibration signal filtering
vibration signal filtering
 
LICA-
LICA- LICA-
LICA-
 
5. An analog filer has system fnction Ha(s)--a (a) (10 pts,) Comvert .pdf
5. An analog filer has system fnction Ha(s)--a (a) (10 pts,) Comvert .pdf5. An analog filer has system fnction Ha(s)--a (a) (10 pts,) Comvert .pdf
5. An analog filer has system fnction Ha(s)--a (a) (10 pts,) Comvert .pdf
 
Ayesha low pass filter
Ayesha low pass filterAyesha low pass filter
Ayesha low pass filter
 
ACTIVE_FILTERS.pptx
ACTIVE_FILTERS.pptxACTIVE_FILTERS.pptx
ACTIVE_FILTERS.pptx
 
Pagara
PagaraPagara
Pagara
 
600193789-Unit-6-Filters-Att.pptxattunators
600193789-Unit-6-Filters-Att.pptxattunators600193789-Unit-6-Filters-Att.pptxattunators
600193789-Unit-6-Filters-Att.pptxattunators
 
Comm8(exp.3)
Comm8(exp.3)Comm8(exp.3)
Comm8(exp.3)
 
Passive electrical filters
Passive electrical filtersPassive electrical filters
Passive electrical filters
 
Pula
PulaPula
Pula
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 

Recently uploaded

Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use CasesTechSoup
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 

Recently uploaded (20)

Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 

Image Smoothing using Frequency Domain Filters

  • 1. IMAGE SMOOTHING USING FREQUENCY DOMAIN FILTERS By, H. Suhaila Afzana C. Surega T. Vaitheeswari 1
  • 2. CONTENTS  Frequency Domain Filters  Lowpass Filters  Ideal Lowpass Filters  Butterworth Lowpass Filters  Gaussian Lowpass Filters  Lowpass Filters – Comparison  Lowpass Filtering Examples 2
  • 3. FREQUENCY DOMAIN FILTERS  Smoothing(blurring) is achieved in the frequency domain by high- frequency attenuation; that is, by lowpass filtering.  Here, we consider 3 types of lowpass filters:  Ideal lowpass filters  Butterworth lowpass filters  Gaussian lowpass filters  These three categories cover the range from very sharp(ideal), to very smooth(Gaussian) filtering. 3
  • 4. FREQUENCY DOMAIN FILTERS  The Butterworth filter has a parameter called the filter order.  For high order values, the Butterworth filter approaches the ideal filter. For low order values, Butterworth filter is more like a Gaussian filter.  Thus, the Butterworth filter may be viewed as providing a transition between two “extremes”. 4
  • 5. LOWPASS FILTERS  The most basic of filtering operations is called “lowpass”.  A lowpass filter is also called a “blurring” or smoothing filter.  The simplest lowpass filter just calculates the average of a pixel and all of its eight immediate neighbours.  Lowpass is also called as blurring mask. 5
  • 6. IDEAL LOWPASS FILTERS  A 2-D lowpass filter that passes without attenuation all frequencies within a circle of radius D0 from the origin and “cuts off” all frequencies outside this circle is called an ideal lowpass filter(ILPF); it is specified by the function:       0 0 ),(if0 ),(if1 ),( DvuD DvuD vuH 6
  • 7. IDEAL LOWPASS FILTERS  D0 is a positive constant and D(u,v) is the distance between a point (u,v) in the frequency domain and the center of the frequency rectangle; that is, 2/122 ])2/()2/[(),( QvPuvuD  7
  • 8. IDEAL LOWPASS FILTERS  The ideal lowpass filter is radially symmetric about the origin, which means that the filter is completely defined by a radial cross section.  Rotating the cross section by 360° yields the filter in 2-D.  For an ILPF cross section, the point of transition between H(u,v)=1 and H(u,v)=0 is called the cutoff frequency D0.  Simply cut off all high frequency components that are at a specified distance D0 from the origin of the transform, changing the distance changes the behaviour of the filter. 8
  • 9. IDEAL LOWPASS FILTERS A)Perspective plot of an ideal lowpass filter transfer function B)Filter displayed as an image C)Filter radius cross section 9
  • 10. IDEAL LOWPASS FILTERS  When the lowpass filter is applied ringing occurs in the image.  The narrower the filter in the frequency domain, the more severe are the blurring and ringing.  The more ringing in the image, the more blurring of the image. 10
  • 11. IDEAL LOWPASS FILTERS  Above we show an image, it’s Fourier spectrum and a series of ideal low pass filters of radius 5, 15, 30, 80 and 230 superimposed on top of it. 11
  • 12. IDEAL LOWPASS FILTERS Original image Result of filtering with ideal low pass filter of radius 5 Result of filtering with ideal low pass filter of radius 30 Result of filtering with ideal low pass filter of radius 230 Result of filtering with ideal low pass filter of radius 80 Result of filtering with ideal low pass filter of radius 15 12
  • 13. BUTTERWORTH LOWPASS FILTERS  The Butterworth lowpass filter is a type of signal processing filter designed to have as flat a frequency response as possible in the passband.  It is also referred to as a maximally flat magnitude filter.  It was first described in 1930 by the British Engineer and physicist Stephen Butterworth. 13
  • 14. BUTTERWORTH LOWPASS FILTERS  The transfer function of a Butterworth lowpass filter of order n with cutoff frequency at distance D0 from the origin is defined as: n DvuD vuH 2 0 ]/),([1 1 ),(   14
  • 15. BUTTERWORTH LOWPASS FILTERS A)Perspective plot of an Butterworth lowpass filter transfer function B)Filter displayed as an image C)Filter radius cross section of orders 1 through 4 15
  • 16. BUTTERWORTH LOWPASS FILTERS Original image Result of filtering with Butterworth filter of order 2 and cutoff radius 5 Result of filtering with Butterworth filter of order 2 and cutoff radius 30 Result of filtering with Butterworth filter of order 2 and cutoff radius 230 Result of filtering with Butterworth filter of order 2 and cutoff radius 80 Result of filtering with Butterworth filter of order 2 and cutoff radius 15 16
  • 18. GAUSSIAN LOWPASS FILTERS  The transfer function of a Gaussian lowpass filter is defined as:  Here, is the standard deviation and is a measure of spread of the Gaussian curve.  If we put =D0 we get, 22 2/),( ),( vuD evuH   2 0 2 2/),( ),( DvuD evuH   18
  • 19. GAUSSIAN LOWPASS FILTERS A)Perspective plot of a GLPF transfer function B)Filter displayed as an image C)Filter radius cross section for various values of D0 19
  • 20. GAUSSIAN LOWPASS FILTERS  Main advantage of a Gaussian LPF over a Butterworth LPF is that we are assured that there will be no ringing effects no matter what filter order we choose to work with. 20
  • 21. GAUSSIAN LOWPASS FILTERS Original image Result of filtering with Gaussian filter with cutoff radius 5 Result of filtering with Gaussian filter with cutoff radius 30 Result of filtering with Gaussian filter with cutoff radius 230 Result of filtering with Gaussian filter with cutoff radius 85 Result of filtering with Gaussian filter with cutoff radius 15 21
  • 22. LOWPASS FILTERS-COMPARISON Result of filtering with ideal low pass filter of radius 15 Result of filtering with Butterworth filter of order 2 and cutoff radius 15 Result of filtering with Gaussian filter with cutoff radius 15 22
  • 23. LOWPASS FILTERING EXAMPLES  A low pass Gaussian filter is used to connect broken text 23
  • 24. LOWPASS FILTERING EXAMPLES  Different lowpass Gaussian filters used to remove blemishes in a photograph 24
  • 25. 25