Abstract

J wave is getting more and more important in the clinical diagnosis as a new index of the electrocardiogram (ECG) of ventricular bipolar, but its signal often mixed in normal ST segment, using the traditional electrocardiograph, and diagnosed by experience cannot meet the practical requirements. Therefore, a new method of multilayer nonnegative matrix factorization (NMF) in this paper is put forward, taking the hump shape J wave, for example, which can extract the original J wave signal from the ST segment and analyze the accuracy of extraction, showing the characteristics of hump shape J wave from the aspects of frequency domain, power spectrum, and spectral type, providing the basis for clinical diagnosis and increasing the reliability of the diagnosis of J wave.

1. Introduction

In recent years, as a new index of the ECG of ventricular bipolar, J wave draws more and more attention in the clinical diagnosis. We can consider that J wave is located between QRS wave of electrocardiogram and ST segment [1]. It represents the depolarization end and bipolarization start, under normal circumstances of the heart, ventricular finally depolarization and ventricular earliest bipolarization have the mutual transitional zone which is overlapped about 10 ms in humans, if J point deviates from the baseline, that is, the J point shift, in early repolarization syndrome, acute myocardial ischemia, pericarditis and bundle branch block, and so forth [2]. If J point is shifting and forming the special dome type or rush type, it means that J wave happened.

As the ECG signals we observed are compounded by the baseline drift, power frequency interference and myoelectricity interference noise, and so on, in most cases the original J wave signal is mixed in the normal ST segment [3]. So we cannot observe the characteristics of J wave from mixed signals. In clinic, the ECG and vectorcardiogram provide limited diagnostic information. These results are caused by some complex symptoms or clinical characteristics, and it is hard to decide the relative treatment. From the point view of signal processing, it is difficult to get accurate J wave from ECG with noise interference. It is obvious that the noise must be removed so as to get the desired information from the ECG. Then the mixed signals including J wave and normal ECG signals will be separated effectively.

It is necessary for us to study digital characteristics of J wave and we should extract J wave from ECG signal exclusively. Although the method of processing ECG signals has been very mature, methods of extracting J wave signals from ECG signal are rare to find and the extraction precision is undesirable. It will affect not only the J wave numerical characteristics directly, but also the analysis of the late classification accuracy [4]. In such situation of the clinical diagnosis, it is impossible to diagnose the healthy condition for patients with J wave. This paper puts forward a set of related methods to achieve the desired result. Commonly, the steps of signal processing can be realized as follows:(1)preprocessing the mixed signals with the method of the principal component analysis (PCA) in order to filter out noises and initialize,(2)separating the original J wave from mixed signals based on multilayer fixed-point NMF decomposition,(3)analyzing the separated J wave from point view of the spectrum, power spectrum density, and spectra in digital domain.

The simulation results show that the methods in this paper have better precision and realize the characteristics extraction of J wave. It can be used as the judgment basis for doctors.

2. Nonnegative Matrix Decomposition

Although the independent component analysis (ICA) and sparse component analysis (SCA) algorithm based on blind source separation (BSS) are the main methods, they are no longer applicable in practical on the condition that source signals are dependent or nonsparse. In particular, for complex ECG signal, the separation is poor. It is obvious that the nonnegative matrix factorization is a new way of blind source separation to solve the dependent source signals [5]. Therefore, this project adopts the improved NMF algorithm to extract J wave. Because the NMF has no limits of statistical independence source or sparse source, it can realize the source separation better and the algorithm has such features as fast convergence rate, sparse, nonnegative, and dimensionality reduction [6]. The optimized NMF algorithm can meet the practical requirements. The extraction results are desirable, such as extracting J wave from ECG signal accurately with small error and simple procedures. We can get more ideal extraction results.

Mathematical model of BSS problem can be expressed as follows: where is the observed mixed signal matrix; is unknown source signal matrix; and is mixed matrix [7]. Suppose , and is known or can be estimated. The goal of BSS is to isolate unknown and from the mixed signal matrix .

The basic model of NMF is to decompose the matrix into the matrix of and , where and are nonnegative under the limiting condition and the formula is defined as follows:

Comparing (1) and (2), we can take the observation data in BSS as the matrix to be decomposed in NMF. If and are equal to and , respectively, then the NMF can be used to solve the problem of BSS and even the J wave separation.

3. The Preprocessing before Extracting

Taking the mean square error (MSE) into consideration, PCA method with the property of optimal orthogonal decomposition is the most representative in the field of signal processing and could compress ECG signal to reduce the dimension and remove the noises to get the maximum signal-to-noise ratio. It saves the subsequent decomposition time and improves the separation precision. As the final result of NMF is always the local optimum, the initialization of the objective functions and will affect the entire process of the NMF algorithm directly. That is to say, initializing and differently will produce different separation results [8]. Comparing to the traditional methods, eventually PCA is chosen for initializing. PCA can find the projection direction with the most concentrated energy in the sample space. The projection direction of the observation signal will produce reconstruction signals and reconstruction error defined as , where is a collection standing for the mean of ECG signal; is the transformation matrix; and is the projection coefficient matrix. We could calculate after setting a minimum range for and taking the appropriate . Then we can obtain the initial transformed matrixes and of and by nonnegative processing. The procedures are and . Therefore, PCA has great advantages of preprocessing in the NMF algorithm.

4. Fixed-Point NMF

Compared to the different algorithm of NMF, fixed-point NMF is suitable to extract J wave from the ECG signal. The advantage of this algorithm is that the divergence deviation is zero when [9]. We can judge the advantages and disadvantages of the algorithm by calculating the final value of corresponding objective function and the algorithm can simplify the evaluation of separation accuracy. The objective function is shown in the following formula: where and are nonnegative and when and only when is satisfied, formula (3) can obtain the minimum value 0.

The iteration rules of and are shown in the following formula: where and are the initial nonnegative matrix. The divergence deviation is monotonically increasing under the rules of iteration and the value of is minimum and the algorithm is convergent when and are local optimum [10].

5. Selection of the Extraction Scheme

After lots of surveys, we found the constraint conditions of NMF algorithm are that the matrix elements to be decomposed are nonnegative [11]. ECG signal data acquired from a lead usually form a one-dimensional matrix. For example, we can check the specific value of ECG from Massachusetts Institute of Technology and Beth Israel Hospital (MIT-BIH) [12]. The ECG signal matrix is usually composed of positive and negative elements, so the signal matrix must be improved to extract J wave from ECG by the method of NMF. In order to satisfy the limiting conditions of NMF, we classify the ECG data into positive and negative elements. The positive elements of ECG signal matrix should be selected from signal matrix to form a new matrix and the rest of the absolute value of the negative elements to form matrix . The positions of elements in the new matrices are the same as original, and other remained elements are considered as zero. and are decomposed, respectively, based on fixed-point NMF. The whole process can be described as and . The and are together a mixed matrix . The and are together a J wave matrix , where the after decomposing is J wave signals at the positive axis and, similarly, is the absolute value of J wave signal at the negative axis. Therefore, the whole J wave source signal is extracted and then we can further analyze the features of hump type J wave. The J wave extraction flowchart is shown in Figure 1.

6. The Design of Multilayer NMF

It is difficult to get the higher separation precision with single layer NMF factorization. In particular, for some complex data and the function with local minimum, the result is not always ideal. In order to improve the performance of the NMF, this paper adopted a simple approach with hierarchy and multistage execution so that continuous nonnegative matrix factorization is performed [13].

In the first step, we use NMF algorithm to perform as a basic factorization. Then in second phase, we can use the same or different update rules and the results of the first stage to perform a similar factorization . Carrying out the multilevel factorization continuously, we could get the required result at last. This process can be repeated several times until satisfying the standard. In each step, we usually make the decomposition performance gradually improve [14]. This model is and the fundamental matrix is defined as . It means that we build a system with many layers or hybrid subsystem to improve the separation accuracy.

Comparing to the different layer procession of fixed-point NMF, we find that the more the number of layers is, the slower the processing speed and the extraction precision are not necessarily better. Considering the aspects of processing speed and accuracy comprehensively, we choose the 7-layer fixed-point NMF decomposition.

7. Experiment Results and Analysis

Taking the hump J wave, for example, the figures of source signals and mixed signals are shown in Figures 2 and 3. The source signals have been preprocessed and mixed signal is generated by sparse mixed randomly. In order to make the mixed signal closer to the real signal, we need to mix the preprocessed source signals randomly. By this way, we can get a hump shape J wave that is close to the real signal and the research will be meaningful.

7.1. The Result of 7-Layer NMF Separation

The figures of separation results are shown in Figures 4 and 5. An estimated signal by 7-layer fixed-point NMF decomposing shown in Figure 4 is very similar to the source signals in Figure 2. Figure 5 shows the signal interference ratios (SIRs) of estimated signal and the mixing matrix after separation. We can find that the average SIR of estimated signals from four channels is 156.5343 dB and the SIR of the mixing matrix is 178.8577 dB. In a word, the experiment is successful by analyzing the separation results of Figures 4 and 5.

7.2. The Result of Single Layer NMF Separation

As a comparison, the figures of single layer NMF separation results are shown in Figures 6 and 7. Figure 6 shows estimated signals by single layer fixed-point NMF decomposing. Figure 7 shows the SIRs of four-channel estimated signals and mixing matrix which are 109.5713 dB and 91.935 dB. It verifies the feasibility of 7-layer separating method once again and can separate the J wave from the ECG with high accuracy. In the separated signals, x1 and x2 form a normal ECG and x3 and x4 form a hump shape J wave signal.

Compared to single layer NMF, 7-layer NMF separation is more ideal. The reason is that we cannot obtain final and by single layer NMF in decomposition to make the objective function converge completely, which leads to the separated signals in some areas which are different to the real signal to a great extent. The and obtained by one-layer decomposition of multilayer NMF can make the objective function convergent and the separated signals close to the real signals. The disadvantage is that the more the layers, the longer the time spent in the separation process. After taking comprehensive consideration, we adopt the 7-layer NMF decomposition and receive the ideal results.

7.3. The Result by Using ICA Separation

ICA is the most common method in BSS problem [15], of which fast independent component analysis (Fast-ICA) is the most respective. It has the advantage of fast processing speed and stabilization performance [16]. The following is the result of using Fast-ICA and the experiment result of the proposed scheme and the Fast-ICA are compared.

Compared to the results of our method, we can conclude that, in Figure 8, J wave and ECG signals by Fast-ICA are different from the source signals to a great extent. In Figure 9, the SIR of separating signals is 18.7589 dB, and the mixing matrix is only 30.8253 dB. Through the separation effect of J wave, the proposed methods are superior to the classic Fast-ICA.

8. J Wave Transformation in the Field of Digital Domain

The spectrum, power spectrum density, and spectra of the extracted hump shape J wave are shown in Figures 10, 11, and 12. Comparing to Figures 1012, we can determine that the initial signal has the characteristics of hump-shaped J wave when they are similar to the J wave. Therefore, when the J wave is not obvious and even hidden in the ST segment, this method can be used to compare the figures of the text with the patient’s ECG feature in the digital domain. Combing with the clinical experiences of doctors, they can provide a basis for doctors to judge whether the patients have an unconspicuous J wave.

9. Conclusion

This paper introduced a decomposing approach of multilayer fixed-point NMF and J wave can be successfully extracted from the abnormal ECG. The best initial method and decomposing layers are proposed and work well. At the same time, we conclude the spectrum, power spectrum density, and spectra of J wave in the digital domain. It can be considered as a basis for the future study of J wave characters and is helpful for doctors to diagnose the heart disease.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work is supported by National Natural Science Foundation of China (Grant no. 61371062); International Cooperation Project of Shanxi Province (Grant no. 2014081029-1); Scientific Research Project for the Returned Overseas Chinese Scholars of Shanxi Province (Grant no. 2013-032); International Cooperation Project of Shanxi Province (Grant no. 2012081031).