Patent Document

BACKGROUND OF THE INVENTION 
       [0001]    1. Field of the Invention 
         [0002]    The present invention concerns a method for automated determination of the resonance frequencies for protons for magnetic resonance examinations, as well as a magnetic resonance apparatus that is designed to implement such a method. 
         [0003]    2. Description of the Prior Art 
         [0004]    The resonance frequency of a magnetically resonant nucleus is obtained from the so-called Larmor equation, which describes the dependence of the resonance frequency as a function of the field strength and the gyromagnetic ratio, a nucleus-specific variable. For protons, the resonance frequency lies at a field strength of 1.5 T at 63.5 MHz. 
         [0005]    The phenomenon called chemical shift should be taken into account in addition. This describes deviations of the resonance frequency for spin species of a nucleus, this being dependent on the chemical environment of the nucleus. Thus, the resonance frequency of protons varies according to whether they are bound in fat, silicone or water. At 1.5 T, the difference between fat and water lies at 3.5 ppm, or 225 Hz. 
         [0006]    The resonance frequency also varies for a single spin species, e.g. water protons, from examination to examination. This means that calibration measurements must be carried out when the examination subject changes or there is a change in the position of the examination subject, in order to enable an optimally automated data acquisition. 
         [0007]    After the examination subject, a patient for example, has been introduced, the magnetic field can be homogenized. This process is also referred to as “shimming”. 
         [0008]    This entails adjusting the currents in components known as shim coils so that a maximally homogeneous magnetic field is produced and as a result the decay times T 2  and T 2 * are maximized. This process can be automated. 
         [0009]    Furthermore, the resonance frequency can also be determined automatically. To that end, an FID is recorded and Fourier-transformed, after which it is present as a spectrum. This spectrum consists of individual elements in the form of numeric values, which accordingly represent a vector. 
         [0010]    In this spectrum, each spin species essentially has one peak. The spin species attributed to the fat category due to the chemical factors in fact possess a number of peaks, but of these one is dominant. When reference is made in the following to “a” fat peak or resonance signal, this does not preclude the presence of further peaks. It simply means that only one peak is relevant insofar as the method according to the invention is concerned. 
         [0011]    In order to record the FID, a frequency that corresponds e.g. to the last-used resonance frequency of the corresponding nucleus is used as the resonance frequency. The resonance frequency corresponding to the resonance frequency of the nucleus or of its main component may also be used. In the case of protons, this is the water resonance. 
         [0012]    The spectrum can have different resonance peaks depending on the examination subject and the examination region. Peaks may be present for water alone, for water and fat, or for water and silicone, or also for all three nucleus species. 
         [0013]    In order to determine the correct resonance frequency or correct resonance frequencies from the measured spectrum, it is furthermore known to have recourse to model spectra having one or two peaks with different signal intensities and also varying distances between the peaks, in order to determine cross-correlation coefficients by means of the measured spectrum. The more model spectra that are used, the better will be the result of the cross-correlation analysis. 
         [0014]    The model spectra are also present in vector form, which means that the calculation of the cross-correlation coefficients is a vector operation that is repeated multiple times. 
         [0015]    This approach has the disadvantage that it is intensive in terms of computing time and consequently it is necessary for a compromise between the time needing to be invested and the requisite quality. 
       SUMMARY OF THE INVENTION 
       [0016]    An object of the present invention is to provide a less computationally intensive method for determining the resonance frequency or the resonance frequencies of a nucleus. 
         [0017]    The basis of the invention is that, instead of a vector operation, a vector-matrix multiplication is used for determining the resonance frequencies, whereby the elements of the measured spectrum are transformed into a matrix representation. “Element” in the present context means the usual designation for a component or an entry of a matrix or a vector. The elements are therefore real or complex numbers. In this case it is necessary to modify and adapt the spectrum. Since the spectrum is to be used for an analysis by means of cross-correlation, the displacement of the spectrum with respect to a model spectrum, which happens during a determination of cross-correlation coefficients, is incorporated into the spectrum matrix by supplementing the elements of the spectrum matrix. This supplementing is not carried out arbitrarily, but rather a predefined or determinable number of elements are added, said elements all having the same numeric value, in particular zero. As a result the number of elements of a vector is increased such that the spectrum always starts with a different start element and no start position is repeated. Because the spectrum itself or, as the case may be, the vector representing the spectrum remains the same upon being inserted into the respective vectors, in other words in particular no elements are inserted within the spectrum, the repetition of a start position of the spectrum is equivalent to a repetition of a vector of the spectrum matrix. This reduces the rank of a matrix, i.e. yields no beneficial information. As this leads to unnecessary computing times, a repetition of vectors is avoided. 
         [0018]    The number a of vectors of the spectrum matrix can be derived from the number b of the added elements: 
         [0000]        a=b+ 1. 
         [0019]    Each model spectrum that is present as a vector is multiplied with the thus obtained spectrum matrix. The length of a vector of a model spectrum, or, to put it another way, the number of its elements, can be relatively arbitrarily adjusted in this case, except for a minimum length on account of the central region containing the signal peaks. 
         [0020]    As a result of the conditioning of the spectrum and the vector-matrix multiplication made possible thereby, the cache of the main memory of a control device can be used more efficiently, thereby reducing the memory access frequency and consequently shortening the computing time. 
         [0021]    A row vector or a column vector of the spectrum matrix can advantageously be formed as a vector. It is not important whether the spectrum is processed further on a column-by-column or row-by-row basis. In particular, the spectrum can be transposed from one form into the other. It is, however, necessary to keep to the form once this has been selected. 
         [0022]    Preferably, the number of elements of a vector can be determined as a function of the number of elements of the spectrum and as a function of the displacement steps in the shifting of the spectrum. In this case the number e of added elements of a vector corresponds to the number b of displacement steps. Thus, 
         [0000]    
       
      
       e=b.  
      
     
         [0023]    If the length f of the measured spectrum is added after all of the post-processing steps, the length l of a vector is 
         [0000]    
       
      
       l=e+f=b+f.  
      
     
         [0024]    The spectrum matrix accordingly has the dimension a×l. 
         [0025]    Advantageously, the first elements in the first vector can be occupied by the added elements, in particular values equal to zero, and the remaining elements by the elements of the spectrum. 
         [0026]    The first vector has the added elements, e.g. ten elements, at the start, the spectrum completing the first vector of the spectrum matrix. The second vector has one less of the added elements, that is to say e.g. nine elements, at the start, then follows the spectrum, and at the end is one of the added elements. 
         [0027]    In this way the measured spectrum or, as the case may be, the vector representing the measured spectrum, “slips” during the formation of the vectors of the spectrum matrix element by element through the added elements until the spectrum stands right at the start and the added elements are disposed at the end. 
         [0028]    The model spectra can be combined particularly advantageously into a model spectra matrix by forming a vector of the model spectra matrix from each model spectrum. If the model spectra do not have the same length, they must be adjusted to fit, in particular by elements having numeric values equal to zero being added at the start and/or end. The model spectra can be represented as column or row vectors. A vector of the model spectra matrix is therefore transposed in comparison with a vector of the spectrum matrix. If the vectors of the spectrum matrix are row vectors, the vectors of the model spectra matrix are column vectors, and vice versa. In a matrix-matrix multiplication, the advantageous use of the CPU cache is realized twice. 
         [0029]    Preferably, the spectrum matrix and the model spectra matrix can be partitioned into submatrices and processed one block at a time. This approach, known as blocking, enables a further reduction in the number of accesses to the main memory, since the blocks or submatrices can be held available in the faster level-1 or level-2 caches. 
         [0030]    Advantageously, the submatrices can be formed as a function of the size of at least one CPU cache that is used for performing the method. As the advantages of the blocking strategy yield the greatest benefits when an access to the main memory is avoided and the CPU cache or caches is or are utilized to maximum effect, the size of the submatrices should be aligned thereto so that the CPU caches are optimally used. It is not possible to designate universally valid specifications, because the described quantities, such as the number of displacement steps, length of the spectrum or even the size of a cache, are extremely variable and therefore no values can be predefined. 
         [0031]    The object underlying the present invention is also achieved by a magnetic resonance system, which has at least one radiofrequency coil for generating radiofrequency pulses, and a control device. The control device is designed (configured) to operate the magnetic resonance system so as to perform the method as described above. 
         [0032]    The aforementioned methods can in this case be implemented in the control device in the form of software or as (hardwired) hardware. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0033]      FIG. 1  schematically illustrates a magnetic resonance system. 
           [0034]      FIG. 2  shows a spectrum and a model spectrum in a first embodiment (prior art). 
           [0035]      FIG. 3  shows a spectrum and a model spectrum in a second embodiment (prior art). 
           [0036]      FIG. 4  shows a spectrum and a model spectrum in vector form, for use in accordance with the invention. 
           [0037]      FIG. 5  shows a spectrum and a model spectrum in an embodiment for use in accordance with the invention. 
           [0038]      FIG. 6  shows a spectrum matrix and a model spectrum, for use in accordance with the invention. 
           [0039]      FIG. 7  shows a spectrum matrix, for use in accordance with the invention. 
           [0040]      FIG. 8  shows a spectrum matrix and a model spectra matrix, for use in accordance with the invention. 
           [0041]      FIG. 9  shows a spectrum matrix and a model spectra matrix containing submatrices for use in accordance with the invention. 
       
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0042]      FIG. 1  shows a magnetic resonance system  1  having three gradient coils  2 ,  3  and  4 , two radiofrequency coils  5  and  6 , and a control device  7 . For clarity of illustration, other components of the magnetic resonance system  1 , such as the patient table, are not shown. In this example the radiofrequency coil  5  is embodied as an excitation coil, and the radiofrequency coil  6  as a detection coil. The radiofrequency coil  6  is in this case usually tailored to fit specific sections of the examination subject, for example as a “head coil”, “chest coil” or “knee coil”. The radiofrequency coil  5  is also called a “body coil” and is less sensitive than the radiofrequency coil  6 , but homogeneous over a greater area. This subdivision of the radiofrequency coils is typical in the case of magnetic resonance systems  1  in the medical field, but not in the case of devices having bores in the range of several centimeters or up to approx. 30 centimeters, where the same radiofrequency coil is often used for both excitation and detection. Whether the excitation coil is simultaneously the detection coil is therefore immaterial and more or less device-dependent. 
         [0043]    The method described is implemented as software in the control device  7 . Following the positioning of the patient, it is performed as part of the calibration process prior to the commencement of the examination measurements. The adjustment of the shim coils is also performed in an automated manner. 
         [0044]      FIGS. 2 and 3  show the procedure adopted in the case of a calculation of cross-correlation coefficients according to the prior art. Here, the axis  8  is in each case a measure for the frequency, and the axis  9  is a measure for the signal intensity. Whether the measured signal  10  that was calculated from an FID includes a fat peak  11  and a water peak  12 , or only a water peak  12 , or also additionally has a silicone peak, is not known without supplementary information. The position and the distance between the peaks, in particular the fat peak  11  and the water peak  12 , are variable also. The model spectrum  13  shown in  FIG. 2  contains a fat peak  11  and a water peak  12  having predefined signal intensities and peak-to-peak distances  14 . One model spectrum differs from another model spectrum by the height of the signal intensities and/or peak-to-peak distances and/or the number of peaks and/or the peak width. The peak width may be defined as the width at half maximum height, also called full width half maximum or FWHM. 
         [0045]      FIG. 2  shows the determination of a coefficient, wherein the reference lines  15  indicate that the correspondence of the peaks and consequently the numeric value of the coefficient are small. Further coefficients are determined by shifting the model spectrum  13  with respect to the measured spectrum  10  in the direction of the arrow  16 . Since both the measured spectrum  10  and the model spectrum  13  are present as vectors containing elements, the shift can take place one element at a time or in leaps, i.e. in steps of multiple elements. 
         [0046]    After one or more shifts, the analysis reaches a relative position of the spectra  10  and  13  as shown in  FIG. 3 . The model spectrum  13  has substantially the right number of peaks, signal intensities, peak widths, and peak-to-peak distances. Thus, the value of the cross-correlation coefficient of the cross-correlation calculation determined according to  FIG. 3  is at a maximum and indicates a good or optimal correspondence between model spectrum  13  and measured spectrum  10 . All other determined coefficients are lower and therefore “worse”, i.e. the respective numeric value indicates a poorer correspondence. The resonance frequency of water and fat can then be derived from this information. It has also become known that no silicone peak is present, since model spectra containing a silicone peak generate correlation coefficients having a lower value. 
         [0047]    This vector-vector calculation is illustrated schematically once more in  FIG. 4 , where the measured spectrum  10  or a segment thereof is represented as vector v 1 , and the model spectrum  13  as vector m 1 . The index “1” of the vector m 1  indicates that more than one model spectrum is used. In the case of the vector v, in contrast, the segment is indexed therewith. The representation of the vector v 1  as a column vector and the representation of the vector m 1  as a row vector are interchangeable. To ensure the vectors v 1  and m 1  each have the same length, a part or segment of the measured spectrum is “cut out” in each case, said segment being equal in length to the length of the model spectrum. The elements m 11 , m 12 , m 13 , . . . , m 1k  are the elements of the vector m 1 , where “k” stands for an arbitrary natural number. The elements v 11 , v 12 , v 13 , . . . , v 1k  are the elements of the vector m 1 . 
         [0048]    This is shown purely illustratively in  FIG. 5 , where the index “1” of the vector v 1  points to the position of the segment in the measured spectrum  10  and the index “1” of the vector m 1  points to the model spectrum used. A correlation coefficient c j  is determined for each combination of segments v 1  and model spectra m 11 . The highest correlation coefficient c j  indicates the best fit. The indices “i”, “j” and “n” are also arbitrary natural numbers. 
         [0049]    Although this approach yields high-quality results in the determination of the resonance frequencies, it is nonetheless computationally intensive. More efficient methods are revealed hereinbelow: 
         [0050]    Instead of the spectrum vector v, a spectrum matrix s is used which is formed from a segment v i  of the spectrum vector v and hence a part of the spectrum vector v or the whole spectrum vector v, as is apparent from  FIG. 6 . The spectrum matrix s is therefore built from vectors v′ i . In order to form a vector v′ i  of the spectrum matrix s, the spectrum vector v or a part thereof, namely a segment v i , is taken and supplemented with elements  16 . The elements  16  are numbers with a predefined value, in particular 0 for the first vectors v′ 1  and the last vectors v′ r . In the case of the vectors therebetween, pure measured data are used. In particular, a total vector supplemented by the elements  16  can be formed and the columns v′ 1 , v′ 2  . . . v′ r  as pointers to parts of the total vector. 
         [0051]    In  FIG. 7 , the elements  16  are highlighted by black shading, thereby making the element-by-element slipping of the vector v or of a segment v i  due to the added elements  16  clear at a glance. 
         [0052]    The coefficient vector c is obtained as the result of the vector-matrix multiplication m 1 ×s. The element c j  of the coefficient vector c having the highest value indicates that vector v′ i  for which the model spectrum m 1  shows the best fit. 
         [0053]    Due to the transformation of the calculation of the correlation coefficients by means of a matrix, these can be determined with lower computational overhead. 
         [0054]    To achieve a further optimization, the model spectra m n  can also be transformed into a model spectra matrix d. Each model spectrum m n  is included once, the shifts with respect to the measured spectrum being contained in the spectrum matrix s. The matrix-matrix multiplication d o s yields a correlation coefficient matrix k. Once again it holds that: The element k in , now the coefficient matrix k, having the highest value indicates that vector v′ i  and that model spectrum m n  for which the best fit is present. 
         [0055]    A further improvement in computing time is produced by partitioning the matrices s and d into submatrices, as shown in  FIG. 9 . This approach is also called blocking. Although the number of compute operations cannot actually be decreased by this means, the number of memory accesses can be reduced. The number of accesses, and consequently also the computing time, can be minimized by suitable choice of the size of the submatrices S i , in particular of the submatrices S 1 , S 2 , S 3 , S 4 , and S 5 , and of the submatrices D i , in particular of the submatrices D 1 , D 2 , D 3 , D 4  and D 5 , and at the same time alignment to the size of a cache, in particular the level-1 cache, the level-2 cache or the level-3 cache. 
         [0056]    Although modifications and changes may be suggested by those skilled in the art, it is the intention of the inventor to embody within the patent warranted hereon all changes and modifications as reasonably and properly come within the scope of his contribution to the art.

Technology Category: 3