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

Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image FundamentalsA B Shinde
 
Discrete cosine transform
Discrete cosine transform   Discrete cosine transform
Discrete cosine transform Rashmi Karkra
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.pptshankar64
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationVarun Ojha
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency DomainAmnaakhaan
 
Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filterarulraj121
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformationsJohn Williams
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Kalyan Acharjya
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processingkiruthiammu
 
Transform coding
Transform codingTransform coding
Transform codingNancy K
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersKarthika Ramachandran
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainMadhu Bala
 
Fidelity criteria in image compression
Fidelity criteria in image compressionFidelity criteria in image compression
Fidelity criteria in image compressionKadamPawan
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Kalyan Acharjya
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation pptGichelle Amon
 

What's hot (20)

Sharpening spatial filters
Sharpening spatial filtersSharpening spatial filters
Sharpening spatial filters
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
Discrete cosine transform
Discrete cosine transform   Discrete cosine transform
Discrete cosine transform
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.ppt
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier Transformation
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filter
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformations
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Transform coding
Transform codingTransform coding
Transform coding
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain Filters
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial Domain
 
Module 31
Module 31Module 31
Module 31
 
Fidelity criteria in image compression
Fidelity criteria in image compressionFidelity criteria in image compression
Fidelity criteria in image compression
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Noise Models
Noise ModelsNoise Models
Noise Models
 

Similar to Image Smoothing using Frequency Domain Filters

Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processingAbinaya B
 
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
 
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)

Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processing
 
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
 
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

Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 

Recently uploaded (20)

Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 

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