Abstract:
In a method and magnetic resonance apparatus for automating the analysis of MR raw data representing a spectrum, at least one post-processing procedure is applied to the raw data, so as to obtain a processed spectrum. The number of numerical values depicted by the processed spectrum is lowered to a feature vector. The feature vector is allocated to one of numerous groups of known feature vectors.

Description:
BACKGROUND OF THE INVENTION 
       [0001]    1. Field of the Invention 
         [0002]    The present invention relates to a method and a magnetic resonance apparatus for the automated analysis of the raw data of a spectrum. 
         [0003]    2. Description of the Prior Art 
         [0004]    It is known that magnetic resonance spectra offer the possibility of examining metabolic processes in human bodies. Furthermore, the recording (detection or acquisition) of spectra, and in particular magnetic resonance spectra, from materials is known, in order to derive conclusions from these spectra regarding the aging state of the materials, for example. 
         [0005]    For this purpose, either signal intensities for specific resonances are determined, or relative signal intensity ratios are formed. These signal intensities or relative signal intensity ratios are characteristic for a specific state of the object examined, because the signal intensity of a resonance correlates directly to the concentration of the material in question from which the resonance originates. 
         [0006]    In order to determine such signal intensities, the area under the spectrum in a specific frequency range, specifically a so-called peak, is measured. The use of a single signal intensity is frequently not possible because the signal intensity is dependent on numerous factors, including the echo time, the repetition interval, the receiver gain, the measurement sequence used for the recording, and numerous other variables. For this reason, typically, signal intensity ratios for two resonances in a spectrum are compared with one another. 
         [0007]    The signal intensities are typically analyzed by matching a known spectrum thereto. 
         [0008]    Aside from the examination of materials, MR spectra are also used in order to examine metabolite concentrations or ratios in tissues of patients, because these concentrations are normally changed by illnesses or pathologies in a defined manner. It is known that, for example, in healthy brain tissue, the relative signal ratio of N-acetylaspartic acid (NAA) to creatine (KR in German) lies at 2.0, while in tumor tissue, it drops to values of less than 1.6. Before executing the diagnostics, the appropriate published values must first be obtained. The same applies, as a matter of course, for materials control or examination. 
         [0009]    This results in either the same spectrum in numerous persons being analyzed leading to different results, or the analysis of one spectrum being extremely complex and time consuming. The analysis results thus exhibit a certain inherent uncertainty. 
       SUMMARY OF THE INVENTION 
       [0010]    An object of the present invention is to provide a method and a magnetic resonance apparatus, that enable a simplified spectral analysis (analysis of spectra). 
         [0011]    According to the invention, one or more post-processing procedures are applied to the raw data representing the spectrum, in a first step. These procedures serve to improve the ability to analyze the spectrum, and subsequently, shall represent the raw data of an MR spectrum. 
         [0012]    Normally, a so-called free induction decay (FID) is present in the form of raw data. Post-processing procedures can already be carried out on these data. If the processed or unprocessed FID is subjected to a Fourier transformation, a spectrum is obtained. Post-processing procedures can also be applied to this spectrum. 
         [0013]    One potential post-processing procedure is baseline correction. For this, for example, the average value for the last points of an FID is calculated, and this average value is deducted from each point in the FID. The baseline correction is thus one of the first post-processing procedures. 
         [0014]    Furthermore, an apodization can be performed, in which the FID is multiplied with a weighting function. Among others, the Hann window and the Hamming window are known. By means of this weighting, depending on the weighting function, either the spectral resolution can be improved, or the signal-to-noise ratio (SNR) can be increased. Through the improvement of one of the two characteristics, the other is normally made worse; a simultaneous improvement of both characteristics by the use of a single weighting function is not possible. 
         [0015]    In order to increase the resolution of the spectrum subjected to a Fourier transformation, in one design it is possible to expand the FID with zero values. One can thus expand the size of an FID from 128 data points to 256, 512 or 1024 data points, without having to record these data points. In the spectrum, this method, known as zero padding or zero filling, can be perceived as an interpolation. 
         [0016]    The FID that has been subjected to a Fourier transformation can furthermore be subjected to a phase correction. For this, the phase of the complex value signal can be adjusted such that the real number portion only indicates pure absorptive signals. 
         [0017]    In addition, the spectrum can be standardized (normalized). 
         [0018]    Preferably, the suppression of a residual water resonance by means of Hankel Singular Value Decomposition (HSVD) can be applied, in particular, as the first post-processing procedure. 
         [0019]    Subsequently, in one design, one or more frequency ranges can be selected. By means of this post-processing step, the computing time can be reduced in the following steps of the method according to the invention. 
         [0020]    After executing some or all of the delineated, or other, post-processing procedures, a processed spectrum is obtained. In order to be able to carry out the comparison or classification of spectra, explained below, without error, the post-processing procedures that are carried out should remain the same. 
         [0021]    In the next step of the method according to the invention, the number of numerical values depicting the spectrum is reduced, and normally modified thereby as well. This step is also known by the name “feature extraction.” The fundamental concept is that a spectrum is already sufficiently characterized, for example, by the peaks determined for the (maximum) values. 
         [0022]    However, in contrast to the introductory example regarding the definition of the NAA/KR ratio, reference is made not only to the maximum intensities or areas of certain peaks, but instead, statistical procedures are made use of for depicting the processed spectrum by means of a feature vector. 
         [0023]    In the last step, the feature vector is assigned to one or more groups comprised of feature vectors. These known feature vectors are obtained from spectra in a learning phase, which are classified, evaluated or otherwise examined based on a gold standard. A classification of spectra thus occurs in the learning phase, which will be revealed through further examinations. With patients, the tissue, from which the signal is acquired, can be examined by means of a biopsy; workpieces can be destroyed in order to analyze the interior thereof. The parameters for the classifier, by means of which the classification takes place, are estimated during the learning phase. 
         [0024]    As a result, in addition to the recording of spectra, only progressive examinations take place in the learning phase. In particular, a diagnosis and classification of the removed tissue, or the workpiece, to a classification also occurs only in this phase. In executing the method according to the invention, only the similarity of a spectrum to previously recording spectra is established by means of the feature vectors. 
         [0025]    In order to enable the classification of the spectra, a knowledge base is established in the learning phase. The spectra from the learning phase can be assigned to one or more characteristics, such as the sex or age of the patients, the region of the body being examined, or a specific illness. In the case of a tumor, types of tumors diagnosed in the biopsy, or the degree of malignancy, can be linked to the respective spectra, or feature vectors, respectively. In the case of material testing, the material can be assigned to a classification, such as “new,” “younger than two years,” “younger than five years,” and “aged.” The spectra analyzed in the learning phase can also be simultaneously grouped or classified with regard to numerous characteristics. 
         [0026]    The classification of the currently measured spectrum can be absolute or with different probabilities. Thus, a spectrum can be classified with respect to WHO degrees of malignancy I-IV, depending on the probability, for example. This implies that the measured spectrum lies with a first probability in the group in which the feature vector lies having the characteristic “degree of malignancy I,” with a second probability in the group “degree of malignancy II,” etc. The analysis of these purely statistical numerical values occurs subsequently, and is no longer in the scope of the method according to the invention. 
         [0027]    The raw data for the spectrum can be recorded, to particular advantage, using SVS or CSI procedures. Procedures of this type allow for a localization of the volume to be obtained from the signals. As a result, interference signals lying outside of the volume in question can be removed from the spectrum. In a materials test, the examination volume can be limited in this manner to the material that is to be examined, while the material surrounding the substance does not, by any means, contribute to the signal in the spectrum. With brain examinations, the examination volume is thus limited to the region of the tumor. 
         [0028]    Preferably, the feature vector can be determined by binning. In a binning, a specific number of adjacent data points for the processed spectrum are compiled to form a new data point. If, for example, one takes eight data points, a spectrum having 128 data points is reduced to a feature vector having 16 elements. 
         [0029]    Alternatively, the feature vector can be computed by an independent component analysis (ICA) or Sammon mapping. As a rule, any statistical procedure that enables a “feature extraction” can be used. The procedures listed explicitly above have been shown, however, to be particularly reliable. 
         [0030]    Advantageously, the feature vector can be determined by a principal component analysis. For this, either the maximum values for the peaks, the upward-integrated areas of the peaks, or the spectrum as such, are referenced. The number of peaks or the signal intensity ratio determines the number of dimensions, starting from which the principal component analysis is initiated. 
         [0031]    Preferably, the ratio of the signal intensity for an NAA peak to a creatine peak is used as the relative signal intensity ratio. Additionally, the ratio of the signal intensity for an NAA peak to a choline peak can be used as the relative signal intensity ratio. Furthermore, lipids, lactate or glutamine can be used to form a relative signal intensity ratio. These substances are also referred to collectively as metabolic products, or metabolites. The change to the respective signal intensities indicates, as explained above, a change in the metabolite concentrations. 
         [0032]    The analysis of the relative signal intensities for the metabolites thus enables an assignment of a tumor to a specific type of tumor, or a classification in a degree of malignancy. Due to the automated classification of the spectrum, and thus the tumor, the reliability of the analysis of the spectrum is increased. As a matter of course, the automated classification of a spectrum does not replace a diagnosis; we are only concerned here with a suggestion for the assigning of the currently measured spectrum to a previously measured and classified group of spectra. 
         [0033]    Aside from this, other possibilities exist for classifying a tumor. For example, a sample can be removed from the tumor tissue by means of a biopsy, as described above, which is then examined by pathological means. This method allows for a 100% reliable determination of the tumor type, as well as the degree of malignancy. A biopsy, however, is invasive, for which reason it is desirable to replace it by means of a non-invasive procedure. 
         [0034]    To particular advantage, the classification of the feature vector can be computed using a linear classifier, in particular a Support Vector Machine (SVM). A Support Vector Machine separates a quantity of learning data into groups, such that the spacing of the respective feature vectors, which lie closest to the respective dividing line, or dividing plane, is maximized. As a result, a later classification of the feature vectors from unknown groupings is improved. 
         [0035]    Instead of a linear Support Vector Machine, other linear classifiers, such as LDA (linear discriminant analysis) based classifiers may be used. 
         [0036]    Alternatively, the classification of the feature vector can be computed using a non-linear classifier, in particular a Support Vector Machine with an RBF kernel. Other possible non-linear classifiers are the quadratic discriminant analysis (QDA) or random forest classifier (RFC). 
         [0037]    In any case, the results of the pattern recognition and the classification are to be subjected to a control. The main advantage of the method according to the invention lies in the provision of a reproducible assignment to previously classified spectra, or the feature vectors thereof. 
         [0038]    The invention also encompasses a magnetic resonance apparatus that has an MR data acquisition unit operated by a control unit. The apparatus also has a feature extraction unit and a classification unit. The feature extraction unit and the classification unit are preferably, be designed as computer program products that use a processed spectrum as the input value, and from this assign a classification to the spectrum. 
         [0039]    The implementation of the method specified above in the control device can be carried out thereby in the form of a software. 
         [0040]    The aforementioned embodiments of the method according to the invention correspond to appropriate designs for the magnetic resonance apparatus according to the invention. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0041]      FIG. 1  schematically illustrates a magnetic resonance apparatus according to the invention. 
           [0042]      FIG. 2  is a flowchart for accumulating a knowledge base. 
           [0043]      FIG. 3  is a flowchart for the method according to the invention. 
       
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0044]      FIG. 1  shows, schematically, a magnetic resonance apparatus  1  according to the invention. The apparatus has a feature extraction unit  2 , a classification unit  3  and a knowledge base  4 . A display unit  5  is provided for displaying the spectra  6 , image data  7 , etc. 
         [0045]    The feature extraction unit  2  and the classification unit  3  can be independent devices, but they can also be implemented as computer program products on a control device  8  for the magnetic resonance apparatus  1 . 
         [0046]    Furthermore, the magnetic resonance apparatus  1  has a data storage unit  9  for storing the spectra  6  and the image data  7 . Additionally, the data storage unit  9  also contains the knowledge base  4 . This can be designed as a simple data file or as a data base. 
         [0047]    In an alternative design, the knowledge base  4  is located on a server that is accessible through the internet, or another network, to which the control devices of numerous magnetic resonance apparatuses have access. By this arrangement, the up-dating of the data is simplified. In the formation of the knowledge base  4  as an independent system, it is, as a matter of course, advantageous if numerous users contribute to the accumulation of the data base, by means of which the quantity of data increases quickly. 
         [0048]      FIG. 2  shows a flowchart for acquiring a knowledge base. In a first embodiment example, a knowledge or data base for classifying brain tumors by means of 1H magnetic resonance spectra is created. For this, proton spectra from the brain are recorded in step S 1  from a number of samples, this number being 500, by way of example. The signals from which the spectra are generated, are limited to the region of the tissue that is to be examined, thus, in particular, the potential tumor. Therefore, an SVS or CSI measurement is executed as the recording procedure. 
         [0049]    After recording the magnetic resonance spectra, a biopsy is also carried out on each patient (step S 2 ). Although a biopsy is an invasive operation, it does, however, represent the gold standard, because it is possible to determine a type of tumor and/or the degree of malignancy with the lowest error rate by means of a biopsy. For a reliable improvement of the knowledge base  4 , medically necessary interventions are therefore made use of, in order to classify the spectra. 
         [0050]    In step S 3 , each spectrum  6  of the knowledge base is assigned precisely to a classification or group, respectively, obtained by means of the biopsy. Aside from the determined or known diseases, these can also be, for example, the sex, the age, the characteristic “smoker/non-smoker” and/or “alcoholic/non-alcoholic,” etc. It is also possible, to assign a spectrum, or the corresponding feature vector, respectively, to numerous groupings, which can be retrieved depending on the problem being addressed. For this, one grouping for each spectrum exists in each knowledge base. 
         [0051]    The following table is known from Lanfermann, H. et al., Meaning of the 1H spectroscopy in the differential diagnosis and grading of intracranial tumors. “Deutsches Ärzteblatt” [German Physicians&#39; sheet], booklet 10 (2004), 649-655. 
         [0000]    
       
         
               
               
               
               
               
               
               
             
               
               
               
               
               
               
               
               
             
           
               
                   
                   
               
               
                   
                 Cho 
                 Kr 
                 NAA 
                 Lac 
                 Lip 
                 AS 
               
               
                   
                   
               
             
             
               
                   
               
             
          
           
               
                   
                 Astrocytoma 
                 + 
                 − 
                 − 
                 0 
                 0 
                 0 
               
               
                   
                 I-II 
               
               
                   
                 Astrocytoma 
                 ++ 
                 −− 
                 −− 
                 + 
                 0 
                 0 
               
               
                   
                 III 
               
               
                   
                 Astrocytoma 
                 +++ 
                 −−− 
                 −−− 
                 + 
                 + 
                 0 
               
               
                   
                 IV 
               
               
                   
                 Metastasis 
                 ++ 
                 −−− 
                 −−− 
                 + 
                 ++ 
                 0 
               
               
                   
                 Abscess 
                 − 
                 −− 
                 −−− 
                 + 
                 + 
                 ++ 
               
               
                   
                   
               
             
          
         
       
     
         [0052]    This shows the change in different metabolite concentrations (Cho: choline, Kr: creatine, NAA: N-acetylaspartic acid, Lac: Lactate, Lip: lipids, AS: amino acids) in comparison to healthy brain tissue. The first line shows, for example, that with astrocytoma of the grades I and II, the concentration of NAA in is reduced in comparison to healthy brain tissue, indicated by the minus sign, while the concentration of choline increases, indicated by the plus sign. Consequently, the relative signal intensity ratio of NAA to choline also sinks. This ratio continues to sink as the degree of malignancy increases. 
         [0053]    The tables only show tendencies. In order to improve the knowledge base, however, it is necessary to record concrete numerical values and value ranges. These concrete numerical values can be reproducibly determined using a pattern recognition procedure. The value ranges determined by this means are stored in the knowledge base  4  (step S 4 ). 
         [0054]    The knowledge base  4  can be designed as a data file or as a data base. 
         [0055]      FIG. 3  shows the classification of a recorded spectrum. At least one magnetic resonance spectrum is recorded with the magnetic resonance apparatus  1 , but one or more image data sets can also be acquired (step S 5 ). 
         [0056]    In step S 6 , the processed spectrum is transmitted to the reduction unit  2 . The feature extraction unit  2  establishes a feature vector from the spectrum. 
         [0057]    The feature vector established by means of the feature extraction unit  2  is then sent to the classification unit  3 . The classification unit  3  determines the assignment of the feature vector to a group in the knowledge base  4  (step S 7 ). 
         [0058]    Subsequently, the classification results and the spectrum, and likewise, images recorded with the magnetic resonance apparatus  1 , are displayed on a display unit  5 . A physician can then make a diagnosis based on these data. 
         [0059]    The classification of a spectrum with a medical background is purely exemplary. The method according to the invention can be used anywhere where a reproducible classification is required. Further applications are, for example, as described above, materials control, and food chemistry. 
         [0060]    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.