- About this Journal
- Abstracting and Indexing
- Aims and Scope
- Article Processing Charges
- Articles in Press
- Author Guidelines
- Bibliographic Information
- Citations to this Journal
- Contact Information
- Editorial Board
- Editorial Workflow
- Free eTOC Alerts
- Publication Ethics
- Reviewers Acknowledgment
- Submit a Manuscript
- Subscription Information
- Table of Contents
Advances in Bioinformatics
Volume 2012 (2012), Article ID 327269, 6 pages
Wavelet Packet Entropy for Heart Murmurs Classification
1Department of Computer Engineering, Islamic Azad University, Islamshahr Branch, Islamshahr, Tehran 3314767653, Iran
2Faculty of Computer Science and Information Technology, 43400 Serdang, Selangor Darul Ehsan, Malaysia
3Department of Cardiology, Serdang Hospital, 43000 Kajang, Selangor Darul Ehsan, Malaysia
Received 31 July 2012; Revised 5 October 2012; Accepted 24 October 2012
Academic Editor: Tatsuya Akutsu
Copyright © 2012 Fatemeh Safara et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Heart murmurs are the first signs of cardiac valve disorders. Several studies have been conducted in recent years to automatically differentiate normal heart sounds, from heart sounds with murmurs using various types of audio features. Entropy was successfully used as a feature to distinguish different heart sounds. In this paper, new entropy was introduced to analyze heart sounds and the feasibility of using this entropy in classification of five types of heart sounds and murmurs was shown. The entropy was previously introduced to analyze mammograms. Four common murmurs were considered including aortic regurgitation, mitral regurgitation, aortic stenosis, and mitral stenosis. Wavelet packet transform was employed for heart sound analysis, and the entropy was calculated for deriving feature vectors. Five types of classification were performed to evaluate the discriminatory power of the generated features. The best results were achieved by BayesNet with 96.94% accuracy. The promising results substantiate the effectiveness of the proposed wavelet packet entropy for heart sounds classification.
Accurate and early diagnosis of cardiac diseases is of great importance which is possible through heart auscultation. It is the most common and widely recommended method to screen for structural abnormalities of the cardiovascular system. Detecting relevant characteristics and forming a diagnosis based on the sounds heard through a stethoscope, however, is a skill that can take years to be acquired and refine. The efficiency and accuracy of diagnosis based on heart sound auscultation can be improved considerably by using digital signal processing techniques to analyze phonocardiographic (PCG) signals [1–3].
Phonocardiography is the recording of sonic vibrations of heart and blood circulation. PCG signals can provide valuable information regarding the performance of heart valves, therefore it has a high potential for detecting various heart diseases [4, 5].
Two loudest heart sounds are the first and the second sounds, referred to as S1 and S2. The time interval between S1 and S2 is called systole and the time interval between S2 and next S1 is called diastole. Normal heart sounds are low-frequency transient signals produced by the heart valves while pathological heart sounds, such as heart murmurs, are high-frequency, noise-like sounds . Heart murmurs are produced as a result of turbulence in blood flow through narrow cardiac valves or reflow through the atrioventricular valves. Congenital heart defects or acquired heart valve diseases are often the cause of abnormal heart murmurs. Aortic stenosis, mitral regurgitation, aortic regurgitation, and mitral stenosis are among the most common pathological types of murmurs. These categories of murmurs were considered in this paper to be distinguished from normal heart sounds. Figure 1 illustrates the phonocardiogram of one normal and two samples of pathological heart sounds.
Research on PCG signals utilizing signal processing techniques is on the rise because of the ability of PCG recordings to represent important characteristics of the heart sounds. A large number of these studies have been focused on investigating the possibility of the PCG signal classification towards the diagnosis of heart valve disorders [7–11].
In general, two major processes are needed prior to actual classification, signal analysis and feature generation. Different signal analysis techniques are employed in the literature such as discrete Fourier transform (DFT), short time Fourier transform (STFT), Wigner distribution, Hilbert transform, continuous wavelet transform (CWT), discrete wavelet transform (DWT), and wavelet packet transform (WPT). Of these, the Fourier and wavelet family of transforms have been more widely used for PCG signal analysis. However, with medical applications, wavelet transform has been found to be one of the best transform for analyzing transient and nonstationary signals, such as PCG . This is because the wavelet provides a reasonable resolution in both the time and frequency domain. Therefore, in this paper, WPT is used to analyze PCG signals. This is further discussed in Section 2.
Feature generation has a crucial role in obtaining high classification accuracies. A number of features based on wavelet transforms have been defined in recent studies to classify different types of heart sounds and murmurs. For instance, Ahlstrom et al.  extracted energy and entropy from DWT of the PCG signals in order to classify systolic murmurs. A series of studies were also conducted by Choi et al. [3, 13, 14] whereby new features based on the wavelet transform were defined, such as the normalized autoregressive power spectral density curve, the mean of wavelet packet energy, standard deviation of wavelet packet energy, the maximum peak frequency, the position index of the wavelet packet coefficient corresponding to the maximum peak frequency, and the ratios of the wavelet energy and entropy information.
In our preliminary study , temporal, spectral, and geometric features were combined for heart sound classification. The feature set included zero-crossing rates as the temporal feature, and spectral roll-off, spectral energy entropy, spectral flux, and spectral centroid as the spectral features. Geometric features were added to this feature set, namely, summation of the first order derivatives, summation of the second order derivatives, curve length, area under curve, and centralized mean square values.
It is clear from these studies that entropy and features defined on entropy have been successfully utilized for heart sound classification. New entropies have been also defined and used in biomedical signal analysis. In the study by Vitulano and Casanova , entropy was introduced as a feature for analyzing one-dimensional signal. The entropy was measured as the ratio between signal perturbation and the total signal energy. The experimentation carried out on mammographic signals with different pathologies. Linear transformation has been performed to transform 2D mammographic signal into 1D signal. This entropy, introduced by Vitulano and Casanova , is adopted for this study to generate discriminative features from PCG signals. This has not been previously examined for heart sound classification.
Heart sound classification performed by most studies included classifying normal heart sound and murmurs. Several studies further investigated classifying various categories of murmurs. Neural network is a powerful classifier that was widely used in the past. Ahlstrom et al.  used a feed-forward neural network to evaluate a large number of linear and nonlinear features proposed based on DWT and achieved 86% accuracy in classifying systolic murmurs. Neural network was also used in another work by Ahlstrom et al.  to differentiate innocent murmurs from aortic stenosis, and a sensitivity of 90% and a specificity of 88% were obtained. Babaei and Geranmayeh  utilized a multilayer perceptron neural network (MLP) to investigate the potential of the main statistical characteristics of PCG signals for distinguishing murmurs and acquired 94.24% accuracy for classifying AR, AS, and PS (pulmonary stenosis).
Support vector machine (SVM) is another classifier that was commonly used. Two studies by Choi et al. [3, 14] were reported based on WPT and SVM classifier. In the former study, normal heart sounds were distinguished from murmurs with 96% sensitivity and 100% specificity . In the later one, normal heart sounds were differentiated from regurgitation types of murmurs with 99.78% specificity and 99.43% sensitivity . Choi and Jiang  also utilized autoregressive power spectral analysis and multisupport vector machine for PCG signals classification and achieved 99.5% sensitivity and 99.9% specificity to classify normal heart sounds from pathological ones. In addition to MLP and SVM that have been widely used for heart sound classification, KNN, BayesNet, and decision tree classifiers were included to evaluate the discriminatory power of the generated features.
The rest of this paper is organized as follows. In Section 2, the background theory of WPT and the entropy is provided. Details of processes followed for heart sound classification are explained in Section 3. Experiments including data collection and results of classification through generated features are discussed in Section 4. Final conclusions and potential extensions are given in Section 5.
2. Wavelet Packet Entropy
Wavelet transform is a powerful technique in analyzing nonstationary signals such as PCG signals . The main advantage of wavelet transform is its varying window size that is narrow for high frequencies and wide for low frequencies. Therefore, wavelet transform is much more powerful than the other time frequency analysis techniques such as DFT and STFT, not only for providing useful time and frequency information, but also for its adaptive time and frequency resolution .
Selecting appropriate wavelet transform for a given application is also important. WPT was exploited in this paper, instead of CWT and DWT that were widely used in the past studies. A comparison between DWT and WPT by Debbal and Bereksi-Reguig  showed that DWT was more suitable than WPT in filtering of clicks and murmurs while WPT provides comprehensive information for a better understanding of the time-frequency characteristics of the cardiac sound.
One of the quantitative measures associated with WPT is entropy. Entropy provides valuable information for analyzing nonstationary signals. The background theory of WPT and the definition of the entropy used in the current study are explained in this section.
2.1. Wavelet Packet Transform
WPT is an extension of DWT whereby all nodes in the tree structure are allowed to split further at each level of decomposition. With WPT, both the approximation and detail coefficients are decomposed into approximation and detail components, in comparison to DWT that decomposes only the approximation coefficients of the signal as shown in Figure 2. Therefore, features can be generated based on approximation and detail coefficients at different levels to obtain more information. The WPT of a signal is defined as follows: where is the channel number, is the number of decomposition level, or scale parameter, is the position parameter, is the mother wavelet, and is the maximum decomposition level. After decomposing signal by WPT, sequences can be produced in the th level. The fast decomposition equation for this kind of WPT is where and are wavelet quadrature mirror filter coefficients.
Three levels of the wavelet packet decomposition with the high-pass and low-pass filters were illustrated in Figure 2. This structure can be continued further to decompose the following approximations and details to reach to a proper level for representing PCG signals of desired murmurs. From the literature, it can be concluded that levels 6 to 8 were generally chosen for analyzing PCG signals of different pathological heart sounds [3, 12, 14, 20, 21].
Different types of entropy such as log, norm, Shannon, sure, and threshold can be used to characterize the heart sounds. However, for this study the entropy introduced by Vitulano and Casanova  for analyzing 1D signals was utilized. They have transformed the 2D mammographic signal into 1D signal through linear transformation and then applied the entropy on the 1D signal to generate features for differentiating mammograms with different pathologies. They did not utilize any signal processing technique to analyze the signal prior to extract entropy features from the signal. In the current study, the PCG signals were first analyzed with WPT and then entropy features were generated from the wavelet packet coefficients.
Vitulano and Casanova  defined the signal “crest” as the part embraced between lines parallel to the abscissas axis, in which the ordinates are and , is the absolute minimum and is the absolute maximum of the signal. Therefore, the signal crest included all the points , so that and crest energy is defined as Signal entropy can be defined based on as where is signal energy, is crest energy, and is signal entropy.
Signal entropy is defined based on one-dimensional signals and it has a potential to be applied on the other dimensional signals such as PCG signals.
3. Methodology and Materials
Classification requires a sequence of processes to be performed, including preprocessing, signal analysis, feature generation, and classification. Each process is discussed for heart murmur classification in this study.
The preprocessing of PCG signals carried out in this study includes resampling, filtering, normalization and segmentation.
Feature generation algorithms are highly dependent on the frequency sampling of the electronic stethoscope. Sampling frequencies 4, 5, 10, 20, 25, 40, and 50 kHz can be seen among the heart sounds obtained from online resources and sounds available in the market as auscultation training CDs. In order to remove the heterogeneity of the collected PCG signals, the original signals in the core frequency sampling were mapped into a new 4 kHz. The signal was considered as a time series and new samples are produced by application of the truncated sinc function interpolation.
To remove noise from PCG signals, a bandpass finite-duration impulse response (FIR) filter was adopted with preliminary testing. Kaiser window with cut-off frequencies of 25 and 700 Hz was used because heart sound signals are in the range less than 700 Hz [2, 14, 21]. The frequency range of 49–51 was also removed to eliminate the power line noise.
The amplitude of heart sounds depend on the pressure on skin measured by electronic stethoscope as well as the setting of the amplifier of the stethoscope. Equation (6), a commonly used normalization equation, was used in this paper to reduce amplitude variations as where number of data points, is the PCG signal, and is the normalized signal to be used in this work.
PCG recordings were segmented into their systoles and diastoles. The exact onset and offset locations of each systole and diastole were determined manually under the supervision of a cardiologist.
3.2. PCG Signal Analysis
Following the discussion in Section 2, WPT was utilized for PCG signal analysis. A wavelet packet tree was constructed and the coefficients were calculated for terminal nodes of the tree. The appropriate decomposition level was determined based on the following equation: where is the resolution, 0.5 is the Nyquist coefficient, is the sampling frequency, and is the suitable decomposition level with desired resolution. Since PCG signals were resampled into 4 KHz, resolution of 31.25 Hz would be achieved at level six using (7) that is a reasonable resolution for this study.
After determining the level of decomposition, four types of mother wavelets were examined as potential mother wavelets: The Mayer, Symlets, Coiflets and Daubiches. This was performed by computing the error existing between the original signal and the synthesis signal (i.e., wavelet packet transform of the signal). The error was calculated by the following equation that was defined by Cherif et al. : where is the original signal, is the sample of , is the synthesised signal, and is the sample of . Using the above equation, the lowest error was obtained for Daubiches which was chosen as the mother wavelet for analysing the PCG recordings.
3.3. Feature Generation
Features are representatives of the underlying signal and proper choice of features results in higher classification accuracy. As stated in Section 1, entropy was successfully used as a feature for heart sound classification. In this work also the entropy was utilized to generate discriminative features from PCG recordings. However, the entropy introduced by Vitulano and Casanova  (explained in Section 2.2) was exploited, instead of common entropies such as Shannon and log [3, 12, 22].
Systole and diastole segments of each PCG signals were represented in the sixth decomposition level of WPT with Daubiches8, as described in the previous section. There are 26 terminal nodes in the 6th decomposition level. The entropy was computed from the coefficients of all terminal nodes and 64 entropies were obtained for each segment. Then a feature vector including all 128 entropies was constructed. In order to reduce the dimensionality of the feature space, principal component analysis (PCA) was applied to feature vectors. Number of features to be selected was determined by trial and error. Thirty two features were chosen from each feature vector to be fed into classifier.
The discriminatory power of the generated features was evaluated via KNN, BayesNet, and decision tree classifiers in addition to SVM and MLP that were widely used in previous studies.
The classification accuracy using wavelet packet entropy was evaluated with a collection of 350 heart sounds as discussed in the following section. A standard data collection for PCG signal is not available and the PCG signals from various sources were collected.
4.1. Data Collection
A data set of 350 heart sounds comprising 50 normal and 300 murmurs was employed. For murmurs, 80 MR, 100 AS, 50 AR, and 70 MS were obtained. Pathological heart sounds were collected from auscultation training materials where the sound categories were explicitly specified. Evaluation was performed based on the annotations provided. For the normal category, sounds were recorded using Welch-Allyn Meditron electronic stethoscope.
Classification accuracy reflects the potential strength of generated features to differentiate underlying signals from each other. For each of the 350 heart sounds prepared for this study, a feature vector comprising thirty-two features was generated (Section 3.3) and classified. The classification accuracy was determined using a 10-fold cross-validation. The classification accuracy of each classifier is presented in Figure 3. Although the accuracies cannot be benchmarked against other studies due to the lack of standard data collections, the accuracies obtained following the experiments in this study are quite high showing the feasibility of using wavelet packet entropy for heart sound classification. The best and worst accuracies were achieved by BayesNet and SVM, with 96.94% and 95.33%, respectively.
Despite the small difference between the accuracy of classifiers, the results of the classification establishes the feasibility of entropy introduced by Vitulano and Casanova  for classifying PCG signals.
The feasibility of using the entropy for heart murmur classification was shown in this paper. The entropy was previously introduced for analyzing mammographic signals. It was defined as the ratio between signal perturbation and the total signal energy. In this study, the entropy was calculated from wavelet packet coefficients of PCG recordings as a feature to be used for classifying heart sounds. High classification accuracy of 96.94% is achieved by BayesNet classifier that indicates the viability of the entropy as a feature to describe PCG signals. A more extensive comparative study would be required to evaluate the proposed features against other features introduced for PCG signal classification on the same PCG database. In this study, normal heart sounds were differentiated from four types of murmurs. The heart sound categories would be expanded to include different murmurs.
- Y. Chen, S. Wang, C.-H. Shen, and F. Choy, “Intelligent identification of childhood musical murmurs,” Journal of Healthcare Engineering, vol. 3, pp. 125–140, 2012.
- L. H. Cherif, S. M. Debbal, and F. Bereksi-Reguig, “Choice of the wavelet analyzing in the phonocardiogram signal analysis using the discrete and the packet wavelet transform,” Expert Systems with Applications, vol. 37, no. 2, pp. 913–918, 2010.
- S. Choi, Y. Shin, and H. K. Park, “Selection of wavelet packet measures for insufficiency murmur identification,” Expert Systems with Applications, vol. 38, no. 4, pp. 4264–4271, 2011.
- C. N. Gupta, R. Palaniappan, S. Swaminathan, and S. M. Krishnan, “Neural network classification of homomorphic segmented heart sounds,” Applied Soft Computing Journal, vol. 7, no. 1, pp. 286–297, 2007.
- L. Jia, D. Song, L. Tao, and Y. Lu, “Heart sounds classification with a fuzzy neural network method with structure learning,” in Advances in Neural Networks, vol. 7368 of Lecture Notes in Computer Science, pp. 130–140, 2012.
- B. Ergen, Y. Tatar, and H. O. Gulcur, “Time-frequency analysis of phonocardiogram signals using wavelet transform: a comparative study,” Computer Methods in Biomechanics and Biomedical Engineering, vol. 15, pp. 371–381, 2011.
- W. C. Kao and C. C. Wei, “Automatic phonocardiograph signal analysis for detecting heart valve disorders,” Expert Systems with Applications, vol. 38, no. 6, pp. 6458–6468, 2011.
- M. Salama, A. Hassanien, J. Platos, A. Fahmy, and V. Snasel, “Rough sets-based identification of heart valve diseases using heart sounds,” in Proceedings of the 7th international conference on Hybrid Artificial Intelligent Systems, pp. 667–676, 2012.
- S. Sanei, M. Ghodsi, and H. Hassani, “An adaptive singular spectrum analysis approach to murmur detection from heart sounds,” Medical Engineering & Physics, vol. 33, no. 3, pp. 362–367, 2011.
- Y. L. Tseng, P. Y. Ko, and F. S. Jaw, “Detection of the third and fourth heart sounds using Hilbert-Huang transform,” BioMedical Engineering OnLine, vol. 11, article 8, 2012.
- S. Yuenyong, A. Nishihara, W. Kongprawechnon, and K. Tungpimolrut, “A framework for automatic heart sound analysis without segmentation,” BioMedical Engineering Online, vol. 10, article 13, 2011.
- C. Ahlstrom, P. Hult, P. Rask et al., “Feature extraction for systolic heart murmur classification,” Annals of Biomedical Engineering, vol. 34, no. 11, pp. 1666–1677, 2006.
- S. Choi and Z. Jiang, “Cardiac sound murmurs classification with autoregressive spectral analysis and multi-support vector machine technique,” Computers in Biology and Medicine, vol. 40, no. 1, pp. 8–20, 2010.
- S. Choi, “Detection of valvular heart disorders using wavelet packet decomposition and support vector machine,” Expert Systems with Applications, vol. 35, no. 4, pp. 1679–1687, 2008.
- F. Safara, S. Doraisamy, A. Azman, and A. Jantan, “Heart sounds clustering using a combination of temporal, spectral and geometric 8 features,” Computing in Cardiology, vol. 39, pp. 217–220, 2012.
- S. Vitulano and A. Casanova, “The role of entropy: mammogram analysis,” Image Analysis and Recognition, vol. 5112, pp. 863–872, 2008.
- C. Ahlstrom, K. Höglund, P. Hult, J. Häggström, C. Kvart, and P. Ask, “Distinguishing innocent murmurs from murmurs caused by aortic stenosis by recurrence quantification analysis,” in Proceedings of the Enformatika Transactions on Engineering, Computing and Technology, pp. 1305–5313, December 2006.
- S. Babaei and A. Geranmayeh, “Heart sound reproduction based on neural network classification of cardiac valve disorders using wavelet transforms of PCG signals,” Computers in Biology and Medicine, vol. 39, no. 1, pp. 8–15, 2009.
- Y. Chen, S. Wang, C.-H. Shen, and F. K. Choy, “Matrix decomposition based feature extraction for murmur classification,” Medical Engineering & Physics, vol. 34, no. 6, pp. 756–761, 2012.
- S. M. Debbal and F. Bereksi-Reguig, “Time-frequency analysis of the first and the second heartbeat sounds,” Applied Mathematics and Computation, vol. 184, no. 2, pp. 1041–1052, 2007.
- M. R. Homaeinezhad, S. A. Atyabi, E. Deneshvar, A. Ghaffari, and M. Tahmasebi, “Optimal delineation of PCG sounds via false-alarm bounded segmentation of a wavelet-based principal components analyzed metric,” International Journal for Numerical Methods in Biomedical Engineering, vol. 27, pp. 1711–1739, 2011.
- A. Sengur and I. Turkoglu, “A hybrid method based on artificial immune system and fuzzy k-NN algorithm for diagnosis of heart valve diseases,” Expert Systems with Applications, vol. 35, no. 3, pp. 1011–1020, 2008.