The invention relates to the measurement of biomagnetic signals. The invention has application to the magnetic imaging of biological structures. Some embodiments of the invention are used to compensate for head motion in magnetoencephalography.
Magnetoencephalography (“MEG”) involves detecting magnetic fields produced within a subject's brain. Information about such biomagnetic fields is most useful when it can be associated with particular structures within the subject's brain to a spatial resolution of a few millimeters or better.
A typical MEG system comprises a helmet which carries a large number of magnetic detectors. The subject's head is placed inside the helmet. Magnetic signals originating from within the subject's head are detected at each of the magnetic detectors over a data acquisition period. The data acquisition period may, for example, be a few minutes.
Since biomagnetic signals are typically measured over significant time spans it is unreasonable to expect that a subject will be able to hold his or her head completely still throughout the measurement. Motions of the subject's head during the data acquisition period can interfere with the ability to associate particular magnetic signals with specific structures within the subject's brain. It is not practical to completely immobilize the subject's head.
One can localize the subject's head relative to the measured magnetic fields if the position of the subject's head relative to the magnetic detectors used to detect the magnetic fields is known. One way to localize a subject's head is to attach small coils at three or more known locations on the subject's head. The coils create fluctuating magnetic fields when alternating electrical currents are passed through them. Magnetic detectors are used to detect the coils' magnetic fields. The location of the coils, and thus the location of the subject's head, can be determined from the detected magnetic fields of the coils.
There is a need for biomagnetic measurement systems which can compensate for motion of the part of a subject being studied.
One aspect of this invention provides a method for magnetic imaging of an object. The method includes monitoring a magnetic field of sources in the object at a plurality of magnetic detectors to obtain a corresponding plurality of sensor outputs. A position of the object is monitored while monitoring the magnetic field of the sources. The magnetic field of the sources in the object is modeled as a gradient of a scalar potential. The scalar potential includes a sum of spherical harmonic functions each multiplied by a corresponding coefficient. The method includes compensating for changes in the position of the object by applying a transformation to the plurality of sensor outputs. The transformation includes, at least in part, a spherical harmonic translation transformation.
Further aspects of the invention and features of specific embodiments of the invention are described below.
In drawings which illustrate non-limiting embodiments of the invention,
Throughout the following description, specific details are set forth in order to provide a more thorough understanding of the invention. However, the invention may be practiced without these particulars. In other instances, well known elements have not been shown or described in detail to avoid unnecessarily obscuring the invention. Accordingly, the specification and drawings are to be regarded in an illustrative, rather than a restrictive, sense.
Detectors 24 may be SQUID detectors. Detectors 24 may comprise magnetic gradiometers and/or magnetometers. Signals from detectors 24 are appropriately conditioned by way of suitable signal conditioning circuitry 26. The processed signals are provided to a signal processing system 28. Signal processing system 28 generates output at an output device 30. The output may comprise, for example, a graphical display, a data file containing MEG data, or the like.
MEG system 20 includes a head localization system 21 capable of monitoring the position and orientation of the subject's head during the acquisition of MEG data. In the illustrated embodiment, head localization system 21 comprises a system as described in the co-pending and commonly owned patent application entitled METHOD AND APPARATUS FOR LOCALIZING BIOMAGNETIC SIGNALS being filed simultaneously herewith, which is hereby incorporated herein by reference. Any other suitable localization system, now known or developed in future which provides information about the position, or changes in position of a subject's head or other body part could be used as localization system 21.
In the illustrated embodiment, system 21 includes coils 32, 33 and 34. Coils 32, 33 and 34 are attached to the subject's head and are respectively driven with signals of frequencies f1,f2 and f3 by a controller 36 which, in the illustrated embodiment includes oscillators 37, 38, and 39. Driving signals for coils 32, 33 and 34 may be obtained in any suitable manner.
System 21 monitors the locations of coils 32, 33 and 34. System 21 determines the position and orientation of the subject's head at various times based upon the locations of coils 32, 33 and 34. This may be done, for example, using methods described in the above-noted co-pending application.
During a data acquisition period, MEG system 20 monitors the outputs of magnetic detectors 24 and the position of the subject's head. This yields a sequence of samples of the outputs from each of magnetic detectors 24. System 20 generates a map of magnetic sources within the subject's head based upon the samples. System 20 compensates for motion of the subject's head based upon head position information provided by localization system 21.
If one chooses a volume which includes detectors 24 but excludes any magnetic sources, the magnetic field detected by detectors 24 can be expressed as the gradient of a magnetic scalar potential Ψ. Within the volume, in which there are no magnetic sources, Ψ satisfies Laplace's equation:
∇2Ψ=0 (1)
Ψ can be expressed as a sum of spherical harmonic functions, for example, as follows:
where l, m and n are integer indices; almm are coefficients; r0 is a normalizing radius; and Ylm are given by:
where {tilde over (P)}l m is the Schmidt semi-normalized associated Legendre function given by:
and Pl|m|is the standard associated Legendre function as defined, for example, in Abramowitz and Stegun, Handbook of Mathematical Functions, National Bureau of Standards, 1964. This formulation has the advantage that it does not require calculations involving complex number types and the normalization is the same for different terms. Spherical harmonic terms with n=0 are called internal terms, while terms with n=1 are called external terms. Sources inside the subject generate internal terms in the spherical harmonic expansion, while sources outside the volume containing the detectors generate external terms in the spherical harmonic expansion.
The spherical harmonic functions could be normalized in any suitable manner. The spherical harmonic functions may be expressed in other mathematically equivalent ways. For example, the spherical harmonic functions could be expressed in a format which uses complex variables as follows:
Ylm(θ, Φ)=Plm(θ, Φ)eimφ (5)
Where there are M magnetic detectors 24, the signals from any one of the magnetic detectors may be represented as Bi where i is an integer index corresponding to the magnetic detector with 1≦i≦M.
The method uses the values Bi to determine values for a number N of the coefficients almn which yield a magnetic scalar potential which would produce the observed magnetic fields. N is larger than M and is chosen to be sufficiently large that the finite series:
is a good approximation to the true scalar potential of the magnetic field being modelled. In equation (6)fm({right arrow over (r)}) are spherical harmonic functions. N is not so large that the problem of determining values for the N coefficients becomes impractical.
The N coefficients aμ are related to the M sensor outputs Bi by an M×N matrix as follows:
The matrix (the “forward solution”) is determined by the parameters of magnetic detectors 24 (e.g. their gain, coil position and size, and gradiometer order). The elements of may be computed in advance based upon the known geometry and properties of magnetic detectors 24. A minimum norm algorithm may be used to identify a set of coefficients aμ such that equation (7) is satisfied and a normalization function is minimized.
Various volume integrals of gradients of Ψ can be used as the normalization function for the scalar potential Ψ. The standard magnetic energy is one such volume integral. The magnetic energy can be expressed as:
An alternate normalizing function is given by:
E2 is a better choice for use as the normalization function where first-order gradiometers are used to detect the magnetic field. If magnetic detectors 24 include a sufficient number of higher-order gradiometers, then total second or higher-order derivatives could be used as the normalizing functions. A linear combination of E1, E2 and/or other total higher-order derivatives could also be used as the normalization function. In an example embodiment, magnetic detectors 24 comprise first order gradiometers and the normalization function E2 defined by equation (9) is used as the normalization function.
When Ψ is represented by a spherical harmonic expansion the Equation (8) may be expressed as a matrix equation involving the N×N energy matrix as follows:
where p and q each represent a particular set of values {l, m, n } and the summation in Equation (10) is performed over those N sets of values corresponding to the N spherical harmonic functions to be included in the model. Where the volume of integration is a spherical shell having inner radius r1, and outer radius r2, the elements of are given by two internal basis functions and two external basis functions. The two internal basis functions are given by:
The two external basis functions are given by:
where r0 is a normalizing radius. The internal functions (n=0) and external functions (n=1) are orthogonal and so Kml0,ml1=0. It is desirable to select a spherical integration volume because the energy matrix may be nearly singular, in at least some cases, if the integration volume does not extend over all angles (e.g. where integration is performed over a range of angle θ which is smaller than 0≦θ<π).
The formal solution for the set of coefficients {right arrow over (a)} that yields the observed values for {right arrow over (B)} and also minimizes the energy function E2 is:
{right arrow over (a)}=K−1LT(LK−1LT)−1{right arrow over (B)}={right arrow over (B)} (13)
where is the backward solution matrix. depends only upon the locations and properties of magnetic detectors 24. The matrix LK−1LT typically has a number of small eigenvalues. It is therefore generally necessary to regularize this matrix to obtain an approximation for . The matrix can be regularized by any suitable mathematical technique, such as single value decomposition. One approach to performing single value decomposition is described by Uutela, K. et al. Visualization of magnetoencephalographic data using minimum current estimates, Neurolmage v. 10, (1999) pp. 173–180. Tikhonov regularization is another type of procedure that may be performed to regularize LK31 1LT.
In some alternative embodiments of the invention, N is smaller than or equal to M (the number of sensors). In these embodiments the scalar potential is again approximated by the finite series of equation (6). The relationships between the coefficients and the measurements is given by:
These embodiments use a fitting process to identify a set of coefficients which provides an estimate of the scalar potential representing a best fit to the measured data. For example, the fitting process may identify a solution (i.e. a set of coefficients a) that minimizes a weighted sum of errors in the fit to data B as follows:
where W is a positive definite matrix. W may be chosen to be the M×M identity matrix. If so, the solution which minimizes F2 is:
{right arrow over (a)}=(LTWL)−1W{right arrow over (B)}={right arrow over (B)} (16)
where is the backward matrix for the case N≦M.
A spherical harmonic representation of the magnetic scalar potential can be used to compensate for motion of the subject's head. In general, any head motion can be broken down into a 3-dimensional rotation and a 3-dimensional translation. Knowing the rotational and translational properties of the spherical harmonic components of the potential, one can derive a mathematical relationship which transforms the actual outputs of magnetic detectors 24 to the outputs that would have been measured had the subject's head remained stationary.
Spherical harmonic functions have a simple behaviour under rotations. For a single value of the spherical harmonic degree l, the coefficients almn are transformed by a rotation according to:
where ãlmn are the transformed coefficients and Rmμ(l) are the elements of a rotation matrix. Rotation does not mix spherical harmonics with different values of l. (l) is a unitary order −(2l+1) matrix. Expressions for the rotation matrix are provided in D. A. Varshalovich et. al., Quantum Theory of Angular Momentum, World Scientific, Singapore (1988) ISBN 9971-50-107-4.
There is no simple matrix for performing spatial translations of the spherical harmonic functions. Spherical harmonic functions have no special symmetry under translations. It can be shown that the shifted and unshifted inner harmonic coefficients are related by the matrix equation:
where the elements of are given by:
The elements of can be determined numerically or by published methods. For example, M Danos et. al. Multiple Matrix Elements of the Translation Operator J. MathPhys. V.6, pp 766–778 (1965) describes spherical harmonic translation transformations. Certain elements of are zero. Each element of the matrix is a simple polynomial function of the components of the vector {right arrow over (u)}. The polynomial coefficients may be precalculated and stored to facilitate fast computation of ({right arrow over (u)}).
To derive a matrix that transforms the outputs from magnetic detectors 24 to the values that those outputs would have had if the subject's head had not been moved, one can combine a rotation matrix, , a spherical harmonic function shift matrix, , a regularized backwards matrix and the forward matrix as follows:
{right arrow over (B)}(0,0)m≈(0,0)mp[(a)]pq−1(−{right arrow over (u)})qs(0,0)sv{right arrow over (B)}(R, {right arrow over (u)})v (20)
where {right arrow over (B)}(0,0) is a vector of the corrected magnetic detector outputs; {right arrow over (B)}(R,{right arrow over (u)})v is a vector of the actual magnetic detector outputs for the subject's head at an actual position and orientation which differ from the reference position and orientation (0,0) by the rotation R and the translation {right arrow over (u)}. In general, equation (20) is an approximation because is regularized in the case where N>M or coefficients for the spherical harmonic functions are a best fit to measured data in the case where N<M.
One can vary the number of terms in the spherical harmonic expansion used as an estimate of the scalar magnetic potential. For MEG in which a goal is to model electric current dipole sources at a distance of approximately 9 cm from magnetic detectors 24, it is desirable to use internal spherical harmonics having values of l up to at least l=12, preferably l=14 and most preferably at least l=18 and at least external spherical harmonics having l=2, 3 and 4. Choosing internal spherical harmonic functions with l={1, 2, . . . ,18} and external spherical harmonic functions with l={2,3,4} results in N=381 spherical harmonic functions. Choosing internal spherical harmonic functions with l={1, 2, . . . ,14} and external spherical harmonic functions with l={2,3,4} results in N=309 spherical harmonic functions.
In general it is desirable that there be more spherical harmonic functions in the expansion of the scalar potential than there are magnetic detectors 24 used in determining the coefficients corresponding to the spherical harmonic functions. This permits a solution to be obtained by minimizing a total gradient as illustrated, for example, in equation (7). As noted above, some embodiments of the invention use fewer spherical harmonic functions than sensors. These embodiments can use a fitting process as illustrated, for example, by equation (15).
The approximation of the scalar potential may include one or more terms in addition to spherical harmonic terms. In some embodiments the scalar potential is expressed as:
where a′ is a coefficient and g({right arrow over (r)}) is a function. g ({right arrow over (r)}) may model the contribution to the scalar potential from one or more known external magnetic sources. For example, the magnetic field produced by a subject's heart may be modelled as a point-like magnetic source. The potential from a point source of strength {right arrow over (M)} is given by:
A long series of external spherical harmonic functions could be needed to approximate the contribution of such a source to the scalar magnetic potential to the same accuracy as equation (21).
The processes described above for determining the coefficients a can also be used where the scalar potential includes one or more additional terms as described above. The translation and rotation operations would need to be modified to perform translation and rotation in a manner appropriate to the function g({right arrow over (r)}). Where g({right arrow over (r)}) is a simple function as in equation (21) performing translation and/or rotations can be performed by way of straightforward translation and rotation operators.
Certain implementations of the invention comprise computer processors which execute software instructions which cause the processors to perform a method of the invention. For example, one or more processors in a controller for a MEG system may implement a method as shown in
In some embodiments of the invention, signal processing system 28 permits a user to specify how many spherical harmonic functions will be used in estimating the scalar potential. For example, a user interface to signal processing system 28 may permit a user to specify a maximum value of l for internal spherical harmonic terms to be used in the approximation for the scalar potential and a range of values of l to be used for external spherical harmonic terms. For example, the user may choose to use external spherical harmonic terms for values of l=2 to l=3 or l=2 to l=4 or the user may choose not to include any external spherical harmonic terms at all. The signal processing system may automatically determine N based upon the user input and may then select an appropriate process for determining the coefficients depending upon whether M<N or N<M.
Where a component (e.g. a software module, processor, detector, assembly, device, circuit, etc.) is referred to above, unless otherwise indicated, reference to that component (including a reference to a “means”) should be interpreted as including as equivalents of that component any component which performs the function of the described component (i.e., that is functionally equivalent), including components which are not structurally equivalent to the disclosed structure which performs the function in the illustrated exemplary embodiments of the invention.
As will be apparent to those skilled in the art in the light of the foregoing disclosure, many alterations and modifications are possible in the practice of this invention without departing from the spirit or scope thereof. For example:
Number | Name | Date | Kind |
---|---|---|---|
20010048306 | Mueller et al. | Dec 2001 | A1 |
Number | Date | Country | |
---|---|---|---|
20050200854 A1 | Sep 2005 | US |