Abstract
Introduction: This study proposes an algorithm for preprocessing VCG records to obtain a representative QRS loop.
Methods: The proposed algorithm uses the following methods: Digital filtering to remove noise from the signal, wavelet-based detection of ECG fiducial points and isoelectric PQ intervals, spatial alignment of QRS loops, QRS time synchronization using root mean square error minimization and ectopic QRS elimination. The representative QRS loop is calculated as the average of all QRS loops in the VCG record. The algorithm is evaluated on 161 VCG records from a database of 58 healthy control subjects, 69 patients with myocardial infarction, and 34 patients with bundle branch block. The morphologic intra-individual beat-to-beat variability rate is calculated for each VCG record.
Results and Discussion: The maximum relative deviation is 12.2% for healthy control subjects, 19.3% for patients with myocardial infarction, and 17.2% for patients with bundle branch block. The performance of the algorithm is assessed by measuring the morphologic variability before and after QRS time synchronization and ectopic QRS elimination. The variability is reduced by a factor of 0.36 for healthy control subjects, 0.38 for patients with myocardial infarction, and 0.41 for patients with bundle branch block. The proposed algorithm can be used to generate a representative QRS loop for each VCG record. This representative QRS loop can be used to visualize, compare, and further process VCG records for automatic VCG record classification.
1 Introduction
The development of algorithms for an automatic classification of vectorcardiographic (VCG) records for the purpose of heart disease recognition helps include VCG among the commonly used diagnostic methods. Based on the facts from recent studies [e.g., Lee et al., 1968; Simonson, 1976; Ge, 2008; Huebner et al., 2010; Romero et al., 2010; Dehnavi et al., 2011; Correa et al., 2016; Lingman et al., 2016], VCG achieves more accurate results than the standard 12-lead electrocardiographic (ECG) method. Compared to the empirically assessed 12-lead ECG, VCG diagnostics offers a quantitative description of the heart’s electrical field and of the objective view on the heart vector propagation. Thanks to the three orthogonal X, Y, and Z leads, VCG represents a suitable alternative for computerized data processing with no redundant information (Kral, 2006).
Preprocessing of a VCG record is an important initial step of the classification process commonly involving techniques of filtering, which meets the requirements for diagnostic ECG frequency bands (Kligfield et al., 2007), fiducial time instants of the QRS peak, QRS onset, and QRS end; P- and T-wave peaks, onsets, and ends; isoelectric PQ interval assessment (Pan and Tompkins, 1985; Dokur et al., 1996; Soria-Olivas et al., 1998; Vullings et al., 1998; Martínez et al., 2004; Mazomenos et al., 2012); spatiotemporal QRS loop alignment (van Alsté et al., 1986; Sörnmo, 1993; Sörnmo, 1998; Astrom et al., 2000; Vullings et al., 2013); and finally a representative P-QRS-T loops of a VCG record evaluation.
Recent studies (Sörnmo, 1998; Astrom et al., 2000; Vullings et al., 2013) propose various methods for QRS loop alignment by transformations which consist of rotation and lead-independent or lead-dependent scaling. A crucial modeling issue is, however, whether the diagnostic information of the signals is retained or becomes distorted when these transformations are applied, especially in pathological cases, where the QRS loop planarity is not retained (Schellong, 1939; Pipberger et al., 1962). Moreover, the performance of these methods is strongly dependent on signal-to-noise ratio (SNR) conditions or on a priori information about these transformations.
As a representative template of the QRS loop, characterizing a VCG record, theoretically any of the detected QRS loops of a record could be selected. However, a more accurate method is to evaluate an average QRS loop, where effects of heart movement during the respiration cycle and distance between surface electrodes and the heart variations, along with effects of random noises caused, e.g., by muscular activity, are minimized by the averaging. Ectopic heartbeats, if presented, should be automatically detected and excluded from the record before evaluation of the average heartbeat (Berbari et al., 1993).
Kijonka et al. (2022) focused on the fiducial points of P-QRS-T wave detection based on wavelet transform evaluated on the Physikalisch Technische Bundesanstalt (PTB) diagnostic database and validated on the Common Standards for Quantitative Electrocardiography (CSE) multilead database of 125 records of patients with various diagnoses, including healthy controls (HCs) and patients with myocardial infarction (MI), bundle branch block (BBB), and aspecific conduction defects with significant changes in the ECG image, causing a wide QRS (>120 ms). The QRS peak was evaluated correctly for all of 1,467 beats. The QRS onset and QRS end were detected with standard deviation comparable to or better than other well-known algorithms (Pan and Tompkins, 1985; SAHAMBI et al., 1997; MAZOMENOS, 2012; VULLINGS et al., 1998). The isoelectric interval was detected correctly between the P end and QRS onset for all the cases. The algorithm well-evaluated a wide QRS based on automated wavelet scale switching.
This study builds on the validated QRS loop boundaries and isoelectric coordinate detector presented in Kijonka et al. (2022) for the purpose of further signal processing—the representative QRS loop of a record evaluation technique presented here. This study deals with a suitable digital finite impulse response (FIR) filter design, including automatic notch filter design, a technique of QRS loop spatial alignment, QRS loop time-synchronization, and ectopic QRS loop elimination presented here. Compared to the QRS loop alignment techniques presented in Sörnmo (1998); Astrom et al. (2000); Vullings et al. (2013), the proposed algorithm omits transformation techniques, which could introduce a distortion in the average QRS loop of a record evaluation. Spatial and time synchronization to average the effect of heart movement during respiration, distance electrode variations, and muscular and random noises along with automatic detection to eliminate ectopic rhythms are used instead. To compare the results with those of the previous studies (Sörnmo, 1998; Astrom et al., 2000; Vullings et al., 2013), the ratio of the morphologic variability reduction before and after the proposed algorithm application was assessed separately for three diagnostic groups of HC, MI, and BBB subjects. To evaluate the signal morphologic variability, the maximum relative deviation was assesed. This parameter provides us the maximum spatial distance from the average QRS loop in three signals relative to the range of signals.
The proposed preprocessing algorithm was applied to VCG records of the PTB database of 58 HC, 69 MI, and 34 BBB subjects, where 1/3 of the records of each diagnostic group were used for the algorithm design. The records were 2 min long, containing approximately 120 beats for averaging. The records are sampled at 1.000 Hz (Bousseljot et al., 1995; Goldberger et al., 2000).
2 Materials and methods
The initialization step of the data preprocessing algorithm (Figure 1) is loading of an input database of VCG records accompanied by an anamnesis. In case of the PTB diagnostic database, a record is stored in a MAT/BIN file, accompanied by an anamnesis HEA file.
FIGURE 1

VCG preprocessing algorithm.
The VCG preprocessing algorithm is described by individual steps described below in Section 2.1 to Section 2.6.
2.1 Data filtering
In the first step of the algorithm, as shown in Figure 1, a baseline wander and noise motion artifacts are filtered by the FIR high-pass (HP) filter with a passband cutoff frequency of 1 Hz with respect to recommendations from Kligfield et al. (2007). Other artifacts caused by electromagnetic interference (EMI) of the 50-Hz power line are removed using a notch FIR filter. This type of filter was designed for offline biosignal processing due to its linear phase and minimal distortion of the filtered signal (Marchon and Naik, 2018).
2.1.1 High-pass filter design
According to the American Heart Association (AHA), the filter with a cutoff frequency is suitable for diagnostic purposes (MEDTEQ) (Reich, 2011). This analog first-order RC filter has a non-linear phase frequency characteristic, so it significantly distorts the VCG signal up to a frequency approximately one order higher than .
The experimental measurements show that the cutoff frequency is insufficient for motion artifact filtering for the selected database file. Therefore, HP digital FIR filters with a higher cutoff frequency are designed. According to the relative specification of the filter, the parameters for the cutoff frequencies in the passband in the range from to and the cutoff frequencies in the stopband are selected. The requirement for the passband ripple and stopband attenuation is selected as well.
With respect to the requirement for (Eq. 1) for the ripple amplitude (such a small ripple does not affect the diagnostic VCG information) and amplitude of the VCG signal ,
The requirement for (Eq. 2) for the band-stop amplitude drift is set by and the drift amplitude (with respect to motion artifacts in the input database):
The filters are designed using the Parks–McClellan optimalization method. To determine the effectiveness and suitability of the equivalent FIR filter with a cutoff frequency and four FIR filters with the threshold frequencies , the filters are tested in randomly selected VCG records of healthy patients and patients with myocardial infarction and bundle branch blocks, which may be negatively affected by too high cutoff frequency of the filter due to a pathologically wide QRS complex.
In order to eliminate the isoelectric baseline fluctuation effectively, the filter with is selected. The filter with the cutoff frequency has already caused a gross distortion of the P and T waves, ST segment, and PQ segment of the records of patients with the width of the QRS complex, although the QRS complex itself has not been deformed (Figure 2).
FIGURE 2

ECG record: “s0429_re” of the diagnostic PTB database of the patient with bundle branch block filtering detail. (A) FIR filter with the cutoff frequency . (B) FIR filter with the cutoff frequency .
2.1.2 Automatic notch filter design
The designed notch filter is applied automatically only in the case of exceedance in the level of interference by the Eq. 3:where represents the amplitude frequency spectrum in the range – and is the amplitude frequency spectrum in the range –.
According to the European standard EN 50160, “Voltage characteristics of electricity supplied by public distribution systems” is the mains frequency with tolerance for of the time defined. The harmonic voltage cannot exceed of the fundamental frequency amplitude.
For electromagnetic interference (EMI) filtering, the FIR notch filter is designed using Parks–McClellan optimalization. The requirement for is selected by keeping the mains interference amplitude . The cutoff frequency in the first and the second passbands and is selected considering the feasibility of the filter and to meet the conditions for the narrowest band in accordance with VCG diagnostic information preservation.
The requirement for is fulfilled for the designed filter with the bandwidth . In the case of larger deviation from the fundamental frequency, the frequency of the notch filter is adjusted automatically based on the signal frequency spectrum. Filtering of harmonics is meaningless since the amplitude of the interferences reached a negligible level.
2.2 QRS and PQ detection
One of the crucial steps in ECG analysis is to accurately detect the different waves forming the entire cardiac cycle. Most of the studies based on wavelet transformation identify almost all morphologies of ECG waveforms (Lingman et al., 2016). Especially, the wavelet transformation is worth investigating in P- and T-wave recognition (Addison, 2005; Martinez et al., 2004).
In this section, we present our previous work: a design of the QRS peak detector (detector of the R wave) including the time instants of the QRS onset and QRS end detection and the isoelectric PQ segment detection. The algorithm is based on biorthogonal wavelets since they excite various morphologies of ECGs better at different scales (Kijonka et al., 2022).
Here, we summarize the algorithm in eight points. The implementation with zero points and intervals detected is shown in Figure 3.
FIGURE 3

Zero points left to the and right to the detected in the neighborhood given by the parameter . The intervals between the zero points, which meet the conditions assessed (the amplitude threshold exceeding and others), are marked in green.
2.2.1 Basics
The wavelet transform allows us to analyze nonstationary nature signals with localization in time. For analysis, the continuous form of wavelet transform (CWT) was used, described by the Eq. 4:where stands for a dilatation parameter, is the translation parameter, and is a mother wavelet. CWT uses sampled data, but compared to the discrete wavelet transform (DWT), it allows finer resolution. The output is a transformed signal of the same number of samples as the original. A compact and symmetric biorthogonal wavelet was used. It provides time symmetry, prevents phase shifts of the transformed signal, and complies with the shape like the detected waveforms.
2.2.2 QRS peak detection
QRS peak detection is based on the wavelet transform of the input signals corresponding to signals, on scale , where the samples of the record , where is the total number of samples of the signal. For the detection, the scale is used, which corresponds with the biorthogonal wavelet of pseudo-frequency approximately . The appropriate scale for QRS detection is determined experimentally based on the QRS frequency band. In the next step, the occurrences of the creation of QRS peaks are calculated. These sets are arranged based on exceedance of the amplitude threshold of the transformed signal and based on the specified maximum heart rate. From each set, just one time instant according to established rules was selected. It corresponds to the expected R peak wave.
2.2.3 QRS onset and QRS end detection
The QRS onset and offset detection is based on zero crossing of . Zero points in the neighborhood of the local maxima of the function (Figure 3) are searched individually for each signal and each QRS detected. The zero points of the QRS onset and QRS end are determined based on the conditions set for exceeding the amplitude threshold of between the zero-point intervals, interval lengths, and the sequence of suitable or unsuitable intervals (intervals that meet defined conditions) (Kijonka et al., 2022). The QRS onset and QRS end are then adjusted according to the signal shape in the preceding or following interval.
2.2.4 Wide QRS onset and QRS end adjustment
In some cases, e.g., blockades, a wide QRS might occur. The previous parameters of the defined neighborhood of and scale would be inadequate for the QRS onset and QRS end detection. The algorithm sets the wide QRS based on the conditions (Kijonka et al., 2022) and adjusts the wide QRS onset or QRS end. The wide QRS is evaluated based on the energy percentage of the wavelet coefficient rate in the neighborhood of the original QRS onset and QRS end in the scales and , respectively, and the percentage of energy in these scales on the window of width given by the parameter. The QRS onset and QRS end adjustment is based on the zero crossing on scale , while a similar procedure as in QRS onset and QRS end detection is maintained.
2.2.5 QRS onset and QRS end adjustment by slope
The adjustment of QRS onset and QRS end using the linear regression is based on the calculation of the slope at the temporal search window applied to the input signal in the area before the QRS onset or after the QRS end detected previously. The QRS onset or QRS end is shifted to the point that meets the specified threshold for the line slope (Kijonka et al., 2022) in the temporal search window.
2.2.6 PQ detection
The PQ segment detection using linear regression is based on finding a minimum slope on the temporal search window of the input signal in the neighborhood of the QRS onset. The time window with width is selected experimentally (Kijonka et al., 2022).
2.2.7 QRS onset and QRS end alignment between X, Y, and Z signals of a VCG record
The QRS onset and QRS end alignment between the signals is determined based on conditions for exceeding the distances of the detected QRS onsets or ends. The maximum distance between the QRS onsets is set by the parameter (Kijonka et al., 2022). In the case of an exceeding threshold, the further point is shifted to the mean value of the remaining two points. This process increases the robustness of the algorithm, and it is performed for the correct PQ segment detection and the correct QRS loop boundary detection in the case of erroneous QRS onset or end detection in some of the three VCG signals.
2.2.8 QRS loop boundary detection
The QRS boundaries of the record are given by the and , where is the left bound of the QRS loop and is the right bound of the QRS loop. The values of the boundaries (in samples) indicate the distance between the synchronization wave and the left or right QRS loop bound. The detected QRS in the lead is marked as the synchronization wave. The and represent the constants for all the QRS loops of the record for the dominant length of the QRS loop. The and parameters are computed using the Eqs. 5, 6:where is the sequence number of the QRS detected, is the index of the signal, is the synchronization wave, is the set of points of the PQ interval, is the QRS offset, and stands for the median value.
2.3 QRS loop spatial alignment
The isoelectric baseline detection is one of the most important steps in VCG preprocessing for the purpose of quantitative description by the features, especially by the features describing the P-, QRS, and T-loop spatial location. These loops should have the initial point in the origin of the coordinate system; thus, the instantaneous magnitude of the vector given by the three coordinates should be 0 in the beginning of each heart action. It should be executed in the PQ and ST segments for the non-pathological cases. As the most suitable interval for the zero-heart electrical activity indication, the PQ segment appears suitable also for most of the pathological cases. The PQ intervals detected for the three X, Y, and Z VCG leads create the isoelectric coordinates of the QRS loop. The detection of the PQ intervals and QRS bounds is performed in the presented work by the methods (see Section 2.2) described in more detail in the previous work (Kijonka et al., 2022).
The correction on the isoelectric baseline is computed for each VCG signal and each QRS complex detected, by the Eq. 7:where is the sequence number of QRS, is index of the signal, is the input signal, is the sample of the signal, is the set of the points of the PQ interval, and represents the mean value.
Each detected QRS complex of the record with the sequence number of the signal bordered by the and is shifted by the voltage level so that the corresponding QRS loops are shifted in all three coordinates.
In the cases where the is not correctly detected for all the QRS, the other correction method by the Eq. 8:is used. Based on this relation, the isoelectric baseline is computed only from one point of the left QRS bound. This method is used in few number of cases, especially for the MI patients (see Figure 5).
2.4 QRS loop time synchronization
An objective of the QRS loop time synchronization is to move individual heartbeats of a record to a common time-synchronization mark. As the time-synchronization mark, the QRS peak detected in the signal X was selected. For the optimal alignment of the individual heartbeats, a method of root mean square error minimization by individual heartbeat (three signals X, Y, and Z) time shifting, where the individual heart beats are shifted relative to the median heartbeat, is proposed.
All the detected QRS loops adjusted by the isoelectric coordinates (three detected isoelectric levels) are temporally aligned by the method of minimalization of the mean quadratic error from the median for the moving parameter . The QRS loop alignment is performable in the timescale by the overlapping method (Figure 4).
FIGURE 4

Representative QRS loop given by the three signals marked as and all the QRS of each signal corrected by marked as , where and is the number of QRS detected in the signal of index . The range of is marked as .
The minimalization process and the parameter finding for the each QRS loop by the Eqs. 9–12:
find median:and the range of the median QRS:where is the QRS detected corrected by the
we define matrix of the mean square deviations of the function from , where each element of the matrix is given by the Eq. 11:where is the moving parameter.
Finally, the for each is calculated for the mean quadratic error minimalization by the Eq. 12:where the moving parameter is chosen in the range – samples. These limits were chosen experimentally based on maximum variations in QRS peak detection in pathological cases. Theoretically, higher limits of could be selected for extremely variable signals, which will cause an increase in the algorithm evaluation time. The most probable value of calculated to the mean quadratic error minimalization was in the range of to samples ( to milliseconds).
The process according to Eqs. 9–12 repeats for the aligned QRS loops by the selected number of iterations. The greater the number of iterations is, the more precise the calculation of the median and of the mean quadratic deviations from the median can be achieved. A number of three iterations was chosen as an optimal value, where further increasing of iterations had a negligible effect on the mean quadratic deviation reduction.
2.5 Ectopic QRS loop elimination
The ectopic QRS loops can be presented in the record, e.g., due to the presence of ventricular extrasystoles, arrhythmias, or artifacts. To evaluate the representative QRS loop of the record, these ectopic QRS loops cannot be considered for the calculation. The ectopic QRS loops were identified by the extreme observation (outlier) method such that , the maximum square deviation, is computed (Eq. 13). Similar statistical methods for the outlier detection in biosignals were also used in Cipra et al. (1990).where and stand for the mean values calculated analogously by Eqs. 9, 10.
Extreme observations with the interquartile range (IQR) can be calculated by the Eq. 14:Then, is the extreme observation.
All the QRS loops, for which at least one signal meets Eq. 14, are excluded within the representative QRS loop of the record calculation.
2.6 Representative QRS loop evaluation
The output of the algorithm for VCG signal preprocessing is the representative QRS loop of a record calculated as the average of the QRS loops of the three signals, moved on the voltage axes to the isoelectric coordinates, aligned in the time axes and treated out of the outliers.
To assess the signal morphologic variability before and after performing the presented methods of spatial alignment, time synchronization, and ectopic QRS elimination, the maximum relative error parameter was computed by the Eq. 15:where computes the maximum spatial distance from the average QRS loop in the three signals relative to the range of signals. The maximum spatial distances of individual QRS loops from the average QRS loop are clearly visible in Figure 4, where all the QRS loops of a record are shown by the overlapping display method (brighter color) and calculated mean QRS loop—representative QRS loop of the record is shown in a darker color. A signal with the largest deviation from the mean indicates the maximum error.
The results of for the records of healthy controls (HC), MI patients, and BBB patients are shown in Table 1. Low values of indicate low intra-individual variability and, therefore, a more accurate calculation of the representative QRS loop of the record.
TABLE 1
| (%) | (%) reduction factor (−) | (%) reduction factor (−) | Extreme observations (%) | |
|---|---|---|---|---|
| HC | 19.2 | 14.6 | 12.2 | 2.9 |
| 0.24 | 0.36 | |||
| MI | 31.1 | 22.2 | 19.3 | 2.9 |
| 0.29 | 0.38 | |||
| BBB | 29.1 | 20.1 | 17.2 | 4.2 |
| 0.31 | 0.41 |
Summarization of for the HC, MI and BBB diagnoses.
—without ttime-synchronization, extreme observations not excluded.
—without time-synchronization, extreme observations excluded.
—time-synchronized, extreme observations excluded.
The parameter also plays an important role in determining the patient’s condition in long-term patient monitoring, where the significant changes in intra-individual variability [changes in greater than 10% (Laufberger, 1980)] point to the deterioration or improvement of the patient’s state.
3 Results
The maximum relative error is evaluated for individual diagnostic groups of 58 HC, 69 MI, and 34 BBB subjects (Figure 6). A significant reduction of the is achieved by the ectopic QRS elimination described in Section 2.5. Further reduction is achieved by the time synchronization technique presented in the Section 2.4 in combination with the ectopic QRS elimination, while the percentage of the detected ectopic QRS is preserved or reduced.
A summary of the results of is presented in Table 1, where the is evaluated for individual diagnostic groups of HC, MI, and BBB subjects. The lower value of and, thus, probably, the lower intra-individual variability are evaluated in healthy subjects. A relatively high average reduction factor of 0.38 for all observed diagnostic groups is achieved, without accompanying transformations methods used in previous studies (Sörnmo, 1998; Vullings et al., 2013).
For most of the records, only the HP filter is used. The automatically selected 50-Hz notch filter according to the Eq. 3 is especially used in the MI case (45%), subsequently in HC (26%), and least in BBB (18%) (Figure 5). For majority of the records, the isoelectric baseline detection is used by Eq. 7. The isoelectric baseline detection according to Eq. 8 is only used in the case of artifacts presented in the processed signal, which made it impossible to detect the PQ segments identically for all the QRS. The indicator of this state is also observable by a higher level of (Figure 6).
FIGURE 5

Summarization of the usage of the HP filter or HP filter in combination with the notch filter for each group for the HC, MI, and BBB diagnoses (A). Isoelectric baseline by (PR) or by (Lbound) usage for each diagnostic group (B).
FIGURE 6

Probability distributions of (%) and extreme observations (%) for the not time-synchronized QRS with the extreme observation not excluded (a), or for the not time-synchronized QRS with the extreme observation excluded (b), or for time-synchronized QRS with the extreme observation excluded (c). The calculations are evaluated for the group of HC (top), MI (middle) and BBB (bottom) subjects diagnoses.
4 Discussion
The automatic classification of a VCG record requires data preprocessing of three X, Y, and Z orthogonal leads involving algorithms for the onset and end of individual P-QRS-T loop detection. A slow baseline wander requires that the origin of a VCG loop is translated to its isoelectric coordinates before further data processing (Kijonka et al., 2022). Loop translation is considered a part of the data preprocessing used for VCG loop alignment (Sörnmo, 1998; Vullings et al., 2013). Application of these methods allows for comparison of the translated VCG loops of a single record or a comparison between different records and is substantial for intra-individual variability of a record assessment (Penhaker, 2014) for further VCG processing and VCG feature extraction considering the topological arrangement of a VCG loop (Laufberger, 1980; Le et al., 2013). To compare multiple spatially aligned QRS loops with QRS onset, QRS peak and QRS end are detected, and the QRS loops should be first time-synchronized. The best alternative for time synchronization is using the most accurately detected time instant, that is represented by the QRS peak (e.g., in the X lead). However, due to morphologic variability caused in particular by respiration-induced movements of the heart and variability in physiological origin, the QRS loops synchronized by the QRS peak still have falsely high intra-individual variability. By applying the multipass time-synchronization method presented in this study, the QRS loops are synchronized by small time shifts (±8 ms) relative to the original synchronization of the QRS peak to minimize the maximum relative error. A relatively high reduction factor of the morphologic variability is achieved. The beat-to-beat amplitude changes caused by respiration cycles and white noise are averaged in the resulting representative QRS loop of a record, where the impact of additional geometric transformation methods (Sörnmo, 1998; Astrom et al., 2000; Vullings et al., 2013) would have a negligible effect on the resulting average curve.
5 Conclusion
The methods of VCG signal preprocessing to compute a representative QRS loop of a VCG record evaluation were presented and applied in the analysis of VCG records from the diagnostic PTB database of 58 healthy subjects, pathological cases of 69 MI subjects, and 34 BBB subjects. Relatively small intra-individual variability was measured after spatial alignment, and time synchronization implemented by algorithms was presented in this study. The maximum relative deviation of 12.2% for HC, 19.3% for MI, and 17.2% for BBB diagnostic groups was evaluated. The variability was reduced by a factor of 0.36 for HC, 0.38 for MI, and 0.41 for BBB after QRS time synchronization and ectopic QRS elimination were performed. The presented methods of the template QRS loop of a VCG record evaluation can better differentiate between morphologies of healthy and pathological subjects of individual diagnostic groups and different degrees of disability. Application of the proposed algorithm on the other databases of VCG records is expected based on the usage of the validated method of the fiducial point of the P-QRS-T wave detection.
Statements
Data availability statement
Publicly available datasets were analyzed in this study. These data can be found at: Xingwen Fu, 12 August 2021, “ptb-diagnostic-ecg-database-1.0.0,” IEEE Dataport, doi: https://dx.doi.org/10.21227/zx3d-d450.
Author contributions
JK: writing–original draft, investigation, methodology, software, and visualization. PV: writing–review and editing, and validation. MP: supervision and writing–review and editing. JK: supervision and writing–review and editing.
Funding
The author(s) declare that financial support was received for the research, authorship, and/or publication of this article. This article has been produced with the financial support of the European Union under the LERCO CZ.10.03.01/00/22_003/0000003 project via the Operational Programme Just Transition. The work and the contributions were supported by the project SP2023/028 “Biomedical Engineering systems XIX”.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1
AddisonP. S. (2005). Wavelet transforms and the ECG: a review. Physiological Measurement26 (5), R155–R199. PMID: 16088052. 10.1088/0967-3334/26/5/R01
2
AstromM.Carro SantosE.SörnmoL.LagunaP.WohlfartB. (2000). Vectorcardiographic loop alignment and the measurement of morphologic beat-to-beat variability in noisy signals. IEEE Transactions on Biomedical Engineering47 (4), 497–506. 10.1109/10.828149
3
BerbariE. J.LanderP. (1993). “The methods of recording and analysis of the signal averaged ECG,” in Signal averaged Electrocardiography. Editor GomesJ. A. (Dordrecht: Springer). 10.1007/978-94-011-0894-2_4
4
BousseljotR.KreiselerD.AllardS. (1995). Use of the PTB's ECG signal database CARDIODAT via the Internet. PhysioNet, 317–318.
5
CipraT.FuchsA.FormánekJ.KubátJ.MikiskováH.ZajícekP. (1990). Detection and interpolation of outliers in biosignals. Activitas nervosa superior32 (4), 283–291. PMID: 2082646.
6
CorreaR.AriniP. D.CorreaL. S.ValentinuzziM.LaciarE. (2016). Identification of patients with myocardial infarction. Vectorcardiographic and electrocardiographic analysis. Methods of Information in Medicine55 (3), 242–249. 10.3414/ME15-01-0101
7
DehnaviA. R. M.RabbaniH.FarahabadiA.MahjoobM. P.DehnaviN. R. (2011). Detection and classification of cardiac ischemia using vectorcardiogram signal via neural network. Journal of Research in Medical Sciences16 (2), 136–142.
8
DokurZ.OlmezT.KorurekM.YazganE. (1996). “Detection of ECG waveforms by using artificial neural networks,” in Proceedings of the 18th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Amsterdam, The Netherlands, 31 October, 1996, 929–930. 10.1109/IEMBS.1996.652646
9
GeD. (2008). “Detecting myocardial infraction using VCG leads,” in Proceedings of the 2nd international conference on bioinformatics and biomedical engineering, Shanghai, China, 16-18 May 2008 (IEEE).
10
GoldbergerA. L.AmaralL. A.GlassL.HausdorffJ. M.IvanovP. C.MarkR. G. (2000). PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. circulation101 (23), e215–e220. 10.1161/01.cir.101.23.e215
11
HuebnerT.SchuepbachW. M. M.SeeckA.SanzE.MeierB.VossA. (2010). Cardiogoniometric parameters for detection of coronary artery disease at rest as a function of stenosis localization and distribution. Medical and Biological Engineering and Computing48 (5), 435–446. 10.1007/s11517-010-0594-1
12
KijonkaJ.VavraP.ZoncaP.PenhakerM. (2022). A wavelet-based VCG QRS loop boundaries and isoelectric coordinates detector. Frontiers in Physiology13, 2218. 10.3389/fphys.2022.941827
13
KligfieldP.GettesL. S.BaileyJ. J.ChildersR.DealB. J.HancockE. W. (2007). Recommendations for the standardization and interpretation of the electrocardiogram: part I: the electrocardiogram and its technology: a scientific statement from the American heart association Electrocardiography and arrhythmias committee, council on clinical cardiology; the American college of cardiology foundation; and the heart rhythm society: endorsed by the international society for computerized electrocardiology. Circulation115 (10), 1306–1324. 10.1161/CIRCULATIONAHA.106.180200
14
KralV. (2006). Spaciokardiografie. K 20. Výročí úmrtí akademika viléma laufbergera. Cor Et Vasa: International Journal of Cardiology48 (9). ISSN 0010-8650.
15
LaufbergerV. (1980). Octant vectorcardiography. Physiologia Bohemoslovaca29 (6), 481–494.
16
LeT. Q.BukkapatnamS. T. S.BenjaminB. A.WilkinsB. A.KomanduriR. (2013). Topology and random-walk network representation of cardiac dynamics for localization of myocardial infarction. IEEE Transactions on Biomedical Engineering60 (8), 2325–2331. 10.1109/TBME.2013.2255596
17
LeeG. B.WilsonW. J.AmplatzK.TunaN. (1968). Correlation of vectorcardiogram and electrocardiogram with coronary arteriogram. Circulation38, 189–200. 10.1161/01.cir.38.1.189
18
LingmanM.HartfordM.KarlssonT.HerlitzJ.RubulisA.CaidahlK. (2016). Value of the QRS-T area angle in improving the prediction of sudden cardiac death after acute coronary syndromes. International Journal of Cardiology218, 1–11. 10.1016/j.ijcard.2016.05.005
19
MarchonN.NaikG. (2018). “A novel linear phase FIR high pass filter for biomedical signals,” in Proceedings of the 2018 IEEE Distributed Computing, VLSI, Electrical Circuits and Robotics (DISCOVER), Mangalore, India. 10.1109/DISCOVER.2018.8674120
20
MartinezJ. P.AlmeidaR.OlmosS.RochaA. P.LagunaP. (2004). ECG signal analysis and arrhythmia detection using wavelet transform. Journal of The Institution of Engineers (India): Series B97, 499–507. 10.1007/s40031-016-0247-3
21
MartínezJ. P.AlmeidaR.OlmosS.RochaA. P.LagunaP. (2004). A wavelet-based ECG delineator: evaluation on standard databases. IEEE Biomedical Engineering51, 570–581. 10.1109/TBME.2003.821031
22
MazomenosE. B. (2012). “A time-domain morphology and gradient based algorithm for ECG feature extraction,” in Proceedings of the Industrial technology (ICIT), 2012 IEEE international conference on, Athens, Greece, March 2012 (IEEE), 117–122.
23
MazomenosE. B.ChenT.AcharyyaA.BhattacharyaA.RosengartenJ.MaharatnaK. (2012). “A Time-Domain Morphology and Gradient based algorithm for ECG feature extraction,” in Proceedings of the 2012 IEEE International Conference on Industrial Technology, Athens, Greece, March 2012. 10.1109/ICIT.2012.6209924
24
Medteq (2023). “ECG filters”. [cit. 2023-02-15]. Available at: http://www.medteq.info/med/ECGFilters.
25
PanJ.TompkinsW. J. (1985). A real-time QRS detection algorithm. IEEE Transactions on Biomedical Engineering32 (3), 230–236. 10.1109/TBME.1985.325532
26
PenhakerM. (2014). “Evaluation of electrocardiographic leads and establishing significance intra-individuality,” in Proceedings of the Innovations in Bio-inspired Computing and Applications: Proceedings of the 4th International Conference on Innovations in Bio-Inspired Computing and Applications, IBICA 2013, Ostrava, Czech Republic, August 22-24, 2013 (Springer International Publishing).
27
PipbergerH. V.CarterT. N.PipbergerH. A. (1962). Analysis of the normal and abnormal vectorcardiogram in its own reference frame. Circulation25 (5), 827–840. 10.1161/01.cir.25.5.827
28
ReichD. L. (2011). Monitoring in anesthesia and perioperative care. Cambridge, UK: Cambridge University Press.
29
RomeroD. (2010). “A vectorial approach for evaluation of depolarization changes during acute myocardial ischemia,” in Proceedings of the 2010 Computing in cardiology, Belfast, UK, 26-29 September 2010 (IEEE).
30
SahambiJ. S.TandonS.BhattR. K. P. (1997). Using wavelet transforms for ECG characterization. An on-line digital signal processing system. IEEE Engineering in Medicine and Biology Magazine16 (1), 77–83. 10.1109/51.566158
31
SchellongF. (1939). Grundzuge einer klinischen Vektorcardiographie des Herzens. Berlin, Germany: Springer-Verlag.
32
SimonsonE. (1976). Vectorcardiographic (VCG) recognition and differentiation of myocardial infarction (MI). Advances in Cardiology16, 386–393. 10.1159/000398429
33
Soria-OlivasE.Martínez-SoberM.Calpe-MaravillaJ.Guerrero-MartínezJ. F.Chorro-GascóJ.Espí-LópezJ. (1998). Application of adaptive signal processing for determining the limits of P and T waves in an ECG. IEEE Transactions on Biomedical Engineering45 (8), 1077–1080. 10.1109/10.704877
34
SörnmoL. (1993). Time-varying digital filtering of ECG baseline wander. Medical and Biological Engineering and Computing31, 503–508. 10.1007/BF02441986
35
SörnmoL. (1998). Vectorcardiographic loop alignment and morphologic beat-to-beat variability. IEEE Transactions on Biomedical Engineering45 (12), 1401–1413. 10.1109/10.730434
36
van AlstéJ. A.van EckW.HerrmannO. E. (1986). ECG baseline wander reduction using linear phase filters. Computers and biomedical research, an international journal19 (5), 417–427. 10.1016/0010-4809(86)90037-6
37
VullingsH. J. L. M.VerhaegenM. H. G.VerbruggenH. B. (1998). “Automated ECG segmentation with dynamic time warping,” in Proceedings of the 20th Annual International Conference of the IEEE Engineering in Medicine and Biology Society. 20. Biomedical Engineering Towards the Year 2000 and Beyond (Cat. No.98CH36286), Hong Kong, China, November 1998 (IEEE), 163–166.
38
VullingsR.MischiM.OeiS. G.BergmansJ. W. M. (2013). Novel Bayesian vectorcardiographic loop alignment for improved monitoring of ECG and fetal movement. IEEE Transactions on Biomedical Engineering60 (6), 1580–1588. 10.1109/TBME.2013.2238938
Summary
Keywords
digital filtering, ECG, intra-individuality, isoelectric line detection, QRS detection, QRS loop alignment, representative QRS loop, VCG
Citation
Kijonka J, Vavra P, Penhaker M and Kubicek J (2024) Representative QRS loop of the VCG record evaluation. Front. Physiol. 14:1260074. doi: 10.3389/fphys.2023.1260074
Received
17 July 2023
Accepted
04 December 2023
Published
04 January 2024
Volume
14 - 2023
Edited by
Ahsan H. Khandoker, Khalifa University, United Arab Emirates
Reviewed by
Lisandro Lovisolo, Rio de Janeiro State University, Brazil
Daniele Bibbo, Roma Tre University, Italy
Updates
Copyright
© 2024 Kijonka, Vavra, Penhaker and Kubicek.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Jan Kijonka, jan.kijonka@vsb.cz
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.