SlideShare a Scribd company logo
1 of 21
Download to read offline
DETECTION OF DISEASES USING ECG
SIGNAL
EED 4094 Final Project Presentation
By
SERHAT DAĞ
• In recent years, electrocardiogram (ECG) has been used as main
method for the diagnosis of heart disease.
• The purpose of this study is detect heart diseases with ECG signal
Electrocardiograms (Electrocardiography)
• Electrocardiography (ECG ) is the process of recording the electrical
activity of the heart.
Figure 1: Represents a typical ECG
Figure 2: Normal ECG signal and intervals
• A zero line is drawn at this time is called
the isoelectric line.
• The P wave indicates atrial depolarization
• QRS complex corresponds to the
depolarization of the right and left
ventricles of the human heart
• T wave represents the repolarization (or
recovery) of the ventricles.
• U waves are thought to represent
repolarization of the papillary muscles
ARRHYTMIA
• Cardiac arrhythmia (irregular heartbeat) is a heterogeneous group of conditions
involving abnormal electrical activity in the heart.
Normal Sinus Rhythm
• P-R interval should be between 0.12 and 0.20 seconds(120-200 ms)
• The rhythm is regular.
• Duration of RR interval should be between 480 and 600 ms
Sinus tachycardia
• PR interval is between 0.12–0.20 seconds.
• Electrical signal is faster than usual.
• Due to the above reasons, duration of RR peak should be shorter than normal sinüs.
Figure 4 :Sinus tachycardia
Sinus Bradycardia
• Electrical signal is slower than usual. The heart rate is slower.
• PR interval is between 0.12–0.20 seconds.
• Duration of RR peak should be bigger than tachycardia.
Figure 5:Sinus Bradycardia
DATA
• ECG signals are collected from Physionet MIT-BIH arrhythmia database
ECG signals are described by a text header file (.hea), a binary data file (.dat)
and a binary annotation file (.atr) :
• Header file consists of detailed information (such as number of samples, sampling
frequency, format of ECG signal , patient’s history and the detailed clinical
information)
• In binary data signal file (is used for project ) , raw ECG recordings were
sampled at 360 Hz with an 12-bit (for each sample) resolution.
• Annotation file, contain some comments about analysis of signal quality results
Wavelet Transform
WHY WE USE ?
• The wavelet transform can separate high frequency component and
low frequency component in time domain
• It allows accurate feature extraction from non-stationary signals like
ECG.
WHAT IS WAVELET TRANSFORM?
The sum of over all time of the signal multiplied by scaled with
wavelet function.
Continuous Wavelet Transform
• This means
W a, b = −∞
+∞
f t ᴪa,b (t) dt
where,
ᴪa,b t =
1
a
ᴪ∗
(
t−b
a
)
Where * denotes complex conjugation and , ᴪ∗(
𝑡−𝑏
𝑎
) is a window function
called the mother wavelet, a’ is a scale factor ,b’ is also a translation factor
Continuous Wavelet Transform
• Wavelets are defined by the wavelet function ψ(t) (the mother
wavelet) and scaling function φ(t) (also called father wavelet) in the
time domain.
Let a=𝑎0
−𝑟 , b=ka0
−rb0 and a0 = 2 , and b0 = 1
For ᴪa,b t =
1
a
ᴪ∗(
t−b
a
)
We can define scaling and wavelet function as below
Φj,k t = 2
j
2ΦN 2jt − k , ᴪj,k t = 2
j
2ᴪ(2kt − k)
Discrete Wavelet Transform
• It provides enough information for signal. It offers a significant
reduction In computation time, it mean it is faster .
𝑊ᴪ(j, k)=
1
M 𝑛 f(n)ᴪj,k(n) and 𝑊𝛷(𝑗0, k)=
1
𝑀 n f(n)Φj0,k(n)
For j≥ 𝑗0 and n∈ 𝑍
where
Φj,k t = 2
j
2ΦN 2jt − k , ᴪj,k t = 2
j
2ᴪ(2kt − k)
Types Of Wavelet
• Φ 𝑁 t = 𝑛 hΦ n 2 Φ(2t − n) and ᴪ(t)= 𝑛 hᴪ n 2 Φ(2t − n)
Where
• 𝛷(𝑡) =
1 when 0 ≤ t ≤ 1
0 otherwise
and ᴪ(𝑡)
1 when 0 ≤ t ≤ 1/2
−1 when
1
2
≤ t ≤ 1
0 otherwise
• ℎᴪ 𝑛 and ℎ 𝛷 𝑛 is wavelet and scaling function coefficient. These coefficients
indicate characteristic characteristics of wavelet and scaling function
Daubechies Wavelet
• Daubechies wavelet family are similar in shape to QRS complex
• It is more effective than other waves
•
Figure 6: Scaling function for wavelet Daubechies 8 Figure 7: wavelet function for wavelet Daubechies 8
• if ᴪ𝑗,𝑘 𝑛 = 2
𝑗
2ᴪ(2 𝑗
𝑛 − 𝑘) and ᴪ(t)= 𝑛 ℎᴪ 𝑛 2 𝛷(2𝑡 − 𝑛) are used
for
𝑊ᴪ(j, k)=
1
𝑀 𝑛 𝑓(𝑛)ᴪ𝑗,𝑘(𝑛)
𝑊ᴪ(j, k)= 𝑚 ℎᴪ 𝑚 − 2𝑘 𝑊𝛷(j+1, m) is found
This means,
𝑊ᴪ(j, k)= ℎᴪ −𝑛 * 𝑊ᴪ(j+1, m) and we can apply same operation for
approximation coefficient Therefore 𝑊𝛷(j, k)= ℎ 𝛷 −𝑛 * 𝑊𝛷(j+1, m) for n=2k
and
k≥ 0
Decomposition tree
•
Figure 8: Relationship between digital wavelet coefficients
The original signal is filtered by half band low pass and high pass filter.
This is done for each coefficient.
• The original signal is filtered by half band low pass and high pass
filter. This is done for each coefficient. The width of the filter will be
reduced by half for each level
Figure 9: Three level wavelet decomposition tree
Figure 10:Approximation Coefficients of Signal Levels for db8
The high-frequency components are removed by wavelet transform. Therefore last signal
(8.Level) is smooth and maximum value can be found. In addition effect of scaling function can
be noticed.
Peaks detection
• Peaks of the R waves have a largest amplitude
• After the decompose the signal high frequency component is
removed. R peaks is noticeable
Figure 11:Approximation coefficient of signal At Level 4 (101.dat signal is
used)
ALGORITHM OF PROGRAM
• 1) Apply Discreate Wavelet Transform
• 2) R peak detection (Find the maximum value of ECG signal and locate Rloc )
• 3) P peak detection (Using window Rloc-90 to Rloc-10, find the maximum)
• 4)Q peak detection (The minima in the window of Rloc-40 to Rloc-10 )
• 5) S Peak Detection (The minima in the window of Rloc+5 to Rloc+40)
• 6) T Peak Detection (Using window of Rloc+25 to Rloc+90, find the maximum)
• 7) Calculate PR and PR Intervals
• 8) Decision for Patient Healthy or not Healthy
• [1] Digital Image Processing (3rd Edition) 3rd Edition by Rafael C.
Gonzalez, pp.477-493
• [2]ECG Feature Extraction Using Daubechies Wavelets S. Z.
Mahmoodabadi, A. Ahmadian, M. D. Abolhasani, Tehran University of
Medical Sciences (TUMS), Tehran, Iran
• [3] A Wavelet Transform Method to Detect P and S-Phases in Three
Component Seismic Data Salam Al-Hashmi, Adrian Rawlins, Frank
Vernon
• [4] THE MIT-BIH Arrhythmia Database On CD_ROM AND Software
For Use With it, George B. Moody and Roger G. Mark
REFERENCES

More Related Content

What's hot

ECG SIGNAL GENERATED FROM DATA BASE USING MATLAB
ECG SIGNAL GENERATED FROM DATA BASE USING MATLABECG SIGNAL GENERATED FROM DATA BASE USING MATLAB
ECG SIGNAL GENERATED FROM DATA BASE USING MATLABUdayKumar937
 
DE-NOISING OF ECG USING WAVELETS AND MULTIWAVELETS
DE-NOISING OF ECG  USING WAVELETS  AND MULTIWAVELETS     DE-NOISING OF ECG  USING WAVELETS  AND MULTIWAVELETS
DE-NOISING OF ECG USING WAVELETS AND MULTIWAVELETS ajayhakkumar
 
ECG DENOISING USING NN.pp
ECG DENOISING USING NN.ppECG DENOISING USING NN.pp
ECG DENOISING USING NN.ppbobbydm
 
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
 
Ecg compression using fft
Ecg compression using fftEcg compression using fft
Ecg compression using fftcjsupreme
 
Paper id 36201509
Paper id 36201509Paper id 36201509
Paper id 36201509IJRAT
 
Noise removal using_ecg
Noise removal using_ecgNoise removal using_ecg
Noise removal using_ecgLora Sahoo
 
enhancement of ecg signal using wavelet transfform
enhancement of ecg signal using wavelet transfformenhancement of ecg signal using wavelet transfform
enhancement of ecg signal using wavelet transfformU Reshmi
 
Classification and Detection of ECG-signals using Artificial Neural Networks
Classification and Detection of ECG-signals using Artificial Neural NetworksClassification and Detection of ECG-signals using Artificial Neural Networks
Classification and Detection of ECG-signals using Artificial Neural NetworksGaurav upadhyay
 
QRS Detection Algorithm Using Savitzky-Golay Filter
QRS Detection Algorithm Using Savitzky-Golay FilterQRS Detection Algorithm Using Savitzky-Golay Filter
QRS Detection Algorithm Using Savitzky-Golay FilterIDES Editor
 
P-Wave Related Disease Detection Using DWT
P-Wave Related Disease Detection Using DWTP-Wave Related Disease Detection Using DWT
P-Wave Related Disease Detection Using DWTIOSRJVSP
 
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...IRJET Journal
 

What's hot (20)

ECG SIGNAL GENERATED FROM DATA BASE USING MATLAB
ECG SIGNAL GENERATED FROM DATA BASE USING MATLABECG SIGNAL GENERATED FROM DATA BASE USING MATLAB
ECG SIGNAL GENERATED FROM DATA BASE USING MATLAB
 
DE-NOISING OF ECG USING WAVELETS AND MULTIWAVELETS
DE-NOISING OF ECG  USING WAVELETS  AND MULTIWAVELETS     DE-NOISING OF ECG  USING WAVELETS  AND MULTIWAVELETS
DE-NOISING OF ECG USING WAVELETS AND MULTIWAVELETS
 
Ecg
EcgEcg
Ecg
 
ECG DENOISING USING NN.pp
ECG DENOISING USING NN.ppECG DENOISING USING NN.pp
ECG DENOISING USING NN.pp
 
7. 60 69
7. 60 697. 60 69
7. 60 69
 
rupesh k10741
rupesh  k10741rupesh  k10741
rupesh k10741
 
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
 
ECG
ECGECG
ECG
 
Ecg compression using fft
Ecg compression using fftEcg compression using fft
Ecg compression using fft
 
Paper id 36201509
Paper id 36201509Paper id 36201509
Paper id 36201509
 
Noise removal using_ecg
Noise removal using_ecgNoise removal using_ecg
Noise removal using_ecg
 
enhancement of ecg signal using wavelet transfform
enhancement of ecg signal using wavelet transfformenhancement of ecg signal using wavelet transfform
enhancement of ecg signal using wavelet transfform
 
Classification and Detection of ECG-signals using Artificial Neural Networks
Classification and Detection of ECG-signals using Artificial Neural NetworksClassification and Detection of ECG-signals using Artificial Neural Networks
Classification and Detection of ECG-signals using Artificial Neural Networks
 
QRS Detection Algorithm Using Savitzky-Golay Filter
QRS Detection Algorithm Using Savitzky-Golay FilterQRS Detection Algorithm Using Savitzky-Golay Filter
QRS Detection Algorithm Using Savitzky-Golay Filter
 
ECG BASED REPORT.
ECG BASED REPORT.ECG BASED REPORT.
ECG BASED REPORT.
 
P-Wave Related Disease Detection Using DWT
P-Wave Related Disease Detection Using DWTP-Wave Related Disease Detection Using DWT
P-Wave Related Disease Detection Using DWT
 
final ppt
final pptfinal ppt
final ppt
 
ECG
ECGECG
ECG
 
M010417478
M010417478M010417478
M010417478
 
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
 

Viewers also liked

DETECTION OF DISEASES USING ECG
DETECTION OF DISEASES USING ECGDETECTION OF DISEASES USING ECG
DETECTION OF DISEASES USING ECGSerhat Dağ
 
Analysis and Classification of ECG Signal using Neural Network
Analysis and Classification of ECG Signal using Neural NetworkAnalysis and Classification of ECG Signal using Neural Network
Analysis and Classification of ECG Signal using Neural NetworkZHENG YAN LAM
 
EKG Project Oral Presentation
EKG Project Oral Presentation EKG Project Oral Presentation
EKG Project Oral Presentation Abdiqani Sidow
 
AR-based Method for ECG Classification and Patient Recognition
AR-based Method for ECG Classification and Patient RecognitionAR-based Method for ECG Classification and Patient Recognition
AR-based Method for ECG Classification and Patient RecognitionCSCJournals
 
Wireless ECG System-Presentation
Wireless ECG System-PresentationWireless ECG System-Presentation
Wireless ECG System-PresentationHamza Al-Jaghbeer
 
Ecg signal processing for detection and classification of cardiac diseases
Ecg signal processing for detection and classification of cardiac diseasesEcg signal processing for detection and classification of cardiac diseases
Ecg signal processing for detection and classification of cardiac diseasesIAEME Publication
 
Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...
Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...
Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...CSCJournals
 
Compare gsm cdma
Compare gsm cdmaCompare gsm cdma
Compare gsm cdmaAli Kamil
 
Advanced 12 Lead
Advanced 12 LeadAdvanced 12 Lead
Advanced 12 LeadRLMitchell1
 

Viewers also liked (20)

DETECTION OF DISEASES USING ECG
DETECTION OF DISEASES USING ECGDETECTION OF DISEASES USING ECG
DETECTION OF DISEASES USING ECG
 
Analysis and Classification of ECG Signal using Neural Network
Analysis and Classification of ECG Signal using Neural NetworkAnalysis and Classification of ECG Signal using Neural Network
Analysis and Classification of ECG Signal using Neural Network
 
EKG Project Oral Presentation
EKG Project Oral Presentation EKG Project Oral Presentation
EKG Project Oral Presentation
 
AR-based Method for ECG Classification and Patient Recognition
AR-based Method for ECG Classification and Patient RecognitionAR-based Method for ECG Classification and Patient Recognition
AR-based Method for ECG Classification and Patient Recognition
 
Wireless ECG System-Presentation
Wireless ECG System-PresentationWireless ECG System-Presentation
Wireless ECG System-Presentation
 
ECG QRS Complex Detector
ECG QRS Complex DetectorECG QRS Complex Detector
ECG QRS Complex Detector
 
Ecg signal processing for detection and classification of cardiac diseases
Ecg signal processing for detection and classification of cardiac diseasesEcg signal processing for detection and classification of cardiac diseases
Ecg signal processing for detection and classification of cardiac diseases
 
GSM & CDMA
GSM & CDMAGSM & CDMA
GSM & CDMA
 
Gsm&cdma
Gsm&cdmaGsm&cdma
Gsm&cdma
 
11
1111
11
 
Mini project
Mini projectMini project
Mini project
 
Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...
Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...
Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...
 
Compare gsm cdma
Compare gsm cdmaCompare gsm cdma
Compare gsm cdma
 
ECG MONITORING SYSTEM
ECG MONITORING SYSTEMECG MONITORING SYSTEM
ECG MONITORING SYSTEM
 
GSM vs. CDMA
GSM vs. CDMAGSM vs. CDMA
GSM vs. CDMA
 
GSM vs CDMA
GSM vs CDMAGSM vs CDMA
GSM vs CDMA
 
Advanced 12 Lead
Advanced 12 LeadAdvanced 12 Lead
Advanced 12 Lead
 
Sleep activity in eeg
Sleep activity in eegSleep activity in eeg
Sleep activity in eeg
 
EEG in Sleep
EEG in Sleep EEG in Sleep
EEG in Sleep
 
Gsm Vs Cdma
Gsm Vs CdmaGsm Vs Cdma
Gsm Vs Cdma
 

Similar to detectıon of dıseases usıng ECG signal

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
 
Ultrasonic Range Finder
Ultrasonic Range FinderUltrasonic Range Finder
Ultrasonic Range FinderHicham Berkouk
 
Ch4 (1)_fourier series, fourier transform
Ch4 (1)_fourier series, fourier transformCh4 (1)_fourier series, fourier transform
Ch4 (1)_fourier series, fourier transformShalabhMishra10
 
ECG Signal Compression Technique Based on Discrete Wavelet Transform and QRS-...
ECG Signal Compression Technique Based on Discrete Wavelet Transform and QRS-...ECG Signal Compression Technique Based on Discrete Wavelet Transform and QRS-...
ECG Signal Compression Technique Based on Discrete Wavelet Transform and QRS-...CSCJournals
 
Design and Analysis of Active Bandpass Filter
Design and Analysis of Active Bandpass FilterDesign and Analysis of Active Bandpass Filter
Design and Analysis of Active Bandpass FilterKyla Marino
 
J041215358
J041215358J041215358
J041215358IOSR-JEN
 
Electrocardiogram Denoised Signal by Discrete Wavelet Transform and Continuou...
Electrocardiogram Denoised Signal by Discrete Wavelet Transform and Continuou...Electrocardiogram Denoised Signal by Discrete Wavelet Transform and Continuou...
Electrocardiogram Denoised Signal by Discrete Wavelet Transform and Continuou...CSCJournals
 
Signal & systems
Signal & systemsSignal & systems
Signal & systemsAJAL A J
 
Ecet 345 Massive Success / snaptutorial.com
Ecet 345 Massive Success / snaptutorial.comEcet 345 Massive Success / snaptutorial.com
Ecet 345 Massive Success / snaptutorial.comHarrisGeorgx
 
Ecet 345 Enthusiastic Study / snaptutorial.com
Ecet 345 Enthusiastic Study / snaptutorial.comEcet 345 Enthusiastic Study / snaptutorial.com
Ecet 345 Enthusiastic Study / snaptutorial.comStephenson34
 
Ecet 345 Success Begins / snaptutorial.com
Ecet 345  Success Begins / snaptutorial.comEcet 345  Success Begins / snaptutorial.com
Ecet 345 Success Begins / snaptutorial.comWilliamsTaylorzl
 
Course-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdfCourse-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdfShreeDevi42
 
Advanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdfAdvanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdfHariPrasad314745
 

Similar to detectıon of dıseases usıng ECG signal (20)

ECG
ECGECG
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
 
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
 
Ultrasonic Range Finder
Ultrasonic Range FinderUltrasonic Range Finder
Ultrasonic Range Finder
 
Basic concepts
Basic conceptsBasic concepts
Basic concepts
 
F41043841
F41043841F41043841
F41043841
 
Ch4 (1)_fourier series, fourier transform
Ch4 (1)_fourier series, fourier transformCh4 (1)_fourier series, fourier transform
Ch4 (1)_fourier series, fourier transform
 
ECG Signal Compression Technique Based on Discrete Wavelet Transform and QRS-...
ECG Signal Compression Technique Based on Discrete Wavelet Transform and QRS-...ECG Signal Compression Technique Based on Discrete Wavelet Transform and QRS-...
ECG Signal Compression Technique Based on Discrete Wavelet Transform and QRS-...
 
Design and Analysis of Active Bandpass Filter
Design and Analysis of Active Bandpass FilterDesign and Analysis of Active Bandpass Filter
Design and Analysis of Active Bandpass Filter
 
J041215358
J041215358J041215358
J041215358
 
Ecg
EcgEcg
Ecg
 
Electrocardiogram Denoised Signal by Discrete Wavelet Transform and Continuou...
Electrocardiogram Denoised Signal by Discrete Wavelet Transform and Continuou...Electrocardiogram Denoised Signal by Discrete Wavelet Transform and Continuou...
Electrocardiogram Denoised Signal by Discrete Wavelet Transform and Continuou...
 
Lec11.ppt
Lec11.pptLec11.ppt
Lec11.ppt
 
I027050057
I027050057I027050057
I027050057
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
 
Ecet 345 Massive Success / snaptutorial.com
Ecet 345 Massive Success / snaptutorial.comEcet 345 Massive Success / snaptutorial.com
Ecet 345 Massive Success / snaptutorial.com
 
Ecet 345 Enthusiastic Study / snaptutorial.com
Ecet 345 Enthusiastic Study / snaptutorial.comEcet 345 Enthusiastic Study / snaptutorial.com
Ecet 345 Enthusiastic Study / snaptutorial.com
 
Ecet 345 Success Begins / snaptutorial.com
Ecet 345  Success Begins / snaptutorial.comEcet 345  Success Begins / snaptutorial.com
Ecet 345 Success Begins / snaptutorial.com
 
Course-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdfCourse-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdf
 
Advanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdfAdvanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdf
 

Recently uploaded

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 

Recently uploaded (20)

9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
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
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 

detectıon of dıseases usıng ECG signal

  • 1. DETECTION OF DISEASES USING ECG SIGNAL EED 4094 Final Project Presentation By SERHAT DAĞ
  • 2. • In recent years, electrocardiogram (ECG) has been used as main method for the diagnosis of heart disease. • The purpose of this study is detect heart diseases with ECG signal
  • 3. Electrocardiograms (Electrocardiography) • Electrocardiography (ECG ) is the process of recording the electrical activity of the heart. Figure 1: Represents a typical ECG
  • 4. Figure 2: Normal ECG signal and intervals • A zero line is drawn at this time is called the isoelectric line. • The P wave indicates atrial depolarization • QRS complex corresponds to the depolarization of the right and left ventricles of the human heart • T wave represents the repolarization (or recovery) of the ventricles. • U waves are thought to represent repolarization of the papillary muscles
  • 5. ARRHYTMIA • Cardiac arrhythmia (irregular heartbeat) is a heterogeneous group of conditions involving abnormal electrical activity in the heart. Normal Sinus Rhythm • P-R interval should be between 0.12 and 0.20 seconds(120-200 ms) • The rhythm is regular. • Duration of RR interval should be between 480 and 600 ms
  • 6. Sinus tachycardia • PR interval is between 0.12–0.20 seconds. • Electrical signal is faster than usual. • Due to the above reasons, duration of RR peak should be shorter than normal sinüs. Figure 4 :Sinus tachycardia
  • 7. Sinus Bradycardia • Electrical signal is slower than usual. The heart rate is slower. • PR interval is between 0.12–0.20 seconds. • Duration of RR peak should be bigger than tachycardia. Figure 5:Sinus Bradycardia
  • 8. DATA • ECG signals are collected from Physionet MIT-BIH arrhythmia database ECG signals are described by a text header file (.hea), a binary data file (.dat) and a binary annotation file (.atr) : • Header file consists of detailed information (such as number of samples, sampling frequency, format of ECG signal , patient’s history and the detailed clinical information) • In binary data signal file (is used for project ) , raw ECG recordings were sampled at 360 Hz with an 12-bit (for each sample) resolution. • Annotation file, contain some comments about analysis of signal quality results
  • 9. Wavelet Transform WHY WE USE ? • The wavelet transform can separate high frequency component and low frequency component in time domain • It allows accurate feature extraction from non-stationary signals like ECG. WHAT IS WAVELET TRANSFORM? The sum of over all time of the signal multiplied by scaled with wavelet function.
  • 10. Continuous Wavelet Transform • This means W a, b = −∞ +∞ f t ᴪa,b (t) dt where, ᴪa,b t = 1 a ᴪ∗ ( t−b a ) Where * denotes complex conjugation and , ᴪ∗( 𝑡−𝑏 𝑎 ) is a window function called the mother wavelet, a’ is a scale factor ,b’ is also a translation factor
  • 11. Continuous Wavelet Transform • Wavelets are defined by the wavelet function ψ(t) (the mother wavelet) and scaling function φ(t) (also called father wavelet) in the time domain. Let a=𝑎0 −𝑟 , b=ka0 −rb0 and a0 = 2 , and b0 = 1 For ᴪa,b t = 1 a ᴪ∗( t−b a ) We can define scaling and wavelet function as below Φj,k t = 2 j 2ΦN 2jt − k , ᴪj,k t = 2 j 2ᴪ(2kt − k)
  • 12. Discrete Wavelet Transform • It provides enough information for signal. It offers a significant reduction In computation time, it mean it is faster . 𝑊ᴪ(j, k)= 1 M 𝑛 f(n)ᴪj,k(n) and 𝑊𝛷(𝑗0, k)= 1 𝑀 n f(n)Φj0,k(n) For j≥ 𝑗0 and n∈ 𝑍 where Φj,k t = 2 j 2ΦN 2jt − k , ᴪj,k t = 2 j 2ᴪ(2kt − k)
  • 13. Types Of Wavelet • Φ 𝑁 t = 𝑛 hΦ n 2 Φ(2t − n) and ᴪ(t)= 𝑛 hᴪ n 2 Φ(2t − n) Where • 𝛷(𝑡) = 1 when 0 ≤ t ≤ 1 0 otherwise and ᴪ(𝑡) 1 when 0 ≤ t ≤ 1/2 −1 when 1 2 ≤ t ≤ 1 0 otherwise • ℎᴪ 𝑛 and ℎ 𝛷 𝑛 is wavelet and scaling function coefficient. These coefficients indicate characteristic characteristics of wavelet and scaling function
  • 14. Daubechies Wavelet • Daubechies wavelet family are similar in shape to QRS complex • It is more effective than other waves • Figure 6: Scaling function for wavelet Daubechies 8 Figure 7: wavelet function for wavelet Daubechies 8
  • 15. • if ᴪ𝑗,𝑘 𝑛 = 2 𝑗 2ᴪ(2 𝑗 𝑛 − 𝑘) and ᴪ(t)= 𝑛 ℎᴪ 𝑛 2 𝛷(2𝑡 − 𝑛) are used for 𝑊ᴪ(j, k)= 1 𝑀 𝑛 𝑓(𝑛)ᴪ𝑗,𝑘(𝑛) 𝑊ᴪ(j, k)= 𝑚 ℎᴪ 𝑚 − 2𝑘 𝑊𝛷(j+1, m) is found This means, 𝑊ᴪ(j, k)= ℎᴪ −𝑛 * 𝑊ᴪ(j+1, m) and we can apply same operation for approximation coefficient Therefore 𝑊𝛷(j, k)= ℎ 𝛷 −𝑛 * 𝑊𝛷(j+1, m) for n=2k and k≥ 0
  • 16. Decomposition tree • Figure 8: Relationship between digital wavelet coefficients The original signal is filtered by half band low pass and high pass filter. This is done for each coefficient.
  • 17. • The original signal is filtered by half band low pass and high pass filter. This is done for each coefficient. The width of the filter will be reduced by half for each level Figure 9: Three level wavelet decomposition tree
  • 18. Figure 10:Approximation Coefficients of Signal Levels for db8 The high-frequency components are removed by wavelet transform. Therefore last signal (8.Level) is smooth and maximum value can be found. In addition effect of scaling function can be noticed.
  • 19. Peaks detection • Peaks of the R waves have a largest amplitude • After the decompose the signal high frequency component is removed. R peaks is noticeable Figure 11:Approximation coefficient of signal At Level 4 (101.dat signal is used)
  • 20. ALGORITHM OF PROGRAM • 1) Apply Discreate Wavelet Transform • 2) R peak detection (Find the maximum value of ECG signal and locate Rloc ) • 3) P peak detection (Using window Rloc-90 to Rloc-10, find the maximum) • 4)Q peak detection (The minima in the window of Rloc-40 to Rloc-10 ) • 5) S Peak Detection (The minima in the window of Rloc+5 to Rloc+40) • 6) T Peak Detection (Using window of Rloc+25 to Rloc+90, find the maximum) • 7) Calculate PR and PR Intervals • 8) Decision for Patient Healthy or not Healthy
  • 21. • [1] Digital Image Processing (3rd Edition) 3rd Edition by Rafael C. Gonzalez, pp.477-493 • [2]ECG Feature Extraction Using Daubechies Wavelets S. Z. Mahmoodabadi, A. Ahmadian, M. D. Abolhasani, Tehran University of Medical Sciences (TUMS), Tehran, Iran • [3] A Wavelet Transform Method to Detect P and S-Phases in Three Component Seismic Data Salam Al-Hashmi, Adrian Rawlins, Frank Vernon • [4] THE MIT-BIH Arrhythmia Database On CD_ROM AND Software For Use With it, George B. Moody and Roger G. Mark REFERENCES