A magnetic resonance image distortion correction method based on measuring gradient field and a gradient field measuring device

By measuring the gradient field distribution and calculating the harmonic coefficients, the magnetic resonance image is corrected using the distortion correction formula, which solves the nonlinear problem caused by the gradient coil manufacturing process error, achieves precise correction of the image output, and improves the imaging quality.

CN118501787BActive Publication Date: 2024-10-18WEIFANG XINLI SUPERCONDUCTING MAGNETIC TECHCO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410980204.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-18
Estimated Expiration
2044-07-22

AI Technical Summary

Technical Problem

In existing magnetic resonance imaging systems, the nonlinearity introduced by manufacturing process errors of gradient coils leads to differences in image output, and manufacturers are required to provide harmonic coefficients, which affects imaging quality and diagnostic accuracy.

Method used

By measuring the gradient field distribution, calculating the harmonic coefficients, and using the distortion correction formula to correct the magnetic resonance image, the nonlinearity introduced by the manufacturing process error is eliminated, and accurate correction of the image output is achieved.

Benefits of technology

There is no need for manufacturers to provide harmonic coefficients, which eliminates image output differences between different devices, improves imaging quality and diagnostic accuracy, and makes the correction results more accurate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118501787B_ABST
    Figure CN118501787B_ABST
Patent Text Reader

Abstract

The invention discloses a magnetic resonance image distortion correction method based on measuring gradient fields and a gradient field measuring device, belonging to the technical field of nuclear magnetic resonance imaging, comprising the following steps: applying currents to three gradient coils X, Y and Z respectively, measuring the measuring gradient fields respectively generated, and calculating the harmonic coefficients of the measuring gradient fields; making the measuring coordinate system axis of the measuring gradient field point in the same direction as the actual gradient coordinate system axis; obtaining scanning K space data and scanning parameters, and reconstructing to obtain a reconstructed image; obtaining a distortion correction formula through the harmonic coefficients and scanning parameters, and using the distortion correction formula to perform position correction on the reconstructed image to obtain a distortion-corrected image; the invention does not require the gradient coil manufacturer to provide the harmonic coefficients of the gradient field, and calculates the harmonic coefficients by actually measuring the gradient field distribution, and corrects the magnetic resonance image distortion through the distortion correction formula, so as to eliminate the image output difference caused by the nonlinearity introduced by the manufacturing process error of the gradient coil.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of nuclear magnetic resonance imaging, and in particular to a magnetic resonance image distortion correction method based on measuring gradient fields and a gradient field measuring device. Background Art

[0002] In the magnetic resonance imaging system, the gradient coils are required to generate linear gradient fields in the three directions of X, Y and Z for spatial encoding of magnetic resonance signals, including layer selection, frequency and phase encoding, to achieve the purpose of imaging. However, the actual gradient coils often have a certain degree of nonlinearity. On the one hand, the reason is that there is a certain conflict between the performance parameters of the gradient coils at the beginning of their design. In order to meet the clinical application goals, such as short cavity, large aperture, higher gradient field strength and switching rate, the linearity of the gradient coils is often sacrificed. On the other hand, the errors introduced by the manufacturing process of the gradient coils will also directly lead to the nonlinearity of the gradient field. Therefore, the gradient field generated by the gradient coils actually used in the nuclear magnetic resonance imaging system is not strictly linear, but has a certain degree of nonlinearity. The nonlinear change of the gradient coil will appear as image distortion in the reconstructed image, which directly affects the imaging quality and the accuracy of medical diagnosis. For example, in the imaging of some fine structures such as the brain or heart, positioning errors such as the distortion or stretching of the tissue structure may conceal lesions or mislead the diagnosis. Therefore, for gradient coils with a nonlinearity higher than a certain degree, image post-processing methods need to be used for distortion correction after imaging.

[0003] Specifically, the reason why gradient nonlinearity causes image distortion is that magnetic resonance imaging does not consider the nonlinearity of the gradient field when performing spatial encoding, and performs spatial encoding and reconstruction according to the assumption of linear gradient. This process is inconsistent with the actual nonlinear gradient field, which leads to image distortion. The general method of distortion correction is to fully consider the nonlinearity of the gradient field after image reconstruction, usually expressed by the harmonic coefficients of the gradient field, calculate the displacement change of the pixel, and thus restore the position of the tissue represented by the pixel. The harmonic coefficients of the gradient field generated by the gradient coil need to be provided by the manufacturer, which are usually the design parameters of the gradient coil, but do not include the nonlinearity introduced by the manufacturing process errors of the gradient coil. However, due to the nonlinearity introduced by the manufacturing process errors, there will be differences between the actual gradient field and the designed gradient field. This difference is different for each gradient coil device, and often leads to obvious differences in image output between different devices of the same design.

[0004] Therefore, it is an urgent problem to be solved at this stage to develop and design a magnetic resonance image distortion correction method and a gradient field measurement device that can eliminate the image output differences between different devices due to the nonlinearity introduced by the manufacturing process errors of the gradient coil and can more accurately express the actual gradient field generated by the gradient coil. Summary of the invention

[0005] In order to solve the problems existing in the prior art, the present invention provides a magnetic resonance image distortion correction method based on measuring gradient fields and a gradient field measurement device. The gradient coil manufacturer does not need to provide the harmonic coefficients of the gradient field. The harmonic coefficients are calculated by actually measuring the gradient field distribution, and the magnetic resonance image distortion is corrected by the distortion correction formula. The nonlinearity introduced by the manufacturing process error of the gradient coil can eliminate the image output difference between different devices caused by the nonlinearity.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0007] In a first aspect, the present invention provides a magnetic resonance image distortion correction method based on measuring gradient fields and a gradient field measurement device, comprising the following steps:

[0008] S1: Gradient field measurement: applying current to the three gradient coils X, Y and Z respectively, measuring the measurement gradient field generated by each gradient coil X, Y and Z respectively, and calculating the harmonic coefficient of the measurement gradient field;

[0009] S2: Gradient field registration: making the measurement coordinate system axis of the measured gradient field consistent with the actual gradient coordinate system axis;

[0010] S3: Magnetic resonance scanning: Use the magnetic resonance scanning sequence to obtain scanning K-space data and scanning parameters, and obtain a reconstructed image after reconstruction;

[0011] S4: distortion correction: obtaining a distortion correction formula through the harmonic coefficients and the scanning parameters, and using the distortion correction formula to perform position correction on the reconstructed image to obtain a distortion-corrected image.

[0012] As a preferred technical solution, in step S1, when measuring the measurement gradient field generated by each gradient coil of X, Y and Z, it is necessary to measure the magnetic field data of N×M sampling points located on the same sphere, wherein the N×M sampling points are the intersection points of the N radial angular directions and the M dimensional angular directions of the sphere, and the harmonic coefficients of the magnetic field are calculated using the spherical harmonic function expansion method. and , and use the following formula to calculate the magnetic field strength at any point in space:

[0013]

[0014] in, is the radius, is the zenith angle, is the latitude angle, for Step The adjoint Legendre polynomials of times.

[0015] As a preferred technical solution, step S2 includes the following sub-steps:

[0016] S21: Determine the zero point offset vector and perform zero point translation;

[0017] S22: Determine the rotation matrix and rotate the coordinate system.

[0018] As a preferred technical solution, in step S21, the zero point of the actual gradient coordinate system is set to the intersection of the zero planes of the measurement gradient fields generated by the three gradient coils X, Y and Z respectively; the zero point offset vector is set to the vector from the center of the sphere to the zero point; and the zero point translation is set to translate the sampling point according to the zero point offset vector.

[0019] As a preferred technical solution, in step S22, the x-axis of the actual gradient coordinate system is the direction of the zero plane intersection line of the measurement gradient field generated by the Y and Z gradient coils respectively; the y-axis of the actual gradient coordinate system is the direction of the zero plane intersection line of the measurement gradient field generated by the X and Z gradient coils respectively; the z-axis of the actual gradient coordinate system is the direction of the zero plane intersection line of the measurement gradient field generated by the X and Y gradient coils respectively; the unit direction vectors of the x-axis, y-axis and z-axis of the actual gradient coordinate system form the rotation matrix; the coordinate system rotation is to rotate the sampling point according to the rotation matrix;

[0020] After the gradient field is aligned, the harmonic coefficients of the measurement gradient field generated by the three gradient coils X, Y and Z are calculated using the spherical harmonic function expansion method and are and , and as well as and .

[0021] As a preferred technical solution, in steps S3 and S4, the magnetic resonance scanning includes three-dimensional scanning and two-dimensional scanning; the distortion correction formula includes a three-dimensional scanning distortion correction formula and a two-dimensional scanning distortion correction formula.

[0022] As a preferred technical solution, when the magnetic resonance scanning is a three-dimensional scanning, the calculation formulas for the measurement gradient fields generated by the three gradient coils X, Y and Z are respectively:

[0023]

[0024] in, , and The measurement gradient fields are generated by three gradient coils X, Y and Z respectively, represents the linear component, represents the nonlinear component;

[0025] The calculation formula of the gradient of the measurement gradient field is:

[0026]

[0027] in, , and The gradients of the measurement gradient fields generated by the three gradient coils X, Y and Z respectively;

[0028] And there is , , ,

[0029]

[0030] in, is the expression of position in spherical coordinate system, is the expression of position in Cartesian coordinate system, and

[0031]

[0032] The coordinates are The calculation formula for the position offset of the point is:

[0033]

[0034] That is, the three-dimensional scanning distortion correction formula is:

[0035]

[0036] in, for The coordinate position after distortion.

[0037] As a preferred technical solution, when the magnetic resonance scan is a two-dimensional scan, step S4 includes the following sub-steps:

[0038] S41: Layer selection direction correction: Perform a layer selection direction correction independently. The layer selection direction coordinates are marked as ;

[0039] S42: 2D image correction: Perform position correction of frequency encoding and phase encoding at the corrected layer selection position. The coordinates of frequency encoding and phase encoding are marked as and , ;

[0040] The two-dimensional scanning distortion correction formula is:

[0041]

[0042] in, is the Cartesian coordinate Expressed in spherical coordinates.

[0043] In a second aspect, the present invention provides a gradient field measurement device for implementing step S1 in the aforementioned magnetic resonance image distortion correction method based on measuring gradient fields, characterized in that it comprises:

[0044] A magnetometer, wherein the magnetometer is provided with N Gaussmeter probes, and the N Gaussmeter probes are distributed along a semicircular arc;

[0045] A three-dimensional measuring platform comprises a central axis, the magnetometer is fixed on the central axis; the central axis can rotate around its axis.

[0046] As a preferred technical solution, the magnetometer is semicircular, and the diameter of the magnetometer coincides with the axis of the central axis; N Gaussmeter probes are evenly distributed along the arc of the magnetometer;

[0047] And / or, both ends of the central axis are provided with support plates rotatably connected thereto, and the outer edges of the support plates are provided with a plurality of support legs extending radially along the central axis, and the support legs are configured as retractable structures;

[0048] And / or, the number N of the Gaussmeter probes is set to 10-30.

[0049] The beneficial effects of the present invention are as follows:

[0050] 1. The present invention does not require the gradient coil manufacturer to provide the harmonic coefficient of the gradient field. The harmonic coefficient is calculated by actually measuring the gradient field distribution, and the magnetic resonance image distortion is corrected by the distortion correction formula, which can eliminate the image output difference between different devices caused by the nonlinearity introduced by the manufacturing process error of the gradient coil.

[0051] 2. The present invention eliminates the measurement error introduced by the gradient field measurement device through the step of gradient field registration, so that the measured gradient field more accurately expresses the gradient field generated by the actual gradient coil, and the correction result is more precise.

[0052] 3. The distortion correction formula provided in the present invention only includes the gradient magnetic field data and can be directly calculated by measuring the harmonic coefficients of the gradient field. Position correction can be completed by any interpolation algorithm.

[0053] 4. The present invention provides a two-dimensional distortion correction formula and a three-dimensional distortion correction formula, which are applicable to different types of magnetic resonance scanning sequences. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A process flow chart of an embodiment of a magnetic resonance image distortion correction method based on measuring gradient fields and a gradient field measuring device according to the present invention;

[0055] Figure 2 It is a schematic axial cross-sectional view of a gradient field measurement device of the present invention;

[0056] Figure 3 It is a cross-sectional schematic diagram of a gradient field measurement device of the present invention.

[0057] In the figure: 1-magnetometer, 2-Gauss meter probe, 3-central axis, 4-support plate, 5-support leg, 6-gradient coil. DETAILED DESCRIPTION

[0058] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.

[0059] First, please refer to Figure 1 , a specific embodiment of a magnetic resonance image distortion correction method based on measuring gradient fields provided by the invention, comprising the following steps:

[0060] S1: Gradient field measurement: A certain current is applied to the three gradient coils X, Y and Z respectively, and a gradient field measuring device is used to measure the measurement gradient field generated by each gradient coil X, Y and Z respectively, and the harmonic coefficient of the initial measurement gradient field is calculated.

[0061] Specifically, when measuring the measurement gradient field generated by each gradient coil of X, Y and Z, it is necessary to measure the magnetic field data of N×M sampling points located on the same sphere; further, if there is a background field, it is necessary to measure the background magnetic field first, and then apply current to the gradient coil to measure the superimposed gradient field, and the superimposed gradient field minus the background field is the measurement gradient field; wherein the N×M sampling points are the intersection points of the N radial angular directions and the M dimensional angular directions of the sphere, and the harmonic coefficients of the magnetic field are calculated using the spherical harmonic function expansion method and , and use the following formula to calculate the magnetic field strength at any point in space:

[0062]

[0063] in, is the radius, is the zenith angle, is the latitude angle, for Step The associated Legendre polynomials of times; it should be noted that the larger the values ​​of N and M are, the higher the harmonic coefficients can be obtained, and the more accurate the calculated magnetic field distribution is.

[0064] S2: Gradient field registration: Make the measurement coordinate system axis of the measured gradient field consistent with the actual gradient coordinate system axis.

[0065] In step S1, the coordinate system of the gradient field data measured by the gradient field measuring device is determined by the gradient field measuring device. There will be a measurement error introduced by the measuring platform between its coordinate axis and the coordinate axis of the actual gradient field. In addition, the initial position of the magnetometer 1 in the latitude angle direction can be set arbitrarily, and may also be inconsistent with the actual gradient direction. Both need to be gradient field registered; the goal of gradient field registration is to transform the spherical magnetic field distribution of the measured gradient field into the coordinate system of the actual gradient field; that is, there is a zero point translation and a coordinate system rotation between the gradient field measurement coordinate system and the gradient coordinate system.

[0066] Therefore, step S2 includes the following sub-steps:

[0067] S21: Determine the zero point offset vector and perform zero point translation;

[0068] In step S21, the zero point of the actual gradient coordinate system is the intersection of the zero planes of the measurement gradient fields generated by the three gradient coils X, Y and Z respectively. At the intersection, the magnetic field strengths of the three gradient fields are all zero, and the zero point offset vector is the vector from the center of the sphere to the zero point; the zero point translation is set to translate the spherical sampling points according to the zero point offset vector, and calculate the magnetic field distribution on the sampling points after the translation, that is, translate the zero point of the measurement coordinate system to the zero point of the actual gradient coordinate system, and after the translation, the magnetic field strengths of the three measurement gradient fields at the origin of the actual gradient coordinate system are zero.

[0069] S22: Determine the rotation matrix and rotate the coordinate system;

[0070] In step S22, the x-axis of the actual gradient coordinate system is the direction of the zero plane intersection of the measurement gradient fields generated by the Y and Z gradient coils, and is also the direction in which the gradient field generated by the X gradient coil changes fastest; the y-axis of the actual gradient coordinate system is the direction of the zero plane intersection of the measurement gradient fields generated by the X and Z gradient coils, and is also the direction in which the gradient field generated by the Y gradient coil changes fastest; the z-axis of the actual gradient coordinate system is the direction of the zero plane intersection of the measurement gradient fields generated by the X and Y gradient coils, and is also the direction in which the gradient field generated by the Z gradient coil changes fastest; the unit direction vectors of the x-axis, y-axis and z-axis of the actual gradient coordinate system are calculated to form a rotation matrix; all spherical sampling points are rotated according to the rotation matrix, and the magnetic field distribution on the sampling points after rotation is calculated, that is, the coordinate system rotation is completed, and after the rotation, the three coordinate system axes x, y and z are the directions in which the gradient fields generated by the three gradient coils X, Y and Z change fastest respectively;

[0071] After the gradient field is aligned, the harmonic coefficients of the measurement gradient fields generated by the three gradient coils X, Y and Z are calculated using the spherical harmonic function expansion method and are: and , and as well as and .

[0072] S3: Magnetic resonance scanning: Use the magnetic resonance scanning sequence to obtain scanning K-space data and scanning parameters, and obtain a reconstructed image after reconstruction.

[0073] The imaged object is scanned sequentially using a magnetic resonance device to obtain scanned K-space data, which is a magnetic resonance time-domain signal of the imaged object that has been spatially encoded. A Fourier transform is used to obtain a magnetic resonance frequency-domain signal representing the imaged object with spatial information. The signal amplitude is generally used as the reconstructed image. During image reconstruction, the nonlinearity of gradient encoding is not considered, so the reconstructed image obtained has distortion introduced by gradient nonlinearity. The reconstructed image is generally three-dimensional data, representing frequency encoding, phase encoding, and layer selection direction, respectively. In actual use, magnetic resonance scanning usually includes three-dimensional scanning and two-dimensional scanning.

[0074] While performing magnetic resonance sequence scanning to obtain the reconstructed image, the corresponding scanning parameters are also obtained, such as scanning direction, encoding direction, sampling dimension, scanning field of view, layer selection interval, etc.; these scanning parameters can indicate the actual physical parameters and meaning of the scanned object represented by the reconstructed image data.

[0075] S4: distortion correction: obtain the distortion correction formula through the harmonic coefficient and the scanning parameter, use the distortion correction formula to perform position correction on the reconstructed image, and obtain the distortion corrected image.

[0076] Specifically, when the magnetic resonance scanning is a three-dimensional scanning, the measurement gradient magnetic field can be decomposed into the sum of the ideal linear gradient field and the nonlinear gradient field. The calculation formulas for the measurement gradient fields generated by the three gradient coils X, Y and Z are respectively:

[0077]

[0078] in, , and The measurement gradient fields are generated by the three gradient coils X, Y and Z respectively. represents the linear component, represents the nonlinear component;

[0079] The calculation formula for measuring the gradient of the gradient field is:

[0080]

[0081] in, , and The gradients of the measurement gradient fields generated by the three gradient coils X, Y and Z respectively;

[0082] And there is , , ,

[0083]

[0084] in, is the expression of position in spherical coordinate system, is the expression of position in Cartesian coordinate system, and

[0085]

[0086] Therefore, the image distortion caused by gradient nonlinearity, that is, the coordinates are The calculation formula for the position offset of the point is:

[0087]

[0088] That is, the three-dimensional scanning distortion correction formula is:

[0089]

[0090] in, for The coordinate position after distortion.

[0091] Within the imaging field of view, the image of the imaged object is expressed as , and the reconstructed image is the distorted image of the imaged object, expressed as ; The range of the imaging field of view can be determined according to the scanning parameters, and the imaging field of view can be grid-divided according to the imaging parameters to obtain the ideal image of grid discrete sampling and the reconstructed distorted image , according to the 3D scanning distortion correction formula, the ideal image The distorted image can be reconstructed from Interpolation is performed to obtain the corrected image.

[0092] For three-dimensional scanning, the corresponding gradient fields are used for spatial encoding and reconstruction in the x, y and z directions, and the distortion correction can directly use the three-dimensional scanning distortion correction formula to correct the distorted image.

[0093] When the MRI scan is a two-dimensional scan, that is, one direction in the actual gradient coordinate system is the layer selection direction, and the gradients in the other two directions are used as spatial encoding. Reconstruction is only performed in the spatial encoding direction, and the layer selection direction is not involved in the reconstruction, so the layer selection direction cannot be corrected. In order to more accurately consider the distortion in the layer selection direction, the distortion correction of the two-dimensional scan should be divided into two steps:

[0094] S41: Layer selection direction correction: Perform a layer selection direction correction independently. The layer selection direction coordinates are marked as ;

[0095] S42: 2D image correction: Perform position correction of frequency encoding and phase encoding at the corrected layer selection position. The coordinates of frequency encoding and phase encoding are marked as and , ;

[0096] The two-dimensional scanning distortion correction formula is:

[0097]

[0098] in, is the Cartesian coordinate Expressed in spherical coordinates.

[0099] Second, please refer to Figure 2 and Figure 3 , is a specific embodiment of a gradient field measurement device provided by the present invention, used to implement step S1 in the aforementioned magnetic resonance image distortion correction method based on measuring gradient fields, comprising a magnetometer 1 and a three-dimensional measurement platform, the three-dimensional measurement platform comprising a central axis 3, the magnetometer 1 is fixed on the central axis 3, N Gaussmeter probes 2 are distributed on the magnetometer 1 along a semicircular arc, and the Gaussmeter probes 2 are connected to an external measuring instrument through a data line; when the central axis 3 can rotate around its axis, the magnetometer 1 can be driven to rotate; specifically, as Figure 2As shown, N Gauss meter probes 2 are distributed along the radial angle direction a of the sphere. Figure 3 As shown, N Gaussmeter probes 2 can scan any angle on the spherical surface along the dimension angular direction b, so that the N Gaussmeter probes 2 can sample at points distributed on the spherical surface to obtain measured magnetic field data of discrete sampling points on the spherical surface, and the harmonic coefficients of the magnetic field can be obtained using the magnetic field harmonic coefficient expansion method.

[0100] For clarification, please refer to Figure 2 and Figure 3 The magnetometer 1 is preferably semicircular in shape, the diameter of the magnetometer 1 coincides with the axis of the central axis 3 , and N Gaussmeter probes 2 are evenly distributed along the arc of the magnetometer 1 .

[0101] In this embodiment, please refer to Figure 2 and Figure 3 Both ends of the central axis 3 are provided with support plates 4 rotatably connected thereto, and a plurality of support legs 5 extending radially along the central axis 3 are provided at the outer edge of the support plate 4, and the support legs 5 are configured as a retractable structure. By adjusting the length of the support legs 5, the three-dimensional measurement platform can be fixed on the inner wall of the cylindrical gradient coil 6, and the axis center of the central axis 3 is made colinear with the axis center of the gradient coil 6; specifically, both ends of the central axis 3 are rotatably connected to the support plate 4 through bearings.

[0102] Please refer to Figure 2 and Figure 3 , the specific measurement method of the present invention is as follows:

[0103] Adjust the support legs 5 on the support plate 4 so that the axis of the central axis 3 coincides with the axis of the cylindrical gradient coil 6, and the center of the semicircular magnetometer 1 coincides with the center of the gradient coil 6;

[0104] Set the initial position and step angle of the magnetometer 1 in the dimensional angular direction, start from the initial dimensional angle, measure the magnetic field strength data of the sampling points where the Gaussmeter probes 2 are located in N dimensional angular directions, rotate the central axis 3 in turn according to the step angle along the dimensional angular direction and fix it, measure the magnetic field strength data of the sampling points in M ​​dimensional angular directions in turn, and obtain the magnetic field data of N×M spherical sampling points; specifically, the number N of Gaussmeter probes 2 is preferably set to 10-30, and the number M of fixed rotation angles is preferably set to 10-30.

[0105] The above description is only a preferred embodiment of the present invention and is 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.

Claims

1. A method for correcting magnetic resonance image distortion based on measuring gradient fields, characterized in that: The following steps are involved: S1: Gradient field measurement: applying current to the three gradient coils X, Y and Z respectively, measuring the measurement gradient field generated by each gradient coil X, Y and Z respectively, and calculating the harmonic coefficient of the measurement gradient field; In step S1, when measuring the measurement gradient field generated by each gradient coil of X, Y and Z, the magnetic field data of N×M sampling points located on the same spherical surface need to be measured, wherein the N×M sampling points are the intersection points of the N radial angular directions and the M dimensional angular directions of the spherical surface, and the harmonic coefficients of the magnetic field are calculated using the spherical harmonic function expansion method. and , and use the following formula to calculate the magnetic field strength at any point in space: in, is the radius, is the zenith angle, is the latitude angle, for Step Legendre polynomials S2: Gradient field registration: making the measurement coordinate system axis of the measured gradient field consistent with the actual gradient coordinate system axis; The step S2 comprises the following sub-steps: S21: Determine the zero point offset vector and perform zero point translation; S22: Determine the rotation matrix and rotate the coordinate system; In step S21, the zero point of the actual gradient coordinate system is set to the intersection of the zero planes of the measurement gradient fields generated by the three gradient coils X, Y and Z respectively; the zero point offset vector is set to the vector from the center of the sphere to the zero point; the zero point translation is set to translate the sampling point according to the zero point offset vector; In step S22, the x-axis of the actual gradient coordinate system is the direction of the zero plane intersection line of the measurement gradient field generated by the Y and Z gradient coils respectively; the y-axis of the actual gradient coordinate system is the direction of the zero plane intersection line of the measurement gradient field generated by the X and Z gradient coils respectively; the z-axis of the actual gradient coordinate system is the direction of the zero plane intersection line of the measurement gradient field generated by the X and Y gradient coils respectively; the unit direction vectors of the x-axis, y-axis and z-axis of the actual gradient coordinate system form the rotation matrix; the coordinate system rotation is to rotate the sampling point according to the rotation matrix; after the gradient field is aligned, the harmonic coefficients of the measurement gradient field generated by the three gradient coils X, Y and Z are calculated by using the spherical harmonic function expansion method, respectively and , and as well as and ; S3: Magnetic resonance scanning: Use the magnetic resonance scanning sequence to obtain scanning K-space data and scanning parameters, and obtain a reconstructed image after reconstruction; S4: distortion correction: obtaining a distortion correction formula through the harmonic coefficients and the scanning parameters after gradient field registration, and using the distortion correction formula to perform position correction on the reconstructed image to obtain a distortion-corrected image.

2. The method for correcting magnetic resonance image distortion based on measuring gradient fields according to claim 1, characterized in that: In steps S3 and S4, the magnetic resonance scanning includes three-dimensional scanning and two-dimensional scanning; the distortion correction formula includes a three-dimensional scanning distortion correction formula and a two-dimensional scanning distortion correction formula.

3. The method for correcting magnetic resonance image distortion based on measuring gradient fields according to claim 2, characterized in that: When the magnetic resonance scan is a three-dimensional scan, the calculation formulas for the measurement gradient fields generated by the three gradient coils X, Y and Z are respectively: in, , and The measurement gradient fields are generated by three gradient coils X, Y and Z respectively, represents the linear component, represents the nonlinear component; The calculation formula of the gradient of the measurement gradient field is: in, , and The gradients of the measurement gradient fields generated by the three gradient coils X, Y and Z respectively; And there is , , , in, is the expression of position in spherical coordinate system, is the expression of position in Cartesian coordinate system, and The coordinates are The calculation formula for the position offset of the point is: That is, the three-dimensional scanning distortion correction formula is: in, for The coordinate position after distortion.

4. The method for correcting magnetic resonance image distortion based on measuring gradient fields according to claim 3, characterized in that: When the magnetic resonance scan is a two-dimensional scan, step S4 includes the following sub-steps: S41: Layer selection direction correction: Perform a layer selection direction correction independently. The layer selection direction coordinates are marked as ; S42: 2D image correction: Perform position correction of frequency encoding and phase encoding at the corrected layer selection position. The coordinates of frequency encoding and phase encoding are marked as and , ; The two-dimensional scanning distortion correction formula is: in, is the Cartesian coordinate Expressed in spherical coordinates.

Citation Information

Patent Citations

  • Method of correcting gradient deformation of magnetic resonant image based on spherical harmonic function

    CN101046506A

  • Correction of magnetic resonance images

    US20050024051A1