Next Article in Journal
Unobtrusive Estimation of Cardiovascular Parameters with Limb Ballistocardiography
Next Article in Special Issue
In Vivo Measurement of Cervical Elasticity on Pregnant Women by Torsional Wave Technique: A Preliminary Study
Previous Article in Journal
Synthesizing Depth Hand Images with GANs and Style Transfer for Hand Pose Estimation
Previous Article in Special Issue
Non-Contact Monitoring of Breathing Pattern and Respiratory Rate via RGB Signal Measurement
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Simulating Arbitrary Electrode Reversals in Standard 12-Lead ECG

1
Institute of Biophysics and Biomedical Engineering, Bulgarian Academy of Sciences, Acad. G. Bonchev Str. Bl 105, 1113 Sofia, Bulgaria
2
Signal Processing, Schiller AG, Altgasse 68, CH-6341 Baar, Switzerland
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(13), 2920; https://doi.org/10.3390/s19132920
Submission received: 24 May 2019 / Revised: 21 June 2019 / Accepted: 29 June 2019 / Published: 1 July 2019
(This article belongs to the Special Issue Smart Sensors for Healthcare and Medical Applications)

Abstract

:
Electrode reversal errors in standard 12-lead electrocardiograms (ECG) can produce significant ECG changes and, in turn, misleading diagnoses. Their detection is important but mostly limited to the design of criteria using ECG databases with simulated reversals, without Wilson’s central terminal (WCT) potential change. This is, to the best of our knowledge, the first study that presents an algebraic transformation for simulation of all possible ECG cable reversals, including those with displaced WCT, where most of the leads appear with distorted morphology. The simulation model of ECG electrode swaps and the resultant WCT potential change is derived in the standard 12-lead ECG setup. The transformation formulas are theoretically compared to known limb lead reversals and experimentally proven for unknown limb–chest electrode swaps using a 12-lead ECG database from 25 healthy volunteers (recordings without electrode swaps and with 5 unicolor pairs swaps, including red (right arm—C1), yellow (left arm—C2), green (left leg (LL) —C3), black (right leg (RL)—C5), all unicolor pairs). Two applications of the transformation are shown to be feasible: ‘Forward’ (simulation of reordered leads from correct leads) and ‘Inverse’ (reconstruction of correct leads from an ECG recorded with known electrode reversals). Deficiencies are found only when the ground RL electrode is swapped as this case requires guessing the unknown RL electrode potential. We suggest assuming that potential to be equal to that of the LL electrode. The ‘Forward’ transformation is important for comprehensive training platforms of humans and machines to reliably recognize simulated electrode swaps using the available resources of correctly recorded ECG databases. The ‘Inverse’ transformation can save time and costs for repeated ECG recordings by reconstructing the correct lead set if a lead swap is detected after the end of the recording. In cases when the electrode reversal is unknown but a prior correct ECG recording of the same patient is available, the ‘Inverse’ transformation is tested to detect the exact swapping of the electrodes with an accuracy of (96% to 100%).

1. Introduction

The routine use of the standard 12-lead electrocardiogram (ECG) for noninvasive clinical investigation of acute and chronic cardiovascular diseases makes it very important to ensure the generation of diagnostically interpretable ECG leads [1]. An essential problem in the recording of multilead ECGs is the improper placing of the electrodes on the patient’s body [2], reported to be as frequent as 0.8% and 7.5% for limb lead reversals in 12-lead ECG and Holter devices, respectively [3]; 0.4% and 4% for 12-lead ECG interchanges in clinical and intensive care settings, respectively [4]. Errors in electrode placement can lead to significant ECG changes that could confuse physicians and affect the clinical diagnosis. Studies and case reports dedicated to this problem are further grouped in the following three categories according to the affected ECG electrodes:
  • Reversals between limb electrodes are reported to provoke deep QS complexes and inverted T waves in leads (II, III, aVF) that could be misdiagnosed as old myocardial infarctions (MI) involving the inferior heart wall [5]. Right arm (RA) and left arm (LA) interchange is associated with inverted T waves in leads (I, aVL) suggestive of lateral wall MI [6] as well as indicative of ECG features of dextrocardia [7]. RA and right leg (RL) swap results in low-amplitude QRS complexes in lead II [7,8] and all other frontal leads resembling scaled variations of lead III and changed QRS axes in the frontal plane [8]. LA and left leg (LL) reversal creates suspicions of inferior-wall MI [7]. RA and LL swap could be confused for the combined features of lateral wall MI and low atrial rhythm [7].
  • Reversals between chest electrodes have been found to provoke erroneous diagnosis in 17% to 24% of cases involving wrongly placed C1 electrodes [9]. Generally, when another precordial lead is substituted for V1, the result is a tall R wave in V1, which could be taken as a sign of right bundle branch block, left ventricular ectopy, right ventricular hypertrophy, acute right ventricular dilation, Type A Wolff-Parkinson-White syndrome, posterior MI, hypertrophic cardiomyopathy, progressive muscular dystrophy or dextrocardia [10].
  • Reversals between limb and chest electrodes are a possible scenario due to the matching colors of the two ECG cables [11] or the incorrect attachment of the cable connectors to the junction box of the ECG machine [12]. C2/LA (yellow) cable interchange is described in two case reports [13,14] to have produced right axis deviation and Q waves in (III, aVF), accompanied by an inverted T wave in both leads, together with a quick transition in V2 with qR complex and an inverted T wave. The ECGs are interpreted as an inferior MI with residual ischemia in [13] or recent inferior and a posterior MI [14]. Limb/precordial cable interchange has been observed to result in tall R waves in aVR, negative QRS complexes in the other five limb leads and inverted ST elevation/depression in some of the leads. Thus, inferior, anterior, and lateral MI could be erroneously diagnosed [12]. In another study [15], the authors suspect the same interchange to have resulted in ST-segment elevation in the inferior leads; however, their thesis has been impugned by [16], who have explained the wandering ST elevation with medical reasons.
Such studies indicate that special measures should be taken to ensure the correct placement of ECG electrodes, e.g., staff training has been reported to improve electrode placement by 50% [17], while combined training and technical improvements have succeeded to reduce the rate of electrode cable reversals from 4.8 % down to 1.2 % [18]. ECG changes induced by ECG cable reversals have been analyzed in a number of studies [19,20,21,22,23,24]. Methods for the automatic detection of ECG electrode reversals within the limb and precordial set have been proposed, such as:
  • Limb leads: LA and LL reversal is indicated by P wave amplitude [25] and QRS, P-axes [26]; RA and RL interchange is detected when lead II presents as a flat line [27] or with peak-to-peak amplitude less than 185 µV [8]; LA-RA and RA-LL swaps are recognized by analysis of P and QRS frontal axes and clockwise vector loop rotation direction, R and T wave amplitudes in leads (I, II) [28]; various LA/RA/LL/RL combinations are detected by a number of analytical approaches based on the assessment of the QRS axis [29,30], together with P wave amplitudes [31], direction of P-loop inscription and/or frontal P-axis [32]; lead reconstruction using redundancy of information in eight independent leads [33]; morphological measurements of QRS, P-wave amplitudes, frontal axis and clockwise vector loop rotation, combined with redundancy features [34]; maximal and minimal QRS, T-wave amplitudes in leads (I, II, III) [35]; correlation coefficients of limb leads vs. V6 [36,37]; combining the features described in [26] and [33] for a more robust and accurate performance [36].
  • Chest leads: Different reversal sets have been examined, such as five reversals of adjacent leads (V1/V2, V2/V3, V3/V4, V4/V5, V5/V6), analyzed by P, QRS and ST-T measurements [26] and PQ-RS amplitude distances [31]; nine reversals (five adjacent leads, V1/V3, V4/V6, V4/V5/V6/V1/V2/V3, V6/V5/V4/V3/V2/V1) are evaluated via correlations between measured and reconstructed leads [33]; seven reversals (five adjacent leads, V1/V3, V4/V6) are handled by processing of both morphology and redundancy features [34]; 15 reversals, including all possible pairwise V1–V6 swaps, have been tested in our previous study by applying analysis of inter-lead correlation coefficients [38].
  • Limb and chest leads: Interchanges between limb and C2 precordial electrodes specific for a telemonitoring system are detected by correlation to a previously recorded ECG [39]. This early work, together with our recent publication on the unicolor electrode interchange detection [11], are the only studies dealing with recognition of reversals between limb and precordial leads.
The methods for the detection of ECG cable reversals should be designed/tested using dedicated databases. Only a few of the mentioned studies [7,19,27,35,39,40] use real ECG recordings with erroneous electrode placements, which are, however, small-sized and proprietary. Typically, reversal detection algorithms are trained and validated using databases with correctly recorded 12-lead ECGs and simulated reversals within the limb lead set [11,26,28,29,30,31,32,33,34,36,38] or the precordial lead set [11,26,31,33,34,38], where the Wilson’s central terminal (WCT) is not changed. All other reversals modifying the WCT, such as swaps between the limb and precordial electrodes, have not been simulated, although they are quite possible and should be detected due to the distorted morphology of most leads [6,8,21]. For example, the interactive web-based tool [41] for the rendering of ECG leads from body surface potential maps (BSPM) separately simulates two effects—precordial lead misplacement (by linear interpolation from neighboring BSPM leads) or limb lead interchange. However, considering that this tool uses bulky BSPM data and does not allow for electrode misplacements that change WCT potential, it has restricted application for machine learning on large arrhythmia datasets with arbitrary ECG electrode reversals.
We have not found in the literature an algebraic transformation that can simulate all possible ECG electrode reversals. This paper presents the formula of such a transformation and its application in the standard 12-lead ECG setup, computing reordered leads and the WCT potential change from the correctly recorded leads. Additionally, we show the applicability of this method for reconstructing the correct leads from an ECG recorded with known electrode reversals, as well as for detection of the exact electrodes that were swapped, provided there are at least two ECGs from the same patient.

2. Methods

2.1. Derivation of the Transformation Formula

The presented transformation formula can be used to simulate reversals between arbitrary ECG electrodes in the standard 12-lead ECG, although the final transformation formula can be extended to an arbitrary number of leads.
According to the fundamental principles of electrocardiography [42], standard 12-lead ECG systems (Figure 1) use 10 electrodes on the LA, RA, LL, RL and 6 precordial positions (C1-C6), and acquire 8 independent signals (e.g. leads I, II, V1-V6):
| I = P E ( L A ) P E ( R A ) I I = P E ( L L ) P E ( R A ) V X = P E ( C X ) P W C T = P E ( C X ) P E ( L L ) + P E ( R A ) + P E ( L A ) 3
where:
  • P E denotes the electrical potential of the respective electrodes, also referred to as the raw electrode biopotential.
  • ( I ,   I I ) are the bipolar leads measuring the potential differences between limbs (LA-RA, LL-RA), forming the Einthoven’s triangle.
  • V X represents any of the unipolar chest leads (V1-V6) measuring the potential of the chest electrodes against the reference WCT potential ( P W C T ) , which is defined to be the average of the RA, LA and LL electrodes.
  • Note that the ground electrode placed on the RL is used for technical reasons (driven right leg) and does not have direct influence on any ECG leads.
The calculations in (1) are usually performed by the input circuits in ECG devices. As soon as an electrode swap can lead to a change in the WCT potential, it becomes difficult to imagine the changes in the standard 12-lead ECG. Therefore, the derivation and handling of the electrode potentials corresponding to the nine active ECG electrodes with respect to a common reference point is the main target of further mathematical transformations.
The basic 12-lead ECG computations (1) can also be presented using the matrix notation:
[ I I I V X ] = [ 0 1 1 0 1 1 0 0 1 3 1 3 1 3 1 ] [ P E ( L L ) P E ( R A ) P E ( L A ) P E ( C X ) ] = M [ 0 P E ( R A ) P E ( L A ) P E ( C X ) ] ,
where M is the matrix that converts the raw electrode potentials PE(LL), PE(RA), PE(LA) and PE(Cx) into leads I, II, Vx. Formula (2) shows the setting ( P E ( L L ) = 0 ) , which defines our choice that P E ( L L ) is the reference potential. This is an arbitrary choice because we can set any electrode as the reference one without changing the final outcome of our derivations. We can further simplify (2):
[ I I I V X ] = [ 1 1 0 1 0 0 1 3 1 3 1 ] [ P E ( R A ) P E ( L A ) P E ( C X ) ] = M F [ P E ( R A ) P E ( L A ) P E ( C X ) ] ,
where M F is a full-rank matrix that is further inverted ( M F 1 ) for solving of the opposite task for the conversion of leads into body electrode potentials:
[ P E ( R A ) P E ( L A ) P E ( C X ) ] = M F 1 [ I I I V X ] = [ 0 1 0 1 1 0 1 3 2 3 1 ] [ I I I V X ] .
Further, M F 1 is extended so that (4) is able to reproduce the electrical potential of the left leg, using the definition ( P E ( L L ) = 0 ) :
[ P E ( L L ) P E ( R A ) P E ( L A ) P E ( C X ) ] = [ 0 0 0 M F 1 ] [ I I I V X ] = [ 0 0 0 0 1 0 1 1 0 1 3 2 3 1 ] [ I I I V X ] = M ˜ inv [ I I I V X ] ,
where M ˜ inv is the matrix that allows the computation of the raw body electrode potentials in the order { P E ( L L ) ,   P E ( R A ) , P E ( L A ) ,   P E ( C X ) } using the recorded leads { I ,   I I ,   V x } . Once the body electrode potentials are known, they can be reordered to simulate an arbitrary reversal between ECG electrodes. The simulated electrode order can be algebraically described by a binary swap matrix ( S ), which equals an identity matrix for the correct order:
[ P S ( L L ^ ) P S ( R A ^ ) P S ( L A ^ ) P S ( C X ^ ) ] = [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] [ P E ( L L ) P E ( R A ) P E ( L A ) P E ( C X ) ] = S [ P E ( L L ) P E ( R A ) P E ( L A ) P E ( C X ) ]
where P S denotes the simulated electrical potential at the respective electrode { L L ^ ,   R A ^ ,   L A ^ , C X ^ } . Different examples of matrix S are further given in Section 4.1 upon the description of the performed theoretical simulations of electrode reversals.
The correspondence between the leads recorded by the ECG device ( I ,   I I ,   V x ) and the reordered leads ( I ^ ,   I I ^ ,   V ^ X ) after the simulation of ECG electrode reversals can be calculated by substituting successively (6) and (5) into (2):
[ I ^ I I ^ V ^ X ] = M [ P S ( L L ^ ) P S ( R A ^ ) P S ( L A ^ ) P S ( C X ^ ) ] = M S M ˜ inv [ I I I V X ] .
The flow diagram of (7), further denoted as ‘MSMinv’ transformation, which is presented on Figure 1, clearly indicates the embedded logic of matrix operations that have a general applicability to simulate arbitrary configurations of electrode swaps. It is just necessary to adapt the values of the matrices M , S ,   M ˜ inv to the specific lead configuration, assuming that the derived mathematical proof shows the full set of two independent bipolar limb leads in 12-lead ECG (can be reduced) and one unipolar lead (can be deleted or extended to multiple unipolar leads by copy of the row ( C x ) in M ,   M ˜ inv and expand S accordingly).
Note that the matrices in the ‘MSMinv’ transformation (7) take into account only the potentials of the active input electrodes, excluding the grounded RL. The result of a swap of an arbitrary active electrode with RL can be, however, approximated by setting the potential of the swapped active electrode equal to the LL potential in the matrix S (6):
P S ( s w a p p e d   e l e c t r o d e   t o   R L ) = P E ( R L ) P E ( L L )
The assumption for equipotential legs can be considered from an anatomical perspective because the leg recording sites are sufficiently distant and similarly oriented to the heart, thus attaining the same electrical signal generated by the myocardium [24]. Generally, both (RL, LL) potentials are essentially very similar that is typically adopted in the known ECG lead transformations of rotated RL with other peripheral electrodes [7,8,21,22].
Another application of the derived mathematical transformations is the calculation of the WCT potential change due to ECG electrode swaps:
Δ P W C T = P ^ W C T P W C T ,
where P W C T and P ^ W C T are the WCT potentials before and after the electrode swap, respectively. Both can be derived as a function of the recorded leads ( I ,   I I ,   V x ) with a reference to a zero LL potential ( P E ( L L ) = 0 ) , as assumed in Equations (2) and (5):
P W C T = W [ P E ( L L ) P E ( R A ) P E ( L A ) P E ( C X ) ] = W M ˜ inv [ I I I V X ]
P ^ W C T = W [ P S ( L L ^ ) P S ( R A ^ ) P S ( L A ^ ) P S ( C X ^ ) ] = W S M ˜ inv [ I I I V X ] ,
where W = [ 1 / 3 1 / 3 1 / 3 0 ] is the matrix that transforms electrode potentials into WCT potential, taking the potentials for the correct electrode position { P E ( L L ) ,   P E ( R A ) , P E ( L A ) ,   P E ( C X ) }   from (5) and for the swapped position { P S ( L L ^ ) ,   P S ( R A ^ ) , P S ( L A ^ ) ,   P S ( C X ^ ) } from (6) and (5). Although WCT potential is calculated only from the potentials of the three limb electrodes ( L L ,   ^ R A ^ ,   L A ^ ) , equation (11) covers the general option for a swap between some of them and the unipolar electrode ( C X ^ ) .
Substituting (10) and (11) in (9) gives the generalized notation of the ‘WSMinv’ transformation that is further used for estimating of the relative WCT potential change during different simulated swaps:
Δ P W C T = ( W S W ) M ˜ inv [ I I I V X ] .

2.2. Verification of ‘MSMinv’ Transformation

The correctness of the ‘MSMinv’ transformation (7) is verified by two approaches, depending on the kind of simulated ECG electrode reversals:
  • ECG electrode reversals with known lead transforms are theoretically studied. For this purpose, the formula for computation of the reordered leads ( I ^ ,   I I ^ ,   V ^ X ) is directly compared to the published lead transformations. This simple approach is applicable only to reversals between peripheral electrodes, widely analyzed in the literature [5,7,12,21,24,36,37,38,43].
  • ECG electrode reversals with unknown lead transformations (such as reversals between limb and chest electrodes) are experimentally studied with a dedicated database (described in Section 3). For this purpose, the 8 independent leads L R = ( I R ,   I I R ,     V 1 R V 6 R ) of 2 recordings from the same person (RC, taken with correct electrode position; RS, taken with real electrode swap) are compared in three different scenarios:
    ( L R C   v s .   L R S ) : No transformation is applied to study the lead-specific differences between recordings with correct vs. swapped electrodes.
    ( L R C ^   v s .   L R S ) : Forward ‘MSMinv’ transformation is applied on the recording with correct lead set to simulate lead swap ( L R C ^   = M S M ˜ inv L R C )     and to study the lead-specific differences of simulated vs. recorded electrode reversals ( L R S ) .
    ( L R C   v s .   L R S ^ ) : Inverse ‘MSMinv’ transformation is applied on the recording with reversed lead set to simulate correct electrode positions ( L R S ^   = M S M ˜ inv L R S )   and to study the lead-specific differences of simulated vs. recorded, correctly placed electrodes ( L R C ) .
The lead-specific differences in each of the above 3 scenarios (denoted as L R C ˜   v s .   L R S ˜ ) are estimated for the average beat ( B E A T i ) ,     indexed within a window of 500ms ( i = Q R S f 150 m s   t o   Q R S f + 350 m s , where Q R S f denotes the QRS fiducial point), using three quantitative measures:
Root-mean-square error:
R M S   E r r o r = 1 500 m s F s ( B E A T i ( L R C ˜ ) B E A T i ( L R S ˜ ) ) 2 ,
where Fs denotes the sampling frequency of the average beat.
Peak error:
P e a k   E r r o r = max ( | B E A T i ( L R C ˜ ) B E A T i ( L R S ˜ ) | .
Correlation coefficient:
C o r C o e f = B E A T i ( L R C ˜ ) . B E A T i ( L R S ˜ ) B E A T i 2 ( L R C ˜ ) . B E A T i 2 ( L R S ˜ ) .
Statistical results of all quantitative measurements over the whole ECG database are reported as a mean value and standard deviation (std). The level of significant differences between different scenarios is measured with paired Student’s t-test and one-tailed p-value < 0.05.

3. Database

The database used for verification of the ‘MSMinv’ transformation contains 10s recordings of standard 12-lead resting ECGs taken from 25 volunteers with no history of heart diseases—gender: 28% (male), age: 49 ± 11 years (mean value ± standard deviation), 28–67 years (range). The ECGs are acquired via a 10-electrode cable with standard IEC color coding [44]. Six ECG recordings per subject are collected, applying prospective electrode cable reversals at the time of the recording, including:
  • Correct positions of the electrodes (no electrode is swapped);
  • Swap of red electrodes (RA-C1);
  • Swap of yellow electrodes (LA-C2);
  • Swap of green electrodes (LL-C3);
  • Swap of black electrodes (RL-C5);
  • Swap of all unicolor electrodes (RA-C1, LA-C2, LL-C3, RL-C5).
The ECG signals are recorded at 1 kHz sampling rate, 1 µV resolution, and pre-filtered in a bandwidth (0.5 to 25 Hz). Each 10s ECG recording is processed by a commercial ECG measurement and interpretation module (ETM, Schiller AG, Switzerland) for the extraction of a 12-lead average beat [45]. The average beats are commonly used for the measurement of ECG features with diagnostic precision because they provide higher signal-to-noise ratio and are more robust to respiration induced morphology changes than the single beats.

4. Results and Discussion

4.1. Theoretical Simulations of Electrode Reversals

This section simulates three major types of ECG electrode reversals (reversals of peripheral electrodes involving RL; not involving RL; reversals of peripheral and chest electrodes ), applying ‘WSMinv’ transformation (12) for the calculation of WCT potential change (Table 1) and ‘MSMinv’ transformation (7) for the calculation of the reordered leads (Table 2, Table 3 and Table 4). Several general examples are shown on Figure 2. Details will be further discussed in Section 4.1.1, Section 4.1.2 and Section 4.1.3

4.1.1. Reversals of Peripheral Electrodes Not Involving RL

All 5 possible rotations of the 3 active limb electrodes ( L L ^ ,   R A ^ ,   L A ^ ) are simulated (Table 2) and none of them is related to the displacement of WCT, as illustrated in the example of clockwise (CW) electrode rotation (Figure 2b), where the Einthoven’s triangle remains geometrically unaffected. This is theoretically proven by the ‘WSMinv’ transformation (12), where all swap matrices S (Table 2) are consequently applied, and zero WCT potential differences to the correct electrode position ( Δ P W C T = 0 ) are detected (Table 1). The rearranged limb leads ( I ^ ,   I I ^ ) obtained by the ‘MSMinv’ transformation (Table 2) match the expressions in other studies, applying geometrical perspectives between leads (I, II, III) [5,12,21,24,36,37,38]. Furthermore, the unipolar chest lead   V ^ X is unchanged for all simulated swap matrices S that corresponds to the real case scenario of unchanged WCT (Figure 2a,b).

4.1.2. Reversals of Peripheral Electrodes Involving RL

Seven rotations of the 4 limb electrodes ( L L ^ ,   R A ^ ,   L A ^ , R L ^ ) are simulated (Table 3) and normally they should be related to the displacement of WCT, as illustrated in the example (Figure 2c), where the Einthoven’s triangle is transformed to a thin ‘slice’.
Table 1 shows that all electrode reversals present WCT potential change, depending only on the position of the neutral electrode RL, such that:
  • RL is in the position of RA: Δ P W C T = 1 / 3 I I
  • RL is in the position of LA: Δ P W C T = 1 / 3 I + 1 / 3 I I
  • RL is in the position of LL: Δ P W C T = 0 , where P W C T is equal to the correct electrode placement.
These results and the ‘MSMinv’ transformation (Table 3) are obtained with the general approximation for equipotential legs that is coded in the swap matrix S with an entry of ‘1’ in the position of LL (first column) for both cases: { X ^ = L L ,     X ^ = R L } , whereas X ^ denotes an arbitrary ECG electrode. Thus, all electrode reversals leading to a ‘sliced’ Einthoven’s triangle with two tips on both legs appear with two ‘1’ entries in the first column of matrix S (Table 3), while ‘1’ is deficient in the second (RA) or third (LA) columns (equal to ‘0’). Only two reversals (RL-LL and the counter-clockwise (CCW) rotation with RL) have ‘1’ entries in each of the first three columns of matrix S (corresponding to the three active limb electrodes in the Einthoven’s triangle tips). Just for them, the WCT potential is correctly found to be unchanged (Table 1), although the reordered limb leads ( I ^ ,   I I ^ ) in CCW rotation appear to be different (Table 3). Generally, all simulated reversals show that ( I ^ ,   I I ^ ) leads, resulting from the ‘MSMinv’ transformation, are matching the expressions in other studies that have been derived by geometrical analysis of the leads, assuming “0” [6,12,19,21,22,24,35,36] or “near zero” signal <100 μV [5,7,8,38] for the lead between the active electrodes on both legs.
Considering the chest lead   V X , we find a correspondence between ‘MSMinv’ and ‘WSMinv’ transformations so that the reordered lead V ^ X =   V X Δ P W C T (Table 3) is corrected exactly with the term Δ P W C T (Table 1). Generally, no chest lead V X is considered in case of limb leads reversals, so we cannot compare the derived   V ^ X expressions to published studies. We can justify the unchanged V ^ X in both aforementioned reversals with WCT not being displaced (RL-LL and CCW rotation), as well as V ^ X = V X 1 / 3 I I for the RL-RA reversal. This reversal has been analytically described in Haisty et al. [8], who explained that WCT potential difference is equal to one third of the difference between RA and RL potentials that approximates one third of the standard lead II.

4.1.3. Reversals of Chest and Peripheral Electrodes

Five swaps are simulated (Table 4) involving the matching-color electrode pairs in the peripheral and precordial cables (IEC color coding standard [44]), i.e., red (RA-C1), yellow (LA-C2), green (LL-C3), black (RL-C5) and all pairs (RA-C1, LA-C2, LL-C3, RL-C5).
Figure 2d,e illustrates the two principal types of reversals where the unipolar chest electrode is swapped either with an active limb electrode (WCT is displaced in Figure 2d) or with the grounded electrode (WCT is not displaced in Figure 2e). In both cases, we highlight two types of unipolar leads:
  • V x ^ for the precordial electrodes C x ^ , which keep their position unchanged on the chest;
  • V n ^ for the precordial electrodes C n ^ , where n = 1,2,3,5 is substituting the chest electrode number, which changes its position to some of the limbs.
The calculation of two different unipolar leads is achieved by an extension of the swap matrix S (4 × 4) to (5 × 5) to include 3 limb electrodes and 2 chest electrodes ( L L ^ ,   R A ^ ,   L A ^ , C n ^ ,   C x ^ ), as shown in Table 4 and Figure 2d,e. The last row of Table 4 presents the most complex example for simulation of swaps between all unicolor electrode pairs, which requires the use of a swap matrix S (9 × 9), configured for the full set of electrodes ( L L ^ ,   R A ^ ,   L A ^ , C 1 ^ C 6 ^ ). All expressions of the rearranged leads ( I ^ ,   I I ^ , V x ^ ,   V n ^ ) in Table 4 are further verified in the experimental study of Section 4.2 because they have not been investigated in any other study. The respective WCT potential changes (Table 1) cannot be compared to examples in the literature either. We can only justify the result for the RL-C5 reversal, which corresponds to non-displaced WCT, exactly as shown in the example (Figure 2e).

4.2. Experimental Verification of Simulated Swaps Between Unicolor Chest and Peripheral Electrodes

The experimental study is used to verify the ‘MSMinv’ transformation for simulation of reversals between unicolor chest and peripheral electrodes (using the expressions in Table 4), according to the concept in Section 2.2 (ECG electrode reversals with unknown lead transformations). For this purpose, all ECG recordings in the database are analyzed and the three measurements (RMS Error, Peak Error, CorCoef) are calculated to estimate the average beat waveform differences in 3 scenarios (Table 5):
  • No transformation, showing the largest differences between correct vs. swapped electrode recordings for all leads because WCT is considerably displaced in most chest-limb reversals (except RL-C5). We note the greatest mean value differences for the unipolar lead with a chest electrode placed on the limbs:
    V1 (120 μV, 529 μV, 0.832) for RA-C1,
    V2 (246 μV, 1121 μV, 0.456) for LA-C2,
    V3 (206 μV, 868 μV, 0.512) for LL-C3,
    V5 (131 μV, 639 μV, 0.785) for RL-C5,
    V1-V3 (225-289 μV, 967-1235 μV, 0.365-0.652) for all unicolor pairs.
  • Forward ‘MSMinv’ transformation, simulating electrode reversals which have significantly reduced differences when compared to the recordings with really swapped electrodes (p < 0.05). We measure mean values (RMS Error, Peak Error, CorCoef) in the range (<20 μV, <60 μV, ≥0.995), assuming they represent negligible average beat differences mainly due to rhythm variation and signal acquisition noises in the compared recordings. We have noticed one exception for both reversals involving RL (RL-C5, all unicolor pairs), where the Forward ‘MSMinv’ transformation introduces a slight error in the calculation of the swapped lead V5 (≤26 μV, ≤104 μV, ≥0.986), assuming the C5 potential to be equal to LL, while C5 is placed on the RL (approximation error from the equipotential legs).
  • Inverse ‘MSMinv’ transformation, recovering the correct electrode order, which has significantly reduced differences when compared to the recordings with really correct electrodes (p < 0.05), estimated within the above outlined range of negligible errors (<20 μV, <60 μV, ≥0.995). We have again found an exception for both reversals involving RL (RL-C5, all unicolor pairs), where the Inverse ‘MSMinv’ transformation fails to reconstruct the correct lead V5 (<142 μV, <660 μV, ≥0.792) from a recording with RL electrode in the position of C5 electrode. As soon as RL stops being an input to the ECG device, the potential of V5 electrode is lost and not reproduced by any active electrode in the swap matrix S (Table 4, all S entries are equal to ‘0’ for the column, corresponding to C5).
Figure 3 illustrates the average ECG beats in leads (I, II, V1-V6) recorded with all types of swapped unicolor chest and peripheral electrodes. This ECG trace is almost fully overlapping with the simulated electrode reversals from the ECG raw data with correct electrode positions, applying Forward ‘MSMinv’ transformation. This once again validates the derived algebraic transformations in Table 4, which are able to exactly reproduce the diversity of lead-specific morphologies (amplitudes, polarities and durations) that each swap introduces to any lead via change of its electrode position and/or WCT potential.

4.3. Application of the ‘MSMinv’ Transformation for Automatic Detection of the Exact ECG Electrode Reversals

We further show an important practical application of the Inverse ‘MSMinv’ transformation for the detection of the exact reversals between ECG electrodes. This application is relevant to the case when two ECG recordings in a patient are available:
(1) an ECG recording with correct lead set ( L R C ) ;
(2) an ECG recording with an unknown/suspected lead swap ( L R S ) .
The ‘MSMinv’ transformation is applied to the swapped ECG recording, iteratively simulating all possible permutations of the nine active ECG electrodes (i = 9! = 362 880):
L R S ^ ( i ) = M S i M ˜ inv L R S
The swap matrix S i, which produces the lead set reconstruction L R S ^ ( i ) with the minimal difference d ( · ) to the correct lead set can indicate the true lead swap (TLS):
T L S =   a r g   m i n 1 i 9 ! ( d ( L R S ^ ( i ) L R C ) )
We test this swap detection criterion using our ECG database under the following conditions:
  • All 25 patients are considered, comparing the available pairs of recordings ( L R C ,   L R S ) per patient, where L R C is the recording without electrode reversals, and L R S represents one of the recorded 3 lead swaps (RA-C1, LA-C2, LL-C3), not involving the RL.
  • The minimal difference rule (17) is applied on the average beat of each recording.
  • The minimal difference rule (17) is evaluated with 3 distance metrics d ( · ) – min(RMS Error) (Equation (13)), min(Peak Error) (Equation (14)), max(CorCoef) (Equation (15)).
  • The accuracy for detection of the TLS is evaluated as the true positive (TP) rate, considering the tested population of N subjects:
    Accuracy = p = 1 N TP p N ,  
    where   T P = f ( x ) = { 1 ,     c o r r e c t   l e a d   s w a p   d e t e c t e d 0 ,     o t h e r w i s e
Table 6 presents the experimental verification of the Inverse ‘MSMinv’ transformation, applied for automatic detection of the exact ECG electrode reversals. We have achieved 100% accuracy in the detection of (RA-C1) and (LL-C3) reversals, and 96% for the detection of (LA-C2) reversal when the decision rule (17) uses a minimal difference metric equal to the minimal RMS Error or the maximal correlation between the reconstructed swap and the correct recording. All false negatives are observed to present TLS with either the 2nd or the 3rd ranked minimal differences, while the decision rule (17) is presently adjusted to simply report the exact lead swap with the 1st ranked minimal difference. For example, the lowest LA-C2 accuracy is due to one case, where the true LA-C2 is 2nd ranked, while the true LA-C2 in combination with RA-C1 is 1st ranked. Obviously, the detection of the exact electrode swap among many electrodes with close geometrical positions might include a portion of uncertainty due to indistinguishable geometrical perspectives of the heart vector in neighboring leads. Further updates of the decision rule (17) could potentially improve the accuracy for TLS detection, e.g., by majority voting of many distance metrics after exclusion of those with the lowest accuracy (i.e., the peak Error with 88% to 96%).
The presented rules are easily applicable in a warning system that can alert the medical staff to check the electrodes suggested for reversal within the first seconds of 12-lead ECG acquisition. Principally, the analysis is not fixed exactly to 10 s but can take a single beat or an average beat over ECGs with an arbitrary duration. It is important to note that the results reported in this section represent the best-case results, because they are based on resting ECG recordings that were taken within a short window of time and with exactly the same electrode positions (only the electrode cables were swapped). In a clinically relevant application, the ECGs under question will most likely have a substantially different recording date (leading to possible physiological changes in the ECG), and they will most likely be recorded with slightly different electrode positions. Although the average beat pattern of the same individual has been shown to have a long-term stability independent of recording sessions and physiological factors (age, gender, heart rate) [46,47], the reliable clinical application should always consider a final approval of the alarmed electrode reversals by the medical staff and electrode correction at the time of the recording.

5. Conclusions

This study derives a novel algebraic transformation which converts the standard 12-lead ECG leads from a correct to reordered set in case of arbitrary reversals between ECG electrodes. The formula of the ‘MSMinv’ transformation (7) is generalized to the calculation of all kinds of electrode reversals, giving the exact lead reordering for:
  • Limb electrode swaps that have been previously drawn from anatomical perspectives (Table 2 and Table 3);
  • Limb–chest electrode swaps with WCT potential change which, to the best of our knowledge, have never been simulated in the literature (Table 4). The formulas are exhibited for the most probable reversals of unicolor electrode pairs in the peripheral and precordial ECG cables.
The validity of the ‘MSMinv’ transformation is proven in our experimental study for two bilateral applications with a certain practical significance:
  • The ‘Forward’ application computing the reordered lead set from an ECG recorded with correctly placed electrodes is important for educational purposes of both humans and machines to reliably recognize and warn of electrode swaps before potentially erroneous diagnostic interpretation has been made. In this respect, ‘MSMinv’ transformation is applicable to the available immense databases of correctly recorded ECGs (from normal and abnormal heart conditions) for reproducing the vast diversity of distorted ECG leads that can be observed in arbitrary swaps within the limb and precordial electrode set (such as the examples in Figure 3). This is an indispensable tool for the comprehensive training platforms to visualize and study the effects of electrode swaps (e.g. online cardiology courses for physicians, researchers, and instructors) or software design platforms (training the automatic detection algorithms) on abundant ECG electrode reversals.
  • The ‘Inverse’ application reconstructing the correct lead set from an ECG recorded with known electrode reversals can save time and the cost of having to repeat ECG recordings in case of follow-up detection of electrode reversals and error-screening of clinical databases. The possibility for straightforward visualization of the correct lead set and its interpretation can easily uncover diagnostic errors or answer dilemmas for suspected or mistrusted electrode swaps (such as the dispute between [15] and [16]). In the general case when the electrode reversal is unknown but a prior correct ECG recording of the same patient is available, the Inverse ‘MSMinv’ transformation is able to solve the non-trivial task of detecting which electrodes have been exactly swapped. For this purpose, all possible swapped reconstructions can be simulated to ultimately determine the one which yields the minimal RMS difference or the highest correlation with the known recording. We have achieved a detection accuracy of 96% to 100% for this simple criterion, which has been tested with available recordings of three electrode swaps (RA-C1, LA-C2, LL-C3, not involving the RL) from 25 healthy persons. One should consider, however, the limitations for the validation of such an application which should be tested against the functional and physiological ECG instability between the two ECG sessions (e.g., the criterion validated on a specific population with “normal” ECG during rest could fail on cardiac patients or patients under environmental stress with lead-wise ECG morphology change). As this work is focused only on the problem of simulating all possible ECG cable reversals, the design and validation of criteria for a self-consistency check for detection of the ECG cable reversals is an extensive problem for a future study.
Another important derivation of the present study is the ‘WSMinv’ transformation (12), which computes WCT potential change for all kinds of electrode reversals. It quantifies the common distortion that all unipolar leads would meet while their reference potential is changed, regardless of whether or not they maintain their correct position. Table 1 shows that WCT distortion is proportional to leads I, II, and the displaced unipolar leads (V1-V3 in the simulation) with fractions, which are hardly envisaged without the derived transformation. The overall influence of WCT change on all unipolar leads is also reproduced by the ‘MSMinv’ transformation in Table 3 and Table 4.
This study provides the means for calculation of the potentials of the ECG electrodes and WCT toward a common reference potential using Equations (5) and (10), respectively. These mathematical transformations can be applied to any standard 12-lead ECG for deriving the ‘true’ unipolar ECG leads and WCT measurements that have recently been experimentally acquired via special ECG machines [43,47]. The experimental studies have considered the position of the reference potential on the right leg, while this study shows the values of the matrix M ˜ inv for the reference left leg leading to the same global observations (WCT measured with respect to the left leg does not have a stable voltage and is correlated to the limb leads (I, II), exhibiting all ECG waves). Although both legs have essentially insignificant potential difference, its value is the only unknown and approximated to be a zero measurement while applying our transformation equations.

Author Contributions

Conceptualization, R.S.; data curation, V.K. and I.J.; formal analysis, V.K. and I.J.; investigation, V.K. and I.J.; methodology, V.K., I.J., and R.S.; project administration, R.S.; resources, V.K. and I.J.; software, V.K. and I.J.; supervision, R.S.; validation, V.K., I.J., and R.S.; visualization, V.K.; writing – original draft, V.K.; writing – review and editing, I.J. and R.S.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Kligfield, P.; Gettes, L.S.; Bailey, J.J.; Childers, R.; Deal, B.J.; Hancock, E.W.; van Herpen, G.; Kors, J.A.; Macfarlane, P.; Mirvis, D.M.; et al. 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. J. Am. ColL. Cardiol. 2007, 115, 1306–1324. [Google Scholar] [CrossRef]
  2. Rajaganeshan, R.; Ludlam, C.L.; Francis, D.P.; Parasramka, S.V.; Sutton, R. Accuracy in ECG lead placement among technicians, nurses, general physicians and cardiologists. Int. J. Clin. Pract. 2008, 62, 65–70. [Google Scholar] [CrossRef] [PubMed]
  3. Salvi, V.; Karnad, D.R.; Panicker, G.K.; Kothari, S.; Hingorani, P.; Natekar, M.; Mahajan, V.; Narula, D. Limb lead interchange in thorough QT/QTc studies. J. Clin. Pharmacol. 2011, 51, 1468–1473. [Google Scholar] [CrossRef] [PubMed]
  4. Rudiger, A.; Hellermann, J.; Mukherjee, R.; Follath, F.; Turina, J. Electrocardiographic artifacts due to electrode misplacement and their frequency in different clinical settings. Am. J. Emer. Med. 2007, 25, 174–178. [Google Scholar] [CrossRef] [PubMed]
  5. Amin, M.; Chowdhury, A.; Ahmed, M.; Sabah, K.; Haque, H.; Kabir, S.; Islam, K.N.; Saleh, M.A.D. Lead-Reversal ECG Simulating Myocardial Infarction—A Case Report and Literature Review. Bangladesh Heart J. 2016, 31, 104–108. [Google Scholar] [CrossRef]
  6. Raut, M.; Maheshwari, A. Know the errors in ECG recording. Curr. Med. Res. Pract. 2015, 5, 81–91. [Google Scholar] [CrossRef]
  7. Vardan, S.; Mookherjee, D.; Sarkar, T.; Mehrotra, K.; Fruehan, T.; Mookherjee, S. Guidelines for the Detection of ECG Limb Lead Misplacements. Resid. Staff 2008, 54. Available online: https://www.mdmag.com/journals/resident-and-staff/2008/2008-01/2008-01_05 (accessed on 24 February 2019).
  8. Haisty, W.K.; Pahlm, O.; Edenbrandt, L.; Newman, K. Recognition of Electrocardiographic Electrode Misplacements Involving the Ground (Right Leg) Electrode. Am. J. Cardiol. 1993, 71, 1490–1495. [Google Scholar] [CrossRef]
  9. Bond, R.; Finlay, D.; Nugent, C.; Breen, C.; Guldenring, D.; Daly, M. The effects of electrode misplacement on clinicians’ interpretation of the standard 12-lead electrocardiogram. Eur. J. Int. Med. 2012, 23, 610–615. [Google Scholar] [CrossRef]
  10. Mattu, A.; Brady, W.; Perron, A.; Robinson, D. Prominent R Wave in Lead V1: Electrocardiographic Differential Diagnosis. Am. J. Emerg. Med. 2001, 19, 504–513. [Google Scholar] [CrossRef]
  11. Jekova, I.; Leber, R.; Krasteva, V.; Schmid, R. Detection of Unicolor ECG Electrode Reversals in Standard 12-Lead ECG. Comput. Cardiol. 2018, 45. [Google Scholar] [CrossRef]
  12. Lynch, R. ECG lead misplacement: A brief review of limb lead misplacement. African J. Emerg. Med. 2014, 4, 130–139. [Google Scholar] [CrossRef] [Green Version]
  13. García-Niebla, J.; García, P.L. An unusual case of electrode misplacement: left arm and V2 electrode reversal. J. Electrocardiol. 2008, 41, 380–381. [Google Scholar] [CrossRef] [PubMed]
  14. Vanninen, S.U.; Nikus, K.C. Electrocardiogram Acquisition Errors or Myocardial Infarct. Case Rep. Cardiol. 2011, 2011, 605874. [Google Scholar] [CrossRef] [PubMed]
  15. Joshi, K.R.; Morris, D.L.; Figueredo, V.M. Wandering acute myocardial infarction. Am. J. Med. 2014, 127, e5–e6. [Google Scholar] [CrossRef]
  16. Givens, P.M.; Goldonowicz, J.M.; Littmann, L. The electrocardiogram of chest and limb lead reversal. Am. J. Med. 2014, 127, e29–e30. [Google Scholar] [CrossRef] [PubMed]
  17. Medani, S.A.; Hensey, M.; Caples, N.; Owens, P. Accuracy in precordial ECG lead placement: Improving performance through a peer-led educational intervention. J. Electrocardiol. 2018, 51, 50–54. [Google Scholar] [CrossRef]
  18. Thaler, T.; Tempelmann, V.; Maggiorini, M.; Rudiger, A. The frequency of electrocardiographic errors due to electrode cable switches: A before and after study. J. Electrocardiol. 2010, 43, 676–681. [Google Scholar] [CrossRef]
  19. Mond, H.G.; Garcia, J.; Visagathilagar, T. Twisted Leads: The Footprints of Malpositioned Electrocardiographic Leads. Heart Lung Circ. 2016, 25, 61–67. [Google Scholar] [CrossRef]
  20. Baranchuk, A.; Shaw, C.; Alanazi, H.; Campbell, D.; Bally, K.; Redfearn, D.P.; Simpson, C.S.; Abdollah, H. Electrocardiography Pitfalls and Artifacts: The 10 Commandments. Crit. Care Nurse 2009, 29, 67–73. [Google Scholar] [CrossRef] [Green Version]
  21. Batchvarov, V.N.; Malik, M.; Camm, A.J. Incorrect electrode cable connection during electrocardiographic recording. Europace 2007, 9, 1081–1090. [Google Scholar] [CrossRef] [PubMed]
  22. Rosen, A.V.; Koppikar, S.; Shaw, C.; Baranchuk, A. Common ECG Lead Placement Errors. Part I: Limb lead Reversals. Int. J. Med. Stud. 2014, 2, 92–98. [Google Scholar]
  23. Rosen, A.V.; Koppikar, S.; Shaw, C.; Baranchuk, A. Common ECG Lead Placement Errors. Part II: Precordial Misplacements. Int. J. Med. Stud. 2014, 2, 99–103. [Google Scholar] [Green Version]
  24. Sakaguchi, S.; Sandberg, J.; Benditt, D. ECG Electrode Reversals: An Opportunity to Learn from Mistakes. J. Cardiovasc. Electrophysiol. 2018, 29, 806–815. [Google Scholar] [CrossRef] [PubMed]
  25. Abdollah, H.; Milliken, J.A. Recognition of electrocardiographic left arm/left leg lead reversal. Am. J. Cardiol. 1997, 80, 1247–1249. [Google Scholar] [CrossRef]
  26. Hedén, B.; Ohlsson, M.; Holst, H.; Mjöman, M.; Rittner, R.; Pahlm, O.; Peterson, C.; Edenbrandt, L. Detection of frequently overlooked electrocardiographic lead reversals using artificial neural networks. Am. J. Cardiol. 1996, 78, 600–604. [Google Scholar] [CrossRef]
  27. Hoffman, I. A flatline electrocardiogram in lead II is a marker for right arm/right leg electrode switch. J. Electrocardiol. 2007, 40, 226–227. [Google Scholar] [CrossRef] [PubMed]
  28. Han, C.; Gregg, R.; Babaeizadeh, S. Automatic Detection of ECG Lead-wire Interchange for Conventional and Mason-Likar Lead Systems. Comput. Cardiol. 2014, 41, 145–148. [Google Scholar]
  29. Krishnan, R.; Ramesh, M. QRS axis based classification of electrode interchange in wearable ECG devices. EAI Endorsed Trans. Future Intell. Educ. Env. 2015, 2. [Google Scholar] [CrossRef] [Green Version]
  30. Ho, R.T.; Mukherji, L.; Evans, G.T.Jr. Simple diagnosis of limb-lead reversals by predictable changes in QRS axis. Pacing Clin. Electrophysiol. 2006, 29, 272–277. [Google Scholar] [CrossRef]
  31. De Bie, J.; Mortara, D.W.; Clark, T.F. The development and validation of an early warning system to prevent the acquisition of 12-lead resting ECGs with interchanged electrode positions. J. Electrocardiol. 2014, 47, 794–797. [Google Scholar] [CrossRef] [PubMed]
  32. Ho, K.K.L.; Ho, S.K. Use of the sinus P wave in diagnosing electrocardiographic limb lead misplacement not involving the right leg (ground) lead. J. Electrocardiol. 2001, 34, 161–171. [Google Scholar] [CrossRef] [PubMed]
  33. Kors, J.A.; van Herpen, G. Accurate automatic detection of electrode interchange in the electrocardiogram. Am. J. Cardiol. 2001, 88, 396–399. [Google Scholar] [CrossRef]
  34. Han, C.; Gregg, R.E.; Field, D.Q.; Babaeizadeh, S. Automatic detection of ECG cable interchange by analyzing both morphology and interlead relations. J. Electrocardiol. 2014, 47, 781–787. [Google Scholar] [CrossRef] [PubMed]
  35. Gregg, R.; Hancock, E.W.; Babaeizadeh, S. Detecting ECG limb lead-wire interchanges involving the right leg lead-wire. Comput. Cardiol. 2017, 44. [Google Scholar] [CrossRef]
  36. Xia, H.; Garcia, G.A.; Zhao, X. Automatic detection of ECG electrode misplacement: A tale of two algorithms. Physiol. Meas. 2012, 33, 1549–1561. [Google Scholar] [CrossRef] [PubMed]
  37. Dotsinsky, I.; Daskalov, I.; Iliev, I. Detection of peripheral ECG electrodes misplacement. Proc. 7th Int. Conf. Electronics ET’98, Sozopol, Bulgaria 1998, S2, 21–26. Available online: http://ecad.tu-sofia.bg/et/1998/Statii%20ET98-II/Detection%20of%20Peripheral%20ECG%20Electrodes%20Misplacement.pdf (accessed on 24 February 2019).
  38. Jekova, I.; Krasteva, V.; Leber, R.; Schmid, R.; Twerenbold, R.; Müller, C.; Reichlin, T.; Abächerli, R. Inter-lead correlation analysis for automated detection of cable reversals in 12/16-lead ECG. Comput. Methods Programs Biomed. 2016, 134, 31–41. [Google Scholar] [CrossRef]
  39. Végső, B.; Balázs, G.; Gaál, B.; Kozmann, G. Electrode reversal detection in ECG remote monitoring. Meas. Sci. Rev. 2005, 5, 45–48. Available online: http://www.measurement.sk/2005/S2/Vegso.pdf (accessed on 24 February 2019).
  40. Cooper, C.; Clark, E.; Macfarlane, P.W. Enhanced Detection of Electrode Placement/Connection Errors. Comput. Cardiol. 2008, 35, 89–92. [Google Scholar] [CrossRef]
  41. Bond, R.; Finlay, D.; Nugent, C.; Moore, G.; Guldenring, D. A simulation tool for visualizing and studying the effects of electrode misplacement on the 12-lead electrocardiogram. J. Electrocardiol. 2011, 44, 439–444. [Google Scholar] [CrossRef]
  42. Macfarlane, P.W.; Van Oosterom, A.; Pahlm, O.; Kligfield, P.; Janse, M.; Camm, J. Comprehensive Electrocardiography, 2nd ed.; Springer-Verlag: London, UK, 2010; ISBN 978-1-84882-047-0. [Google Scholar]
  43. Gargiulo, G.D. True Unipolar ECG Machine for Wilson Central Terminal Measurements. BioMed Res. Int. 2015, 586397, 1–7. [Google Scholar] [CrossRef] [PubMed]
  44. IEC 60601-2-25 International Standard. Medical electrical equipment—Part 2–25: Particular requirements for the basic safety and essential performance of electrocardiographs, 2nd ed.; International Electrotechnical Commission: Geneva, Switzerland, 2011. [Google Scholar]
  45. Kligfield, P.; Badilini, F.; Denjoy, I.; Babaeizadeh, S.; Clark, E.M.A.; de Bie, J.; Devine, B.; Extramiana, F.; Generali, G.; Gregg, R.; et al. Comparison of automated interval measurements by widely used algorithms in digital electrocardiographs. Am. Heart J. 2018, 200, 1–10. [Google Scholar] [CrossRef] [Green Version]
  46. Krasteva, V.; Jekova, I.; Schmid, R. Perspectives of human verification via binary QRS template matching of single-lead and 12-lead electrocardiogram. Plos ONE 2018, 13, e0197240. [Google Scholar] [CrossRef] [PubMed]
  47. Gargiulo, G.D.; Bifulco, P.; Cesarelli, M.; McEwan, A.; Moeinzadeh, H.; O’Loughlin, A.; Shugman, I.M.; Tapson, J.C.; Thiagalingam, A. On the Zero of Potential of the Electric Field Produced by the Heart Beat. A Machine Capable of Estimating this Underlying Persistent Error in Electrocardiography. Machines 2016, 4, 18. [Google Scholar] [CrossRef]
Figure 1. Acquisition of 12-lead ECG via a 10-electrode cable with standard IEC color coding, recording 8 independent leads I, II, V1-V6 (denoted as Vx) in the ECG device. The flow diagram shows the simulation of reversals between LL, RA, LA and one chest electrode (denoted as Cx) by conversion of the recorded leads ( I ,   II ,   Vx ) to reordered leads ( I ^ ,   II ^ , V ^ X ) using the matrix transformations M ˜ inv ,   S ,   M   . The specific example shows an identity S   matrix that corresponds to the correct order of LL, RA, LA, Cx electrodes. Other estimates of the S matrix are presented on Figure 2 and Section 4.1 in the description of different examples for electrode reversals.
Figure 1. Acquisition of 12-lead ECG via a 10-electrode cable with standard IEC color coding, recording 8 independent leads I, II, V1-V6 (denoted as Vx) in the ECG device. The flow diagram shows the simulation of reversals between LL, RA, LA and one chest electrode (denoted as Cx) by conversion of the recorded leads ( I ,   II ,   Vx ) to reordered leads ( I ^ ,   II ^ , V ^ X ) using the matrix transformations M ˜ inv ,   S ,   M   . The specific example shows an identity S   matrix that corresponds to the correct order of LL, RA, LA, Cx electrodes. Other estimates of the S matrix are presented on Figure 2 and Section 4.1 in the description of different examples for electrode reversals.
Sensors 19 02920 g001
Figure 2. Classic depiction of the Einthoven’s triangle, WCT and lead vectors (I, II, Vx), projected in the frontal plane for correct electrode position (a) and their displacement ( I ^ ,   II ^ , V ^ X ) in case of four types of limb electrode reversals: (b) CW rotation of 3 active limb electrodes ( RA ^   LA ^ LL ^ RA ^ ); (c) CW rotation of 4 limb electrodes, including RL ( RL ^ RA ^ LA ^ LL ^ RL ^ ); (d) swap of an active limb electrode and chest electrode, illustrated for the green couple ( LL ^ C 3 ^ ); (e) swap of the grounded and chest electrode, illustrated for the black couple ( RL ^ C 5 ^ ). The text with red font color highlights the electrodes in wrong geometrical positions, and the swap matrix entries different from the identity matrix in (a).
Figure 2. Classic depiction of the Einthoven’s triangle, WCT and lead vectors (I, II, Vx), projected in the frontal plane for correct electrode position (a) and their displacement ( I ^ ,   II ^ , V ^ X ) in case of four types of limb electrode reversals: (b) CW rotation of 3 active limb electrodes ( RA ^   LA ^ LL ^ RA ^ ); (c) CW rotation of 4 limb electrodes, including RL ( RL ^ RA ^ LA ^ LL ^ RL ^ ); (d) swap of an active limb electrode and chest electrode, illustrated for the green couple ( LL ^ C 3 ^ ); (e) swap of the grounded and chest electrode, illustrated for the black couple ( RL ^ C 5 ^ ). The text with red font color highlights the electrodes in wrong geometrical positions, and the swap matrix entries different from the identity matrix in (a).
Sensors 19 02920 g002
Figure 3. The average beat of 8 independent leads (I, II, V1-V6) taken from the same subject in two scenarios: (1) Red trace: Recorded ECG with swapped unicolor electrodes; (2) Blue trace: Simulated ECG with swapped unicolor electrodes, applying Forward ‘MSMinv’ transformation on the ECG recorded with the correct lead set.
Figure 3. The average beat of 8 independent leads (I, II, V1-V6) taken from the same subject in two scenarios: (1) Red trace: Recorded ECG with swapped unicolor electrodes; (2) Blue trace: Simulated ECG with swapped unicolor electrodes, applying Forward ‘MSMinv’ transformation on the ECG recorded with the correct lead set.
Sensors 19 02920 g003
Table 1. Calculation of the WCT potential change from the recorded leads via the ‘WSMinv’ transformation (12), applying the swap matrices S in Table 2, Table 3 and Table 4.
Table 1. Calculation of the WCT potential change from the recorded leads via the ‘WSMinv’ transformation (12), applying the swap matrices S in Table 2, Table 3 and Table 4.
Reversed Electrodes ΔPWCT
Reversals of peripheral electrodes not involving RL RA ^ LA ^ 0 *
RA ^ LL ^ 0 *
LA ^ LL ^ 0 *
CW rotation RA ^ LA ^ LL ^ RA ^ 0 *
CCW rotation RA ^ LL ^ LA ^ RA ^ 0 *
Reversals of peripheral electrodes involving RL RL ^ RA ^ 1 / 3 I I
RL ^ LA ^ 1 / 3 ( I I I )
RL ^ LL ^ 0 *
CW rotation with RL RL ^ RA ^ LA ^ LL ^ RL ^ 1 / 3 I I
CCW rotation with RL RL ^ LL ^ LA ^ RA ^ RL ^ 0 *
Bilateral arm–leg rotation RL ^ RA ^ , LA ^ LL ^ 1 / 3 I I
Cross rotation RL ^ RA ^ LL ^ LA ^ RL ^ 1 / 3 ( I I I )
Reversals of unicolor peripheral and chest electrodesRed electrodes RA ^ C 1 ^ 1 / 9 I + 1 / 9 I I + 1 / 3 V 1
Yellow electrodes LA ^ C 2 ^ 2 / 9 I + 1 / 9 I I + 1 / 3 V 2
Green electrodes LL ^ C 3 ^ 1 / 9 I 2 / 9 I I + 1 / 3 V 3
Black electrodes RL ^ C 5 ^ 0 *
All unicolor electrodes RA ^ C 1 ^ , LA ^ C 2 ^ , LL ^ C 3 ^ , RL ^ C 5 ^ 1 / 3 ( V 1 + V 2 + V 3 )
Note: For comprehension purposes of various electrode combinations, the reversed electrodes are depicted with their respective colors according to the IEC color coding [44]. * ΔPWCT = 0 corresponds to the correct position of the active limb electrodes ( L L ^ ,   R A ^ ,   L A ^ ).
Table 2. Reversals of peripheral electrodes not involving RL.
Table 2. Reversals of peripheral electrodes not involving RL.
Reversed Electrodes S M S M ˜ i n v Reordered Leads
RA ^ LA ^
[ L L ^ = L L R A ^ = L A L A ^ = R A C X ^ = C X ] [ 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 ] [ 1 0 0 1 1 0 0 0 1 ] I ^ = I  
I I ^ = I + I I = I I I
V ^ X = V X
RA ^ LL ^
[ L L ^ = R A R A ^ = L L L A ^ = L A C X ^ = C X ] [ 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 1 ] [ 1 1 0 0 1 0 0 0 1 ] I ^ = I I I = I I I  
I I ^ = I I
V ^ X = V X
LA ^ LL ^
[ L L ^ = L A R A ^ = R A L A ^ = L L C X ^ = C X ] [ 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 1 ] [ 0 1 0 1 0 0 0 0 1 ] I ^ = I I  
I I ^ = I
V ^ X = V X
CW rotation RA ^ LA ^ LL ^ RA ^
[ L L ^ = R A R A ^ = L A L A ^ = L L C X ^ = C X ] [ 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 ] [ 1 1 0 1 0 0 0 0 1 ] I ^ = I + I I = I I I  
I I ^ = I
V ^ X = V X
CCWrotation RA ^ LL ^ LA ^ RA ^
[ L L ^ = L A R A ^ = L L L A ^ = R A C X ^ = C X ] [ 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 1 ] [ 0 1 0 1 1 0 0 0 1 ] I ^ = I I  
I I ^ = I I I = I I I
V ^ X = V X
Note: For comprehension purposes of various electrode combinations, the reversed electrodes are depicted with their respective colors according to the IEC color coding [44], - 1st column: The simulated placement of ECG electrodes { L L ^ ,   R A ^ ,   L A ^ , C X ^ } referring to their geometrical positions { L L ,   R A , L A ,   C X } . The electrodes which are assumed to be in the wrong geometrical positions are indicated with red font color as being reversed. - 2nd column: The values of the swap matrix S , where red font colored entries indicate the difference to the identity matrix as defined in (6) for the correct electrode placement. - 3rd column: The result of matrix multiplication M S M ˜ inv , considering M and M ˜ inv equal to their definitions in (2) and (5), respectively.- 4th column: The formula for calculation of the reordered leads ( I ^ ,   I I ,   ^   V ^ X ) using the recorded leads ( I ,   I I ,   V x )   that is obtained after substituting M S M ˜ inv in (7). For simplification, the substitution ( I I I = I I I ) is applied in some formulas.
Table 3. Reversals of peripheral electrodes involving RL.
Table 3. Reversals of peripheral electrodes involving RL.
Reversed Electrodes S M S M ˜ i n v Reordered Leads
RL ^ RA ^
[ L L ^ = L L R A ^ = R L L A ^ = R A C X ^ = C X ] [ 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 ] [ 1 1 0 0 0 0 0 1 / 3 1 ] I ^ = I   I I = I I I
I I ^ = 0
V ^ X = V X 1 / 3 I I
RL ^ LA ^
[ L L ^ = L L R A ^ = R A L A ^ = R L C X ^ = C X ] [ 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 ] [ 0 1 0 0 1 0 1 / 3 1 / 3 1 ] I ^ = I I
I I ^ = I I
V ^ X = V X 1 / 3 ( I I I )
RL ^ LL ^
[ L L ^ = R L R A ^ = R A L A ^ = L A C X ^ = C X ] [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] [ 1 0 0 0 1 0 0 0 1 ] I ^ = I
I I ^ = I I
V ^ X = V X
CW rotation with RL RL ^ RA ^ LA ^ LL ^ RL ^
[ L L ^ = R L R A ^ = L A L A ^ = L L C X ^ = C X ] [ 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 ] [ 1 1 0 1 1 0 0 1 / 3 1 ] I ^ = I + I I = I I I  
I I ^ = I + I I = I I I  
V ^ X = V X 1 / 3 I I
CCW rotation with RL RL ^ LL ^ LA ^ RA ^ RL ^
[ L L ^ = L A R A ^ = R L L A ^ = R A C X ^ = C X ] [ 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 1 ] [ 0 1 0 1 1 0 0 0 1 ] I ^ = I I  
I I ^ = I I I = I I I
V ^ X = V X
Bilateral arm–leg rotation RL ^ RA ^ , LA ^ LL ^
[ L L ^ = L A R A ^ = R L L A ^ = L L C X ^ = C X ] [ 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 1 ] [ 0 0 0 1 1 0 0 1 / 3 1 ] I ^ = 0
I I ^ = I I I = I I I
V ^ X = V X 1 / 3 I I
Cross rotation RL ^ RA ^ LL ^ LA ^ RL ^
[ L L ^ = R A R A ^ = R L L A ^ = L L C X ^ = C X ] [ 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 1 ] [ 0 0 0 0 1 0 1 / 3 1 / 3 1 ] I ^ = 0
I I ^ = I I
V ^ X = V X 1 / 3 ( I I I )
Note: All columns correspond to the description in the footer of Table 2.
Table 4. Reversals of unicolor chest and peripheral electrodes.
Table 4. Reversals of unicolor chest and peripheral electrodes.
Reversed Electrodes S M S M ˜ i n v Reordered Leads
Red electrodes RA ^ C 1 ^
[ L L ^ = L L R A ^ = C 1 L A ^ = L A C 1 ^ = R A C X ^ = C X ] [ 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 ] [ 2 / 3 1 / 3 1 0 1 / 3 2 / 3 1 0 4 / 9 4 / 9 1 / 3 0 1 / 9 1 / 9 1 / 3 1 ] I ^ = ( I I I I ) / 3 V 1
I I ^ = ( I I + I I I ) / 3 V 1
V ^ 1 = 4 9 ( I + I I ) 1 3 V 1
V ^ X = V X 1 9 ( I + I I ) 1 3 V 1
Yellow electrodes LA ^ C 2 ^
[ L L ^ = L L R A ^ = R A L A ^ = C 2 C 2 ^ = L A C X ^ = C X ] [ 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 ] [ 1 / 3 1 / 3 1 0 0 1 0 0 8 / 9 4 / 9 1 / 3 0 2 / 9 1 / 9 1 / 3 1 ] I ^ = 1 3 ( I + I I ) + V 2
I I ^ = I I
V ^ 2 = 4 9 ( I I I I ) 1 3 V 2
V ^ X = V X + 1 9 ( I I I I ) 1 3 V 1
Green electrodes LL ^ C 3 ^
[ L L ^ = C 3 R A ^ = R A L A ^ = L A C 3 ^ = L L C X ^ = C X ] [ 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 ] [ 1 0 0 0 1 / 3 1 / 3 1 0 4 / 9 8 / 9 1 / 3 0 1 / 9 2 / 9 1 / 3 1 ] I ^ = I
I I ^ = 1 3 ( I + I I ) + V 3
V ^ 3 = 4 9 ( I I + I I I ) 1 3 V 3
V ^ X = V X + 1 9 ( I I + I I I ) 1 3 V 1
Black electrodes RL ^ C 5 ^
[ L L ^ = L L R A ^ = R A L A ^ = L A C 5 ^ = R L C X ^ = C X ] [ 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 ] [ 1 0 0 0 0 1 0 0 1 / 3 2 / 3 0 0 0 0 0 1 ] I ^ = I
I I ^ = I I
V ^ 5 = ( I I + I I I ) / 3
V ^ X = V X
All unicolor electrode pairs RA ^ C 1 ^ , LA ^ C 2 ^ , LL ^ C 3 ^ , RL ^ C 5 ^
[ L L ^ = C 3 R A ^ = C 1 L A ^ = C 2 C 1 ^ = R A C 2 ^ = L A C 3 ^ = L L C 4 ^ = C 4 C 5 ^ = R L C 6 ^ = C 6 ] [ 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 ] [ 0 0 1 1 0 0 0 0 0 0 1 0 1 0 0 0 1 3 1 3 1 3 1 3 1 3 0 0 0 2 3 1 3 1 3 1 3 1 3 0 0 0 1 3 2 3 1 3 1 3 1 3 0 0 0 0 0 1 3 1 3 1 3 1 0 0 1 3 2 3 1 3 1 3 1 3 0 0 0 0 0 1 3 1 3 1 3 0 0 1 ] I ^ = V 2 V 1
I I ^ = V 3 V 1
V ^ 1 = I + I I 3 V 1 + V 2 + V 3 3
V ^ 2 = I I I I 3 V 1 + V 2 + V 3 3
V ^ 3 = I I + I I I 3 V 1 + V 2 + V 3 3
V ^ 4 = V 4 V 1 + V 2 + V 3 3
V ^ 5 = I I + I I I 3 V 1 + V 2 + V 3 3
V ^ 6 = V 6 V 1 + V 2 + V 3 3
Note: All columns correspond to the description in the footer of Table 2. Cx represents all chest electrodes with unchanged positions, Vx denotes their unipolar leads.
Table 5. Statistical analysis (mean value ± standard deviation) of measures (RMS Error, Peak Error, CorCoef) calculated for the average beat in 8 independent leads (I, II, V1-V6), quantifying the lead-specific differences between experimentally recorded ECGs – raw leads vs. reordered leads (based on the expressions in Table 4) for 3 different scenarios:. No transformation; Forward ‘MSMinv’ transformation applied on the recording with correct electrodes; Inverse ‘MSMinv’ transformation applied on the recording with swapped electrodes.
Table 5. Statistical analysis (mean value ± standard deviation) of measures (RMS Error, Peak Error, CorCoef) calculated for the average beat in 8 independent leads (I, II, V1-V6), quantifying the lead-specific differences between experimentally recorded ECGs – raw leads vs. reordered leads (based on the expressions in Table 4) for 3 different scenarios:. No transformation; Forward ‘MSMinv’ transformation applied on the recording with correct electrodes; Inverse ‘MSMinv’ transformation applied on the recording with swapped electrodes.
Unicolor
Reversals
RMS Error (µV)Peak Error (µV)Cor. Coef. (0–1)
Transf. NoneTransf. MSMinv
Forward
Transf. MSMinv InverseTransf. NoneTransf. MSMinv
Forward
Transf. MSMinv InverseTransf. NoneTransf. MSMinv ForwardTransf. MSMinv Inverse
RA-C1I81 ± 4014 ± 5 *15 ± 5 *351 ± 16248 ± 19 *53 ± 20 *0.921 ± 0.0930.997 ± 0.004 *0.995 ± 0.006 *
II81 ± 3813 ± 5 *13 ± 4 *356 ± 16348 ± 19 *46 ± 16 *0.909 ± 0.1720.998 ± 0.002 *0.996 ± 0.005 *
V1120 ± 5211 ± 4 *11 ± 4 *529 ± 22738 ± 15 *38 ± 13 *0.832 ± 0.1360.996 ± 0.002 *0.998 ± 0.002 *
Vx27 ± 1311 ± 5 *12 ± 5 *116 ± 6144 ± 9 *42 ± 18 *0.989 ± 0.0290.998 ± 0.003 *0.998 ± 0.003 *
LA-C2I197 ± 8016 ± 5 *15 ± 5 *924 ± 33655 ± 20 *54 ± 20 *0.746 ± 0.1440.997 ± 0.004 *0.995 ± 0.005 *
II18 ± 513 ± 3 *13 ± 3 *78 ± 3744 ± 12 *46 ± 13 *0.994 ± 0.0130.995 ± 0.011 *0.995 ± 0.009 *
V2246 ± 10213 ± 6 *13 ± 5 *1121 ± 39650 ± 25 *54 ± 26 *0.456 ± 0.1800.990 ± 0.010 *0.998 ± 0.002 *
Vx58 ± 512 ± 4 *12 ± 5 *264 ± 10341 ± 16 *47 ± 19 *0.956 ± 0.0730.998 ± 0.003 *0.997 ± 0.003 *
LL-C3I15 ± 515 ± 515 ± 656 ± 2754 ± 2356 ± 260.996 ± 0.0060.995 ± 0.006 *0.995 ± 0.006 *
II154 ± 5018 ± 5*15 ± 4 *644 ± 22859 ± 22 *53 ± 20 *0.869 ± 0.1460.998 ± 0.001 *0.995 ± 0.008 *
V3206 ± 6512 ± 5 *14 ± 5 *868 ± 29647 ± 25 *53 ± 21 *0.512 ± 0.1970.988 ± 0.012 *0.997 ± 0.004 *
Vx52 ± 1812 ± 5 *13 ± 5 *219 ± 8045 ± 23 *46 ± 20 *0.970 ± 0.0510.997 ± 0.004 *0.997 ± 0.003*
RL-C5I16 ± 515 ± 515 ± 557 ± 2454 ± 2054 ± 200.995 ± 0.0080.995 ± 0.0080.995 ± 0.009
II14 ± 414 ± 414 ± 447 ± 1548 ± 1848 ± 170.995 ± 0.0090.995 ± 0.0090.995 ± 0.010
V5131 ± 6024 ± 12 *$136 ± 54 #639 ± 287102 ± 54 *$660 ± 268 #0.785 ± 0.2100.957 ± 0.047 *$0.792 ± 0.144 #
Vx14 ± 514 ± 5 *14 ± 5 *51 ± 2551 ± 2551 ± 250.998 ± 0.0020.998 ± 0.0020.997 ± 0.002
RA - C1 LA - C2 LL - C3 RL - C5 I143 ± 7217 ± 9 *18 ± 8 *726 ± 36159 ± 33 *69 ± 35 *0.836 ± 0.1000.994 ± 0.006 *0.994 ± 0.005 *
II138 ± 4519 ± 5 *18 ± 9 *631 ± 27571 ± 26 *60 ± 27 *0.925 ± 0.0620.997 ± 0.002 *0.993 ± 0.009 *
V1225 ± 9716 ± 5 *14 ± 5 *967 ± 44550 ± 17 *57 ± 18 *0.652 ± 0.1950.996 ± 0.003 *0.997 ± 0.003 *
V2289 ± 12516 ± 7 *18 ± 8 *1235 ± 48762 ± 35 *69 ± 30 *0.365 ± 0.1330.993 ± 0.007 *0.996 ± 0.004 *
V3248 ± 9215 ± 5 *16 ± 4 *1003 ± 37855 ± 19 *58 ± 23 *0.494 ± 0.1840.994 ± 0.010 *0.997 ± 0.003*
V4110 ± 5614 ± 4 *16 ± 4 *443 ± 25854 ± 20 *58 ± 25 *0.835 ± 0.2040.997 ± 0.003 *0.997 ± 0.002 *
V5161 ± 6326 ± 10 *$142 ± 75 #615 ± 285104 ± 50*$659 ± 368 #0.705 ± 0.2300.986 ± 0.019 *$0.859 ± 0.106 #
V6113 ± 5313 ± 5 *13 ± 5 *472 ± 23150 ± 23 *45 ± 16 *0.886 ± 0.1350.998 ± 0.002 *0.996 ± 0.005 *
Note: Vx denotes the unipolar chest leads without electrode swaps; Color of electrodes follows IEC standard [44]; Gray columns highlight the baseline measurements without transformation (‘None’ transformation). * p < 0.05: Significant reduction of (RMS Error, Peak Error) and increment of (CorCoef) for the reordered leads after applying ‘MSMinv’ transformation (Forward or Inverse) compared to ‘None’ transformation. $: Approximation effect of the Forward ‘MSMinv’ transformation to simulate a swapped lead V5, while C5 is placed on the RL and its potential is assumed equal to the LL. #: Deficiency of the Inverse ‘MSMinv’ transformation to reconstruct the correct lead V5 from a recording with RL electrode in the position of C5 electrode.
Table 6. Accuracy for the detection of the exact lead swaps, applying the ‘MSMinv’ transformation on 3 swapped recordings (RA-C1), (LA-C2), (LL-C3) from 25 patients in our database. Color of electrodes follows IEC standard [44];
Table 6. Accuracy for the detection of the exact lead swaps, applying the ‘MSMinv’ transformation on 3 swapped recordings (RA-C1), (LA-C2), (LL-C3) from 25 patients in our database. Color of electrodes follows IEC standard [44];
Accuracy
Unicolor
Lead
Swaps
RMS Error
(%)
Peak Error
(%)
Cor
Coef
(%)
RA - C1 10096 *100
LA - C2 96 *88 #96 *
LL - C3 10088 #100
* 1 false negative case due to TLS with the 2nd ranked minimal difference in the decision rule (17). # 3 false negative cases due to TLS with either the 2nd or the 3rd ranked minimal differences in (17).

Share and Cite

MDPI and ACS Style

Krasteva, V.; Jekova, I.; Schmid, R. Simulating Arbitrary Electrode Reversals in Standard 12-Lead ECG. Sensors 2019, 19, 2920. https://doi.org/10.3390/s19132920

AMA Style

Krasteva V, Jekova I, Schmid R. Simulating Arbitrary Electrode Reversals in Standard 12-Lead ECG. Sensors. 2019; 19(13):2920. https://doi.org/10.3390/s19132920

Chicago/Turabian Style

Krasteva, Vessela, Irena Jekova, and Ramun Schmid. 2019. "Simulating Arbitrary Electrode Reversals in Standard 12-Lead ECG" Sensors 19, no. 13: 2920. https://doi.org/10.3390/s19132920

APA Style

Krasteva, V., Jekova, I., & Schmid, R. (2019). Simulating Arbitrary Electrode Reversals in Standard 12-Lead ECG. Sensors, 19(13), 2920. https://doi.org/10.3390/s19132920

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop