Signal processing methods
10555682 ยท 2020-02-11
Assignee
Inventors
Cpc classification
A61B5/7239
HUMAN NECESSITIES
A61B5/242
HUMAN NECESSITIES
International classification
A61B5/00
HUMAN NECESSITIES
Abstract
We describe a method of processing an EEG and/or MEG signal to generate image data representing a 3D current distribution, J, within the brain, the method comprising: capturing a plurality of electric and/or magnetic measurements from the exterior of the head; solving an integral equation for a part of said current distribution to generate said image data representing said 3D current distribution, wherein said integral equation comprises an integral of a first function representing said part of said current distribution and of a second function (.sub.Tv.sub.s(r,)) representing the geometry and conductivity of the head independent of said current distribution; wherein said solving comprises: modelling the head as at least two regions separated by at least one internal boundary, and solving a set of partial differential equations, one for each said internal region, each partial differential equation comprising a geometry-conductivity function (w(r,)) representing the geometry and conductivity of the respective region, wherein said solving is subject to a boundary condition that either i) the gradients of the functions across the or each said internal boundary are smooth when conductivity is taken into account, or ii) a normal component of the electric field of said part of said current distribution is continuous across the or each said internal boundary, and wherein said geometry-conductivity function for an outermost said region of said head defines said second function (.sub.Tv.sub.s(r,)).
Claims
1. A method of processing an EEG and/or MEG signal to generate image data representing a 3D current distribution, J, within the brain, the method comprising: capturing a plurality of electric and/or magnetic measurements from the exterior of the head; solving an integral equation for a part of said current distribution to generate said image data representing said 3D current distribution, wherein said integral equation comprises an integral of a first function representing said part of said current distribution and of a second function (.sub.v.sub.s(r,)) representing the geometry and conductivity of the head independent of said current distribution; wherein said solving comprises: modelling the head as at least two regions separated by at least one internal boundary, and solving a set of partial differential equations, one for each said internal region, each partial differential equation comprising a geometry-conductivity function (w(r,)) representing the geometry and conductivity of the respective region, wherein said solving is subject to a boundary condition that either i) the gradients of the functions across the or each said internal boundary are smooth when conductivity is taken into account, or ii) a normal component of the electric field of said part of said current distribution is continuous across the or each said internal boundary, and wherein said geometry-conductivity function for an outermost said region of said head defines said second function (.sub.v.sub.s (r,)).
2. A method as claimed in claim 1 wherein said set of partial differential equations comprise a set of partial differential equations dependent said geometry and conductivity of the respective regions and independent of said 3D current distribution, each representing the effect of geometry and conductivity on an electric field in the region from the next inner region, and wherein the electric field in an innermost said region comprises a field generated by a monopole source.
3. A method as claimed in claim 2 wherein said innermost region contains said 3D current distribution and wherein a partial differential equation for said innermost said region is non-Laplacian.
4. A method as claimed in claim 1, wherein said set of partial differential equations comprises a partial differential equation for an innermost said region in the form:
.sub.c.sup.2w.sub.c.Math.Q(r) where r is a position vector within said innermost region, is a dummy variable, Q is a charge, is the delta function, w.sub.c is the geometry-conductivity function for said innermost region and .sub.c is an electrical conductivity of said innermost region; and wherein one or more partial differential equations for subsequent successively more outer regions j have the form:
.sup.2w.sub.j=0.
5. A method as claimed in claim 4 wherein said boundary conditions define that
6. A method as claimed in claim 1 wherein said geometry-conductivity function for said outermost region of said head, w.sub.s(r,), defines said second function (.sub.v.sub.s(r,)) through the relationship that w.sub.s(r,) is proportional to said second function (w.sub.s(r,).sub.v.sub.s(r,)).
7. A method as claimed in claim 1 wherein said integral equation comprises one or both of:
8. A method as claimed in claim 1 further comprising determining a scalar value, , representing an irrotational part of said 3D current distribution, J, from said plurality of electric and/or magnetic measurements.
9. A method as claimed in claim 8 wherein said determining of said scalar value, , uses an expansion of in terms of expansion basis functions having respective unknown coefficients defined by a vector , where b=E.Math., where b comprises a vector representation of said measurements of electric potential, b(r.sub.i) at positions r.sub.i, and where elements E(i,j) of matrix E are defined by a combination of a jth respective basis function and said geometry-conductivity function for said outermost region of said head, w.sub.s(r,) at position r.sub.i, wherein E represents the geometry and conductivity of the head independent of said current distribution, the method comprising determining an estimate of said unknown coefficients, , for a solution of b=E.Math., to determine said representation of .
10. A method as claimed in claim 8 wherein said EEG/MEG signal is an EEG signal, wherein said plurality of electric and/or magnetic measurements comprises a plurality of measurements of electric potential on the scalp (b), and wherein said image data includes a representation of .
11. A method as claimed in claim 1 wherein said EEG/MEG signal comprises an MEG signal, the method comprising determining a radial component of a solenoidal part of said 3D current distribution, and wherein said image data comprises a representation of said radial component of a solenoidal part of said 3D current distribution.
12. A method as claimed in claim 11 wherein said determining of said radial component of said solenoidal part of said 3D current distribution, .Math.A() uses an expansion of .Math.A() in terms of expansion basis functions having respective unknown coefficients defined by a vector , where M=c, where c comprises a vector representation of said measurements of magnetic field, B(r.sub.i) at sensor positions r.sub.i, and where elements M(i,j) of matrix M are defined by a combination of a jth respective basis function and said position r.sub.i, wherein M represents the geometry of the head independent of said current distribution.
13. A method as claimed in claim 12 wherein c further comprises a term comprising representing an irrotational part of said 3D current distribution in combination with a vectorial geometry-conductivity function for said head, H(r,) dependent on said geometry-conductivity functions for said regions of said head (w(r,)).
14. A method as claimed in claim 1 wherein said modelling comprises modelling the head as three or more regions, an innermost region of the head defining a cerebellum region, the next regions defining, in order, two or more of: a cerebrospinal fluid shell region, a skull bone shell region, and a scalp shell region.
15. Apparatus for processing an EEG and/or MEG signal to generate image data representing a 3D current distribution, J, within the brain, the apparatus comprising: an input to receive a plurality of captured electric and/or magnetic measurements from the exterior of the head; and a processor coupled to said input, to an output, to working memory and to program memory storing processor control code, wherein the stored code comprises code to: solve an integral equation for a part of said current distribution to generate said image data representing said 3D current distribution, wherein said integral equation comprises an integral of a first function representing said part of said current distribution and of a second function (.sub.v.sub.s(r,)) representing the geometry and conductivity of the head independent of said current distribution; wherein said solving comprises: modelling the head as at least two regions separated by at least one internal boundary, and solving a set of partial differential equations, one for each said internal region, each partial differential equation comprising a geometry-conductivity function (w(r,)) representing the geometry and conductivity of the respective region, wherein said solving is subject to a boundary condition that either i) the gradients of the functions across the or each said internal boundary are smooth when conductivity is taken into account, or ii) a normal component of the electric field of said part of said current distribution is continuous across the or each said internal boundary, and wherein said geometry-conductivity function for an outermost said region of said head defines said second function (.sub.v.sub.s(r,)); and output said image data, wherein said image data comprises data representing a part of said 3D current distribution.
16. Apparatus for processing an EEG signal to generate image data representing a 3D current distribution, J, within the brain, the apparatus comprising: an input to receive a plurality of measurements of electric potential on the scalp (b); and a processor coupled to said input, to an output, to working memory and to program memory storing processor control code, wherein the stored code comprises code to: use a representation of a part of said current distribution as an expansion having a series of unknown coefficients, , of expansion basis functions, where b is dependent on a product of a matrix E and , and where E represents the geometry and conductivity of the head independent of said current distribution, wherein said geometry includes at least one internal boundary within the head, to solve an equation combining b and E.Math. to determine an estimate of , wherein defines said 3D current distribution; wherein E.Math. represents
.sub..sub.
17. Apparatus as claimed in claim 16 wherein said functions w(r,) for each internal region of the head are determined by solving a set of partial differential equations for a set of functions w.sub.j(r,), one for each said region where j labels a region, wherein the partial differential equation for each said region except the innermost comprises Laplace's equation for the respective function w.sub.j(r,), and wherein the partial differential equation for the innermost said region comprises Poisson's equation for the innermost region function w.sub.innermost(r,); and wherein said solving is subject to a boundary condition that across each said internal boundary a normal component of electric field is continuous.
18. Apparatus as claimed in claim 16 wherein said equation combining b and E.Math. is b=E.Math. and wherein said expansion basis functions comprise radial basis functions.
19. A medical imaging device comprising the apparatus of claim 16 and a display to display said image data representing said 3D current distribution within the brain.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) These and other aspects of the invention will now be further described, by way of example only, with reference to the accompanying figures in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
1. Framework
(11) In the following description we denote a domain and its conductivity by R.sup.3 and respectively. Let the bounded domain .sub.c represent the cerebrum, which has conductivity .sub.c. A shell .sub. with conductivity .sub., representing the cerebrospinal fluid (CSF), surrounds the domain .sub.c. The CSF is surrounded by the skull characterized by the domain .sub.b with conductivity .sub.b. Finally, the skull is surrounded by the scalp, which is modelled as a shell .sub.s with conductivity .sub.s. The domain exterior to the head is denoted by .sub.e which is not conductive. The permeability of all domains is equal to the permeability .sub.0 of empty space. Let J.sup.P(), .sub.c, denote the current which is supported within the cerebrum .sub.c. For the above situation of arbitrary geometry and arbitrary current, it is shown in A S Fokas (J. R. Soc. Interface, 6:479-488, 2009, ibid) that the irrotational part of the current, which is denoted by the scalar function (), contributes to both the electric potential on the scalp and to the magnetic field in .sub.e, On the other hand, the solenoidal part of the current, which is denoted by the vectorial function A(), does not affect the electric potential and furthermore only the radial component of A() affects the magnetic field in .sub.e.
(12) Being more precise, an arbitrary vectorial function with support .sub.c, can be expressed as
J.sup.P()=()+A(), .sub.c,(1)
where A() satisfies the constraint .Math.A()=0. This constraint implies that J.sup.P() involves three arbitrary scalar functions, namely the scalar function () and the two independent scalar functions characterizing A().
(13) It is shown in A S Fokas (J. R. Soc. Interface, 6:479-488, 2009, ibid) that the electric potential on the scalp is given by the expression
(14)
where .sub.s denotes the surface of the scalp, i.e the smooth boundary of the domain .sub.s. Here, v.sub.s(r,) denotes a harmonic function which is independent of the current; it depends only on the geometry and on the conductivities. It is clear from equation (2) that the electric potential u.sub.s(r) depends only on the Laplacian of the irrotational part (()) of the current. It was also shown in A S Fokas (J. R. Soc. Interface, 6:479-488, 2009, ibid) that the measured magnetic field in .sub.e is given by the expression
(15)
where H(r,) depends only on the geometry and on the conductivities; it is independent of the current. It is clear from equation (3) that in MEG the radial component of the magnetic field is affected by () as well as by the radial component .Math.A() of the solenoidal part of the current.
(16) We can use Green's first identity to rewrite equations (2) and (3) in the form
(17)
(18) Equations (4) and (5) follow from equations (2) and (3) by employing the following identities
.sub..sub.[.sub.().Math.{circumflex over (n)}]H.sub.i(r,)dS()i{1,2,3},
H.sub.i(r,)[.sub.().Math.{circumflex over (n)}]dS()=0, i{1,2,3},
v.sub.s(r,)[.sub.().Math.{circumflex over (n)},]dS()=0,(6)
(19) where {H.sub.1, H.sub.2, H.sub.3} denote the Cartesian coordinates of H(r,).
(20) We here present a general framework for obtaining the maximum possible information for the current, or more precisely for the part of the current that affects EEG and MEG, namely
() and .sup.2[.Math.A()], .sub.c,(7)
from the knowledge of the quantities measured in EEG and in MEG, namely the functions
u.sub.s(r)r.sub.s, and r.Math.B(r) r.sub.e,(8)
respectively. This framework is based on (a) equations (4) and (5), and (b) on the existence of fast and accurate codes for the numerical computation of the auxiliary functions v.sub.s(r,) and H(r,). Furthermore, we implement this general approach to a realistic three shell geometry.
2. Construction of vs(r,), and H(r,)
(21) In order to analyse the basic equations (4) and (5) we first construct the functions
v.sub.s(r,)r.sub.s, .sub.c, and H(r,)r.sub.e, .sub.c.(9)
(22) The function v.sub.s(r,) is a harmonic function which is obtained via the solution of the following system of equations:
(23)
(24) In the above equations, .sub.c, .sub.b, .sub. and .sub.s denote the smooth boundaries of the domains .sub.c, .sub.b, .sub. and .sub.s, respectively.
(25) As stated earlier, equations (10)-(13) are independent of the current J.sup.P() and depend only on the geometry and on the conductivities .sub.c, .sub.b, .sub. and .sub.s. However, it turns out that it is convenient to construct the functions v(r,) via first constructing certain functions u.sub.j(r,) which are defined in terms of a monopole source. Here the functions u.sub.j (r,) represent the geometry-conductivity functions denoted w(r,) in the summary of the invention section and the claims (here j{c, , b, s} denoting the cerebrum, cerebrospinal fluid, bone and scalp respectively). The function u.sub.s (r,) should not be confused with the EEG measurements as a function of position, u.sub.s (r.sub.i).
(26) The boundary condition of equation (10) makes the set of partial differential equations extremely difficult to solve. However in the functions below this boundary condition has been simplified by changing, and although this means that the partial differential equation for the cerebrum no longer has a Laplacian form, overall the problem becomes tractable: Let the functions
u.sub.j(r,), r.sub.j, .sub.c, j{c,,b,s},(14)
satisfy the following equations:
(27)
(28) Then u.sub.j and v.sub.j are related by the equation
(29)
(30) Equation (19) above is consistent with the fact that the potential of a dipole is the directional derivative of the potential of a monopole.
(31) 2.1 Spherical Geometry
(32) The advantage of constructing the function v.sub.s(r,) via u.sub.s(r,) becomes clear by considering the particular case of spherical geometry. In this case, a closed form expression for v.sub.s(r,) can be derived, which involves the inversion of a 77 matrix. It was observed in Fokas et al., Inverse Problems, 28, 2012 (ibid) that this matrix is ill conditioned and requires regularization. On the hand, for the case of N spherical layers, with N arbitrary, a closed form expression for u.sub.s(r,) can be obtained. This approach is straightforward and does not require matrix inversion. Indeed, let r.sub.1<r.sub.2< . . . <r.sub.N-1<r.sub.N, and let .sub.1, . . . ,.sub.N denote the radii and the corresponding conductivities of the domains .sub.1, . . . , .sub.N. We consider a single dipole source characterized by (Q,). The position vector of the observation point is denoted by r. Let us introduce the following notations:
(33)
(34) The observed potential at r is given by the following expression:
(35)
where the 22 matrix M is given by
(36)
(37) Noting that v.sub.s(r,) can be expressed in the form below (A S Fokas, J. R. Soc. Interface, 6:479-488, 2009, ibid)
(38)
where the unknown coefficients H.sub.n can be computed by inverting the 77 matrix mentioned earlier. By using equations (19) and (23) we bypass this inversion and can directly obtain v.sub.s(r,) in closed form:
(39)
2.2 Arbitrary Geometry
(40) In the case of arbitrary geometry, there exists (open source) code suitable for the numerical solution of equations (15)-(18), for example Zeynep Akalm-Acar and Scott Makeig, Neuroelectromagnetic forward head modeling toolbox, J Neurosci Methods, 190(2):258-270, 2010. The numerical construction of v.sub.s(r,) involves the following steps: 1. Fix a source point :=[.sub.1, .sub.2, .sub.3].sub.c and an observation point r.sub.s. Consider three dipoles positioned at the source .sub.c, with the following orthogonal moments:
2. Q.sub.1=[1,0,0], Q.sub.2=[0,1,0], Q.sub.3=[0,0,1].(25) 3. For each of the above three dipoles, solve the boundary value problem described by equations (15)-(18). We denote the solution for the potential due to the dipole oriented in the direction Q.sub.i by u.sub.s(r,;Q.sub.i). We define the vector
4. u.sub.s(r,):[u.sub.s(r,;Q.sub.1)u.sub.s(r,;Q.sub.2)u.sub.s(r,;Q.sub.3)](26) 5. We obtain the gradient of v.sub.s(r,) from equation
.sub.v.sub.s(r,)=4u.sub.s(r,).(27) 6. Then, by using the gradient theorem, we can compute v.sub.s(r,) from the equation
v.sub.s(r,)v.sub.s(r,0)=.sub.[0,].sub.v.sub.s(r,l).Math.dl.(28) 7. We can approximate the solution of the above equation by the expression
(41)
2.3 Construction of H(r,)
(42) The vectorial function H(r,) is uniquely defined in terms of the scalar functions v.sub.j(r,):
(43)
2.3.1 Construction of .sub.H(r,) in Spherical Geometry
(44) In the particular case of the multi-layer spherical geometry, an analytical expression for the magnetic field due to a dipole characterized by (Q,) is as follows:
(45)
(46) where F(r,) and .sub.rF(r,) are given by
(47)
(48) For arbitrary geometry, an expression for the magnetic field due to a dipole characterized by (Q(),) was derived in A S Fokas J. R. Soc. Interface, 6:479-488, 2009, ibid:
(49)
(50) where H(r,) is the vectorial function defined in equation (30). The gradient .sub.H(r,) is the following 33 matrix:
(51)
(52) Using equations (31) and (33), it is straightforward to show that
(53)
2.3.2 Numerical Construction of H(r,)
(54) There exists several numerical solvers for computing the magnetic field problem due to a dipole or a collection of dipoles, for example Zeynep Akalm-Scott et al., ibid. In what follows, we outline a strategy to compute H(,r) using an existing solver. We denote by B(r,;Q) the solution of the magnetic field due to a dipole characterized by (,Q). 1. Fix a source point :=[.sub.1, .sub.2, .sub.3].sub.c and an observation point r.sub.e. Consider three dipoles positioned at the source .sub.c with the following orthogonal moments:
2. Q.sub.1=[1,0,0], Q.sub.2=[0,1,0], Q.sub.3=[0,0,1].(36) 3. For each of the above three dipoles, solve the magnetic field problem. We denote by B(r,;Q.sub.i) the solution of the magnetic field associated with the dipole oriented in the direction Q.sub.i. 4. We can now compute the elements of the matrix .sub.H(,r) using the expression (16). 5. Repeat the above steps for .sub.c, and for all sensors positions r.sub.i .sub.e, where i denotes the ith sensor. The existing numerical solvers (ibid) compute the magnetic field at all sensors positions in a single run. 6. The gradient theorem,
H.sub.j(,r)H.sub.j(0,r)=.sub.[0,].sub.H.sub.j(l,r).Math.dl j{1,2,3},(37) 7. can be employed to compute the components of the vectorial function H(r,).
2.4 Radial Basis Functions
(55) Consider the Beppo-Levi space of distributions with square integrable second derivatives. This space is equipped with a rotation invariant semi norm: If sBL.sup.(2)(R.sup.3) then this norm is defined by
(56)
(57) Consider the following interpolation problem: Given a set of distinct nodes X={x.sub.i}.sub.i=1.sup.N, and function values {.sub.i}.sub.i=1.sup.N, we construct an interpolation function s(x) such that
s(x.sub.i)=.sub.i, i=1, . . . ,N.(39)
(58) By employing radial basis functions (RBF), an interpolation function can be expressed in the form
(59)
(60) where p(x) is the polynomial
p(x)=c.sub.1+c.sub.2x+c.sub.3y+c.sub.4z.(41)
(61) In this setting, {.sub.i:1iN} and {c.sub.1, . . . , c.sub.4}, are coefficients to be determined, whereas (r): R.fwdarw.[0,). Particular choices for the functions (r) include (r)=r, (r)=e.sup.ar.sup.
(62)
(63) In certain problems, the following constraint is also imposed
(64)
(65) For EEG, =(), and for MEG, =A.sup. (). The unknown coefficients .sub.1, . . . .sub.N, c.sub.1, . . . , c.sub.4, are linearly related to the function (x), thus the interpolation problem reduces to the following least squares problem:
(66)
(67) where the matrix AR.sup.NN, is defined by
A.sub.i,j=(x.sub.ix.sub.j)(45)
(68) and every row of the matrix PR.sup.N4 is defined as
P(i,.)=[1 x.sub.i y.sub.i z.sub.i] 1iN.(46)
3. The Inverse Problem for EEG
(69) We analyse equation (4). A radial basis function approximation of () can be written in the form
(70)
(71) where (.sub.j|)=(.sub.j.sup.2+c.sup.2).sup.1/2. Here, {.sub.j:1iN} are the coefficients to be estimated, and c>0 is a constant.
(72) By substituting equation (47) into equation (4) we can formulate the following least squares problem:
b=E,(48)
where
E(i,j)=.sub..sub.
b(i)=u.sub.s(r.sub.i)(49)
(73) and i denotes the ith sensor index. We can compute the volume integral of equation (49) numerically. The parametrization of the problem acts as an implicit regularization. We assume that the measurements are corrupted by additive noise. In this setting, the maximum likelihood estimate (MLE) yields
{circumflex over ()}=(E.sup.TC.sub.w.sup.1E).sup.1E.sup.TC.sub.w.sup.1b,(50)
(74) where C.sub.w is the covariance matrix of the measurement noise or the sample covariance matrix. The volume integrals of equation (49) are computationally expensive. However, this computation can be parallelized. More precisely, for every matrix entry (i, j), the process of solving the volume integral is independent from every other matrix entry. Furthermore, for a given geometry, the matrix E in equation (49) needs to be computed only once.
(75) Optionally, since head geometries are similar, an approximate result may be obtained using a common head geometry for a group of patients, for example all adult patients.
4. Inverse Problem for MEG
(76) In embodiments in order to solve the MEG inverse problem we first solve the EEG inverse problem. We assume that the magnetic sensors are oriented radially (though the skilled person will appreciate that this is merely a conveniencefor example a radial component of the field may be derived from a sensor at any orientation). We can rewrite equation (5) in the form
(77)
(78) We assume that an estimate of the function {circumflex over ()}() has been computed from EEG data, thus all quantities on the right hand side of equation (51) are known. We denote the radial component of the vectorial function A() by A.sup. ():={circumflex over ()}.Math.A(). A radial basis function expansion of the unknown function A.sup. () takes the form
(79)
(80) In order to formulate a least squares problem, we introduce the following notations:
(81)
(82) where i denotes the ith sensor index. Then equation (51) yields
M=c.(54)
(83) As in the case of EEG, the employed parametrization acts as an implicit regularization. The MLE estimates yields
{circumflex over ()}=(M.sup.TC.sub.w.sup.1M).sup.1M.sup.TC.sub.w.sup.1c,(55)
(84) where C.sub.w is the covariance matrix of the noise associated with the magnetic field measurement system. The volume integrals of equation (53) are computationally expensive. However, these computations can be parallelized. More precisely, for an arbitrary matrix entry (i, j), the process of solving the volume integral is independent from every other matrix entry. Moreover, for a given geometry, the matrix M defined in equation (53) needs to be computed only once.
(85) Note that in the above care should be taken to distinguish between c.sup.+ (a radial basis function parameter) and c
.sup.N (processed MEG data, where N denotes the number of magnetometers).
(86) Computer Implementation
(87) Referring now to
(88) At step S100 the procedure inputs the EEG data, represented as a vector b (using the notation of Section 3 above), and at step S102 calculates an estimate of the vector by solving b=E by any of many numerical methods which will be well known to those skilled in the art. Once an estimate of has been found this can be used to determine an estimate for , from the radial basis functions, which in turn represents the current distribution J. In principle output data from the procedure may be provided in the form of data representing either , or J, and/or the current distribution data may be converted into a 3D representation of the EEG data, for example mapped onto a 3D representation of the head and/or brain (cerebrum)step S114. The skilled person will appreciate that there are many techniques which may be employed to provide a 3D representation of the EEG data, including representing the data as one or more 2D slices.
(89) The procedure of
(90)
(91) The procedure then outputs (S112) data representing the vectorial function A, in particular the radial component of this function. This may be determined from a combination of vector and the radial basis functions (although in principle the output data may comprise rather than data directly representing A). Then, again, the procedure may generate a 3D representation of the solenoidal part of the current distribution determined from the measured magnetic field B.
(92)
(93) At step S122 the procedure solves a set of partial differential equations, as outlined in Section 2 above, to determine the set of current-independent harmonic functions u.sub.j for each of the cerebrum, CSF, bone and scalp. From these the related functions v.sub.j may then be determined (although this step is not essential). The procedure then computes the elements of matrix E (S124), as described in Section 3 above and/or may compute the elements of the vectorial function H as described in Section 4 above. One or both of matrix E and vector function H may then be stored for later use.
(94)
(95) Although an example embodiment has been described which employs a general purpose computing system, the skilled person will appreciate from the foregoing discussion that the final imaging step reduces to a matrix by vector multiplication (the matrix inverse may be pre-computed). Thus it will be appreciated that once the procedure of
5. A Numerical Estimate of vs(r,), and H(r,)
(96) The preceding approach was validated by performing a forward calculation and checking that the solution to the inverse problem agreed with the initial data. In this section we compare the analytic expression for v.sub.s(r,) obtained from equation (24) with a numerical estimate obtained via the approach outlined in section 2.2. We take the following values for the radii, and the conductivities:
(97) TABLE-US-00001 r.sub.c = 0.071m r.sub.f = 0.074m r.sub.b = 0.079m r.sub.s = 0.085m .sub.c = 0.33 .sub.f = 1 .sub.b = 0.0125 .sub.s = 0.33
(98) For the source, we let =[0.0226, 0.0068, 0.0258]m,Q=[1,1,1]/{square root over (3)}. We use a numerical implementation based on a boundary element method as outlined in Z. Akalin-Akar ibid. We compute u.sub.s(r,) at 1026 discrete points on the outer surface r=0.085 m. The results for a 256 point subset of arbitrary discrete points on the outer surface are presented in
(99) The inverse MEG formulation relies on the complete solution of the boundary value problem described by equations (10)-(13). We consider the multi-layer spherical geometry described below:
(100) TABLE-US-00002 r.sub.c = 0.071m r.sub.f = 0.074m r.sub.b = 0.079m r.sub.s = 0.085m .sub.c = 0.33 .sub.f = 1 .sub.b = 0.0125 .sub.s = 0.33
(101) We present a solution for a finite set of observation points, and an arbitrary source point. We introduce the following notation:
.sub.i.sup.:=.sub.i{circumflex over (n)}.sub.i ic,,b
(102) where {circumflex over (n)} is a unit vector normal to the surface .sub.i. In our numerical tests we set =10.sup.3. This corresponds to a small movement towards inside () and outside (+) of the domain .sub.i. We solve v.sub.c(r,) on the surface .sub.c.sup., and v.sub.(r,) on the surface .sub.c.sup.+. For the surface .sub., we solve v.sub.(r,) on the surface .sub..sup., and v.sub.b(r,) on the surface .sub..sup.+. For the surface .sub.b, we solve v.sub.b(r,) on the surface .sub.b.sup., and v.sub.s(r,) on the surface .sub.b.sup.+. For the surface .sub.s, we present the analytical and numerical solution of the function v.sub.s(r,) in
(103)
(104)
(105)
(106)
(107)
The solid line with circles is the analytical solution and the solid line with dots is the numerical solution. Each of the nine functions is identified by a numerical header. They are as follows:
(108)
The results of
6. Numerical Result: Three Layer Head Model
(109) In the case of the three layer realistic head model, we have 86 electrodes. We consider a radial basis function expansion with 75 coefficients. The head geometry is shown in
(110) 6.1 Numerical Estimate of the Current Via EEG
(111) We consider the synthetic function () defined by
(112)
(113) We set L=50 and use the following values:
(114)
(115) We consider a radial basis function (RBF) expansion of the function (). All information about the function () is encoded into the parametrization {(.sub.j, .sub.j):1jN,(r)=(r.sup.2+c.sup.2).sup.1/2}. The parameters of interest are the components of the vector . In order to avoid the inverse crime, we choose a different discretization of equation (4) to generate the synthetic data than the one used to perform the reconstruction. The RBF expansion of the function (56) is shown in
(116) Thus
(117)
(118) 6.2 Numerical Estimate of the Current Via MEG
(119) We consider the synthetic function used in Fokas, Inverse Problems, ibid, to represent A.sup.(), but with different numerical values. The function A.sup.() is given by
(120)
(121) We use the following values:
(122)
(123) As in the case with EEG, we employ a RBF expansion for the function A.sup.(). All information about the function A() is encoded into the parametrization {(.sub.j, .sub.j): 1jN, (r)=(r.sup.2+c.sup.2).sup.1/2}. The parameters of interest are the components of the vector . In order to avoid the inverse crime we choose a different discretization of equation (5) to generate the synthetic data than the one used to perform the reconstruction. The RBF expansion of the function (57) is shown in
(124) Thus
(125)
7. Conclusion
(126) We have introduced an algorithmic approach for extracting the maximum possible information about the neuronal current J.sup.P(), .sub.c, from the measurement of the electric potential u.sub.s(r), r.sub.s, on the scalp, and from the measurement of the radial part of the magnetic field r.Math.B(r) r.sub.e in the exterior of the head, relying on a numerical approach for computing the auxiliary functions .sub.v.sub.s(r,) and .sub.H(r,). In section 2.1 we derived analytic expressions for v.sub.s(r,) and .sub.H(r,) for the particular case of the spherical geometry. This allowed us to verify the effectiveness of the above numerical codes; the agreement with the analytical expressions is excellent. In section 6 we implemented our general approach to a realistic three shell geometry. The above algorithm yields accurate reconstructions both for the component () of the current from the data set {u.sub.s (r.sub.i):1iN.sub.e}, as well as for the radial component of the vectorial function A() (denoted by A.sup. ()) from the data set {r.sub.k.Math.B (r.sub.k):1iN.sub.s, r.sub.k .sub.e} and the estimated function (). Indeed, starting with the particular function () given by equation (56), we generate a set of synthetic data for the electric potential on the scalp; using this set we show that we can reconstruct the function () even in the presence of noise. Similarly, starting with the functions () and A.sup.() given by equations (56) and (57) respectively, we generate a set of synthetic data for the radial part of the magnetic field outside the head; then, using this set as well as the reconstructed function (), we show that we can reconstruct the radial part of A() even in the presence of noise. The assumed noise model in both the EEG and MEG is additive white Gaussian with a signal to noise ratio of 20 dB.
(127) It can thus be seen that embodiments of the above described algorithm are well-suited to address the distributed source problem, in particular in real time, and can handle reasonable noise levels in the measurements.
(128) EEG can yield as much information about the neuronal current as MEG, but at a fraction of the cost since EEG devices are inexpensive and widely available. A further advantage of EEG (and MEG) by comparison with other techniques such as fMRI, PET and the like is the fast time resolutionEEG and MEG can make 10s or 100s of measurements per millisecond. Furthermore, it is straightforward to reconstruct images of the current distributions from EEG data and MRI data (for the head geometry).
(129) Thus a further aspect of the invention contemplates an upgrade for a patient imaging machine, such as a magnetic resonance imaging machine, provided by combining the machine with EEG (and/or MEG) signal measurement apparatus and EEG (and/or MEG) signal processing software or hardware as described above. Such an upgrade may be of substantial benefit in diagnosis and treatment of many neurological diseases including, for example, epilepsy. In another application such an approach may be employed to differentiate mild cognitive impairment (a transitional stage between normal aging and Alzheimer's disease) from Alzheimer's disease proper.
(130) EEG technology is also finding its way into the consumer marketfor example low cost EEG headsets are becoming available for games. Thus a further application of the embodiments of the invention uses processing as described above to provide data for performing an action and/or controlling a consumer electronic device, for example for controlling a computer game or the like. More generally, embodiments of the techniques we describe may be employed to detect a user's thoughts and/or feelings and/or expressions in real time.
(131) The skilled person will appreciate that numerous variations of the above described techniques are possible. For example, although we have described the use of radial basis functions for expanding the neuronal current other basis functions may also be used. Either or both of the inverse EEG and inverse MEG algorithms may be partially, or substantially wholly, parallelised.
(132) Optionally Bayesian filtering and/or dynamic parameter estimation or other time series analysis may be applied to either or both of the raw data and processed data. The skilled person will appreciate that the EEG and/or MEG signals used may be pre-processed in many different ways, for example by filtering to attenuate noise, using any of a range of techniques. Similarly there are many different ways in which a graphical user interface may be provided to operators of the system, for example to facilitate a user in conducting a real-time experiment. Against the skilled person will appreciate that there are many ways in which data from the procedures we have described may be post-processed.
(133) No doubt many other effective alternatives will occur to the skilled person. It will be understood that the invention is not limited to the described embodiments and encompasses modifications apparent to those skilled in the art lying within the spirit and scope of the claims appended hereto.