 Research
 Open Access
 Published:
Detection of the valvular split within the second heart sound using the reassigned smoothed pseudo Wigner–Ville distribution
BioMedical Engineering OnLine volume 12, Article number: 37 (2013)
Abstract
Background
In this paper, we developed a novel algorithm to detect the valvular split between the aortic and pulmonary components in the second heart sound which is a valuable medical information.
Methods
The algorithm is based on the Reassigned smoothed pseudo Wigner–Ville distribution which is a modified time–frequency distribution of the Wigner–Ville distribution. A preprocessing amplitude recovery procedure is carried out on the analysed heart sound to improve the readability of the time–frequency representation. The simulated S2 heart sounds were generated by an overlapping frequency modulated chirp–based model at different valvular split durations.
Results
Simulated and real heart sounds are processed to highlight the performance of the proposed approach. The algorithm is also validated on real heart sounds of the LGB–IRCM (Laboratoire de Génie biomédical–Institut de recherches cliniques de Montréal) cardiac valve database. The A2–P2 valvular split is accurately detected by processing the obtained RSPWVD representations for both simulated and real data.
Introduction
Heart sounds are recorded as a digital signal to be processed by advanced digital signal processing techniques. This processing provide valuable information in relation to the cardiac activity of the patient. The acoustic recording of heart sounds also known as phonocardiogram (PCG) signal is achieved by means of a microphone placed carefully on the chest of the patient. The PCG signal is therefore composed of sounds of the heart generated during the systole and the diastole phases which are mainly marked by the first (S1) and the second (S2) heart sounds. Two others sounds denoted S3 and S4 could appear during the diastole. Thus, the PCG signal is mainly formed by the S1 and the S2 heart sounds as depicted in Figure 1. The S1 heart sound is mainly composed by 2 valvular sounds denoted M1 and T1 generated by the closure of the mitral and the tricuspid valves respectively. Likewise, the S2 heart sounds is formed by A2 and P2 components which are generated by the closure of the aortic and the pulmonary valves respectively.
It is well known that digital phonocardiography is a powerful tool for assessing the pulmonary artery pressure than Doppler echocardiography [1]. Xu et al.[2] found out that the pulmonary artery pressure is correlated with the A2–P2 valvular split.
The split within the S1 and the S2 heart sounds emerged as an indicator of several valvular diseases alongside the Doppler echocardiography (DE). However, the DE is inaccurate in approximately 50% of patients of normal pulmonary artery pressure (PAP), 10–20% of patients with increased PAS, and 34–76% of patients with chronic obstructive pulmonary disease, a weak Doppler signal or a poor signal to noise ratio (SNR) [2]. Indeed, Fisher et al.[3] studied the accuracy of the DE in hemodynamic assessment of the pulmonary hypertension (PH). They demonstrated that DE can usually overestimate and underestimate the PAP in PH patients. This can be partly explained by inaccuracies of the right atrial pressure estimation as well as poor Doppler imaging of the transtricuspid regurgitant blood flow. Moreover, Rich et al.[4] compared the Doppler echocardiography (DE) with the right sided heart catheterisation (RHC) as an invasive measure of the PAP in 160 patients with PH. They found out that the DE is inaccurate in estimating the PAP in 50.6% of patients at a bias of 8.0 mmHg. Therefore, the DE–based estimation of the PAP is not reliable to diagnose the PH or to assess the efficacy of therapy.
In contrast, the split duration as well as the dominant frequency of P2 are increased in pulmonary hypertension and are considered as reliable parameters to estimate the PAP. Xu et al.[2] found that the duration between the onsets of the aortic (A2) and the pulmonary (P2) components within the S2 heart sound (S2) allow accurate measurement of the PAP through advanced digital signal processing techniques. However, this split duration is limited (<100 ms) and still difficult to measure since these components are often overlapping and are of frequency modulated chirp behaviour [5, 6]. The separation of the valvular components of both the S1 and the S2 heart sounds remains a problematic issue. Indeed, several studies reported the complexity of analysing such a transient signals formed by overlapping chirps [7, 8]. Xu et al. proposed a nonlinear transient chirp model to simulate the A2 and P2 components of the S2 heart sound [5]. They also proposed a dechirping approach using the Wigner–Ville distribution (WVD) to estimate the instantaneous frequency (IF) of the aortic (A2) and the pulmonary (P2) components. However, they reported weak energies at the beginning and the end of each chirp component to recover the frequency modulated behaviour of heart sounds in the time–frequency plane. This is due to the weak amplitude of all of the valvular heart sound chirps at their onsets and their ends [5].
The A2–P2 valvular split can be originated under physiological or pathological conditions. In normal subjects, a physiological split of the S2 heart sound can occur during inspiration as a result of the delayed pulmonary pressure to raise over the right intraventricular pressure which closes the pulmonary valve. Cardiac pathologies such as the right bundle branch block and the pulmonary stenosis may induce a wide S2 split [9, 10].
In a previous paper [11], we applied the Smoothed pseudo Wigner–Ville distribution (SPWVD) on aortic stenosis and normal heart sounds to quantify their different spectral content within the time–frequency plane. The timefrequency representations we previously obtained by the SPWVD yield global quantification of the valvular intracardiac activity and should be improved through reassignment [12, 13] to adequately represent the intracardiac valvular activity within each heart sound.
Santos et al.[14] proposed an A2–P2 valvular split detection algorithm based on the instantaneous frequency calculated by the Hilbert transform. However, the instantaneous frequency of a multicomponent signal cannot be estimated as the derivative of the phase of its analytic signal which is calculated through the Hilbert transform [15]. Therefore, a powerful method that takes into account the multicomponent behaviour of heart sounds should be investigated to represent the intracardiac valvular activity.
In this paper, We developed a new algorithm based on the Reassigned smoothed pseudo Wigner–Ville distribution (RSPWVD) to accurately detect the A2–P2 valvular split within simulated and real S2 heart sounds. Firstly, we recovered the onset and the end amplitude of each valvular component by an envelope recovery procedure we developed. Secondly, we reconstructed the IF of simulated heart sounds at a higher time–frequency resolution by the RSPWVD. We recovered their time–frequency content at several valvular split durations (from 30 to 60 ms at a step of 10 ms). Subsequently, we processed real S2 heart sounds of the LGB–IRCM (Laboratoire de Génie biomédical–Institut de recherches cliniques de Montréal) cardiac valve database to validate the algorithm in real conditions.
This paper is organised as follows. Section “Phonocardiographic data”, entitled ‘Phonocardiographic data’, presents simulated and real S2 heart sounds to be processed by the developed algorithm. Section “Time–frequency analysis”, recalls the theoretical background of the WVD, Smoothed pseudo WVD (SPWVD) and the Reassigned SPWVD (RSPWVD). Section “Detection algorithm of the A2–P2 valvular split” presents the detection algorithm of the A2–P2 valvular split within S2 heart sounds. Sections “Detection of the A2–P2 valvular split in simulated heart sounds” and “Detection of the A2–P2 valvular split in real S2 heart sounds of the LGB–IRCM cardiac valve database” present the detection results of the algorithm applied on simulated S2 heart sounds at various valvular split durations and real S2 heart sounds (LGB–IRCM cardiac valve database) respectively.
Phonocardiographic data
Valvular heart sound model
Tran et al. developed a heart sound simulator by combining a set of equations to model several phonocardiogram behaviours [16]. This model is formed by a linear chirp with an amplitude adjusted according to clinically recorded S1 and S2 heart sounds. Xu et al. extended this model to a narrow–band non–linear chirp signal with a fast decreasing IF over the time–frequency plane to model the valvular heart sound [5, 6]. This decreasing frequency behaviour is generated by the decaying aortic and pulmonary pressures after the end of systole and during the beginning of early diastole. The modulated frequency content of the valvular sound is of chirp nature rather than linear. Indeed, in previous works, we confirmed that heart sounds are narrow–band non–linear chirp signals [17, 18].
Xu et al. discussed the exponentially damped sinusoid model [19, 20], the matching pursuit method [21, 22], and the linear chirp model as modelling approaches of heart sounds. They found out that the transient nonlinear chirp signal they developed is the suitable model for the analysis–synthesis of the valvular heart sounds.
We used the model proposed by Xu et al.[5, 6] to generate simulated valvular sounds to study the performance of the detection algorithm we developed. The valvular non–linear chirp model is defined by an amplitude and a phase functions according to (1) as follows:
where a(t) and φ(t) represent the IF and the phase of the valvular sound respectively.
The highest and the lowest frequencies of the chirp model differ from each valvular sound to another. However, the valvular model is valid for the overall valvular components of both the S1 and the S2 heart sounds. According to (1), Figures 2 & 3 illustrates the A2 and P2 valvular sounds respectively. The A2 chirp begin from 250 Hz and falls to 53 Hz at 60 ms whilst the P2 chirp goes from 200 to 50 Hz [5, 6, 23]. The A2 and P2 components last usually 30 up to 60 ms but less than 80 ms [5, 6]. The split duration between them rises during inspiration to reach 30 up to 80 ms, and decreases under 15 ms during expiration [24, 25].
According to the valvular model in (1), the S2 heart sound is given by;
where (a_{A 2}(t),φ_{A 2}(t)) and (a_{P 2}(t),φ_{P 2}(t)) denote the amplitude and the phase of the A2 and the P2 valvular sounds respectively. The split duration interval denoted by d_{ s } separates the beginning of A2 and P2 components. The simulated valvular non–linear chirp component duration is set to 60 ms [5].
The LGB–IRCM cardiac valve database
The PCG signals of the LGB–IRCM cardiac valve database were recorded in the IRCM (Institut de recherches cliniques de Montréal) and the Montreal General Jewish Hospital in Quebec (Canada). This database is set up with PCG and ECG signals recorded from 172 patients with a prosthetic heart valve in the aortic or the mitral position. All patients signed an inform consent form attesting their assent to take part in the recording of the LGB–IRCM cardiac valve database.
The patient was placed in dorsal decubitus in a recording room. The back of the bed was raised to have 45° between the bust of the patient and the horizontal plane. After that, a thorax auscultation had been carried out to localise the auscultation areas on the chest of the patient. Subsequently, the recording was carried out after 5 minutes rest and calm breathing.
A precordial multi–sites recording was carried out from the aortic, pulmonary, left ventricular, and apical auscultation areas. For each PCG recording, the ECG (derivation II) signal was simultaneously acquired.
The PCG signal was band–pass filtered between cut–off frequencies of 50 and 2 kHz. The PCG and ECG signals were digitised by a 12 bits analog–to–digital converter on IBM–PC computer at sampling rates of 5 kHz and 500 Hz respectively. The ECG was recorded to be used as a reference signal in segmenting the PCG signal in systole and diastole phases. Each recording contains approximately 30 cardiac cycles. Figure 4 illustrates a PCG–ECG sample of the LGB–IRCM cardiac valve database.
Methods
Time–frequency analysis
The Wigner–Ville distribution (WVD) and the Smoothed pseudo WVD (SPWVD) are both members of the shift–invariant class, also known as the Cohen’s class. This generalised time–frequency class can be formulated as [12, 26];
where x(t) represents the signal to be analysed and ϕ_{ T F }(u,Ω) denotes the kernel of the time–frequency distribution.
Wigner–Ville Distribution (WVD)
The Wigner–Ville distribution (WVD) [27] is defined by
where x(.) denotes the signal to be analysed.
In order of highlight the benefits behind using the WVD, it is worthy to compare it with the spectrogram which is the squared magnitude of the Short–time Fourier transform (STFT) of a given signal x(t);
where h^{∗}(t) is the sliding window.
The spectrogram is calculated by a linear then a bilinear operations. Firstly, the linear operator consists of a Fourier transform, and secondly the squared modulus as a bilinear operator is applied to the signal to be analysed. In contrast, the WVD begins with a quadratic estimation of the energy and then a Fourier transform is applied to the signal according to (4) [28]. The WVD combines the time and the frequency representations with some required properties to adequately represent a given signal x(t) in the time–frequency plane [27]. A summary of these nice properties can be found in the appendix in section* “Appendix: Properties of the Wigner–Ville distribution”.
The analytic form of the analysed signal is necessary to avoid the interference between positive and negative frequency components. However, cross–terms within the WVD are unavoidable between components of the analysed signal. For a multicomponent signal x(t) formed by 2 components x_{1}(t) and x_{2}(t), the WVD can be written;
where ${W}_{{x}_{1}}$ and ${W}_{{x}_{2}}$ are auto–terms, also know as signal–terms, are the WVDs of x_{1}(t) and x_{2}(t) which are assumed to be analytic as well as x(t). Whereas the term ${W}_{{x}_{1}\xb7{x}_{2}}$ represents cross–terms, also known as outer–artefacts, which appear midway between ${W}_{{x}_{1}}$ and ${W}_{{x}_{2}}$ within the time–frequency plane. Therefore, the WVD of x(t) is formed by the WVDs of its constituents and the cross–terms which represents their cross–Wigner–Ville distribution (XWVD). Unfortunately, when the analysed signal contains several components, the obtained time–frequency representation becomes unreadable.
Smoothed Pseudo Wigner–Ville Distribution (SPWVD)
The SPWVD reduces the unwanted crossterms of the WVD by two–dimensional low–pass filtering. This smoothing is achieved by a double convolution in time and frequency by two functions g and h through the kernel ϕ_{ T F }(u,Ω) = g(u)H(Ω) according to (7) [29];
where g and h are two real even windows with h(0) = G(0) = 1.
The SPWVD has a separable smoothing kernel (g(t),H(f)) which provides an independent control of the time and frequency resolutions. For a zero time–resolution, i.e., g(t) = δ(t), the calculated SPWVD has no time smoothing (where H(f) is the Fourier transform of H(f)). Thus, the resulting time–frequency distribution is known as the pseudo–WVD (PWVD).
Smoothing the time–frequency distribution affects the time–frequency localisation of the signal content. Therefore, a trade–off between interference attenuation and time–frequency localisation occurs to ensure a good time–frequency representation [30–34].
Reassigned Smoothed Pseudo Wigner–Ville Distribution (RSPWVD)
The reassignment method was first applied by Kodera et al.[35, 36] to the spectrogram to surpass its unavoidable Gabor–Heisenberg inequality [34, 37] to provide a better time–frequency representation. Auger et al.[12] studied the reassignment method and demonstrated its effectiveness to improve the readability of all the bilinear time–frequency representations. This method rearranges the coefficients of the time–frequency distribution around new zones to yield a high resolution TFR. Thus, this method can be used as a complement to any bilinear time–frequency distribution.
The reassignment method can be formulated by recalling the generalised time–frequency representation of the Cohen’s class (section “Time–frequency analysis”). The integration within the time–frequency distribution in (3) refers to the sum of the distributions at a point (t,ω) within the time–frequency plane. This is the sum of the terms ϕ_{ T F }(u,Ω)W V(x;t  u,ω  Ω) which represents the weighted coefficients of the WVD in the points at the vicinity of (x;tu,ωΩ). Therefore, the distribution is concentrated at the time–frequency support of the kernel ϕ_{ T F }(u,Ω). Unfortunately, the cross–terms are attenuated at the cost of spreading the auto–terms of the analysed signal. The modified time–frequency distribution attributes new values to each coefficient to its neighbouring centre of gravity according to (8) and (9) as follows;
The reassigned time–frequency representation is then formulated by (10) as follows;
where δ(.) denotes the Dirac impulse.
The reassigned time–frequency distribution is not bilinear. However, it is time and frequency shift–invariant, and respects the energy conservation property. Moreover, its powerful property perfectly localises chirps [12].
The reassignment method [13] applied to the SPWVD modifies values of the time–frequency representation as follows:

1.
Compute the Smoothed pseudo–WVD of the signal,

2.
Evaluate the local centres of gravity t _{ a }(t,ν) and ν _{ a }(t,ν) of the calculated SPWVD in every point of the time–frequency representation,

3.
Assign the energetic content to the new point within the time–frequency plane according to (11);
$${\left{F}_{x}(t,\nu )\right}^{2}\to {S}_{x}\left({t}_{a}(t,\nu ),{\nu}_{a}(t,\nu )\right)$$(11)
Therefore, the reassignment method improves the readability of the calculated time–frequency representation by boosting the time and frequency resolutions [12, 13, 38].
Detection algorithm of the A2–P2 valvular split
Xu et al. demonstrated that heart sounds are formed by overlapping chirp components which are generated by the closures of the intracardiac valves [5, 6]. Unfortunately, the restrictive weak amplitude at the onset and the end of each chirp component confined the time–frequency chirp shape of each component at its highest amplitude domain [5].
The algorithm we developed sorts out this downside by recovering these weak amplitude areas through an envelope recovery of the analysed signal. This is the first step of the algorithm which paves the way to make up the full content of heart sounds in the time–frequency plane. The detection algorithm of the valvular split within heart sounds is summarised as follows;

1.
Envelope recovery: the signal is consecutively multiplied with its complement to 1 until the correlation between the latest consecutive signals exceeds 99.90%.

2.
Calculation of the Reassigned–SPWVD (RSPWVD) of the signal.

3.
Estimation of the IF by detecting frequencies of the RSPWVD coefficients with highest intensities over the time domain.

4.
Processing the IF as unidimensional curve to detect the split inflection by localising the maximum and the minimum having the maximum amplitude difference.
We propose a detection approach of the A2–P2 valvular split based on the calculation of the Hilbert transform envelope of the S2 heart sound. This step is optional used comparison purposes with the RSPWVD–based algorithm and is summarised as follows;

1.
Calculation of the envelope of the signal by the Hilbert transform which is given by to (12) [27];
$$\begin{array}{ll}H\left\{x\left(t\right)\right\}& =x\left(t\right)\ast \frac{1}{\mathrm{\pi t}}\phantom{\rule{2em}{0ex}}\\ =\frac{1}{\pi}\mathrm{p.v.}\left\{\underset{\infty}{\overset{+\infty}{\int}}\frac{x\left(\tau \right)}{t\tau}\mathrm{d}\tau \right\}\phantom{\rule{2em}{0ex}}\end{array}$$(12)
where p.v.{.} denotes the Cauchy principal value.

2.
Detection of the split by localising the midway local minimum of the envelope at the higher amplitude.
The discrete IF is calculated as the inverse of the detected periods of heart sounds through the time domain. This detection is carried out by localising time–instants of zero–crossings of the analysed heart sounds. This discrete IF sequence enables to back up the discussion of the final IF detected from the RSPWVD.
Results and discussion
Firstly, we applied the algorithm we developed on simulated heart sounds at various A2–P2 valvular split durations to show its ability to retrieve these splits within the time–frequency plane. Secondly, we processed several real S2 heart sounds of the LGB–IRCM cardiac valve database presented in section “The LGB–IRCM cardiac valve database” to validate the algorithm in real conditions. Time–frequency representations and the A2–P2 split detection results for a sample data file selected from the LGB–IRCM cardiac valve database are presented. The Hilbert envelope detection approach (section “Detection algorithm of the A2–P2 valvular split”) and the discrete IF are used as complementary tools to check the obtained results.
Detection of the A2–P2 valvular split in simulated heart sounds
The simulated data are generated by the valvular heart sound model presented in section “Valvular heart sound model” [5, 6]. According to (2), Figure 5 illustrates a simulated S2 heart sound with an A2–P2 split duration of 30 ms. The IF of the simulated S2 heart sound is illustrated in Figure 6. We processed the simulated S2 heart sounds at various valvular split durations (30, 40, 50 and 60 ms). Figure 7 shows the IF of the simulated S2 heart sound of Figure 5 with a A2–P2 split of 30 ms. This IF is the average of the IFs (Figure 6) of the A2 and P2 components which form the S2 heart sound (Figure 5). The discrete IF estimated by detecting the zero–crossings of S2 is illustrated in Figure 8. Both IFs show the inflection related to the valvular split around 30 ms at a high correlation level. The A2–P2 split is represented as a rapid transient during the merging interval between the aortic and the pulmonary chirp components within the time–frequency plane. As depicted in Figure 7, it should be noticed that the split occurs approximately between 50 and 150 Hz. The decreasing frequency of both the A2 and the P2 valvular components are adequately confirmed by the discrete IF plotted in Figure 8.
To deal with the amplitude weakness of the valvular sounds encountered by Xu et al.[5] during time–frequency analysis of heart sounds, we calculated another version of heart sounds which we call the envelope recovered heart sound as presented in section “Detection algorithm of the A2–P2 valvular split”. Figure 9 illustrates the envelope recovered sound of the S2 heart sound of Figure 5. This adjusted sound benefits of the same amplitude for its entire time support.
The Hilbert envelope detection approach retraces the instantaneous power of this S2 heart sound and shows an amplitude variation which is related to the A2–P2 split. This split is localised at 36 ms from the onset of the A2 valvular component at an error of 6 ms from the original split (30 ms).
The recovery of the heart sound is carried out until reaching a cross–correlation between consecutive steps of 99.90% as presented in section “Detection algorithm of the A2–P2 valvular split”. This procedure of the A2–P2 split detection algorithm is not CPU time consuming and still a vital step for the time–frequency analysis. It should be noticed that 8 iterations are sufficient to reach the desired cross–correlation rate for this simulated S2 heart sound.
As illustrated in Figure 10, the WVD of the S2 heart sound of Figure 5 is blurred by cross–terms. Moreover, the weakness of the A2 and P2 components at their onsets and their ends affects their respective time–frequency coefficients. Indeed, These components appears at their middle rather than the entire durations of each components.
In contrast, the RSPWVD provides an extraordinary time–frequency representation which retraces perfectly the IF of the S2 heart sound. Indeed, as illustrated in Figure 11, the RSPWVD of the envelope recovered S2 heart sound of Figure 9 is highly correlated with the original IF of Figure 7 as well as the discrete IF of Figure 8. This reassigned distribution recovered the A2–P2 split around 30 ms and between 50 and 150 Hz as previously defined during the synthesis of the S2 heart sound (Figure 5).
In Figure 12, the discrete IF of Figure 8 is represented with local extrema of the inflection zone within the RSPWVD. It should be noticed that the obtained RSPWVD retraces perfectly this discrete IF in the effective duration of the analysed S2 heart sound. Moreover, we detected the maximum intensity coefficients of the RSPWVD of Figure 12 to yield the IF of the analysed S2 heart sound. We also detected local maxima and minima of this curve to give an estimation of the A2–P2 valvular split by averaging time instants of the maximum and the minimum points at the inflection zone of the detected IF. According to this estimation approach, we found 30.5 ms as an A2–P2 valvular split in the RSPWVD of Figure 12.
The RSPWVD detection method is based on the variation of the IF of the S2 heart sound within the time–frequency plane rather than following variations in the amplitude of the signal as carried out by the Hilbert envelope detection approach. Therefore, the RSPWVD–based A2–P2 detection is accurate and improves the detection in comparison to the Hilbert envelope approach.
As depicted in Table 1, we extended the processing to various A2–P2 valvular split durations (30, 40, 50 and 60 ms). The simulated S2 heart sound splitted at 40 ms from its A2 component is depicted in Figure 13. Its envelope recovered version and its RSPWVD are illustrated in Figures 14 & 15, respectively. Similarly, a simulated S2 sound splitted at 60 ms is illustrated in Figure 16, and its envelope recovered version as well as its RSPWVD are depicted in Figures 17 & 18, respectively.
The A2–P2 split measurements summarised in Table 1 confirms the ability of the RSPWVD–based method to detect the A2–P2 split. The RSPWVDs of Figures 15 & 18 continues to show the inflection behaviour at the A2–P2 split zone and provides 44 and 56.25 ms as measured values of the simulated split values of 40 and 60 ms.
Detection of the A2–P2 valvular split in real S2 heart sounds of the LGB–IRCM cardiac valve database
The PCG signal of Figure 4 corresponding to the sample data file (10001.11) of the LGB–IRCM cardiac valve database is considered for analysis to show the ability of the proposed algorithm to detect the valvular split on real data. This PCG signal is segmented in systole and diastole by detecting the peak of the R–wave and the end of the T–wave by an algorithm presented in [39] which uses both the amplitude and the curvature of the ECG waves. This algorithm provides correct detection of the overall ECG–PCG signals of the LGB–IRCM cardiac valve database.
Figures 19 & 20 illustrate respectively the averaged S1 and S2 heart sounds of the PCG signal of the LGB–IRCM data file 10001.11 (Figure 4). The main advantage behind averaging the PCG segments over the consecutive cardiac cycles is to fade the background noise to yield a smooth signal for the subsequent processing. The S2 heart sounds are adjusted according to their recurrent autocorrelation functions over the consecutive cardiac cycles. This adjustment resolves the jitter of the S2 heart sound within the diastole phase and keeps up the aortic and the pulmonary chirp components for the subsequent time–frequency analysis.
As depicted in Figure 21, the S2 heart sound averaged in Figure 20 is formed by two chirps; namely the A2 and the P2 valvular components. The A2 chirp is of higher amplitude than that of the P2 component which confirms the recording carried out from the aortic auscultation area. The envelope recovered version of this S2 heart sound illustrated in Figure 22 obviously highlights the frequency modulated behaviour of the valvular sound.
The WVD of Figure 23 of the averaged S2 heart sound of Figure 21 is concentrated within the time support of the A2 valvular chirp which is of highest amplitude than that of the P2 component. The split behaviour we found in section “Detection of the A2–P2 valvular split in simulated heart sounds” is not reproduced by the WVD. As demonstrated by Xu et al., the weakness of the valvular sounds at their extremities restricts the energy bursts in the high amplitude time support of the analysed sounds within the time–frequency plane [5].
The discrete IF of Figure 24, which is calculated from the envelope recovered S2 heart sound of Figure 22, is adequately retraced by the RSPWVD of Figure 25. This RSPWVD resolved the A2–P2 valvular split of the real S2 heart sound at a high time and frequency resolutions. Indeed, the time–frequency representation illustrated in Figure 25 yields a similar result in comparison to the simulations carried out in section “Detection of the A2–P2 valvular split in simulated heart sounds”. The A2 and P2 valvular chirps are clearly reproduced at a high correlation with the simulated heart sounds as well as their split within the S2 heart sound. similarly, the valvular split in the real S2 heart sound is also localised between 50 and 150 Hz. As depicted in Figure 25, if we take the average between the time instants of the maximum (30.5 ms) and the minimum (21.75 ms) frequencies during as an estimation of the A2–P2 valvular split, we obtain 26.125 ms which is confirmed by the discrete IF illustrated in Figure 24.
Conclusions
The A2–P2 valvular split detection algorithm we developed is mainly based on the Reassigned Smoothed Pseudo Wigner–Ville Distribution (RSPWVD). The Reassignment mixed to the smoothing achieved both in time and frequency domains by the SPWVD provides a higher readability to the obtained RSPWVD. The preprocessing envelope recovery procedure we proposed adapts the analysed heart sounds to the WVD which is optimal for analysing frequency modulated chirps. The performance of the algorithm is confirmed on simulated heart sounds at various split durations (30, 40, 50 and 60 ms). The A2–P2 valvular split is localised at the frequency inflection in the obtained RSPWVD. The developed algorithm is validated on real heart sounds of the LGB–IRCM cardiac valve database and retraces the inflection of the A2–P2 valvular split of the S2 heart sound within the time–frequency plane. The discrete IF is estimated for both simulated and real data to confirm the results obtained through the RSPWVD. Therefore, the proposed algorithm deals adequately with detecting the A2–P2 valvular split and confirms the chirp behaviour of heart sounds. Thus, we demonstrated through the algorithm we developed that the A2–P2 valvular split can be accurately detected by time–frequency analysis using the RSPWVD.
Consent
The patients were contacted in confidentiality by their treating cardiologist and they signed an inform consent form attesting their assent to take part in the study allowing to record the LGB–IRCM cardiac valve database. The signals were recorded at the Institut de recherches cliniques de Montréal (IRCM) and at the Montreal General Jewish Hospital in Quebec (Canada).
Appendix: Properties of the Wigner–Ville distribution
The WVD has some nice properties which are summarised as follows.

1.
The WVD is a member of the Cohen’s class with a weighting function g(ν,τ) = 1.

2.
Realness: The WVD is of real values over the time–frequency plane which makes it suitable for representing the energy of the analysed signal.

3.
Time and frequency marginals: As shown in (13), the integration of the time–frequency distribution over time yields the spectral density of the signal. As stated in (14), the integration of the time–frequency distribution over frequency yields the instantaneous power of the analysed signal x(t), as follows;
$$\underset{\infty}{\overset{+\infty}{\int}}{W}_{x}(t,f)\phantom{\rule{1em}{0ex}}\mathrm{d}t=\leftX\right(f){}^{2}$$(13)$$\underset{\infty}{\overset{+\infty}{\int}}{W}_{x}(t,f)\phantom{\rule{1em}{0ex}}\mathrm{d}f=\leftx\right(t){}^{2}$$(14)
where X(f) denotes the Fourier transform of the signal x(t), and W_{ x }(t,f) represents its WVD.

4.
Global energy: Integration of the WVD over the time–frequency plane yields the global energy E _{ x } of the analysed signal as follows;
$$\underset{\infty}{\overset{+\infty}{\iint}}{W}_{x}(t,f)\phantom{\rule{1em}{0ex}}\mathrm{d}t\phantom{\rule{1em}{0ex}}\mathrm{d}f={E}_{x}$$(15) 
5.
Instantaneous frequency (IF): the first moment of the WVD with respect to frequency of the analytic signal yields the IF as follows;
$$\frac{\underset{\infty}{\overset{+\infty}{\int}}f{W}_{x}(t,f)\phantom{\rule{1em}{0ex}}\mathrm{d}f}{\underset{\infty}{\overset{+\infty}{\int}}{W}_{x}(t,f)\phantom{\rule{1em}{0ex}}\mathrm{d}f}=\frac{1}{2\pi}\phantom{\rule{1em}{0ex}}\frac{\mathrm{d}}{\mathrm{d}t}\left[\text{arg}x\right(t\left)\right]$$(16) 
6.
Time delay (TD): the first moment of the WVD with respect to time of the analytic signal of yields the TD as follows;
$$\frac{\underset{\infty}{\overset{+\infty}{\int}}t{W}_{x}(t,f)\phantom{\rule{1em}{0ex}}\mathrm{d}t}{\underset{\infty}{\overset{+\infty}{\int}}{W}_{x}(t,f)\phantom{\rule{1em}{0ex}}\mathrm{d}t}=\frac{1}{2\pi}\phantom{\rule{1em}{0ex}}\frac{\mathrm{d}}{\mathrm{d}f}\left[\text{arg}X\right(f\left)\right]$$(17) 
7.
The WVD is limited to time–frequency support defined by the duration and the bandwidth of the analysed signal x(t).

8.
Convolution invariance: The WVD of the time–convolution of two signals (x _{1}(t)andx _{2}(t)), yields the time– convolution of their respective WVDs$\left({W}_{{x}_{1}}(t,f)\text{and}{W}_{{x}_{2}}(t,f)\right)$ as follows;
$$\begin{array}{ll}{x}_{3}\left(t\right)& ={x}_{1}\left(t\right)\underset{t}{\ast}{x}_{2}\left(t\right)\phantom{\rule{2em}{0ex}}\\ \Rightarrow {W}_{{x}_{3}}(t,f)& ={W}_{{x}_{1}}(t,f)\underset{t}{\ast}{W}_{{x}_{2}}(t,f)\phantom{\rule{2em}{0ex}}\end{array}$$(18) 
9.
Modulation invariance: The WVD of the frequency–convolution of two signals (x _{1}(t) andx _{2}(t)) yields the frequency–convolution of their respective WVDs$\left({W}_{{x}_{1}}(t,f)\text{and}{W}_{{x}_{2}}(t,f)\right)$ as follows;
$$\begin{array}{ll}{x}_{3}\left(t\right)& ={x}_{1}\left(t\right)\xb7{x}_{2}\left(t\right)\phantom{\rule{2em}{0ex}}\\ \Rightarrow {W}_{{x}_{3}}(t,f)& ={W}_{{x}_{1}}(t,f)\underset{f}{\ast}{W}_{{x}_{2}}(t,f)\phantom{\rule{2em}{0ex}}\end{array}$$(19)
The WVD is time and frequency invariant. Furthermore, a range of peaks of the IF and TD of the analysed signal are directly readable on the WVD [40, 41]. The WVD covers the spectral bandwidth of the analysed signal. Moreover, fluctuations of the maximum frequency of the analysed signal is well represented over the time domain by the WVD [42].
References
 1.
Durand L, Pibarot P: Digital signal processing of the Phonocardiogram: Review of the most recent advancements. Crit Rev Biomed Eng 1995, 23(3–4):163.
 2.
Xu J, Durand L, Pibarot P: A new, simple, and accurate method for noninvasive estimation of pulmonary arterial pressure. Heart 2002, 88: 76–80. 10.1136/heart.88.1.76
 3.
Fisher M, Forfia P, Chamera E, HoustenHarris T, Champion H, Girgis R, Corretti M, Hassoun P: Accuracy of Doppler echocardiography in the hemodynamic assessment of pulmonary hypertension. Am J Respir Crit Care Med 2009, 179(7):615–621. 10.1164/rccm.2008111691OC
 4.
Rich J, Shah S, Swamy R, Kamp A, Rich S: Inaccuracy of Doppler echocardiographic estimates of pulmonary artery pressures in patients with pulmonary hypertension. Chest 2011, 139(5):988–993. 10.1378/chest.101269
 5.
Xu J, Durand L, Pibarot P: Nonlinear transient chirp signal modeling of the aortic and pulmonary components of the second heart sound. IEEE Trans Biomed Eng 2000, 47(10):1328–1335. 10.1109/10.871405
 6.
Xu J, Durand L, Pibarot P: Extraction of the aortic and pulmonary components of the second heart sound using a nonlinear transient chirp signal model. IEEE Trans Biomed Eng 2001, 48(3):277–283. 10.1109/10.914790
 7.
Wood J, Barry D: Quantification of first heart sound frequency dynamics across the human chest wall. Med Biol Eng Comput Computing 1994, 32: 71–78. 10.1007/BF02512481
 8.
Chen D, Durand L, Lee H: Timefrequency analysis of the first heart sound. Part 1: simulation and analysis. Med Biol Eng Comput Computing 1997, 35(4):306–310. 10.1007/BF02534081
 9.
Thompson W, Mehrotra S: Cardiac history and physical examination. In Heart Diseases in Children. US: Springer; 2011:3–16.
 10.
Poley R, White B: Heart murmurs. In Sports Cardiology Essentials. New York: Springer; 2011:213–234.
 11.
Djebbari A, BereksiReguig F: SmoothedPseudo WignerVille distribution of normal and aortic Stenosis Heart Sounds. J Mech Med Biol 2005, 5(3):415. 10.1142/S0219519405001552
 12.
Auger F, Flandrin P: Improving the readability of timefrequency and timescale representations by the reassignment method. IEEE Trans Signal Process 1995, 43(5):1068–1089. 10.1109/78.382394
 13.
Hainsworth S, Macleod M: Time–frequency reassignment: A review and analysis. Technical Report CUED/FINFENG /TR.459, Cambridge University, Engineering Department, 2003
 14.
Santos S, Paiva RP, Carvalho P, Henriques J: Detection of the S2 split using the Hilbert and wavelet transforms. In Congresso de Métodos Numéricos em Engenharia, Coimbra, Portugal. APMTAC; 2011.
 15.
Boashash B: Estimating and interpreting the instantaneous frequency of a signal. I. Fundamentals. Proc IEEE 1992, 80(4):520–538. 10.1109/5.135376
 16.
Tran T, Jones N, Fothergill J: Heart sound simulator. Med Bio Eng Comput 1995, 33(3):357–359. 10.1007/BF02510515
 17.
Djebbari A, BereksiReguig F: A new chirp–based wavelet for heart sounds time–frequency analysis. Int J Commun Antenna Propagation (IRECAP) 2011, 1: 92–102.
 18.
Djebbari A, BereksiReguig F: First heart sound time–frequency analysis using modified Wigner–Ville Distributions. In International Conference on the Image and Signal Processing and their Applications (ISPA’10). Algeria: University of Biskra; 2010.
 19.
Tang Y, Danmin C, Durand L: The synthesis of the aortic valve closure sound of the dog by the mean filter of forward and backward predictor. IEEE Trans Biomed Eng 1992, 39: 1–8. 10.1109/10.108121
 20.
Baykal A, Ziya Ider Y, Koymen H: Distribution of aortic mechanical prosthetic valve closure sound model parameters on the surface of the chest. IEEE Trans Biomed Eng 1995, 42(4):358–370. 10.1109/10.376129
 21.
Zhang X, Durand L, Senhadji L, Lee H, Coatrieux J: Analysissynthesis of the phonocardiogram based on the matching pursuit method. IEEE Trans Biomed Eng 1998, 45(8):962–971. 10.1109/10.704865
 22.
Zhang X, Durand L, Senhadji L, Lee H, Coatrieux J: Timefrequency scaling transformation of the phonocardiogram based of the matching pursuit method. IEEE Trans Biomed Eng 1998, 45(8):972–979. 10.1109/10.704866
 23.
Xu J, Pibarot P, Durand L: Method and apparatus for estimating systolic and mean pulmonary artery pressures of a patient. 2002.
 24.
Shaver J, Salerni R, Reddy P: Normal and abnormal heart sounds in cardiac diagnosis. Part I: Systolic sounds. Curr Probl Cardiol 1985, 10(3):1. 10.1016/01462806(85)900076
 25.
Reddy P, Salerni R, Shaver J: Normal and abnormal heart sounds in cardiac diagnosis: Part II. Diastolic sounds. Curr Probl Cardiol 1985, 10(4):1. 10.1016/01462806(85)900271
 26.
Flandrin P: TimeFrequency/TimeScale Analysis. Academic Pr; 1999.
 27.
Boashash B: Time Frequency Signal Analysis and Processing: A Comprehensive Reference. Elsevier Science; 2003.
 28.
Wigner E: On the quantum correction for thermodynamic equilibrium. Phys Rev 1932, 40(5):749–752. 10.1103/PhysRev.40.749
 29.
Flandrin P, Martin W: A general class of estimators for the WignerVille spectrum of nonstationary processes. Anal Optimization Syst 1984, 62: 15–23. 10.1007/BFb0004941
 30.
Claasen T, Mecklenbrauker W: The Wigner distribution – a tool for time frequency signal analysis. Part I: Continuous time signals. Philips J Res 1980, 35(3):217–250.
 31.
Claasen T, Mecklenbrauker W: The Wigner distribution – a tool for time frequency signal analysis. Part II: Discrete time signals. Philips J Res 1980, 35(4/5):276–300.
 32.
Claasen T, Mecklenbrauker W: The Wigner distribution – a tool for time frequency signal analysis. Part III: Relations with other time–frequency signal transformations. Philips J Res 1980, 35(6):372–389.
 33.
Choi H, Williams W: Improved timefrequency representation of multicomponent signals using exponential kernels. IEEE Trans Acoustics, Speech Signal Process 1989, 37(6):862–871. 10.1109/ASSP.1989.28057
 34.
Cohen L: Timefrequency distributions – A review. IEEE Proc 1989, 77(7):941–981. 10.1109/5.30749
 35.
Kodera K, Gendrin R, Villedary C: Analysis of timevarying signals with small BT values. IEEE Trans Acoustics, Speech Signal Process 1978, 26: 64–76. 10.1109/TASSP.1978.1163047
 36.
Kodera K, De Villedary C, Gendrin R: A new method for the numerical analysis of nonstationary signals. Phys Earth Planetary Inter 1976, 12(2–3):142–150.
 37.
Gabor D: Theory of communication. Inst Electron Eng 1946, 93(11):429–457.
 38.
ChassandeMottin E, Flandrin P: On the timefrequency detection of Chirps. Appl Comput Harmonic Anal 1999, 6(2):252–281. 10.1006/acha.1998.0254
 39.
IllanesManriquez A, Zhang Q: An algorithm for robust detection of QRS onset and offset in ECG signals. In Comput Cardiol, 2008. IEEE; 2008:857–860.
 40.
Boashash B: Wigner analysis of timevarying signals–Its application in seismic prospecting. Proc. European Signal Processing Conf.(EUSIPCO83) 1983, 703–706.
 41.
Boashash B, Escudie B: WignerVille analysis of asymptotic signals and applications. Signal Proc 1985, 8(3):315–327. 10.1016/01651684(85)901094
 42.
Imberger J, Boashash B: Application of the WignerVille distribution to temperature gradient microstructure: A new technique to study smallscale variations. J Phys Oceanography 1986, 16: 1997–2012. 10.1175/15200485(1986)016<1997:AOTWDT>2.0.CO;2
Acknowledgements
The authors would like to thank Prof. Louis–Gilles Durand (Institut de recherches cliniques de Montréal, Quebec, Canada) for putting the LGB–IRCM cardiac valve database at our disposal as well as his valuable technical advices to achieve this work.
Author information
Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ contributions
AD has simulated the second heart sound by a chirp model, estimated its instantaneous frequency, calculated the corresponding zero–crossing instantaneous frequency, calculated the valvular split within the second heart sound, proposed the new envelope recovery method to improve the time–frequency analysis of heart sounds, developed a new algorithm based on the Reassigned Smoothed Pseudo Wigner–Ville Distribution (RSPWVD) to detect the valvular split within heart sounds, applied the time–frequency analysis on simulated and real heart sounds, developed the MATLAB code, and written the manuscript. FBR has revised the manuscript, and reviewed the results. Both authors read and approved the final manuscript.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Djebbari, A., BereksiReguig, F. Detection of the valvular split within the second heart sound using the reassigned smoothed pseudo Wigner–Ville distribution. BioMed Eng OnLine 12, 37 (2013). https://doi.org/10.1186/1475925X1237
Received:
Accepted:
Published:
Keywords
 Phonocardiography
 Heart sound
 Valvular split
 Reassigned Smoothed Wigner–Ville distribution