Process and apparatus for measuring the biocurrent distribution

Abstract: A process and an apparatus for measuring the biocurrent distribution are disclosed. Multiple current more than the number of isolated currents possibly existing in a living body are assumed and the virtual magnetic field created by the assumed currents at actual measuring points (12-1, ..., 12-M) is calculated. The estimated location and current vectors of said assumed currents are consecutively changed to decrease the difference between said virtual and actual magnetic fields so that the estimated location and current vectors of the assumed currents having the number corresponding to the true isolated currents substantially approximate to the true values and the estimates of the other assumed currents approximate to zero. This enables the biocurrent distribution to be exactly determined even when the number of isolated currents (q n ) is not preliminarily known.

Description: BACKGROUND OF THE INVENTION The present invention relates to a process and an apparatus for measuring the biocurrent distribution and in particular to a process and an apparatus for indirectly measuring the biocurrent distribution by measuring the biomagnetic field and estimating the distribution of the biocurrents which are sources of the magnetic field based upon the measured data. Estimation of the biocurrent distribution from the measured values of the biomagnetic field is usually performed as follows: Description will be made by way of a neuromagnetic measurement which is a typical biomagnetic field measurement. The coordinate system is defined as shown in Fig. 1. It is assumed that a current represented as a vector q n exist in position r n in the drawing. Such an isolated current vector can be assumed as far as the interface of the brain can be considered as spherical surface in the field of neuromagnetic field measurement and this current vector will be referred to as current dipole. A reference r m in Fig. 1 denotes the coordinate of measuring point. If it is assumed that N current dipoles exist in the brain, the magnetic flux density vector B m at point r m can be expressed from Biot-Savart's law as follows: The magnetic field component which can be measured by a magnetometer is the component of B m normal to the surface of the brain. The actual value measured at r m is denoted as D m . If estimated location and current vectors of each dipole is expressed by superscripting a reference mark ^, the virtual measured value D and m which is calculated from the estimates is expressed as follows: A cost function is herein defined as follows: Equation (3) shows the degree of matching between an estimated data and an actually measured data. Optimum estimated values have heretofore been determined as r and₁, ..., r and N , q and₁, ..., q and N which minimize the cost function defined by the equation (3). It is found from the foregoing that the number N of the biomagnetic field sources, that is, the current dipoles should be known in order to carry out conventional measuring method. In other words, the conventional method can be carried out only if the number of the current dipoles is known. If N which is different from the number of actual current dipoles is preset and a solution of r and₁, ..., r and N , q and₁, ..., q and N which minimizes the cost function is determined, the solution would then show a distribution different from the actual biocurrent distribution. SUMMARY OF THE INVENTION It is an object of the present invention to provide a process and an apparatus for measuring the biocurrent distribution which is capable of obtaining a solution exactly showing the biocurrent distribution even if the number of the magnetic field sources, that is, the exact number of the current dipoles in a living body to be measured is not known. This object is solved by the process of claim 1 and the apparatus of claim 9. In order to accomplish the above-mentioned object, in accordance with the present invention, multiple currents larger than the numbers of the isolated currents which are expected to exist in a living body are assumed, a virtual magnetic field created by the assumed current at the actually measured point is calculated. Estimated location and current vectors of the assumed current are changed to reduce the difference between the virtual magnetic field and the actual magnetic field for determining the optimum estimates. In this case, the absolute values of the excess assumed current vectors are approximated to zero. If the multiple isolated currents, for example, the current dipoles larger than the number of currents actually existing are assumed and the estimates are changed so that the matching between the distribution of the magnetic field calculated from the assumed current dipoles and the distribution of the actually measured magnetic field is enhanced, an excessive freedom degree would be introduced. Accordingly, there is the high possibility that a solution different from the actual current distribution is obtained. In other words, it is to suppose that the magnetic field formed at the measuring point may be substantially equal to the magnetic field formed by the current dipole assumed as true current dipole (refer to equation (1)), if the current vector of the current dipole which is assumed to locate in a position closer to the measuring point than the position of the true current dipole is smaller than the true current dipole. Hence, in accordance with the present invention, a fact is considered that the assumed current dipoles are more than the true current dipoles in magnitude by the number of the assumed current dipoles over the number of true current vectors of the assumed current dipoles if the assumed current dipoles are compared with the true current dipoles in only magnitude or the energy (for example, magnetic field) which they give. That is, when optimum values of the estimated locations and current vectors of the currents are determined so that the difference between the magnetic field calculated from the assumed currents and the actual magnetic field becomes smaller, the excessive freedom degree of the optimum values is restricted by decreasing the magnitude of current dipoles or the energy that they give so that the optimum values of the current vectors of the assumed currents which is an excess over the number of the true currents approximate to zero. An excessive freedom degree is restricted by using the total sum or the total sum of α-th power of the absolute values of the current vectors of the assumed current dipoles, or the total sum of the magnitudes of the magnetic fields, each formed solely by each assumed current dipole or the total sum of α-th power of the magnitudes thereof. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic view illustrating an embodiment of neuromagnetic field measuring of the present invention and the coordinate system used for estimation of magnetic field sources; and Figs. 2A and 2B are flow charts showing a process of simulated annealing of the present embodiment. DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described with reference to a neuromagnetic field measurement. The neuromagnetic field measurement is conducted by measuring the component of the magnetic field in a direction normal to the brain surface at measuring points around a head while moving a magnetic flux meter 10 from points 12-l to 12-M as shown in Fig. 1. Presumption of space coordinates and current vectors of current dipoles in the brain which are sources of generating magnetic fields can be conducted based upon the measured values at measuring points around the head is accordance with present invention as follows: The number of the measuring points on the surface of the head is assumed as M and the measuring points are numbered from l to M. The position of the m-th measuring point is represented by a vector r m . The measured value of the magnetic field at that point is represented as D m . It is assumed that N current dipoles are contained in the brain. The present invention is applicable to a case in which an exact number of the dipoles are not know. The N is for a time preset larger than the number of the dipoles which are expected to exist in the brain. The estimated location and current vectors of the thus assumed current dipole are represented by r and n and q and n , respectively wherein n=1, 2, ..., N. The magnetic field D and m (m=1, 2, ..., M) which is created at the measuring points by the thus assumed current dipoles is determined by an calculation. That is, D and m can be referred to as the measured value of a virtual magnetic field determined from the assumed current dipoles. If the surface of the head is approximated by a spherical face and the center of the sphere is assumed as an origin of the coordinates, D and m is calculated by an equation as follows: By an optimization operation which will be described in detail, the estimated location and current vectors of the assumed current dipoles are changed so that a minimum value which the cost function assumes is determined. Following equation is used as the cost function in the present embodiment. The first term of the right formula of equation (4) denotes matching between the distribution of the actually measured magnetic field and the distribution of the magnetic field created by the assumed current dipoles. If the respective distributions are represented by row vectors G and G and, the first term can be represented as | G - G and|² wherein On the other hand, the second term in equation (4) is assumed as the sum total of the magnetic fields, each created by an individual assumed current dipole. The detailed form of Es ( q ₁, q ₂ ..., q N ) is as follows: wherein and g m n is calcutated as follows: The component g m n in a direction normal to the surface of the brain (the component vertical to the face of a detecting coil) of the magnetic field created at the m-th measuring point by n-th current dipole is calculated by equation (7) for each m=1, 2, ..., M. The magnitude of the row vector g n having respective components, that is, the norm | g n | of the magnetic field created by the n-th current dipole is calculated. Specifically, the root of the sum of the square of the normal component of the magnetic field created by n-th current dipole at each measuring point is calculated. The magnetic field | g n | individually created by each assumed current dipole is determined in such a manner and the sum total with respect to n assumed current dipoles is determined to provide Es in equation (5). Es (q and₁, ..., q and N ) represented by equation (5) serves to suppress the excessive freedom degree introduced by assuming the dipoles more than the number of actually contained dipoles. Although it is hard to logically and exactly verify this in case of non-linear inverse problem like the estimation of the magnetic field source in the brain which is an object of the present invention, linear inverse problem can be mathematically verified. This verification is discussed in H. Haneishi et al. "An analysis of cost function used in simulated annealing for CT image reconstruction", Applied Optics in Press. "w" in equation (5) is a constant for weighting the first and second terms in the right expression of the equation (4). "w" is preset by preliminarily calculating ΔE as a trial so that the contribution is not biased to only one of the first and second terms in equation (4) when a change in the cost function ΔE is calculated for optimization operation which will be described hereafter. Although equation (5) may be directly used as term of Es in equation (4), it is more preferable to use a reformed equation as follows: wherein an index of power α is a positive real number. The role of α in equation (5') is as follows: True current distribution is estimated by assuming the current dipoles more than the number of the current dipoles which are expected to exist in the brain in the present invention. Accordingly, there is the possibility that a plurality of current dipoles are estimated in substantially same position. α in the equation (5') determines the nature of the solution obtained in such a case. A case in which two current dipoles u-th and v-th are estimated in substantially same position, that is, a case in which will now be exemplarily described. (1) In case of 0 < α < 1, either one of the current vectors q u and q v of the u-th and v-th current dipoles becomes very small. That is, In other words, one current vector of a plurality of current vectors having interposed space coordinates approximates to the current vector of a current dipole which inherently exists in that position and the magnitudes of the current vectors of the other current dipoles become substantially zero. (2) In case of α > 1, These values are about a half of the value of the current vector of the current dipole which inherently exists in position (3) In case of α = 1, a value q and u + q and v approximates to a current vector value of the current dipole which exists in position Which value a ratio |q and u | to |q and v | assumes cannot be predicted. Briefly, it is preferable that α be other than 1, and 0 < α < 1 is most preferable (for example, α = 1/2). An optimization operation which determines estimates r and n , q and n (n=1, ..., N) for making minimum the cost function E (r and₁, ..., r and N ; q and₁, ...,q and N ) defined by equation (4), more specifically equation (5) or (5') will be described in detail. The cost function E is non-linear with respect to the variable and has a localized minimum value. Accordingly, it is impossible to determine a true minimum value (a global minimum value) by known non-linear optimization approaches. The present embodiment adopts a recently proposed simulated annealing method which can determine a global minimum value even in such a case. This method will now be described with reference to Figs. 2 A and B. The above-mentioned N current dipoles are assumed and a proper value is preset as an initial value for respective coordinate r n (n=1, ..., N) and current vector q n (n=1, ..., N) is preset as a variable X n (n=1, 2 ..., N) and the current vector q n (n=1, 2, ..., N) of each current dipole is preset as a variable X n (n=N+1, N+2, ..., 2N). The values of the cost function E which has been described in detail are calculated by using the actually measured and recorded values D m (m=1, ..., M) of the magnetic field (step 101). Thereafter, the value of X n is changed by a very small amount (this is referred to as trial). Whether or not the trial is accepted is determined with reference to a change ΔE in the cost function E occurred by the trial. The value of each X n is gradually approximated to the true value. Firstly, a sufficiently large parameter T is preset. The parameter T determines the probability that the change is accepted even if ΔE > 0, and is referred to as temperature. ΔE is calculated by a trial calculation and T is preset so that exp (-ΔE/T) = 0.8 to 0.9 . The changes |Δr and| and |Δq and| in one trial are preset for variables r and₁, ..., r and N and q and₁, q and₂, ..., q and N , respectively. (step 102) It is adequate that the value of |Δr and| be about 1 mm to 10 mm and the value of |Δq and| be about 1/10 to 1/1000 of a predicted maximum value of |q and|. Then, respective initial values zero are preset for parameters N T , N₁, N₂ for repeated control of the trial (step 103). One variable X n which will be an object of the trial is then chosen (step 106) to determine a change in vector ΔX n (step 107). If the variable X n is a coordinate, following equations are used. If the variable X n is a current vector, the following equations are used. The change in vector is determined by generating uniform random numbers ϑ and ψ in the ranges of 0 ≦ ϑ < 2π and 0 ≦ ψ ≦ π, respectively. The variable X n is replaced with X n + ΔX n in step 108. In other words, a trial is executed. In step 109, the difference ΔE between previous and subsequent cost functions E which give a change ΔX n is calculated as follows: ΔE = E(x₁, ..., x n + Δx n , ..., x 2N ) -E(x₁, ..., x n , ..., x 2N ) If ΔE < 0, the change ΔX n is then accepted in step 111. That is, calculation program is returned to step 106 for trial of next variable X n+1 via steps 112 and 105 while X n + ΔX n is taken as X n . If ΔE > 0, whether the change ΔX n is accepted or refused is determined according to a probability P(ΔE) = exp (-ΔE/T) depending upon temperature as shown in steps 113, 114 and 116. If it is determined that the change is accepted, the calculation program returns to step 106 via steps 115 and 105 while taking X n + ΔX n as new X n . If the change is determined to be refused, X n and the cost function E are returned to original values in step 117 and the program is returned to step 106 via steps 118 and 105. Such a series of steps are executed for each variable, that is, for n = 1 through 2N. This operation is repeated total N T max times. It is adequate that, for example, a value of about 100 to 400 is adequate as N T max . N₁ in step 112 of a flow chart of Fig. 2A denotes a number of changes accepted in such a direction that the cost function is decreased, N₂ in step 115 denotes the number of changes accepted in such a direction that the cost function is increased. N₃ in step 105 denotes the number of the refused changes. When it is found in step 105 that N T max trials are completed, the program proceeds to step at which determination whether or not the temperature T determining the probability of acceptance of change is lowered is performed. That is, it is determined based on a value of |N₁ - N₂| whether or not the number N₁ of increases of the cost function of the accepted trials approximates to the number of decreases of the cost function. If this value is not less than ε (for example, about 0.02), the program is returned to step 103 without changing the temperature and trials will be repeated N T max times. If the value of |N₁ - N₂|/N is lower than ε, the program proceeds to step 120. By lowering the temperature T, the probability that the change to make ΔE > 0 is accepted is decreased and thereafter the program proceeds to step 103 and the trials are similarly repeated N T max times. An approach to make T k = ξT k-1 , as k-th temperature step is adopted in the present embodiment to lower the temperature T in step 120. A value of about 0.9 through 0.95 is used as ξ at this time. Another approach to lower the temperature by T k = T o /(l+k) or T k = T o /log (e+k) is also proposed in a literature A Vol. 122, p157, 1987 (H. Szu et al., "Fast Simulated Annealing", Physics Letters A, Vol. 122, p157, 1987. As N T max trials of changes of each variable and repeated in some cycles while gradually lowering the temperature T as mentioned above, each variable approximates to an optimum value and the accepted change is gradually decreased. When it is determined that N₁ + N₂ = 0 , in step 118, that is, there is no accepted change of the tried changes, a variable which minimizes the cost function, that is, optimum location and current vectors of a current dipole are obtained. Therefore, simulated annealing operation is ended. Although the present embodiment has been described with reference to a case in which simulated annealing is used for optimization operation, the present invention is not limited to this case. The other algorithms which can find out a true minimum value from a function containing a localized minimum value, such as Genetic Algorithm proposed by J. H. Holland can be used. If areas at which dipoles exist are a priory known in advance, the priory information can be incorporated into the optimization operation as follows: In this case, each estimate which minimizes E which is calculated by the following equation (11) in lieu of equation (4) is determined. E L is defined as follows: 1) If all r and₁, ..., r and N exist in preliminarily preset areas, E L ( r ₁, ..., r N ) = 0 2) If any of r and₁, ..., r and N moves out of the preliminarily preset areas, E L ( r ₁, ..., r N )= Λ which is a value which is sufficiently high for the current temperature T₁ that is, such a value that exp By defining E L in such a manner, the probability that a change by which each r and n moves out of the preliminarily preset area is accepted is approximately zero. An estimate which minimizes can be determined in preliminarily preset area. Although a case has been described in which the second amount expressed by equation (5) or (5'), that is, the magnetic field created by the assumed current dipole is used as the second term of equation (4) for restricting the freedom degree, equation (5'') of the total sum of absolute values of current vectors of the presumed current dipoles or equation (5''') of the α-th power of the total sum may be used in lieu of equation (5) or (5'). In equation (5'') and (5'''), the meaning of w and α are same as those of equations (5) and (5'). Since terms of position vectors are included in equations (5) and (5'), the freedom degree is more restricted than in equations (5'') and (5''').

Claims: A process for measuring a biocurrent distribution by measuring the biomagnetic field generated by the activity of a living body at a plurality of measuring points (12-1, ..., 12-M) and determining isolated currents (q n ) in said living body from the measured values of the magnetic field, comprising the steps of: measuring the actual magnetic field at said measuring points; assuming a plurality of currents, which are more than the number of isolated currents expected to exist in said living body and presetting estimated locations and current vectors of the assumed currents; calculating a virtual magnetic field at each measuring point from the estimated locations and current vectors; calculating a cost function including a sum of a first and a second term, said first term representing the difference between said virtual and said actual magnetic fields, and said second term being calculated from the estimated current vectors or the magnetic fields created by each of said estimated current vectors and suppressing the degree of freedom introduced by assuming more currents than the number of isolated currents expected to exist in said living body; and minimising said cost function by consecutively changing each of the estimated locations and current vectors of the assumed currents to approximate the locations and current vectors of said isolated currents in said living body. A process for measuring the biocurrent distribution as defined in claim 1 in which said second term is the total sum of the absolute values of said estimated current vectors. A process for measuring the biocurrent distribution as defined in Claim 1 in which said second term is the total sum of the α-th power, α being a positive real number, of the absolute values of said estimated current vectors. A process for measuring the biocurrent distribution as defined in Claim 1 in which said second term is the total sum of the absolute values of the magnetic fields, each created at each measuring point by each of said assumed current vectors. A process for measuring the biocurrent distribution as defined in Claim 1 in which said second term is the total sum of the absolute values of the magnetic field's components normal to the surface of said living body, each magnetic field being created by each of said assumed current vectors at each measuring point. A process for measuring the biocurrent distribution as defined in Claim 1 in which said second term is the total sum of α-th power, α being a positive real number, of absolute values of the magnetic field's components normal to the surface of said living body, each magnetic field being created by each of said assumed current vectors at each measuring point. A process for measuring the biocurrent distribution as defined in claim 3 or 6, in which α ≠ 1, preferably 0 < α < 1. A process according to any of claims 1 to 7, wherein said step of minimising the cost function includes a first substep of accepting a change of said estimated locations and current vectors when the cost function decreases, and a second substep of accepting a change of said estimated locations and current vectors with a probability of exp(-ΔE/T), where ΔE is a change of the cost function and T is a predetermined parameter determining the probability that said change is accepted even if the cost function increases. An apparatus for measuring a biocurrent distribution by measuring the magnetic field generated by the activity of a living body at a plurality of measuring points (12-1, ..., 12-M) and determining the distribution of isolated currents (q n ) in said living body from said measured values of the magnetic field, comprising: means for measuring the actual magnetic field at said measuring points; means for assuming a plurality of currents, which are more than the number of isolated currents expected to exist in said living body and presetting estimated locations and current vectors of the assumed currents; means for calculating a virtual magnetic field at each measuring point from the estimated locations and current vectors; means for calculating a cost function including a sum of a first and a-second term, said first term representing the difference between said virtual and said actual magnetic fields, and said second term being calculated from the estimated current vectors or the magnetic fields created by each of the estimated current vectors and serving to suppress the degree of freedom introduced by assuming more currents than the number of isolated currents expected to exist in said living body; and means for minimising the cost function by consecutively changing each of the estimated locations and current vectors of the assumed currents to approximate the locations and current vectors of the isolated currents in said living body.

Inventors: HANEISHI HIDEAKI, HONDA TOSHIO, OHYAMA NAGAAKI, SEKIHARA KENSUKE, HANEISHI, HIDEAKI, HONDA, TOSHIO, OHYAMA, NAGAAKI, SEKIHARA, KENSUKE
Applicants: HITACHI LTD, HITACHI, LTD.
Application year: 1991
Main classification: A61B5
IPC codes: A61B5, G06K9, G06F17