Visual Analysis of ECG Sequences on Variant Maps

This chapter presents the variant measurement based on the variant logic, which uses the ECG sequence as the signal source, and outputs the variant maps of ECG sequences. It provides a supplementary study for ECG detection. Samples of ECG signal are collected from the First People’s Hospital of Yunnan Province. Under variant maps, main parameters of various interval values are checked and corresponding maps are illustrated.


Introduction
The world is concerned about the cardiovascular disease [1]. Mainly relying on the detection of ECG signals to promote research on related issues of cardiovascular diseases. The electrocardiogram represents cardiac function and graphic signals [2], which is an important means of diagnosing abnormal cardiac activity.
ECG signals are the product of a wide range of clinical ECG techniques. In recent years, research methods for ECG signals have made significant progress, such as using machine learning [3], neural network, clustering [4], partial fractal dimension [5], wavelet transform [6], and other methods to classify the detection of arrhythmia. The most typical representative of the emerging ECG research method is ECG scatter gram [7][8][9]. The variant method is an emerging technique for dealing with spatial changes in signal phase. Since the 1990s, the application of the variant method in processing binary image classification and transformation [10,11] had been proposed, and the variant method has been perfected until now [12,13]. Variant method is applied to different data samples: quantum sequences [14,15], random sequences [16], noncoding DNA [17][18][19], bat echo signals [20], and electrocardiographic signals [21,22], and effective research results have been obtained in these samples.
This chapter is a further study of the use of variant measurements in the detection of ECG sequences. The sample ECG signals are provided by the First People's Hospital of Yunnan Province. In this chapter, two groups of signals are used: normal ECG signal and abnormal ECG signal groups. In the second part of this chapter, we describe variant map for ECG. Showing sample results and making a brief analysis in the third part, the last part is the summary of the chapter.

Variant Map for ECG
Variant map for ECG is composed of six parts: Input, Processing, Segmenting, Statistics, Mapping, and Output. Figure 1 is the overall structure of the variant map for ECG, which specific content about each part in the following description:

A. Input Part
Testing ECG signals are provided by the hospital as a data source. Let ECG signals be p with N elements.

B. Processing Part
In processing part, a multivalve ECG signal sequence will be transformed into a four-valued pseudo-DNA sequence. Input: the ECG sequence Parameters: W sliding window value; R interval value. Output: a four-valued pseudo-DNA sequence Processing: Let p i be an average value; r be a range value; t i be a conversion value. Three values are calculated in the equations: Selecting a pair of two elements in S S A j , S C j , S G j , S T j , 0 ≤ j < M, as a mapping object. This chapter selects S C j , S G j . S C j is corresponding to the X-axis and S G j is corresponding to the Y -axis. All M pairs are mapping to the 2D map as output.

F. Output
The results of the mapping are output in the form of 2D variant maps.

Sample Results and Brief Analysis
Visualization results of ECG signal obtained by variant map for ECG show that the morphological features of ECG signals have regular changes. Sample results are illustrated and a brief analysis is described.

A. Data Source Description
The ECG signals in this chapter are provided by the First People Hospital of Yunnan Province. The ECG signals contain a total of 202,626 cases. There are 104,742 normal cases and 97,884 abnormal cases of records. For this experiment, 97,884 normal cases and 97,884 abnormal cases were selected.
Since ECG signals have multiple attributes, this chapter chooses the attributes of the P wave samples to be processed. Figure 2 is the sample of part of abnormal ECG data source.

B. Visualization Features
Using the variant map for ECG, multiple maps can be generated.
The interesting finding is that the changes of the parameters affect the spatial characteristics and phase changes of the maps.
Overall in Fig. 3, two 2D maps are illustrated for two normal/abnormal maps, parameters are W 24, R 0.95, m 50. X and Y are S C j , S G j 0 ≤ j < M, the ECG variant map shows the regular characteristics. In Fig. 3a, a normal map for P wave is an oval. In Fig. 3b, an abnormal map for P wave is a stick.
In Fig. 4, a list of normal maps for P wave on parameters R {0.6, 0.72, 0.84, 0.96, 65, 1.08, 1.2}. When the parameter R increases, the feature of relevant maps has a nonlinear displacement along the top right corner of the image.

Summary and Prospect
Electrocardiogram (ECG) detection is the key to clinical diagnosis of heart disease and has important clinical value. At present, the automatic analysis function of dynamic ECG detection is not satisfactory. There are also problems that the features of waveform lesions are small and cannot be marked, and even the characteristics of lesions are neglected. Therefore, excavating the effective information existing in the massive ECG signal can avoid the blind area of ECG analysis to some extent, which has certain application value.  to identify the normal ECG signals and abnormal ECG signals significantly different. Further explorations and more experiments are required.