SlideShare a Scribd company logo
1 of 31
REMOVAL OF ARTIFACTS IN 
EEG BY AVERAGING AND 
ADAPTIVE ALGORITHMS 
1 By Namratha D'cruz
COMMON ARTIFACTS IN EEG 
SIGNALS 
 EEG is designed to record cerebral activity in the brain. 
 All signals that appear in the EEG record which don't 
come from the brain are referred as artifacts. 
 Artifacts can be divided into : 
1. physiologic artifacts 
2. Extra physiologic artifacts. 
2
COMMON ARTIFACTS IN EEG 
SIGNALS 
 Physiologic artifacts: these artifacts are generated from 
the patient, they arise from sources other than brain i.e., 
other parts of the body (heart and muscle activity, eye 
blink and eyeball movement). 
 Extra physiologic artifacts: they arise from outside the 
body (i.e., equipment, environment).such as bad 
electrodes location, not clean hairy leather, electrodes 
impedance, etc. 3
COMMON ARTIFACTS IN EEG 
SIGNALS 
External device artifacts 
 Numerous types of external devices produce EEG artifact and may 
do so through the electrical fields they generate or through 
mechanical effects on the body. 
 The most common external artifact is due to the alternating current 
present in the electrical power supply. 
 This noise is usually medium to low amplitude and has the 
monomorphic frequency of the current, which is 60 Hz in North 
America and 50 Hz in much of the rest of the world. 
4
COMMON ARTIFACTS IN EEG 
SIGNALS 
External device artifacts 
 The artifact may be present in all channels or in 
isolated channels that include electrodes that 
have poorly matched impedances. 
 Devices like circulatory pump and ventilator can 
also cause artifacts. 
5
COMMON ARTIFACTS IN EEG 
SIGNALS 
Electrode artifact 
 The different types of electrode artifacts are : 
1. Electrode pop: 
2. Electrode contact 
3. Electrode/lead movement 
4. Perspiration 
5. Movement artifact 
6
COMMON ARTIFACTS IN EEG 
SIGNALS 
Cardiac artifacts 
 Cardiac activity may have pronounced effects on the 
electroencephalogram (EEG) because of its relatively high electrical 
energy, especially upon the no-cephalic reference recordings of 
EEG. 
 The QRS complexes appear in the EEG signal like regular spikes. 
 ECG artifact may occur inconsistently by not being present with 
every contraction of the heart and may have an irregular interval 
when a cardiac arrhythmia is present 7
COMMON ARTIFACTS IN EEG 
SIGNALS 
Cardiac artifacts 
 Cardiac pacemakers produce a different electrical 
artifact. it is distinct from ECG artifact in both 
distribution and morphology. 
 Pacemaker artifact is generalized across the scalp and 
comprises high frequency with a duration that is shorter 
than ECG artifact. 
8
9
COMMON ARTIFACTS IN EEG 
SIGNALS 
Ocular artifacts 
 The human eye generates an electrical dipole caused by a 
positive cornea and negative retina. 
 Eye movements and blinks change the dipole causing an 
electrical signal known as an EOG. 
 The shape of the EOG waveform depends on factors such as 
the direction of eye movements. 
 A fraction of the EOG spreads across the scalp and it is 
superimposed on the EEG. 10
COMMON ARTIFACTS IN EEG 
SIGNALS 
 Two kinds of ocular artifacts can be observed in EEG 
records, eye blinks and eye movements. 
 Eye blinks are represented by a low frequency signal 
(< 4 Hz) with high amplitude. 
 It is a symmetrical activity mainly located on the front 
electrodes (FP1, FP2) with low propagation. 
 Eye movements are also represented by a low frequency 
signal (< 4 Hz) but with higher propagation 11
12
COMMON ARTIFACTS IN EEG 
SIGNALS 
EMG artifacts 
 EMG activity is the most common and significant source 
of noise in EEG. 
 Repetitive EMG artifact may occur with photic 
stimulation as a time locked facial muscle response to the 
flash of light. 
 Activities like chewing and swallowing can also cause 
muscular artifacts. 13
REMOVAL OF ARTIFACTS USING ADAPTIVE 
FILTERING 
 Adaptive filters are based on the optimization theory and 
they have the capability of modifying their properties 
according to selected features of the signals being 
analyzed. 
 Figure below illustrates the structure of an adaptive filter. 
14
REMOVAL OF ARTIFACTS USING ADAPTIVE 
FILTERING 
 The objective of an adaptive filter is to change (adapt) 
the coefficients of the linear filter, and hence its 
frequency response, to generate a signal similar to the 
noise present in the signal to be filtered. 
 The adaptive filter adjusts its coefficients to minimize the 
squared error between its output and a primary signal. 
 In an adaptive filter, there are basically two processes: 
1. A filtering process, in which an output signal is the 
response of a digital filter. Usually, FIR filters are used 
in this process because they are linear, simple and 
stable. 
2. An adaptive process, in which the transfer function 
H(z) is adjusted according to an optimizing algorithm. 
The most used optimizing criterion is the Least Mean 
Square (LMS) algorithm 
15
LMS ALGORITHM 
Structure of FIR filter 
16
LMS ALGORITHM 
 The structure of the FIR can be represented as, 
 where L is the order of the filter, x(n) is the secondary 
input signal, wk are the filter coefficients and y(n) is the 
filter output. 
 The error signal e(n) is defined as the difference between 
the primary signal d(n) and the filter output y(n), that is, 
e(n) = d(n)-y(n) 
Where 
17 
(1) 
(2) 
(3)
LMS ALGORITHM 
 The squared error is, 
 The squared error expectation for N samples is given by 
18 
(4) 
(5) 
(6)
LMS ALGORITHM 
 where rdx(n) and rxx(n) are, respectively, the cross-correlation 
function between the primary and secondary input signals, and the 
autocorrelation function of the secondary input, that is 
 The objective of the adaptation process is to minimize the squared error. To 
get this goal there are different optimization techniques. we use the method 
of steepest descent. 
19 
(7) 
(8)
LMS ALGORITHM 
 With this, it is possible to calculate the filter coefficient 
vector for each iteration k having information about the 
previous coefficients and gradient, multiplied by a 
constant, that is, 
 where μ is a coefficient that controls the rate of 
adaptation. 
 The gradient is defined as, 
20 
9 
10
LMS ALGORITHM 
 Substituting (10) in (9) leads to, 
 Deriving with respect to wk and replacing leads to, 
21 
11 
12 
13
LMS ALGORITHM 
 Since d(n) and x(n) are independent with respect to wk , then 
 Equation (14) is the final description of the algorithm to compute the 
filter coefficients as function of the signal error e(n) and the reference 
input signal x(n). 
 The coefficient μ is a constant that must be chosen for quick adaptation 
without losing stability. The filter is stable if μ satisfies the following 
condition, 
 where L is the filter order and Pxx is the total power of the input signal. 
22 
14
To remove the main artifacts of the EEG signal, a cascade 
of three adaptive filters is used as shown in the figure 
below. 
23
REMOVAL OF ARTIFACTS FROM EEG 
 The input d1(n) in the first stage is the EEG corrupted 
with artifacts (EEG + line-frequency + ECG + EOG). 
 The reference x1(n) in the first stage is an artificial sine 
function generated with 50 Hz (or 60 Hz, depends on 
line frequency). 
 The output of H1(z) is y1(n), which is an estimation of 
the line artifacts present in the EEG. 
 This signal y1(n) is subtracted from the corrupted d1(n) 
to produce the error e1(n), which is the EEG without 
line-interference 
24
Example of a segment of EEG filtered with stage 1 
a) Red: Original EEG contaminated with 50 Hz power 
line interference, d1(n). 
b) Blue: EEG without line interference, e1(n). 
25
REMOVAL OF ARTIFACTS FROM EEG 
 The e1(n) error is forwarded as the corrupted input signal 
d2(n) to the second stage. 
 The reference input x2(n) of the second stage can be 
either a real or artificial ECG. The output of H2(z) is 
y2(n), representing a good estimate of the ECG artifacts 
present in the EEG record. 
 Signal y2(n) is subtracted from d2(n); its result produces 
error e2(n). 
 Thus, the EEG without line and ECG artifacts is 
obtained. 
26
Example of a segment of EEG filtered with stage 2. In Red: Contaminated EEG, d2(n). 
In Green: ECG signal. In Black: output signal from H2(z), that is y2(n). In Blue: EEG 
without ECG artifacts, e2(n). 
27
REMOVAL OF ARTIFACTS FROM EEG 
 Then, e2(n) enters into the third stage as the signal d3(n). 
 The reference input x3(n) of filter H3(z) is also a real or 
artificial EOG and its output is y3(n), which is a replica 
of the EOG artifacts present in the EEG record. 
 when y3(n), subtracted from d3(n), gives error e3(n). It is 
the final output of the cascade filter, that is, the clean 
EEG without artifacts. 
28
Example of segment of EEG filtered with stage 3. In Red: Contaminated EEG, d3(n). In 
Green: EOG signal. In Black: output signal from H3(z), that is y3(n). In Blue: EEG 
29 
without EOG artifacts, e3(n).
30
31

More Related Content

What's hot

Application of eeg wave
Application  of  eeg  waveApplication  of  eeg  wave
Application of eeg waveRohit vijay
 
Biomedical Instrumentation
Biomedical InstrumentationBiomedical Instrumentation
Biomedical Instrumentationlinsstalex
 
EEG signal background and real-time processing
EEG signal background and real-time processingEEG signal background and real-time processing
EEG signal background and real-time processingRobert Oostenveld
 
Wavelet Based Feature Extraction Scheme Of Eeg Waveform
Wavelet Based Feature Extraction Scheme Of Eeg WaveformWavelet Based Feature Extraction Scheme Of Eeg Waveform
Wavelet Based Feature Extraction Scheme Of Eeg Waveformshan pri
 
biomedical signal processing
biomedical signal processingbiomedical signal processing
biomedical signal processingMeenakshi Sood
 
Research perspectives in biomedical signal processing
Research perspectives in biomedical signal processingResearch perspectives in biomedical signal processing
Research perspectives in biomedical signal processingajayhakkumar
 
Medical Instrumentation- EEG
Medical Instrumentation- EEGMedical Instrumentation- EEG
Medical Instrumentation- EEGPoornima D
 
Bartlett's method pp ts
Bartlett's method pp tsBartlett's method pp ts
Bartlett's method pp tsDiwaker Pant
 
A Review on Arrhythmia Detection Using ECG Signal
A Review on Arrhythmia Detection Using ECG SignalA Review on Arrhythmia Detection Using ECG Signal
A Review on Arrhythmia Detection Using ECG Signalpaperpublications3
 
brain machine interface ppt
brain machine interface pptbrain machine interface ppt
brain machine interface pptSoumee Pattnaik
 
Sources of bioelectric potentials
Sources of bioelectric potentialsSources of bioelectric potentials
Sources of bioelectric potentialsGhansyam Rathod
 
Biopotentials
BiopotentialsBiopotentials
Biopotentialsstooty s
 
Biomedical Signal Processing / Biomedical Signals/ Bio-signals/ Bio-signals C...
Biomedical Signal Processing / Biomedical Signals/ Bio-signals/ Bio-signals C...Biomedical Signal Processing / Biomedical Signals/ Bio-signals/ Bio-signals C...
Biomedical Signal Processing / Biomedical Signals/ Bio-signals/ Bio-signals C...Mehak Azeem
 
Ecg beat classification and feature extraction using artificial neural networ...
Ecg beat classification and feature extraction using artificial neural networ...Ecg beat classification and feature extraction using artificial neural networ...
Ecg beat classification and feature extraction using artificial neural networ...priyanka leenakhabiya
 

What's hot (20)

Application of eeg wave
Application  of  eeg  waveApplication  of  eeg  wave
Application of eeg wave
 
Biomedical Instrumentation
Biomedical InstrumentationBiomedical Instrumentation
Biomedical Instrumentation
 
EEG signal background and real-time processing
EEG signal background and real-time processingEEG signal background and real-time processing
EEG signal background and real-time processing
 
Wavelet Based Feature Extraction Scheme Of Eeg Waveform
Wavelet Based Feature Extraction Scheme Of Eeg WaveformWavelet Based Feature Extraction Scheme Of Eeg Waveform
Wavelet Based Feature Extraction Scheme Of Eeg Waveform
 
biomedical signal processing
biomedical signal processingbiomedical signal processing
biomedical signal processing
 
Electroencephalography (EEG) - Basics
Electroencephalography (EEG) - BasicsElectroencephalography (EEG) - Basics
Electroencephalography (EEG) - Basics
 
Electromyography (emg) basics
Electromyography (emg)   basicsElectromyography (emg)   basics
Electromyography (emg) basics
 
Research perspectives in biomedical signal processing
Research perspectives in biomedical signal processingResearch perspectives in biomedical signal processing
Research perspectives in biomedical signal processing
 
Medical Instrumentation- EEG
Medical Instrumentation- EEGMedical Instrumentation- EEG
Medical Instrumentation- EEG
 
Bartlett's method pp ts
Bartlett's method pp tsBartlett's method pp ts
Bartlett's method pp ts
 
Biomedical Signal Origin and Dynamics
Biomedical Signal Origin and DynamicsBiomedical Signal Origin and Dynamics
Biomedical Signal Origin and Dynamics
 
A Review on Arrhythmia Detection Using ECG Signal
A Review on Arrhythmia Detection Using ECG SignalA Review on Arrhythmia Detection Using ECG Signal
A Review on Arrhythmia Detection Using ECG Signal
 
brain machine interface ppt
brain machine interface pptbrain machine interface ppt
brain machine interface ppt
 
EEG artefacts
EEG artefactsEEG artefacts
EEG artefacts
 
Sources of bioelectric potentials
Sources of bioelectric potentialsSources of bioelectric potentials
Sources of bioelectric potentials
 
Biopotentials
BiopotentialsBiopotentials
Biopotentials
 
Biomedical Signal Processing / Biomedical Signals/ Bio-signals/ Bio-signals C...
Biomedical Signal Processing / Biomedical Signals/ Bio-signals/ Bio-signals C...Biomedical Signal Processing / Biomedical Signals/ Bio-signals/ Bio-signals C...
Biomedical Signal Processing / Biomedical Signals/ Bio-signals/ Bio-signals C...
 
Electroencephalography
ElectroencephalographyElectroencephalography
Electroencephalography
 
Ecg beat classification and feature extraction using artificial neural networ...
Ecg beat classification and feature extraction using artificial neural networ...Ecg beat classification and feature extraction using artificial neural networ...
Ecg beat classification and feature extraction using artificial neural networ...
 
EEG
EEG EEG
EEG
 

Viewers also liked

შეფასების გზამკვლევი
შეფასების გზამკვლევიშეფასების გზამკვლევი
შეფასების გზამკვლევიMaia Metreveli
 
Wind Energy in Transportation
Wind Energy in TransportationWind Energy in Transportation
Wind Energy in TransportationFatih Taylı
 
homeworkpaperhouse
homeworkpaperhousehomeworkpaperhouse
homeworkpaperhouseFatih Taylı
 
Проект "Образование"
Проект "Образование"Проект "Образование"
Проект "Образование"Роман Ра
 
Top 10 Most Popular Torrent Sites of 2015
Top 10 Most Popular Torrent Sites of 2015Top 10 Most Popular Torrent Sites of 2015
Top 10 Most Popular Torrent Sites of 2015succinctattorne69
 
Evaluation of my music magazine
Evaluation of my music magazineEvaluation of my music magazine
Evaluation of my music magazineemaanadnan
 
Practica blog
Practica blogPractica blog
Practica blogfcortijoh
 
01.voici l'écrivain 01
01.voici l'écrivain 0101.voici l'écrivain 01
01.voici l'écrivain 01swatijulie84
 
ხეო, უფლისაო...
ხეო, უფლისაო...ხეო, უფლისაო...
ხეო, უფლისაო...Maia Metreveli
 
Daniel's presentation from AIU I-9
Daniel's presentation from AIU I-9Daniel's presentation from AIU I-9
Daniel's presentation from AIU I-9Fatih Taylı
 
Conteht apageedf
Conteht apageedfConteht apageedf
Conteht apageedfemaanadnan
 
Evaluation of my music magazine
Evaluation of my music magazineEvaluation of my music magazine
Evaluation of my music magazineemaanadnan
 

Viewers also liked (20)

Double spread
Double spreadDouble spread
Double spread
 
შეფასების გზამკვლევი
შეფასების გზამკვლევიშეფასების გზამკვლევი
შეფასების გზამკვლევი
 
Wind Energy in Transportation
Wind Energy in TransportationWind Energy in Transportation
Wind Energy in Transportation
 
Figen
FigenFigen
Figen
 
homeworkpaperhouse
homeworkpaperhousehomeworkpaperhouse
homeworkpaperhouse
 
Mayúsculas pdf
Mayúsculas pdfMayúsculas pdf
Mayúsculas pdf
 
Проект "Образование"
Проект "Образование"Проект "Образование"
Проект "Образование"
 
Top 10 Most Popular Torrent Sites of 2015
Top 10 Most Popular Torrent Sites of 2015Top 10 Most Popular Torrent Sites of 2015
Top 10 Most Popular Torrent Sites of 2015
 
Evaluation of my music magazine
Evaluation of my music magazineEvaluation of my music magazine
Evaluation of my music magazine
 
Banking (1)
Banking (1)Banking (1)
Banking (1)
 
Final project
Final projectFinal project
Final project
 
AB'16:26
AB'16:26AB'16:26
AB'16:26
 
Maga
MagaMaga
Maga
 
Practica blog
Practica blogPractica blog
Practica blog
 
Practica blog
Practica blogPractica blog
Practica blog
 
01.voici l'écrivain 01
01.voici l'écrivain 0101.voici l'écrivain 01
01.voici l'écrivain 01
 
ხეო, უფლისაო...
ხეო, უფლისაო...ხეო, უფლისაო...
ხეო, უფლისაო...
 
Daniel's presentation from AIU I-9
Daniel's presentation from AIU I-9Daniel's presentation from AIU I-9
Daniel's presentation from AIU I-9
 
Conteht apageedf
Conteht apageedfConteht apageedf
Conteht apageedf
 
Evaluation of my music magazine
Evaluation of my music magazineEvaluation of my music magazine
Evaluation of my music magazine
 

Similar to Removal of artifacts in EEG by averaging and

Noise reduction in ECG signals for bio-telemetry
Noise reduction in ECG signals for bio-telemetryNoise reduction in ECG signals for bio-telemetry
Noise reduction in ECG signals for bio-telemetryIJECEIAES
 
Noise reduction in ECG Signals for Bio-telemetryb
Noise reduction in ECG Signals for Bio-telemetrybNoise reduction in ECG Signals for Bio-telemetryb
Noise reduction in ECG Signals for Bio-telemetrybIJECEIAES
 
J041215358
J041215358J041215358
J041215358IOSR-JEN
 
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGAnalyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGtheijes
 
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGAnalyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGtheijes
 
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORMDENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORMIJEEE
 
EEG basic to practice 1
EEG basic to practice 1EEG basic to practice 1
EEG basic to practice 1Mohamed Mahdy
 
Noise removal using_ecg
Noise removal using_ecgNoise removal using_ecg
Noise removal using_ecgLora Sahoo
 
An Artificial Neural Network Model for Classification of Epileptic Seizures U...
An Artificial Neural Network Model for Classification of Epileptic Seizures U...An Artificial Neural Network Model for Classification of Epileptic Seizures U...
An Artificial Neural Network Model for Classification of Epileptic Seizures U...ijsc
 
An artificial neural network model for classification of epileptic seizures u...
An artificial neural network model for classification of epileptic seizures u...An artificial neural network model for classification of epileptic seizures u...
An artificial neural network model for classification of epileptic seizures u...ijsc
 

Similar to Removal of artifacts in EEG by averaging and (20)

Noise reduction in ECG signals for bio-telemetry
Noise reduction in ECG signals for bio-telemetryNoise reduction in ECG signals for bio-telemetry
Noise reduction in ECG signals for bio-telemetry
 
Noise reduction in ECG Signals for Bio-telemetryb
Noise reduction in ECG Signals for Bio-telemetrybNoise reduction in ECG Signals for Bio-telemetryb
Noise reduction in ECG Signals for Bio-telemetryb
 
J041215358
J041215358J041215358
J041215358
 
Multidimensional Approaches for Noise Cancellation of ECG signal
Multidimensional Approaches for Noise Cancellation of ECG signalMultidimensional Approaches for Noise Cancellation of ECG signal
Multidimensional Approaches for Noise Cancellation of ECG signal
 
Ecg Signal Processing
Ecg Signal ProcessingEcg Signal Processing
Ecg Signal Processing
 
E05613238
E05613238E05613238
E05613238
 
K010225156
K010225156K010225156
K010225156
 
Ijetcas14 577
Ijetcas14 577Ijetcas14 577
Ijetcas14 577
 
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGAnalyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
 
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGAnalyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
 
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORMDENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
 
Fo3610221025
Fo3610221025Fo3610221025
Fo3610221025
 
Ak32253257
Ak32253257Ak32253257
Ak32253257
 
EEG basic to practice 1
EEG basic to practice 1EEG basic to practice 1
EEG basic to practice 1
 
Noise removal using_ecg
Noise removal using_ecgNoise removal using_ecg
Noise removal using_ecg
 
7. 60 69
7. 60 697. 60 69
7. 60 69
 
EEG_circut.ppt
EEG_circut.pptEEG_circut.ppt
EEG_circut.ppt
 
EEG_circuit.ppt
EEG_circuit.pptEEG_circuit.ppt
EEG_circuit.ppt
 
An Artificial Neural Network Model for Classification of Epileptic Seizures U...
An Artificial Neural Network Model for Classification of Epileptic Seizures U...An Artificial Neural Network Model for Classification of Epileptic Seizures U...
An Artificial Neural Network Model for Classification of Epileptic Seizures U...
 
An artificial neural network model for classification of epileptic seizures u...
An artificial neural network model for classification of epileptic seizures u...An artificial neural network model for classification of epileptic seizures u...
An artificial neural network model for classification of epileptic seizures u...
 

Recently uploaded

the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 

Recently uploaded (20)

the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 

Removal of artifacts in EEG by averaging and

  • 1. REMOVAL OF ARTIFACTS IN EEG BY AVERAGING AND ADAPTIVE ALGORITHMS 1 By Namratha D'cruz
  • 2. COMMON ARTIFACTS IN EEG SIGNALS  EEG is designed to record cerebral activity in the brain.  All signals that appear in the EEG record which don't come from the brain are referred as artifacts.  Artifacts can be divided into : 1. physiologic artifacts 2. Extra physiologic artifacts. 2
  • 3. COMMON ARTIFACTS IN EEG SIGNALS  Physiologic artifacts: these artifacts are generated from the patient, they arise from sources other than brain i.e., other parts of the body (heart and muscle activity, eye blink and eyeball movement).  Extra physiologic artifacts: they arise from outside the body (i.e., equipment, environment).such as bad electrodes location, not clean hairy leather, electrodes impedance, etc. 3
  • 4. COMMON ARTIFACTS IN EEG SIGNALS External device artifacts  Numerous types of external devices produce EEG artifact and may do so through the electrical fields they generate or through mechanical effects on the body.  The most common external artifact is due to the alternating current present in the electrical power supply.  This noise is usually medium to low amplitude and has the monomorphic frequency of the current, which is 60 Hz in North America and 50 Hz in much of the rest of the world. 4
  • 5. COMMON ARTIFACTS IN EEG SIGNALS External device artifacts  The artifact may be present in all channels or in isolated channels that include electrodes that have poorly matched impedances.  Devices like circulatory pump and ventilator can also cause artifacts. 5
  • 6. COMMON ARTIFACTS IN EEG SIGNALS Electrode artifact  The different types of electrode artifacts are : 1. Electrode pop: 2. Electrode contact 3. Electrode/lead movement 4. Perspiration 5. Movement artifact 6
  • 7. COMMON ARTIFACTS IN EEG SIGNALS Cardiac artifacts  Cardiac activity may have pronounced effects on the electroencephalogram (EEG) because of its relatively high electrical energy, especially upon the no-cephalic reference recordings of EEG.  The QRS complexes appear in the EEG signal like regular spikes.  ECG artifact may occur inconsistently by not being present with every contraction of the heart and may have an irregular interval when a cardiac arrhythmia is present 7
  • 8. COMMON ARTIFACTS IN EEG SIGNALS Cardiac artifacts  Cardiac pacemakers produce a different electrical artifact. it is distinct from ECG artifact in both distribution and morphology.  Pacemaker artifact is generalized across the scalp and comprises high frequency with a duration that is shorter than ECG artifact. 8
  • 9. 9
  • 10. COMMON ARTIFACTS IN EEG SIGNALS Ocular artifacts  The human eye generates an electrical dipole caused by a positive cornea and negative retina.  Eye movements and blinks change the dipole causing an electrical signal known as an EOG.  The shape of the EOG waveform depends on factors such as the direction of eye movements.  A fraction of the EOG spreads across the scalp and it is superimposed on the EEG. 10
  • 11. COMMON ARTIFACTS IN EEG SIGNALS  Two kinds of ocular artifacts can be observed in EEG records, eye blinks and eye movements.  Eye blinks are represented by a low frequency signal (< 4 Hz) with high amplitude.  It is a symmetrical activity mainly located on the front electrodes (FP1, FP2) with low propagation.  Eye movements are also represented by a low frequency signal (< 4 Hz) but with higher propagation 11
  • 12. 12
  • 13. COMMON ARTIFACTS IN EEG SIGNALS EMG artifacts  EMG activity is the most common and significant source of noise in EEG.  Repetitive EMG artifact may occur with photic stimulation as a time locked facial muscle response to the flash of light.  Activities like chewing and swallowing can also cause muscular artifacts. 13
  • 14. REMOVAL OF ARTIFACTS USING ADAPTIVE FILTERING  Adaptive filters are based on the optimization theory and they have the capability of modifying their properties according to selected features of the signals being analyzed.  Figure below illustrates the structure of an adaptive filter. 14
  • 15. REMOVAL OF ARTIFACTS USING ADAPTIVE FILTERING  The objective of an adaptive filter is to change (adapt) the coefficients of the linear filter, and hence its frequency response, to generate a signal similar to the noise present in the signal to be filtered.  The adaptive filter adjusts its coefficients to minimize the squared error between its output and a primary signal.  In an adaptive filter, there are basically two processes: 1. A filtering process, in which an output signal is the response of a digital filter. Usually, FIR filters are used in this process because they are linear, simple and stable. 2. An adaptive process, in which the transfer function H(z) is adjusted according to an optimizing algorithm. The most used optimizing criterion is the Least Mean Square (LMS) algorithm 15
  • 16. LMS ALGORITHM Structure of FIR filter 16
  • 17. LMS ALGORITHM  The structure of the FIR can be represented as,  where L is the order of the filter, x(n) is the secondary input signal, wk are the filter coefficients and y(n) is the filter output.  The error signal e(n) is defined as the difference between the primary signal d(n) and the filter output y(n), that is, e(n) = d(n)-y(n) Where 17 (1) (2) (3)
  • 18. LMS ALGORITHM  The squared error is,  The squared error expectation for N samples is given by 18 (4) (5) (6)
  • 19. LMS ALGORITHM  where rdx(n) and rxx(n) are, respectively, the cross-correlation function between the primary and secondary input signals, and the autocorrelation function of the secondary input, that is  The objective of the adaptation process is to minimize the squared error. To get this goal there are different optimization techniques. we use the method of steepest descent. 19 (7) (8)
  • 20. LMS ALGORITHM  With this, it is possible to calculate the filter coefficient vector for each iteration k having information about the previous coefficients and gradient, multiplied by a constant, that is,  where μ is a coefficient that controls the rate of adaptation.  The gradient is defined as, 20 9 10
  • 21. LMS ALGORITHM  Substituting (10) in (9) leads to,  Deriving with respect to wk and replacing leads to, 21 11 12 13
  • 22. LMS ALGORITHM  Since d(n) and x(n) are independent with respect to wk , then  Equation (14) is the final description of the algorithm to compute the filter coefficients as function of the signal error e(n) and the reference input signal x(n).  The coefficient μ is a constant that must be chosen for quick adaptation without losing stability. The filter is stable if μ satisfies the following condition,  where L is the filter order and Pxx is the total power of the input signal. 22 14
  • 23. To remove the main artifacts of the EEG signal, a cascade of three adaptive filters is used as shown in the figure below. 23
  • 24. REMOVAL OF ARTIFACTS FROM EEG  The input d1(n) in the first stage is the EEG corrupted with artifacts (EEG + line-frequency + ECG + EOG).  The reference x1(n) in the first stage is an artificial sine function generated with 50 Hz (or 60 Hz, depends on line frequency).  The output of H1(z) is y1(n), which is an estimation of the line artifacts present in the EEG.  This signal y1(n) is subtracted from the corrupted d1(n) to produce the error e1(n), which is the EEG without line-interference 24
  • 25. Example of a segment of EEG filtered with stage 1 a) Red: Original EEG contaminated with 50 Hz power line interference, d1(n). b) Blue: EEG without line interference, e1(n). 25
  • 26. REMOVAL OF ARTIFACTS FROM EEG  The e1(n) error is forwarded as the corrupted input signal d2(n) to the second stage.  The reference input x2(n) of the second stage can be either a real or artificial ECG. The output of H2(z) is y2(n), representing a good estimate of the ECG artifacts present in the EEG record.  Signal y2(n) is subtracted from d2(n); its result produces error e2(n).  Thus, the EEG without line and ECG artifacts is obtained. 26
  • 27. Example of a segment of EEG filtered with stage 2. In Red: Contaminated EEG, d2(n). In Green: ECG signal. In Black: output signal from H2(z), that is y2(n). In Blue: EEG without ECG artifacts, e2(n). 27
  • 28. REMOVAL OF ARTIFACTS FROM EEG  Then, e2(n) enters into the third stage as the signal d3(n).  The reference input x3(n) of filter H3(z) is also a real or artificial EOG and its output is y3(n), which is a replica of the EOG artifacts present in the EEG record.  when y3(n), subtracted from d3(n), gives error e3(n). It is the final output of the cascade filter, that is, the clean EEG without artifacts. 28
  • 29. Example of segment of EEG filtered with stage 3. In Red: Contaminated EEG, d3(n). In Green: EOG signal. In Black: output signal from H3(z), that is y3(n). In Blue: EEG 29 without EOG artifacts, e3(n).
  • 30. 30
  • 31. 31