SlideShare a Scribd company logo
3
Most read
4
Most read
12
Most read
Wiener Filtering &
Basis Functions
Nov 4th 2004
Jukka Parviainen
parvi@hut.fi
T-61.181 Biomedical Signal Processing
Sections 4.4 - 4.5.2
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
2
Outline
• a posteriori Wiener filter (Sec 4.4)
– removing noise by linear filtering in
optimal (mean-square error) way
– improving ensemble averaging
• single-trial analysis using basis
functions (Sec 4.5)
– only one or few evoked potentials
– e.g. Fourier analysis
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
3
Wiener - example in 2D
• model x = f(s)+v, where f(.) is a
linear blurring effect (in the
example)
• target: find an estimate s’ = g(x)
• an inverse filter to blurring
• value of SNR can be controlled
• Matlab example: ipexdeconvwnr
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
4
Part I - Wiener in EEG
• improving ensemble averages by
incorporating correlation
information, similar to weights
earlier in Sec. 4.3
• model: x_i(n) = s(n) + v_i(n)
• ensemble average of M records
• target: good s’(n) from x_i(n)
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
5
Wiener filter in EEG
• a priori Wiener filter:
)
(
)
/
1
(
)
(
)
(
)
( 



j
v
j
s
j
s
j
e
S
M
e
S
e
S
e
H


• power spectra of signal (s) and
noise (v) are F-transforms of
correlation functions r(k)
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
6
Interpretation of Wiener
• if ”no noise”, then H=1
• if ”no signal”, then H=0
• for stationary processes
always 0 < H < 1
• see Fig 4.22
)
(
)
/
1
(
)
(
)
(
)
( 



j
v
j
s
j
s
j
e
S
M
e
S
e
S
e
H


Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
7
Wiener in theory
• design H(z), so that mean-square
error E[(s(n)-s’(n))^2] minimized
• Wiener-Hopf equations of
noncausal IIR filter lead to H(ej )
• filter gain 0 < H < 1 implies
underestimation (bias)
• bias/variance dilemma
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
8
A posteriori Wiener filters
• time-invariant a posteriori filtering
• estimates for signal and noise
spectra from data afterwards
• two estimates in the book:
• improvements: clipping & spectral
smoothing, see Fig 4.23
)
)
(
)
(
1
(
1
1 

j
sa
j
xa
e
MS
e
S
M
M
H 


)
(
)
(
1
2 

j
sa
j
vs
e
S
e
S
H 

Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
9
Limitations of APWFs
• contradictionary results due to
modalities: BAEP+VEP ok, SEP not
• bad results with low SNRs, see Fig
4.24
• APWF supposes stationary signals
• if/when not, time-varying Wiener
filters developed
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
10
APWF - What was learnt?
• authors: ”serious limitations”,
”important to be aware of possible
pitfalls”, especially when ”the
assumpition of stationarity is
incorporated into a signal model”
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
11
Part II - Basis functions
• often no repititions of EPs available
or possible
• therefore no averaging etc.
• prior information incorporated in
the model
• mutually orthonormal basis func.:






l
k
l
k
l
T
k
,
0
,
1


Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
12
Orthonormal basis func.
• data is modelled using a set of
weight vectors and orthonormal
basic functions
• example: Fourier-series/transform
...
)
2
cos(
)
cos(
)
( 2
1
0 


 t
a
t
a
a
t
x 

i
N
k
k
k
i
i w w
x 

 
1
, 
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
13
Lowpass modelling
• basis functions divided to two sets,
”truncating” the model
• s are to be saved, size N x K
• v are to be ignored (regarded as
high-freq. noise), size N x (N-K)
i
T
s
s
i
s
i x
w
s 




^
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
14
Demo: Fourier-series
http://www.jhu.edu/~signals/
• rapid changes - high frequency
• value K?
• transients cannot be modelled
nicely using cosines/sines
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
15
Summary I: Wiener
• originally by Wiener in 40’s
• with evoked potentials in 60’s and
70’s by Walker and Doyle
• lots of research in 70’s and 80’s
(time-varying filtering by de
Weerd)
• probably a baseline technique?
Nov 4th 2004 T-61.181 - Biomedical Signal
Processing - Jukka Parviainen
16
Summary II: Basis f.
• signal can be modelled using as a
sum of products of weight vectors
and basis functions
• high-frequency components
considered as noise
• to be continued in the following
presentation

More Related Content

PPTX
Multi resolution & Wavelet Transform.pptx
PDF
sampling-alising.pdf
PDF
detectıon of dıseases usıng ECG signal
PDF
Fundamentals Of Spectrum Analysis 1st Edition Christoph Rauscher
PDF
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
PDF
St
PDF
Circuit Network Analysis - [Chapter3] Fourier Analysis
PDF
Digital Signals Topic 3 Fourier Analysis (std).pdf
Multi resolution & Wavelet Transform.pptx
sampling-alising.pdf
detectıon of dıseases usıng ECG signal
Fundamentals Of Spectrum Analysis 1st Edition Christoph Rauscher
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
St
Circuit Network Analysis - [Chapter3] Fourier Analysis
Digital Signals Topic 3 Fourier Analysis (std).pdf

Similar to WEINER FILTERING AND BASIS FUNCTIONS.ppt (20)

PPTX
signals and systems, introduction.pptx
PPTX
Sampling and Reconstruction (Online Learning).pptx
PDF
2015 12-10 chabert
PPT
Ch4 (1)_fourier series, fourier transform
PDF
Lecture 9
PPT
digital image processing FrequencyFiltering.ppt
PDF
I027050057
PDF
Slide Handouts with Notes
PDF
Course-Notes__Advanced-DSP.pdf
PDF
Advanced_DSP_J_G_Proakis.pdf
PPTX
SignalDecompositionTheory.pptx
PPTX
IARE_DSP_PPT.pptx
PDF
Design and Analysis of Active Bandpass Filter
PDF
Lecture 1 - Introduction to Signals.pdf
PDF
DSP (T)_Important Topics.pdf
PPTX
Development of a low cost pc-based single-channel eeg monitoring system
PPTX
Presentation on fourier transformation
PPT
FourierTransform detailed power point presentation
PPTX
Chapter-I Classification of Signals and Systems.pptx
PPT
es240_fourierseries introduction to Fourier
signals and systems, introduction.pptx
Sampling and Reconstruction (Online Learning).pptx
2015 12-10 chabert
Ch4 (1)_fourier series, fourier transform
Lecture 9
digital image processing FrequencyFiltering.ppt
I027050057
Slide Handouts with Notes
Course-Notes__Advanced-DSP.pdf
Advanced_DSP_J_G_Proakis.pdf
SignalDecompositionTheory.pptx
IARE_DSP_PPT.pptx
Design and Analysis of Active Bandpass Filter
Lecture 1 - Introduction to Signals.pdf
DSP (T)_Important Topics.pdf
Development of a low cost pc-based single-channel eeg monitoring system
Presentation on fourier transformation
FourierTransform detailed power point presentation
Chapter-I Classification of Signals and Systems.pptx
es240_fourierseries introduction to Fourier
Ad

More from debeshidutta2 (10)

PPTX
Nanosensor-basics, application and future.pptx
PPTX
FUNDAMENTALS OF MECHATRONICS AND APPLICATIONS.pptx
PPTX
Radiation Detectors-operation and applications.pptx
PPTX
Thermoluminiscent Dosimetry-Principle, Charateristics, and Applications.pptx
PPT
Introduction to adaptive filtering and its applications.ppt
PPT
Introduction, concepts, and mathematics of IIR filters.ppt
PPT
DIGITAL FILTER SPECIFICATIONS AND MATHEMATICS.ppt
PPT
BIOMEDICAL SENSORS AND MEASUREMENT SYSTEMS.ppt
PPTX
Basic programming in Python Environment.pptx
PPTX
Transducers in healthcare applications.pptx
Nanosensor-basics, application and future.pptx
FUNDAMENTALS OF MECHATRONICS AND APPLICATIONS.pptx
Radiation Detectors-operation and applications.pptx
Thermoluminiscent Dosimetry-Principle, Charateristics, and Applications.pptx
Introduction to adaptive filtering and its applications.ppt
Introduction, concepts, and mathematics of IIR filters.ppt
DIGITAL FILTER SPECIFICATIONS AND MATHEMATICS.ppt
BIOMEDICAL SENSORS AND MEASUREMENT SYSTEMS.ppt
Basic programming in Python Environment.pptx
Transducers in healthcare applications.pptx
Ad

Recently uploaded (20)

PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Current and future trends in Computer Vision.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
web development for engineering and engineering
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Construction Project Organization Group 2.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
Project quality management in manufacturing
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
UNIT 4 Total Quality Management .pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
additive manufacturing of ss316l using mig welding
Current and future trends in Computer Vision.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
573137875-Attendance-Management-System-original
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
OOP with Java - Java Introduction (Basics)
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
R24 SURVEYING LAB MANUAL for civil enggi
web development for engineering and engineering
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Construction Project Organization Group 2.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Project quality management in manufacturing
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
UNIT 4 Total Quality Management .pptx

WEINER FILTERING AND BASIS FUNCTIONS.ppt

  • 1. Wiener Filtering & Basis Functions Nov 4th 2004 Jukka Parviainen parvi@hut.fi T-61.181 Biomedical Signal Processing Sections 4.4 - 4.5.2
  • 2. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 2 Outline • a posteriori Wiener filter (Sec 4.4) – removing noise by linear filtering in optimal (mean-square error) way – improving ensemble averaging • single-trial analysis using basis functions (Sec 4.5) – only one or few evoked potentials – e.g. Fourier analysis
  • 3. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 3 Wiener - example in 2D • model x = f(s)+v, where f(.) is a linear blurring effect (in the example) • target: find an estimate s’ = g(x) • an inverse filter to blurring • value of SNR can be controlled • Matlab example: ipexdeconvwnr
  • 4. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 4 Part I - Wiener in EEG • improving ensemble averages by incorporating correlation information, similar to weights earlier in Sec. 4.3 • model: x_i(n) = s(n) + v_i(n) • ensemble average of M records • target: good s’(n) from x_i(n)
  • 5. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 5 Wiener filter in EEG • a priori Wiener filter: ) ( ) / 1 ( ) ( ) ( ) (     j v j s j s j e S M e S e S e H   • power spectra of signal (s) and noise (v) are F-transforms of correlation functions r(k)
  • 6. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 6 Interpretation of Wiener • if ”no noise”, then H=1 • if ”no signal”, then H=0 • for stationary processes always 0 < H < 1 • see Fig 4.22 ) ( ) / 1 ( ) ( ) ( ) (     j v j s j s j e S M e S e S e H  
  • 7. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 7 Wiener in theory • design H(z), so that mean-square error E[(s(n)-s’(n))^2] minimized • Wiener-Hopf equations of noncausal IIR filter lead to H(ej ) • filter gain 0 < H < 1 implies underestimation (bias) • bias/variance dilemma
  • 8. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 8 A posteriori Wiener filters • time-invariant a posteriori filtering • estimates for signal and noise spectra from data afterwards • two estimates in the book: • improvements: clipping & spectral smoothing, see Fig 4.23 ) ) ( ) ( 1 ( 1 1   j sa j xa e MS e S M M H    ) ( ) ( 1 2   j sa j vs e S e S H  
  • 9. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 9 Limitations of APWFs • contradictionary results due to modalities: BAEP+VEP ok, SEP not • bad results with low SNRs, see Fig 4.24 • APWF supposes stationary signals • if/when not, time-varying Wiener filters developed
  • 10. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 10 APWF - What was learnt? • authors: ”serious limitations”, ”important to be aware of possible pitfalls”, especially when ”the assumpition of stationarity is incorporated into a signal model”
  • 11. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 11 Part II - Basis functions • often no repititions of EPs available or possible • therefore no averaging etc. • prior information incorporated in the model • mutually orthonormal basis func.:       l k l k l T k , 0 , 1  
  • 12. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 12 Orthonormal basis func. • data is modelled using a set of weight vectors and orthonormal basic functions • example: Fourier-series/transform ... ) 2 cos( ) cos( ) ( 2 1 0     t a t a a t x   i N k k k i i w w x     1 , 
  • 13. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 13 Lowpass modelling • basis functions divided to two sets, ”truncating” the model • s are to be saved, size N x K • v are to be ignored (regarded as high-freq. noise), size N x (N-K) i T s s i s i x w s      ^
  • 14. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 14 Demo: Fourier-series http://www.jhu.edu/~signals/ • rapid changes - high frequency • value K? • transients cannot be modelled nicely using cosines/sines
  • 15. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 15 Summary I: Wiener • originally by Wiener in 40’s • with evoked potentials in 60’s and 70’s by Walker and Doyle • lots of research in 70’s and 80’s (time-varying filtering by de Weerd) • probably a baseline technique?
  • 16. Nov 4th 2004 T-61.181 - Biomedical Signal Processing - Jukka Parviainen 16 Summary II: Basis f. • signal can be modelled using as a sum of products of weight vectors and basis functions • high-frequency components considered as noise • to be continued in the following presentation