1 Introduction

The electrocardiogram (ECG) is arguably the most important diagnostic tool in cardiology. Although it has been around for more than a century, many aspects of the ECG are still poorly understood. Computer models of the ECG play an important role in filling these knowledge gaps. Whole-heart reaction-diffusion models, which can simulate the ECG directly from processes on the membrane level, have only just begun to appear [21, 24, 25, 51]. These models, combined with patient-specific anatomic models, can predict subtle electrocardiographic effects of ion-channel malfunctions, provided that the ECG simulation is accurate enough.

The boundary-element method (BEM) has been used for ECG simulation for more than four decades [1, 3, 9, 16, 19, 21, 28, 32, 47, 55]. Its attractiveness comes from the small number of surface elements necessary to describe the torso and its major inhomogeneities. The torso, skeletal muscle layer, lungs, and ventricular blood masses can be modeled with a few thousand triangles [16]. Originally the small footprint of the BEM model made it the only candidate for ECG simulation [16, 19, 32]. The continuing popularity of the method is mainly due to its speed, which makes it useful for low-end computers and interactive applications [37].

The BEM is used to model the conductivity of the torso components. It is combined with a source model, which represents the cardiac electrical activity. The source model can be a small number of dipole sources inside the myocardium [16, 19, 32, 52], which can be computed from membrane potentials simulated by a reaction-diffusion model [51] or by simpler models [28]. Other source models are the “uniform-” or “oblique dipole layer” on the activation front [6, 7, 42] and the “equivalent double layer” on the surface of the myocardium [11, 35, 36]. We will discuss only dipole sources.

The major disadvantage of the BEM model for ECG simulation is its inability to represent the anisotropy of the extracellular space in the cardiac muscle. Both intracellular and extracellular anisotropy affect the ECG. Intracellular anisotropy can be treated straightforwardly, as has been done in several studies [20, 53]. However, when extracellular anisotropy is neglected, the effect of intracellular anisotropy in the model is exaggerated. Because of this, previous authors have expressed doubt as to whether such models should represent intracellular anisotropy [14, 50]. Many models neglected anisotropy completely.

Anisotropy has important effects on the precordial ECG leads. For example, when subendocardial ischemia is modeled, the effect of anisotropy can make the difference between a positive and a negative ECG deflection [29], with important consequences for diagnosis. Thus, anisotropic ECG simulation can be important and the question is whether BEM models can reliably account for it.

The purpose of this study is to demonstrate that a good approximative treatment of extracellular anisotropy in a BEM model is possible, and that accounting for both anisotropies improves the simulated ECG. We compared ECGs computed by a BEM model with those computed by a finite-difference model, in which anisotropy could be represented without compromise.

2 Methods

Our methods are based on the bidomain model of cardiac tissue [14, 18, 32], which treats the myocardium as two continuous co-located media called the intracellular and extracellular domain, which are separated everywhere by the cell membrane. The conductivity in each domain is greater along than across the muscle fibers. We denote the fiber direction by a field of normalized row vectors \(\hat{{\mathbf{a}}}=(a_x, a_y, a_z).\) The conductivity of each domain can then be characterized by a tensor field, generated by the function

$$ {{\mathbf{G}}}(\sigma_{\rm L},\sigma_{\rm T})=\sigma_{\rm T}{{\mathbf{1}}}+(\sigma_{\rm L}-\sigma_{\rm T}) \hat{{\mathbf{a}}}^{\rm T}\hat{{\mathbf{a}}} $$
(1)

where 1 is a unit tensor, and σL and \(\sigma_{\rm T}\) are the conductivities parallel and perpendicular to the fiber axis, respectively [8]. Let \(\sigma_{\rm{iL}}\) and \(\sigma_{\rm{iT}}\) be the intracellular conductivities parallel and perpendicular to the fibers, respectively, and \(\sigma_{\rm{eL}}\) and \(\sigma_{\rm{eT}}\) their extracellular equivalents. We define the intracellular and extracellular conductivity tensors fields as \({\bf G}_{\rm{i}}={\bf {G}}(\sigma_{\rm{iL}},\sigma_{\rm{iT}}) \hbox{ and } {\bf G}_{\rm{e}}={\bf {G}}(\sigma_{\rm{eL}},\sigma_{\rm{eT}}).\) The anisotropy ratios of the two domains are \({\rm R}_{\rm{i}}=\sigma_{\rm{iL}}/\sigma_{\rm{iT}} \hbox{ and } {\rm R}_{\rm{e}}=\sigma_{\rm{eL}}/\sigma_{\rm{eT}}.\) An overview of all conductivity values and anisotropy ratios is given in Table 1.

Table 1 Tissue conductivity values

Potential fields ϕi and ϕe in the two domains are related to current density fields \({{\mathbf{J}}}_{\rm i}={\bf G}_{\rm{i}}\nabla\phi_{\rm i}\) in the intracellular domain and \({{\mathbf{J}}}_{\rm e}={\bf G}_{\rm{e}}\nabla\phi_{\rm e}\) in the extracellular domain [14]. The divergence of each current density field equals the current that flows through the cellular membrane; this current must have equal magnitude and opposite sign in the two domains. Thus, the bidomain model can be summarized with the following equation [14, 18, 32]:

$$ \nabla\cdot({{\mathbf{G}}}_{\rm{i}}\nabla\phi_{\rm i}) =-\nabla\cdot({{\mathbf{G}}}_{\rm{e}}\nabla\phi_{\rm e}). $$
(2)

It is convenient to use the transmembrane potential V m = ϕi − ϕe to eliminate ϕi from Eq. 2; after re-arranging terms we obtain an implicit equation for ϕe in terms of V m:

$$ \nabla\cdot\left([{{\mathbf{G}}}_{\rm{i}}+{{\mathbf{G}}}_{\rm{e}}]\nabla\phi_{\rm e}\right) = -\nabla\cdot({{\mathbf{G}}}_{\rm{i}}\nabla V_{\rm m}). $$
(3)

In this study ECGs were simulated from given membrane potentials \((V_{\rm{m}})\) by a BEM model and by a finite-difference (FD) model of the human torso. The FD model solved the extracellular potential ϕe from Eq. 3. The BEM model is conceptually more complicated. Its source model is an equivalent current density

$$ {{\mathbf{J}}}_{\rm{c}}=-{{\mathbf{G}}}_{\rm{c}}\nabla V_{\rm m} $$
(4)

with \({{\mathbf{G}}}_{\rm{c}}\) a proposed “compound” conductivity tensor field

$$ {{\mathbf{G}}}_{\rm{c}}=f_{\rm c}{{\mathbf{G}}}(R_{\rm c}\sigma_{\rm{iT}},\sigma_{\rm{iT}}) $$
(5)

where f c is an isotropic amplification factor and R c a chosen “compound anisotropy ratio”. The parameters f c and R c were obtained by fitting a BEM-derived ECG to an FD-derived ECG, as detailed in Sect. 3. The volume conductor for the BEM model is piecewise continuous and isotropic with conductivity \(\sigma_{\rm{B}}.\) Conductivity values used in this study are listed in Table 1. Details on the two ECG models are given in the following sections.

The underlying V m were computed by a monodomain reaction-diffusion model of the human heart, as detailed in the next section. The anatomy of the heart and thorax was obtained from in-vivo magnetic resonance imaging data [27].

2.1 Propagation model

Propagating action potentials were computed with a monodomain reaction-diffusion model [40, 51]. This model integrated the equation

$$ C_{\rm{m}} \frac{{\partial V_{\rm m}}}{{\partial t}}=\beta^{-1}\nabla\cdot\left({{\mathbf{G}}}(\sigma_{\rm{mL}},\sigma_{\rm{mT}}) \nabla V_{\rm m}\right)-I_{\rm{ion}} $$
(6)

where β is the membrane surface to volume ratio, C m is the membrane capacitance per unit area, I ion the sum of all transmembrane ionic currents, and the equivalent “monodomain” conductivities are defined as \(\sigma_{\rm{mT}}=\sigma_{\rm{iT}}\sigma_{\rm{eT}}/(\sigma_{\rm{iT}}+\sigma_{\rm{eT}}), \) and \(\sigma_{\rm{mL}}=\sigma_{\rm{iL}}\sigma_{\rm{eL}}/(\sigma_{\rm{iL}}+\sigma_{\rm{eL}})\) [40]. Membrane potentials were stored at 1-mm spatial resolution at a 1-ms interval. Each simulation had a duration of 500 ms.

The patient-tailored cardiac anatomy was used for this simulation. Cardiac fiber orientation was mathematically defined as previously described [40]. This procedure was performed at 0.2-mm resolution to obtain smooth fiber orientation profiles. Tissue types and fiber orientations were then subsampled to 1-mm resolution. This subsampled heart model was inserted in the FD torso model, as discussed later on. For the propagation model, which worked at 0.2-mm resolution, each voxel of the subsampled model was replicated 5 times in each spatial dimension, to obtain exactly the same geometry as in the FD torso model.

Because the heart of our patient was relatively large, we assumed that its myocytes were larger than average, and therefore set the surface-to-volume ratio of the cells 20% smaller than the normal value in our model, to 800 cm−1. This led to realistic activation times.

2.2 BEM model

Previously-described BEM software was used to compute the ECG from the regional dipoles [16, 28, 30, 51]. Briefly, this software uses an integral equation for the potential on the surface triangles due to the regional dipoles. This method, which was first proposed by Barr et al. in 1966 [2, 4], has been used in many studies and is well explained in textbooks [14, 39]. Because this method is well covered in the literature we give only a brief outline here. Details of our implementation can be found in previous publications from our laboratory [28, 30].

Let a set of surfaces S k bound several regions of continuous isotropic conductivity σ. The notation σ k indicates the conductivity inside surface k, and σ + k the conductivity outside surface k. In one or more of these regions there is a source current density field \({{\mathbf{J}}}_{\rm{c}}\) (Eq. 4). The potential at a point \({{\mathbf{r}}}\) on surface k is given by

$$ \phi_{{\rm{e}}k}({{\mathbf{r}}})=\frac{{1}}{{2\pi(\sigma^-_k+\sigma^+_k)}} \cdot\left[\int {{\mathbf{J}}}_{\rm{c}}({{\mathbf{r}}}^{\prime})\cdot \frac{{{{\mathbf{r}}}-{{\mathbf{r}}}^{\prime}{^3}}}{{|{{\mathbf{r}}}-{{\mathbf{r}}}^{\prime}|^3}} {\rm d}V^{\prime}+\sum_{\ell} \int_{S_{\ell}} (\sigma^-_{\ell}-\sigma^+_{\ell}) \phi_{e}({{\mathbf{r}}}^{{\prime}{\prime}}) {\rm d}\Omega_{{rr}^{{\prime} {\prime}}} \right] $$
(7)

where \({{\mathbf{r}}}^{\prime}\) and \({{\mathbf{r}}}^{{\prime}{\prime}}\) are variable points, the summation is over all surfaces ℓ, and \({\rm d}\Omega_{{rr}^{{\prime}{\prime}}}\) is the solid angle subtended at \({{\mathbf{r}}}\) by the infinitesimal surface element situated at \({{\mathbf{r}}}^{{\prime}{\prime}}\) [4, 14]. When discretized on a set of triangulated surfaces, this is a system of linear equations for ϕe on all surface triangles, with a right-hand side determined by the dipole sources \({{\mathbf{J}}}_{\rm{c}}.\)

The source term \({{\mathbf{J}}}_{\rm{c}}\) was evaluated at 1-mm resolution according to Eq. 4 and then integrated over “dipole regions”. Except where mentioned otherwise, the heart was divided into \(N_{\rm{d}}=29,689\) dipole regions. Evaluation of \({{\mathbf{J}}}_{\rm{c}}\) at 1-mm resolution allows the local fiber orientation to be taken into account [53], while the regional integration serves to arrive at a manageable number of sources [28, 51].

Equation 7 was solved (using an iterative method) with a right-hand side in which one of the three spatial components of one of the \(N_{\rm d}\) dipoles was set to unity, and all others were set to zero [30]. This process was repeated for every component of every dipole in turn. Each solution yields a set of transfer coefficients that link the dipole component to a contribution to the potential on each of the \(N_{\rm t}\) triangles. Thus, a total of \(3N_{\rm t}N_{\rm d}\) coefficients link all dipoles to all surface potentials. The coefficients that relate to the outer torso surface triangles were stored and used to compute individual ECGs, while those related to internal surfaces were discarded. In general, the potentials on internal surfaces close to the heart are too inaccurate to be useful, while those on the outer torso surface are highly accurate [14].

The anatomic model, consisting of a set of triangulated surfaces, is shown in Fig. 1. The torso surface and the inside of the skeletal muscle layer were described by 1,216 triangles each. Each lung had ∼160 triangles, and the intracavitary blood masses ∼800 triangles. The skeletal muscle layer was represented using the torso extension method introduced by McFee and Rush [16, 31, 48]. This anisotropic layer with variable fiber orientation, which is assumed to have conductivities 0.43 and 6.67 mS/cm [31, 44], is replaced by a thicker isotropic layer with conductivity 1.25 mS/cm. We used a thickness of 4 cm, which is somewhat more than previously reported [16], because our subject was large and heavily built. A conductivity \(\sigma_{\rm{B}}=2.0\) mS/cm was used for the torso, including the myocardium [16]. Values of \(\sigma_{\rm{B}}\) for all regions are listed in Table 1.

Fig. 1
figure 1

Anatomic model. The triangulation of the torso corresponds to that used in the BEM model. For clarity, other components are shown as smooth surfaces. The standard ECG electrodes (three limb electrodes and six precordial electrodes) are shown as green spheres. For actual simulations the torso surface was replaced by inner and outer surfaces of the skeletal muscle layer, and electrodes moved to the outer layer

2.3 FD model

The FD model of the heart and thorax had a resolution of 1 mm and was obtained by scan-converting the surface model of the thorax and inserting the 1-mm version of the heart model. The skeletal muscle layer was represented in the same way as in the BEM model.

From the simulated V m at 1-mm resolution, \(\nabla\cdot({{\mathbf{G}}}_{\rm{i}}\nabla V_{\rm m})\) was evaluated and used to compute ϕe by solving Eq. 3. This was done using our previously described software [40] but with 100-fold lower error tolerance levels needed to compute an ECG with < 0.1 mV precision.

2.4 Comparison

The crucial difference between the BEM and FD models is the conductivity of the extracellular space: the BEM model used an isotropic conductivity \(\sigma_{\rm{B}},\) whereas the FD model used anisotropic values \(\sigma_{\rm{eL}}\) and \(\sigma_{\rm{eT}}\) (Table 1). Our purpose is to try to compensate for the lack of extracellular anisotropy in the BEM model by selecting appropriate values for the constants R c and f c.

An analytic solution to this problem exists if both the intracellular and extracellular domain are homogeneous and unbounded [14, 42]. If the coordinate axes are chosen such that \({{\mathbf{G}}}_{\rm{i}}\) and \({{\mathbf{G}}}_{\rm{e}}\) are diagonal, Eq. 3 can be rewritten as

$$ \nabla^2\phi_{\rm e}=-\nabla\cdot({{\mathbf{G}}}_{\rm{c}}\nabla V_{\rm m}) $$
(8)

where

$$ {{\mathbf{G}}}_{\rm{c}} = {{\mathbf{G}}}(\sigma_{\rm{iL}}/(\sigma_{\rm{iL}}+\sigma_{\rm{eL}}), \sigma_{\rm{iT}}/(\sigma_{\rm{iT}}+\sigma_{\rm{eT}})) $$
(9)

is also diagonal. The anisotropy ratio of this tensor can be written as

$$ R_{\rm c}=\frac{{\sigma_{\rm{iL}}/(\sigma_{\rm{iL}}+\sigma_{\rm{eL}})}}{ \sigma_{\rm{iT}}/(\sigma_{\rm{iT}}+\sigma_{\rm{eT}})}=R_{\rm i} \frac{\sigma_{\rm{iT}}+\sigma_{\rm{eT}}}{ {\sigma_{\rm{iL}}+\sigma_{\rm{eL}}}}=\frac{R_{i}}{{R}^{\prime}} $$
(10)

where \(R^{\prime}=(\sigma_{\rm{iL}}+\sigma_{\rm{eL}})/(\sigma_{\rm{iT}}+\sigma_{\rm{eT}})\) is the anisotropy ratio of the myocardial bulk conductivity, which opposes the effect of R i. For the normal conductivity values from Table 1, we would have R c = 2.5 and R′ = 4.

In case of the heart in situ, the isotropic torso modifies the effect of the bulk myocardial anisotropy. Geselowitz and Miller [12] have discussed an analytic solution for the case of a dipole source in the center of an anisotropic sphere embedded in an unbounded isotropic medium of conductivity σ0. In this situation, the potential at large distance from the sphere can be reproduced by a homogeneous isotropic medium of conductivity σ0 if the dipole’s transverse and longitudinal components are multiplied by factors f T and f L, respectively, given by

$$ f_{\rm T}=\frac{{A\sigma_0}}{ \sigma_{\rm{iT}}+\sigma_{\rm{eT}}+B\sigma_0} $$
(11)
$$ f_{\rm L}=\frac{{A\sigma_0}}{ {\sigma_{\rm{iL}}+\sigma_{\rm{eL}}+B\sigma_0}} $$
(12)

where A = 3 and B = 2. If this is a good approximation for the heart in the torso, we should use f c = f T and R c = R i f L/f T. With the values from Table 1, we would now find R c  = 5.5. By analogy with Eq. 10, we define an effective bulk anisotropy ratio

$$ R^{\prime}_{\rm eff}=\frac{{R_{\rm i}}}{{R_{\rm c}}}=\frac{{f_{\rm T}}}{{f_{\rm L}}} $$
(13)

which has the value 1.8 in this situation. By comparison with R′, we see that the isotropic torso reduces Reff, and so amplifies the effect of the intracellular anisotropy of the heart.

Torso boundaries and inhomogeneities also play a role. Thivierge et al. [50] showed that for an anisotropic cube in a bounded isotropic medium, the constants A and B depend on σ0, on fiber rotation, and on the position of the dipole source in the cube.

Our purpose now is to see how this works out in a complete heart in an inhomogeneous torso, where we identify σ0 with \(\sigma_{\rm{B}}\) for the torso (Table 1). Specifically, we will test if values for R c and f c = f T exist that, if applied throughout the heart, still result in an acceptable approximation to the anisotropic ECG. Since we equate f c and f T we will from here on refer only to f T.

We simulated 13 different ECGs with the FD model: a normal activation sequence for several different values of \(\sigma_{\rm{iL}}, \sigma_{\rm{iT}}, \sigma_{\rm{eL}}, \hbox{ and } \sigma_{\rm{eT}};\) and four abnormal activation sequences with normal conductivity values. In all cases, the propagation model was based on normal conductivity values.

With the BEM model we simulated, for each activation sequence, ECGs for R c = 1.0, 1.1,…,10.0 and f T = 0.1, 0.12,…,2.0. For each ECG simulated with the FD model, the BEM ECG with minimal root-mean-square (RMS) difference was selected. RMS and maximum differences were also plotted as functions of (R c, f T) to verify the existence of a global minimum. The best choice is reported in terms of its R c and f T. We also give f L, now computed as

$$ f_{\rm L}=f_{\rm T}R_{\rm c}/R_{\rm i}, $$
(14)

as well as A and B obtained by inverting the linear system defined by Eqs. 11 and 12, and Reff (Eq. 13). Maximum errors and RMS errors are reported, as well as the relative difference (RD) [35, 52], defined as

$$ {\rm RD}=\sqrt{\frac{{\sum_{t} \sum_{n} (\phi^{\rm BEM}_{tn}-\phi^{\rm FD}_{tn})^2}}{{\sum_{t} \sum_{n} (\phi^{\rm FD}_{tn})^2}}} $$
(15)

where the index t = 1,…,500 ranges over all samples, n = 1,…,12 over all leads, \(\phi^{\rm BEM}_{tn}\) is the ECG potential computed with the BEM model, and \(\phi^{\rm FD}_{tn}\) the ECG potential computed with the FD model.

3 Results

3.1 Isotropic BEM versus isotropic FDI

Ideally, if both the BEM and FD models use isotropic conductivities throughout, they should produce equal results. In practice the results differ slightly because the geometry used in the two models cannot be exactly the same. There were also small differences in the handling of the conductivity tensor in either model. Using \(\sigma_{\rm{iL}}=\sigma_{\rm{iT}}=0.66\) mS/cm and \(\sigma_{\rm{eL}}=\sigma_{\rm{eT}}=\sigma_0=2.0\) mS/cm in both models, we found an RMS difference of 34 μV, a maximum difference of 273 μV, and RD = 0.08, for a BEM model with 29,689 dipoles.

With 5,004 dipoles in the BEM model, the difference was slightly larger: 315 μV max, 42 μV RMS, RD = 0.10.

With 88 dipoles in the BEM model as in previous work [28, 51], the difference between isotropic BEM and FD models was 577 μV max, 99 μV RMS, RD = 0.23.

3.2 Anisotropic BEM versus anisotropic FD

Simulations were performed for sinus rhythm and four abnormal activation sequences, each initiated by stimulating a single site in the ventricular myocardium: “apex” = epicardially in the left ventricular (LV) apex, “LV epi” = in the LV free wall epicardium near the base of the anterior papillary muscle, “LV endo” = endocardially at the same site, and “RV endo” = in the right ventricular (RV) endocardium near the RV anterior papillary muscle. The sinus rhythm simulation was repeated with 8 different conductivity settings for the ventricular myocardium. Values of R c and f T were determined that gave an optimal match between BEM and FD models in a least-squares sense.

The results of the sinus rhythm simulations are listed in Table 2. For normal conductivity values, RMS and maximum errors (difference between BEM and FD results) were 46 and 354 μV, respectively. This was achieved with R c = 5.8 for the BEM model. Corresponding parameters according to Geselowitz and Miller [12, 50] are A = 4.2 (ideally 3) and B = 2.4 (ideally 2). The anisotropy of the bulk myocardium thus had the effect of amplifying the transverse components of the dipoles by a factor f T = 1.36 and diminishing the longitudinal component by a factor f L = 0.79.

Table 2 Anisotropic BEM with optimal settings compared to anisotropic FD

When conductivity values were varied, the optimal settings to match BEM and FD results varied as well. Optimal R c ranged from 3.4 to 7.6. Nevertheless, RMS errors were acceptable in all cases (at most 77 μV). Maximum errors of up to 530 μV (5 mm on standard ECG paper) may seem unacceptable, but these occurred always at the peak of ECG deflections, with amplitudes of up to 2 mV, and represented a relative error in the order of 25%. Overall RD values ≤0.17 also indicate a good match.

For practical application of the BEM, predetermined values of R c and f T should be usable for different activation sequences. This is tested in Table 3. Optimal values of R c and f T were determined for a normal activation sequence, and applied to ectopic beats. For the abnormal activation sequences this leads to doubled RMS errors, but not to an increase in maximum errors. The relatively large errors for the apically paced sequence are due to the large signal amplitudes it generates; its RD is relatively low.

Table 3 Anisotropic BEM with fixed R c and f T compared to anisotropic FD

When only 88 instead of 29,689 dipole sources were used, the difference between the BEM and FD models for the normal activation sequence (top row in Table 3) increased slightly to 59 μV RMS; RD = 0.16, while the maximum error decreased to 262 μV. This indicates that the number of dipoles is not very important, even for an anisotropic BEM model.

3.3 Isotropic BEM versus anisotropic FD

An important practical question is whether a BEM should be used with isotropic or anisotropic conductivity [14, 50]. Therefore we also compared isotropic BEM results with anisotropic FD results. With fixed R c = 1 we found that the optimal f T for the normal activation sequence was 1.50. With these values we simulated the ECGs for the abnormal activation sequences. Results are shown in Table 4. RMS errors are now three to five times larger than with the anisotropic BEM, and maximum errors are well above 1 mV. RD values also indicate a bad match.

Table 4 Isotropic BEM compared to anisotropic FD

3.4 Only intracellular anisotropy

Some previous studies have used BEM models in which only intracellular anisotropy was represented, with an anisotropy ratio 9 [20, 53]. We compared the result of such settings with an FD model in which R i = 10, as before. With fixed R c = 9 we found that the optimal f T for the normal activation sequence was 1.01. With these values we simulated the ECGs for the abnormal activation sequences. Results are shown in Table 5. RMS errors and RD are considerably larger than in the BEM model with R c = 5.8, but not as large as in the fully isotropic model.

Table 5 BEM with only intracellular anisotropy compared to anisotropic FD

3.5 Qualitative comparison

The main results are repeated in Fig. 2 to allow a qualitative comparison of BEM and FD results. In each panel, an ECG simulated with the BEM model (black) is printed superposed on an ECG simulated with the FD model (gray). The two simulations are hardly distinguishable in the isotropic case. Small differences on the peaks of the T-waves can be observed when anisotropic models are compared. In contrast, an isotropic model compared to an anisotropic model shows a different progression of R/S waves through the precordial leads (only V1, V3 and V5 are shown).

Fig. 2
figure 2

Comparison of ECGs simulated with an FD model (gray) and with a BEM model (black). ECGs were obtained from a normal (sinus rhythm) activation sequence. A representative subset of the standard 12-lead ECG is shown. ECGs are displayed in the conventional way, using grid lines with 40 ms spacing horizontally and 0.1 mV spacing vertically, and no axis labels. a Both models isotropic (RD = 0.08). b Both models anisotropic (RD = 0.13, Table 3). c Fully isotropic BEM versus anisotropic FD model (RD = 0.59, Table 4)

4 Discussion

This study demonstrates that ECGs computed with a BEM model closely resemble those computed with an anisotropic FD model if a suitable compound anisotropy (R c) and scaling factor (f T) are used. We found R c≈ 6. Although optimal parameters R c and f T have to be found experimentally for a given set of heart and torso conductivities, and perhaps also depend on the torso anatomy, they can be used for different activation sequences. Thus, one comparison with an FD model suffices to gauge a given BEM model.

The perceived impossibility of representing extracellular anisotropy in a BEM model has caused previous authors to take two different approaches: fully isotropic models [1, 28, 32] and models that represented intracellular anisotropy only [20, 53]. Our study shows that there is no need for such extreme positions, because an intermediate value of R c results in a very accurate representation of the two anisotropies. The use of intracellular anisotropy alone gave better results than full isotropy, but the best results were obtained with an intermediate value.

In general, anisotropy cannot be neglected in forward ECG simulation [15, 29, 33, 50, 53]. We found differences between isotropic and anisotropic models primarily in the precordial leads V1–V5. Difficulties with leads V3–V5 can be observed in studies that used fully isotropic models [45], and in others were probably hidden because activation sequences and heart orientation were, especially in older studies, often adapted to improve the ECG.

4.1 Role of intracellular and extracellular conductivities

The results in Table 2 show that the effect of the torso and the four intracellular and extracellular conductivities on the surface ECG can be approximated with a single compound anisotropy ratio R c and an amplification factor f T. As expected, larger R i led to larger R c, and larger R e led to smaller R c. These relations were nonlinear. The normal value R c = 5.8 was much larger than what would be expected for an unbounded homogeneous myocardium (2.5) but similar to the value expected for an anisotropic sphere embedded in an unbounded isotropic medium (5.5). This similarity is probably coincidental, since it only occurred for the normal set of conductivities. Moreover, the anisotropic-sphere approximation did not accurately predict f T.

As expected, higher extracellular conductivity led to smaller ECG signals (smaller f T), and higher intracellular conductivity to larger ECG signals (larger f T). These relationships were nonlinear.

Differences between the FD model and the anisotropic BEM model (Table 3) depended on the activation sequence. This may be due to the variable importance of propagation along the fibers in different activation sequences.

4.2 Modeling techniques

Application of the most efficient numerical techniques was not a priority in this study. Our FD model based on a regular mesh with 1-mm resolution ensured sufficient accuracy, but is far from efficient. We chose this method for practical reasons only and do not recommend its application in general. A more efficient approach is a finite-element (FE) discretization of the heart, coupled with a BEM model of the torso [5, 10] or as an integrated part of an FE torso model [26]. Regular FD meshes of the torso at lower resolutions than our 1 mm have also been reported [2224, 54].

Similarly, a BEM model with nearly 30 thousand dipole sources is not useful in all BEM applications. We used this large number to minimize bias due to systematic errors. Comparisons with a BEM model using only 88 dipoles, the number we used in previous work [28, 51], showed a small increase in RMS error. Interestingly, an isotropic model seemed to be more sensitive to a small number of dipoles than an anisotropic model. This may be explained by the greater influence of transmural dipole components in the isotropic model. This component is most affected by the error introduced by spatial averaging in large dipole regions.

Thus, the ability of the BEM model with dipole sources to deal with anisotropy does not rely on a large number of dipoles. It depends only on the evaluation of \({{\mathbf{J}}}_{\rm{c}}\) (Eq. 4) on a scale that is small enough to account for local fiber orientation. The effect of the regional integration of \({{\mathbf{J}}}_{\rm{c}},\) which is done to arrive at a reasonable number of dipoles to place in the BEM model, is to approximate the locations of all “small” dipoles in a region by the location of the “large” dipole. The effect of this approximation on the ECG is negligible.

4.3 Related studies

In the limited space of a research paper we cannot do justice to all the work that has been done on forward ECG simulation. Several good reviews [13, 17, 34] and textbooks treat this subject in depth. Here, we give a limited account of the discussion on anisotropic forward models and the accuracy of BEM models.

Several authors have discussed the relative merits of integral equations discretized with the BEM on the one hand, and differential equations discretized with FD/FE methods on the other [38, 41, 46, 49]. However, these studies addressed the relation between torso surface potentials and cardiac surface potentials—a very different source model than ours. With epicardial potentials as a source model, anisotropy cannot be accounted for at all. The same is true for equivalent double layer models [11, 35, 36], in which the source consists of (equivalent) membrane potentials on the myocardial surface. With some notable exceptions [37], these source models are mostly used for inverse models, where anisotropy is deemed less important than in forward ECG models [33].

As discussed above, the situation is different when current dipole sources throughout the cardiac volume are used. If these are evaluated at high spatial resolution, e.g., 1-mm3 volumes in our study, inhomogeneous intracellular anisotropy can easily be taken care of (Eq. 4), as shown, for example, by Wei et al. [53]. Hren et al. [20] named this an “oblique dipole model”. Representing intracellular anisotropy and neglecting extracellular anisotropy would result in exaggerated anisotropic effects [14, 50], so the relevant questions that remained were whether extracellular anisotropy can be accounted for, and whether this improves the ECG. Our answer to both questions is affirmative. These conclusions, obtained here with a model based on volume-averaged current dipoles, may also apply to the oblique dipole layer model [6, 7]. Such an approach has in fact been used by Roberts and Scher [42], with analytically derived f T and f L for a spheroidal wave front, to simulate ϕe inside the heart muscle.

4.4 Inhomogeneities

A remaining limitation of BEM methods is that they cannot treat inhomogeneous conductivity as easily as FD and FE methods. In our study, the heart was anisotropic with inhomogeneous fiber orientation, but the longitudinal and transverse conductivities were the same throughout the myocardium. It is not clear whether an area with different conductivity parameters could be treated in a BEM model by assigning other values for the parameters R c and f T in this area. It could be necessary to assign a boundary around such an area. Inhomogeneity plays a role when, for example, hypertrophy, cardiomyopathy, or an advanced state of myocardial ischemia or infarction is modeled.

5 Conclusion

We conclude that not only intracellular, but also extracellular anisotropy can be implemented in current dipole-based BEM models for the ECG, and that representing both anisotropies improves the accuracy of the simulated ECG. As a rule of thumb, a compound anisotropy ratio of 6 can be used.