Magnetic field uniformity correction method and system for magnetic resonance imaging

Through precise detection and mathematical modeling, combined with efficient optimization algorithms, the automatic correction of magnetic field uniformity in magnetic resonance imaging technology is achieved, solving the problems of low accuracy, high complexity and poor adaptability in the existing technology, and significantly improving image quality and adaptability.

CN119044857APending Publication Date: 2024-11-29HANGZHOU WEIYING MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411351872.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In the existing magnetic resonance imaging technology, the magnetic field uniformity correction method has problems such as limited accuracy, high computational complexity, poor adaptability and many manual interventions, resulting in poor image quality and artifacts.

Method used

By accurately detecting magnetic field inhomogeneity, establishing mathematical models, calculating correction parameters, and using efficient optimization algorithms for real-time correction, real-time optimization is achieved to realize adaptive optimization of magnetic field and reduce manual intervention, which is suitable for different equipment and environments.

Benefits of technology

The accuracy and adaptability of magnetic field uniformity correction are improved, the calculation complexity is reduced, the image quality is significantly improved, and the automatic correction of magnetic field uniformity is achieved, reducing the occurrence of artifacts and distortions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119044857A_ABST
    Figure CN119044857A_ABST
Patent Text Reader

Abstract

The invention discloses a magnetic field uniformity correction method and system for magnetic resonance imaging, and relates to the technical field of magnetic resonance imaging. The method comprises the following steps: detecting magnetic field non-uniformity in a magnetic resonance imaging process, and calculating magnetic field non-uniformity distribution to obtain a magnetic field non-uniformity mathematical model; calculating correction parameters in the magnetic field non-uniformity mathematical model; correcting the original imaging data obtained by magnetic resonance scanning according to the correction parameter; and magnetic field changes in the magnetic resonance imaging process are monitored in real time, and magnetic field self-adaptive optimization is carried out. The method can improve the correction precision, reduce the calculation complexity, enhance the adaptability, and achieve the automatic correction of the magnetic field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of magnetic resonance imaging, and in particular to a method and system for correcting magnetic field uniformity of magnetic resonance imaging. Background Art

[0002] Magnetic resonance imaging technology relies on a uniform magnetic field to obtain high-quality images. However, in practical applications, due to equipment manufacturing errors, external environmental influences, etc., the magnetic field is often non-uniform, which can cause image distortion and artifacts. Existing magnetic field uniformity correction methods have the following main defects:

[0003] Limited correction accuracy: The correction accuracy of existing methods is not high and cannot completely eliminate the impact of magnetic field inhomogeneity on image quality.

[0004] High computational complexity: Some high-precision correction algorithms have high computational complexity and are difficult to apply in real time.

[0005] Poor adaptability: Existing methods are usually targeted at specific devices and environments and lack versatility and adaptability.

[0006] Much manual intervention: Existing correction methods require a lot of manual intervention and are difficult to automate. Summary of the invention

[0007] In order to overcome the above problems or at least partially solve the above problems, the present invention provides a method and system for correcting magnetic field uniformity for magnetic resonance imaging, which can improve correction accuracy, reduce calculation complexity, enhance adaptability, and realize automatic correction of magnetic field.

[0008] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0009] In a first aspect, the present invention provides a method for correcting magnetic field uniformity for magnetic resonance imaging, comprising the following steps:

[0010] Detect the magnetic field inhomogeneity during magnetic resonance imaging, calculate the magnetic field inhomogeneity distribution, and obtain a mathematical model of magnetic field inhomogeneity;

[0011] Calculate the correction parameters in the mathematical model of magnetic field inhomogeneity;

[0012] Correcting raw imaging data obtained from magnetic resonance scanning according to correction parameters;

[0013] Real-time monitoring of magnetic field changes during magnetic resonance imaging and adaptive optimization of the magnetic field are performed.

[0014] The present invention improves correction accuracy and significantly improves image quality through accurate magnetic field inhomogeneity detection and modeling; calculates optimal correction parameters based on the inhomogeneity model, adopts an efficient optimization algorithm to reduce computational complexity, realizes real-time correction, and eliminates artifacts and distortion; has good versatility and adaptability, and is suitable for different equipment and environments; monitors and dynamically adjusts correction parameters in real time, optimizes correction effects, reduces manual intervention, and realizes automated correction of magnetic field uniformity.

[0015] Based on the first aspect, further, the method for detecting magnetic field inhomogeneity of magnetic resonance imaging comprises the following steps:

[0016] Select a reference signal;

[0017] Using ultra-low field magnetic resonance equipment to image the reference signal and collect actual imaging data;

[0018] Preprocessing the actual imaging data;

[0019] Based on the preprocessed actual imaging data and reference signals, a variety of algorithms are used to calculate the magnetic field inhomogeneity.

[0020] Based on the first aspect, further, the method for calculating the magnetic field inhomogeneity distribution and obtaining the magnetic field inhomogeneity mathematical model comprises the following steps:

[0021] The difference between the actual imaging data after preprocessing and the reference signal is calculated by using the difference method to obtain the difference result;

[0022] The ratio method is used to calculate the ratio of the actual imaging data after preprocessing and the reference signal to obtain a ratio result;

[0023] The phase difference between the actual imaging data after preprocessing and the reference signal is calculated by using the phase difference to obtain a phase difference result;

[0024] The difference results, ratio results and phase difference results are fitted with polynomials to obtain the mathematical model of magnetic field inhomogeneity.

[0025] Based on the first aspect, further, the method for calculating the correction parameters in the magnetic field inhomogeneity mathematical model comprises the following steps:

[0026] The least square method is used to determine the correction parameters in the mathematical model of magnetic field inhomogeneity.

[0027] Based on the first aspect, further, the method for correcting raw imaging data obtained by magnetic resonance scanning according to the correction parameters comprises the following steps:

[0028] According to the correction parameters, the frequency offset of each pixel in the original imaging data is calculated, and the frequency correction is performed;

[0029] According to the correction parameters, the phase offset of each pixel in the original imaging data is calculated and phase correction is performed;

[0030] The inverse Fourier transform reconstruction algorithm is used to convert the corrected frequency domain data back into a spatial domain image to achieve image reconstruction.

[0031] Based on the first aspect, further, the method for real-time monitoring of magnetic field changes during magnetic resonance imaging and performing magnetic field adaptive optimization comprises the following steps:

[0032] Monitor the magnetic field changes at multiple locations including the center, edge, and outside of the plane of the imaging area to generate real-time monitoring data;

[0033] Adaptive filters are used to dynamically adjust correction parameters according to real-time monitoring data to achieve adaptive optimization of the magnetic field.

[0034] In a second aspect, the present invention provides a magnetic field uniformity correction system for magnetic resonance imaging, comprising a magnetic field inhomogeneity detection module, a correction parameter calculation module, a data correction module and an adaptive optimization module, wherein:

[0035] A magnetic field inhomogeneity detection module is used to detect the magnetic field inhomogeneity during magnetic resonance imaging, calculate the magnetic field inhomogeneity distribution, and obtain a magnetic field inhomogeneity mathematical model;

[0036] A correction parameter calculation module, used for calculating correction parameters in a mathematical model of magnetic field inhomogeneity;

[0037] A data correction module, used to correct the original imaging data obtained by magnetic resonance scanning according to correction parameters;

[0038] The adaptive optimization module is used to monitor the magnetic field changes during magnetic resonance imaging in real time and perform adaptive optimization of the magnetic field.

[0039] This system is based on the cooperation of multiple modules such as magnetic field inhomogeneity detection module, correction parameter calculation module, data correction module and adaptive optimization module. Through accurate magnetic field inhomogeneity detection and modeling, the correction accuracy is improved and the image quality is significantly improved. Based on the inhomogeneity model, the optimal correction parameters are calculated, and an efficient optimization algorithm is used to reduce the calculation complexity, realize real-time correction, and eliminate artifacts and distortion. It has good versatility and adaptability and is suitable for different equipment and environments. It monitors and dynamically adjusts the correction parameters in real time, optimizes the correction effect, reduces manual intervention, and realizes automatic correction of magnetic field uniformity.

[0040] In a third aspect, the present application provides an electronic device, comprising a memory for storing one or more programs; a processor; when the one or more programs are executed by the processor, the method as described in any one of the first aspects above is implemented.

[0041] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method as described in any one of the first aspects above.

[0042] The present invention has at least the following advantages or beneficial effects:

[0043] 1. Improve correction accuracy: Through accurate magnetic field inhomogeneity detection and modeling, the correction accuracy is improved and the image quality is significantly improved.

[0044] 2. Reduce computational complexity: Use efficient optimization algorithms to reduce computational complexity and achieve real-time correction.

[0045] 3. Enhanced adaptability: The algorithm has good versatility and adaptability and is suitable for different devices and environments.

[0046] 4. Automated correction: Reduce manual intervention and realize automated correction of magnetic field uniformity. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 This is a flow chart of a method for correcting magnetic field uniformity of magnetic resonance imaging according to an embodiment of the present invention;

[0049] Figure 2 This is a principle block diagram of a magnetic field uniformity correction system for magnetic resonance imaging according to an embodiment of the present invention;

[0050] Figure 3 A structural block diagram of an electronic device provided by an embodiment of the present invention.

[0051] Description of reference numerals: 100, magnetic field inhomogeneity detection module; 200, correction parameter calculation module; 300, data correction module; 400, adaptive optimization module; 101, memory; 102, processor; 103, communication interface. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0053] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0055] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0056] In the description of the embodiments of the present invention, it should be noted that if the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the accompanying drawings, or is the orientation or position relationship in which the product of the invention is usually placed when used. It is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0057] In the description of the embodiments of the present invention, "plurality" means at least 2.

[0058] Example:

[0059] like Figure 1As shown, in a first aspect, the present invention provides a method for correcting magnetic field uniformity for magnetic resonance imaging, comprising the following steps:

[0060] S1. Detecting magnetic field inhomogeneity during magnetic resonance imaging, calculating magnetic field inhomogeneity distribution, and obtaining a mathematical model of magnetic field inhomogeneity;

[0061] S2, calculating correction parameters in the mathematical model of magnetic field inhomogeneity;

[0062] S3, correcting the original imaging data obtained by the magnetic resonance scanning according to the correction parameters;

[0063] S4. Real-time monitoring of magnetic field changes during magnetic resonance imaging and adaptive optimization of the magnetic field.

[0064] The present invention improves correction accuracy and significantly improves image quality through accurate magnetic field inhomogeneity detection and modeling; calculates optimal correction parameters based on the inhomogeneity model, adopts an efficient optimization algorithm to reduce computational complexity, realizes real-time correction, and eliminates artifacts and distortion; has good versatility and adaptability, and is suitable for different equipment and environments; monitors and dynamically adjusts correction parameters in real time, optimizes correction effects, reduces manual intervention, and realizes automated correction of magnetic field uniformity.

[0065] Based on the first aspect, further, the method for detecting magnetic field inhomogeneity of magnetic resonance imaging comprises the following steps:

[0066] Select a reference signal;

[0067] Using ultra-low field magnetic resonance equipment to image the reference signal and collect actual imaging data;

[0068] Preprocessing the actual imaging data;

[0069] Based on the preprocessed actual imaging data and reference signals, a variety of algorithms are used to calculate the magnetic field inhomogeneity.

[0070] In some embodiments of the present invention, the magnetic field inhomogeneity detection mainly includes: selecting a reference signal: we use standard imaging data of a water film; collecting imaging data: using an ultra-low field magnetic resonance device to image the water film and obtain actual imaging data; preprocessing the actual data: denoising the collected actual imaging data, using a Gaussian filter to remove high-frequency noise, performing grayscale normalization, and normalizing all pixel values ​​to a range of 0 to 1; and calculating the magnetic field inhomogeneity distribution.

[0071] Based on the first aspect, further, the method for calculating the magnetic field inhomogeneity distribution and obtaining the magnetic field inhomogeneity mathematical model comprises the following steps:

[0072] The difference method is used to calculate the difference between the actual imaging data after preprocessing and the reference signal to obtain the difference result; the difference calculation formula is as follows: D(x, y) = I actual (x,y)-I reference (x, y), where D(x, y) represents the magnetic field inhomogeneity difference at position (x, y), and I actual (x, y) represents the signal intensity of the actual imaging data at the position (x, y), I reference (x,y) represents the signal strength of the reference signal at position (x,y).

[0073] The ratio method is used to calculate the ratio of the actual imaging data after preprocessing and the reference signal to obtain the ratio result; the ratio calculation formula is as follows: Where R(x,y) represents the magnetic field inhomogeneity ratio at position (x,y), I actual (x, y) represents the signal intensity of the actual imaging data at the position (x, y), I reference (x,y) represents the signal strength of the reference signal at position (x,y).

[0074] The phase difference between the actual imaging data and the reference signal after preprocessing is calculated using the phase difference to obtain the phase difference result; the phase difference calculation formula is as follows: Δφ(x,y)=φ actual (x,y)-φ reference (x, y), where Δφ(x, y) represents the phase difference at position (x, y), φ actual (x,y) represents the phase of the actual imaging data at position (x,y), φ reference (x,y) represents the phase of the reference signal at position (x,y).

[0075] The difference result, ratio result and phase difference result are fitted with a polynomial to obtain a mathematical model of magnetic field inhomogeneity. The present invention adopts a quadratic polynomial fitting, and the fitting formula is: B(x, y) = a0 + a1x + a2y + a3x 2 +a4y 2 +a5xy, where B(x,y) represents the magnetic field inhomogeneity value at the position (x,y), a0 is the constant term, which represents the overall offset; a1 is the linear term coefficient, which represents the linear change of the magnetic field inhomogeneity in the x direction; a2 is the linear term coefficient, which represents the linear change of the magnetic field inhomogeneity in the y direction; a3 is the quadratic term coefficient, which represents the quadratic change of the magnetic field inhomogeneity in the x direction; a4 is the quadratic term coefficient, which represents the quadratic change of the magnetic field inhomogeneity in the y direction; a5 is the cross term coefficient, which represents the cross change of the magnetic field inhomogeneity in the x and y directions.

[0076] In some embodiments of the present invention, calculating the magnetic field inhomogeneity distribution mainly includes using a difference method to calculate the difference between actual imaging data and a reference signal, using a ratio method to calculate the ratio of actual imaging data to a reference signal, and using a phase difference method to calculate the phase difference between actual imaging data and a reference signal, and then performing polynomial fitting on the calculation results of the above-mentioned difference method, ratio method or phase difference method to obtain a mathematical model of magnetic field inhomogeneity. In the present invention, quadratic polynomial fitting is used.

[0077] Based on the first aspect, further, the method for calculating the correction parameters in the magnetic field inhomogeneity mathematical model comprises the following steps:

[0078] The least square method is used to determine the correction parameters in the mathematical model of magnetic field inhomogeneity.

[0079] In some embodiments of the present invention, calculating the correction parameters mainly includes fitting the model: in the present invention, a quadratic polynomial model is used, and then the least squares method (using numpy in python for calculation) is used to determine the correction coefficients a0, a1, a2, a3, a4, a5 in the model; verifying the model: calculating the fitting error to verify the data set and evaluate the accuracy of the model.

[0080] The specific steps to determine the correction parameters include:

[0081] Step 1: Obtain the corresponding frequency offset, phase difference coordinates and difference values ​​from the actual imaging data and the reference signal. Assume that there are N data points, and the coordinates of each data point are (x i ,y i ), the corresponding magnetic field inhomogeneity value is b i .

[0082] Step 2: Use a quadratic polynomial model to represent the magnetic field inhomogeneity: b i =a0+a1x i +a2y i +a3x i2 +a4y i2 +a5x i y i +∈ i ; where ∈ i is the error term.

[0083] Step 3: Fit the model by the least squares method, so that the correction coefficients a0, a1, a2, a3, a4, a5 that minimize the sum of squared errors can be found.

[0084] The above calculation process can be calculated by the np.linalg.lstsq method provided by numpy in python.

[0085] Based on the first aspect, further, the method for correcting raw imaging data obtained by magnetic resonance scanning according to the correction parameters comprises the following steps:

[0086] According to the correction parameters, the frequency offset of each pixel in the original imaging data is calculated, and the frequency correction is performed;

[0087] According to the correction parameters, the phase offset of each pixel in the original imaging data is calculated and phase correction is performed;

[0088] The inverse Fourier transform reconstruction algorithm is used to convert the corrected frequency domain data back into a spatial domain image to achieve image reconstruction.

[0089] In some embodiments of the present invention, correcting the raw imaging data obtained by magnetic resonance scanning according to the correction parameters mainly includes: correcting the raw imaging data using the correction parameters and applying a correction algorithm to eliminate artifacts and distortions in the image.

[0090] Use the correction parameters to correct the raw imaging data:

[0091] Calculate the corrected offset: Get the correction coefficient based on the result of the magnetic field inhomogeneity model fitting in the previous step, and calculate the frequency offset of each pixel based on the correction coefficient. This step also involves compensating the frequency offset of each pixel, which can be calculated using Python's numpy.

[0092] Apply Frequency Correction: Perform frequency correction on the raw imaging data using the corrected frequency offset.

[0093] Apply correction algorithms to remove artifacts and distortion from images:

[0094] Phase correction: Based on the correction coefficient, the phase offset of each pixel is calculated and phase correction is applied; this step involves adjusting the phase of each pixel to eliminate phase distortion caused by magnetic field inhomogeneity.

[0095] Image reconstruction: Using the inverse Fourier transform reconstruction algorithm, the corrected frequency domain data is converted back to the spatial domain image, which can eliminate artifacts and distortion in the image.

[0096] Based on the first aspect, further, the method for real-time monitoring of magnetic field changes during magnetic resonance imaging and performing magnetic field adaptive optimization comprises the following steps:

[0097] Monitor the magnetic field changes at multiple locations including the center, edge, and outside of the plane of the imaging area to generate real-time monitoring data;

[0098] Adaptive filters are used to dynamically adjust correction parameters according to real-time monitoring data to achieve adaptive optimization of the magnetic field.

[0099] In some embodiments of the present invention, real-time monitoring of magnetic field changes: multiple magnetic field detection sensors are installed at different locations in the MRI device to detect changes in the magnetic field. The installation locations are as follows:

[0100] Center of imaging area: Obtain the magnetic field information at the center of the imaging area to calibrate and verify the uniformity of the magnetic field of the entire machine.

[0101] Edge of the imaging area (bottom): Obtain changes in the edge area of ​​the magnetic field, detect changes in the magnetic field at the edge of the imaging area, and help adjust the uniformity of the magnetic field.

[0102] Outside the imaging plane: Detects changes in the magnetic field outside the imaging area. These changes may affect the imaging area to help identify and correct the impact of external magnetic field interference on the imaging area.

[0103] Dynamic adjustment of correction coefficients: Use an adaptive filter to adjust the correction coefficients based on real-time data. The present invention uses a least mean square error (LMS) algorithm. An adaptive filter is a filter that dynamically adjusts its coefficients, adjusting the filter parameters based on the error between the input signal and the desired output to minimize the error.

[0104] Initialize the filter parameters: mainly including the initial coefficient and learning rate of the filter, and define the learning rate as 0.01;

[0105] Obtain real-time magnetic field data: obtain real-time magnetic field data by installing multiple magnetic field detection sensors;

[0106] Calculation error: the error between the current magnetic field data and the expected uniform magnetic field (the expected uniform magnetic field is the magnetic field detection sensor data at the center of the imaging area);

[0107] Update filter parameters: Use an adaptive filtering algorithm (LMS algorithm) to update the filter parameters to minimize the error.

[0108] like Figure 2 As shown, in a second aspect, an embodiment of the present invention provides a magnetic field uniformity correction system for magnetic resonance imaging, including a magnetic field inhomogeneity detection module 100, a correction parameter calculation module 200, a data correction module 300 and an adaptive optimization module 400, wherein:

[0109] The magnetic field inhomogeneity detection module 100 is used to detect the magnetic field inhomogeneity during the magnetic resonance imaging process, calculate the magnetic field inhomogeneity distribution, and obtain a magnetic field inhomogeneity mathematical model;

[0110] A correction parameter calculation module 200 is used to calculate correction parameters in a mathematical model of magnetic field inhomogeneity;

[0111] A data correction module 300, used to correct the original imaging data obtained by magnetic resonance scanning according to correction parameters;

[0112] The adaptive optimization module 400 is used to monitor the magnetic field changes in real time during the magnetic resonance imaging process and perform adaptive optimization of the magnetic field.

[0113] The system is based on the cooperation of multiple modules such as a magnetic field inhomogeneity detection module 100, a correction parameter calculation module 200, a data correction module 300 and an adaptive optimization module 400. Through accurate magnetic field inhomogeneity detection and modeling, the correction accuracy is improved and the image quality is significantly improved. Based on the inhomogeneity model, the optimal correction parameters are calculated, and an efficient optimization algorithm is adopted to reduce the calculation complexity, realize real-time correction, and eliminate artifacts and distortion. The system has good versatility and adaptability and is suitable for different equipment and environments. The correction parameters are monitored and dynamically adjusted in real time, the correction effect is optimized, manual intervention is reduced, and the automatic correction of magnetic field uniformity is realized.

[0114] like Figure 3 As shown, in a third aspect, an embodiment of the present application provides an electronic device, which includes a memory 101 for storing one or more programs and a processor 102. When the one or more programs are executed by the processor 102, any method in the first aspect described above is implemented.

[0115] The memory 101, the processor 102 and the communication interface 103 are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. The memory 101 can be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 101. The communication interface 103 can be used to communicate signaling or data with other node devices.

[0116] Among them, the memory 101 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.

[0117] The processor 102 may be an integrated circuit chip with signal processing capability. The processor 102 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0118] In the embodiments provided in the present application, it should be understood that the disclosed method and system can also be implemented in other ways. The method and system embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the method and system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0119] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0120] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by the processor 102, a method as in any one of the first aspects described above is implemented. If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk.

[0121] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0122] It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, and that the present application can be implemented in other specific forms without departing from the spirit or essential features of the present application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present application. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. A method for correcting magnetic field uniformity for magnetic resonance imaging, characterized in that: The following steps are involved: Detect the magnetic field inhomogeneity during magnetic resonance imaging, calculate the magnetic field inhomogeneity distribution, and obtain a mathematical model of magnetic field inhomogeneity; Calculate the correction parameters in the mathematical model of magnetic field inhomogeneity; Correcting raw imaging data obtained from magnetic resonance scanning according to correction parameters; Real-time monitoring of magnetic field changes during magnetic resonance imaging and adaptive optimization of the magnetic field are performed.

2. The method for correcting magnetic field uniformity of magnetic resonance imaging according to claim 1, characterized in that: The method for detecting magnetic field inhomogeneity of magnetic resonance imaging comprises the following steps: Select a reference signal; Using ultra-low field magnetic resonance equipment to image the reference signal and collect actual imaging data; Preprocessing the actual imaging data; Based on the preprocessed actual imaging data and reference signals, a variety of algorithms are used to calculate the magnetic field inhomogeneity.

3. The method for correcting magnetic field uniformity of magnetic resonance imaging according to claim 2, characterized in that: The method for calculating the magnetic field inhomogeneity distribution and obtaining the magnetic field inhomogeneity mathematical model comprises the following steps: The difference between the actual imaging data after preprocessing and the reference signal is calculated by using the difference method to obtain the difference result; The ratio method is used to calculate the ratio of the actual imaging data after preprocessing and the reference signal to obtain a ratio result; The phase difference between the actual imaging data after preprocessing and the reference signal is calculated by using the phase difference to obtain a phase difference result; The difference results, ratio results and phase difference results are fitted with polynomials to obtain the mathematical model of magnetic field inhomogeneity.

4. The method for correcting magnetic field uniformity of magnetic resonance imaging according to claim 1, characterized in that: The method for calculating the correction parameters in the magnetic field inhomogeneity mathematical model comprises the following steps: The least square method is used to determine the correction parameters in the mathematical model of magnetic field inhomogeneity.

5. The method for correcting magnetic field uniformity of magnetic resonance imaging according to claim 1, characterized in that: The method for correcting raw imaging data obtained by magnetic resonance scanning according to correction parameters comprises the following steps: According to the correction parameters, the frequency offset of each pixel in the original imaging data is calculated, and the frequency correction is performed; According to the correction parameters, the phase offset of each pixel in the original imaging data is calculated and phase correction is performed; The inverse Fourier transform reconstruction algorithm is used to convert the corrected frequency domain data back into a spatial domain image to achieve image reconstruction.

6. The method for correcting magnetic field uniformity of magnetic resonance imaging according to claim 1, characterized in that: The method for real-time monitoring of magnetic field changes during magnetic resonance imaging and performing magnetic field adaptive optimization comprises the following steps: Monitor the magnetic field changes at multiple locations including the center, edge, and outside of the plane of the imaging area to generate real-time monitoring data; Adaptive filters are used to dynamically adjust correction parameters according to real-time monitoring data to achieve adaptive optimization of the magnetic field.

7. A magnetic field uniformity correction system for magnetic resonance imaging, characterized in that: It includes a magnetic field inhomogeneity detection module, a correction parameter calculation module, a data correction module and an adaptive optimization module, wherein: A magnetic field inhomogeneity detection module is used to detect the magnetic field inhomogeneity during magnetic resonance imaging, calculate the magnetic field inhomogeneity distribution, and obtain a magnetic field inhomogeneity mathematical model; A correction parameter calculation module, used for calculating correction parameters in a mathematical model of magnetic field inhomogeneity; A data correction module, used to correct the original imaging data obtained by magnetic resonance scanning according to correction parameters; The adaptive optimization module is used to monitor the magnetic field changes during magnetic resonance imaging in real time and perform adaptive optimization of the magnetic field.

8. An electronic device, characterized in that: include: A memory for storing one or more programs; processor; When the one or more programs are executed by the processor, the method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.