Professional Documents
Culture Documents
Heart Disease Diagnostic Graphical User Interface Using Fractal Dimension
Heart Disease Diagnostic Graphical User Interface Using Fractal Dimension
1200
1150
Rescaled range analysis is a statistical method used to
1100 analyze long records of natural phenomena. Two factors are
1050
used in this analysis; the range (R) and the standard deviation
1000
(S) [2]. The ratio R/S is known as the rescaled range, and it is
described by the following empirical relations:
950
[R N / S N] α NH
900
850
0 500 1000 1500 2000 2500 3000 3500 4000
(1)
Log2 [R N/SN] = C + H Log2 (N) (2)
Fig. 2. ECG Signal of a PVC Patient.
where:
B. Preprocessing Stage N: refers to the slot size value,
C: is a constant [2].
Baseline drift is one of the common problems in ECG H: is Hurst Exponent
signal. This type of artifacts must be eliminated because it
affects the whale shape of the ECG signal in order to avoid Fig. 4 shows the procedure for calculating the rescaled range
wrong diagnosis. A Moving Average filter was chosen to (R N/SN) for any time series.
remove this kind of noise. It is a very simple Low Pass FIR
(Finite Impulse Response) filter commonly used for
smoothing and filtering an array of sampled signal. It takes M
samples of input signal at a time and averages those M-
samples to produce a single output point signal [3]. Fig.3
shows the ECG signal before and after removing the baseline
drift.
Input Data
1300
1200
Microvolts
1100
1000
900
800
0 500 1000 1500 2000 2500 3000 3500 4000
Seconds
200
Microvolts
100
-100
0 500 1000 1500 2000 2500 3000 3500 4000
Seconds
The mathematical method used to process the ECG is the 2) Hurst Exponent Estimation
Fractal Dimension. The term fractal was coined from the Latin The Hurst Exponent is the measure of the smoothness of
fractal time series based on the asymptotic behavior of the
337
rescaled range of the process. It is estimated by calculating the The Fractal Dimension (D) is calculated from the Hurst
average rescaled range over multiple regions of the data [2]. exponent (H) using the relation:
To estimate the Hurst Exponent from the rescaled range the D=2-H 0≤H≤1 (3)
following steps are applied;
338
then plotted in the lower empty axis, where it is compared
with the normal ECG Signal. By pressing the “Calc Fractal
Dimension” button, the value of the fractal dimension is
calculated and compared with Table II. The diagnosis of the
patient’s condition would then be displayed.
339
range of fractal dimension for a healthy person was 1.73–1.81,
for PVC patients was 1.34–1.44, for PAC patients was 1.49–
1.69 and for Atrial Fibrillation patients was 1.11–1.30. A
Graphical User Interface (GUI) was designed using MATLAB
to help in diagnosing the ECG signal by calculating its Fractal
Dimension. The results showed that the Fraction Dimension
performs well in classifying the different ECG signals.
REFERENCES
[1] Jennifer Lynn Kowalak, Carol Turkington, “ECG Interpretation”,
Lippincott Manual of Nursing Practice Series, Lippincott
Williams & Wilkins, 150-200, 2007.
[2] Malhar Kale & Ferry Butar Butar, “Fractal Analysis of Time
Series and Distribution Properties of Hurst Exponent”, Journal of
Mathematical Sciences & Mathematics Education, Vol. 5, No. 1,
2011.
[3] L. Sornmo, “Time-varying Filtering For Removal of Baseline
Wander in Exercise ECGs”, in Proc. Conf. Computers in
Cardiology, pp. 145-148,1991.
[4] “Fractals and Fractal Dimension”,
http://www.vanderbilt.edu/AnS/psychology/cogsci/chaos/worksh
op/Fractals.html
[5] Goldberger, et al., 2000, “PhysioBank, PhysioToolkit, and
PhysioNet: Components of a New Research Resource for
Complex Physiologic Signals”. Circulation 101(23): pp e215-
e220 [Circulation Electronic Pages;
http://circ.ahajournals.org/cgi/content/full/101/23/e215].
340