SlideShare a Scribd company logo
Filter design: design H(u,v)
f(x,y) F(u,v)
g(x,y) G(u,v)
G(u,v) = F(u,v) • H(u,v)
spatial domain frequency domain
filter
•
f(x,y) F(u,v)
H(u,v)g(x,y)
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
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)
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
2
D0
0 D(u,v) D0 -
w
2
w
2
w
2
w
2
w = band width
• Note: An OS Filter is Uniquely Defined by {wi}
• Example 1:
• Example 2:
)2()1()(1221 25.05.025.0},,,{ MMMM xxxxxxOS 
}0,,4/1,2/1,4/1,,0{}{ iw
(M+1)-thM-th (M+2)-th
then
12
1
)(1221
12
1
},,,{
M
i
iM x
M
xxxOS 
)12/(}1,,1,1{}{ Mwi 
}12,,1,,{}12,,1,{ )( MixMeanMixMean ii 
then
5
6
6
0
7
8
8
7
5
6
6
5
15
8
8
7
0 0 0 0
0 0 0 0
0
0
0
0
0
0
0
0
0
0
0
0
5
6
6
0
7
8
8
7
5
6
6
5
15
8
8
7
0
6
5
5
6
7
0
7
5
5
6
0
7
0
7
6
•A 4x4 grayscale image is given by
1) Filter the image with a 3x3 median filter, after zero-padding
at the image borders
5
6
6
0
7
8
8
7
5
6
6
5
15
8
8
7
zero-padding
median
filtering
impulse?
impulse?
5
6
6
0
7
8
8
7
5
6
6
5
15
8
8
7
5 6 7 8
5 6 7 8
5
0
5
5
5
5
8
8
8
8
8
8
5
6
6
0
7
8
8
7
5
6
6
5
15
8
8
7
5
6
6
5
7
8
8
7
5
6
6
5
7
8
8
7
2) Filter the image with a 3x3 median filter, after replicate-
padding at the image borders
replicate
-padding
median
filtering
impulse cleaned!
5
6
6
5
7
8
8
7.25
5
6
6
5
7.25
8
8
7.25
3) Filter the image with a 3x3 OS filter, after replicate-
padding at the image borders. The weighting factors of
the OS filter are given by
{wi | i = 1, …, 9} = {0, 0, 0, ¼, ½, ¼, 0, 0, 0}
5
6
6
0
7
8
8
7
5
6
6
5
15
8
8
7
5 6 7 8
5 6 7 8
5
0
5
5
5
5
8
8
8
8
8
8
5
6
6
0
7
8
8
7
5
6
6
5
15
8
8
7
replicate
-padding
OS
filtering

More Related Content

PDF
【演習】Re:ゲーム理論入門 第12回 前半 -交渉ゲームとナッシュ交渉解-
PPT
Geometry unit 1.8
PDF
ゲーム理論BASIC 第29回 - 交渉ゲーム : 応用例2 雇用契約問題-
PPT
Surface area and volume
PPT
Transmultiplexer as precoder
PDF
"Deep Learning" Chap.6 Convolutional Neural Net
PPTX
Noise filtering
PDF
Inteligencia artificial matlab
【演習】Re:ゲーム理論入門 第12回 前半 -交渉ゲームとナッシュ交渉解-
Geometry unit 1.8
ゲーム理論BASIC 第29回 - 交渉ゲーム : 応用例2 雇用契約問題-
Surface area and volume
Transmultiplexer as precoder
"Deep Learning" Chap.6 Convolutional Neural Net
Noise filtering
Inteligencia artificial matlab

Similar to Nonlinear filtering (20)

PPTX
Note and assignment mis3 5.3
PDF
PPTX
Design of Filters PPT
PPTX
A systematic examination of 2-D signals and systems
PDF
SDR channelizer by sooraj
PDF
Simulink based design simulations of band pass fir filter
PDF
Simulink based design simulations of band pass fir filter
PDF
Design Technique of Bandpass FIR filter using Various Window Function
PDF
Design Technique of Bandpass FIR filter using Various Window Function
PDF
13 fourierfiltrationen
PDF
Design of Quadrature Mirror Filter Bank using Particle Swarm Optimization (PSO)
PDF
Design and implementation of two-dimensional digital finite impulse response...
PDF
Design, Simulation and Fabrication of a Microstrip Bandpass Filter
PDF
D ESIGN A ND I MPLEMENTATION OF D IGITAL F ILTER B ANK T O R EDUCE N O...
PPTX
design of sampling filter
DOCX
digital filter design
PDF
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
PDF
(Original PDF) Applied Digital Signal Processing Theory and Practice
PPT
ICCCNT1108-7
PDF
Dsp Concept Maping
Note and assignment mis3 5.3
Design of Filters PPT
A systematic examination of 2-D signals and systems
SDR channelizer by sooraj
Simulink based design simulations of band pass fir filter
Simulink based design simulations of band pass fir filter
Design Technique of Bandpass FIR filter using Various Window Function
Design Technique of Bandpass FIR filter using Various Window Function
13 fourierfiltrationen
Design of Quadrature Mirror Filter Bank using Particle Swarm Optimization (PSO)
Design and implementation of two-dimensional digital finite impulse response...
Design, Simulation and Fabrication of a Microstrip Bandpass Filter
D ESIGN A ND I MPLEMENTATION OF D IGITAL F ILTER B ANK T O R EDUCE N O...
design of sampling filter
digital filter design
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
(Original PDF) Applied Digital Signal Processing Theory and Practice
ICCCNT1108-7
Dsp Concept Maping
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Spectroscopy.pptx food analysis technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Electronic commerce courselecture one. Pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The AUB Centre for AI in Media Proposal.docx
A comparative analysis of optical character recognition models for extracting...
20250228 LYD VKU AI Blended-Learning.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Spectroscopy.pptx food analysis technology
Review of recent advances in non-invasive hemoglobin estimation
Agricultural_Statistics_at_a_Glance_2022_0.pdf
A Presentation on Artificial Intelligence
Network Security Unit 5.pdf for BCA BBA.
NewMind AI Weekly Chronicles - August'25-Week II
Encapsulation_ Review paper, used for researhc scholars
Reach Out and Touch Someone: Haptics and Empathic Computing
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Electronic commerce courselecture one. Pdf
Ad

Nonlinear filtering

  • 2. f(x,y) F(u,v) g(x,y) G(u,v) G(u,v) = F(u,v) • H(u,v) spatial domain frequency domain filter • f(x,y) F(u,v) H(u,v)g(x,y)
  • 3. 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
  • 4. 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)
  • 5. 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 2 D0 0 D(u,v) D0 - w 2 w 2 w 2 w 2 w = band width
  • 6. • Note: An OS Filter is Uniquely Defined by {wi} • Example 1: • Example 2: )2()1()(1221 25.05.025.0},,,{ MMMM xxxxxxOS  }0,,4/1,2/1,4/1,,0{}{ iw (M+1)-thM-th (M+2)-th then 12 1 )(1221 12 1 },,,{ M i iM x M xxxOS  )12/(}1,,1,1{}{ Mwi  }12,,1,,{}12,,1,{ )( MixMeanMixMean ii  then
  • 7. 5 6 6 0 7 8 8 7 5 6 6 5 15 8 8 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 6 6 0 7 8 8 7 5 6 6 5 15 8 8 7 0 6 5 5 6 7 0 7 5 5 6 0 7 0 7 6 •A 4x4 grayscale image is given by 1) Filter the image with a 3x3 median filter, after zero-padding at the image borders 5 6 6 0 7 8 8 7 5 6 6 5 15 8 8 7 zero-padding median filtering impulse? impulse?
  • 8. 5 6 6 0 7 8 8 7 5 6 6 5 15 8 8 7 5 6 7 8 5 6 7 8 5 0 5 5 5 5 8 8 8 8 8 8 5 6 6 0 7 8 8 7 5 6 6 5 15 8 8 7 5 6 6 5 7 8 8 7 5 6 6 5 7 8 8 7 2) Filter the image with a 3x3 median filter, after replicate- padding at the image borders replicate -padding median filtering impulse cleaned!
  • 9. 5 6 6 5 7 8 8 7.25 5 6 6 5 7.25 8 8 7.25 3) Filter the image with a 3x3 OS filter, after replicate- padding at the image borders. The weighting factors of the OS filter are given by {wi | i = 1, …, 9} = {0, 0, 0, ¼, ½, ¼, 0, 0, 0} 5 6 6 0 7 8 8 7 5 6 6 5 15 8 8 7 5 6 7 8 5 6 7 8 5 0 5 5 5 5 8 8 8 8 8 8 5 6 6 0 7 8 8 7 5 6 6 5 15 8 8 7 replicate -padding OS filtering