A magnetic resonance imaging acquisition method, device, equipment and medium

By acquiring and aligning the sampling position and K-space data of the magnetic resonance scanning part, the problem of motion artifacts in magnetic resonance images is solved, the stability of artifact removal and the improvement of image quality are achieved, and artifacts in the existing technology are solved. Remove the problem of poor stability.

CN114266728BActive Publication Date: 2024-08-23SHENZHEN INST OF ADVANCED TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111428699.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-27
Publication Date
2024-08-23
Estimated Expiration
2041-11-27

AI Technical Summary

Technical Problem

The imaging speed of magnetic resonance imaging is slow, and the K-space data merging artifacts caused by patient fluctuations affect the confirmation of the condition. The existing artifact removal neural network model has poor stability and can easily cause image distortion.

Method used

During the magnetic resonance scanning process, the sampling position and K-space data at each sampling moment are obtained, the relative positions are determined for data alignment, and the inverse Fourier transform is performed after merging to reduce motion artifacts, and the pre-trained neural network model is used to improve Image quality.

Benefits of technology

Effectively remove motion artifacts, improve the stability and resolution of magnetic resonance images, and ensure the accuracy and clarity of images when motion is large.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114266728B
    Figure CN114266728B
Patent Text Reader

Abstract

The present application provides a method, device, equipment and medium for acquiring magnetic resonance images, the method comprising: acquiring a sampling position and K-space data of a magnetic resonance scanning part of a subject at each sampling moment, wherein the sampling position comprises coordinate data, a pitch angle, a yaw angle and a roll angle; determining the relative position of each sampling position relative to a standard position; aligning the corresponding K-space data according to the relative position to obtain aligned K-space data; merging all the aligned K-space data to obtain merged K-space data; and performing an inverse Fourier transform on the merged K-space data to obtain a magnetic resonance image in the spatial domain, with excellent stability in artifact removal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of magnetic resonance image acquisition, and in particular to a magnetic resonance image acquisition method, device, equipment and medium. Background Art

[0002] Magnetic resonance imaging is obtained by merging all K-space data collected multiple times, and then performing inverse Fourier transform on the merged data. However, the imaging speed of magnetic resonance imaging is slow, and the patient's own fluctuations during the scanning process will eventually cause artifacts in the magnetic resonance imaging obtained by merging the K-space data collected at different times, affecting medical workers' confirmation of the patient's condition.

[0003] The commonly used method to solve the problem of artifacts in magnetic resonance images is to add pads under the patient's part to be examined to reduce the patient's fluctuations. This method is simple to operate, but when the fluctuation amplitude increases, artifacts will still be generated in the magnetic resonance image. To solve the above problems, the related technology uses an artifact removal neural network model to remove artifacts from the obtained magnetic resonance images with artifacts. Specifically, the neural network module is trained using magnetic resonance images with artifacts and normal magnetic resonance images to obtain a trained artifact removal neural network model. In actual applications, the magnetic resonance image with artifacts is input into the artifact removal neural network model, and a normal magnetic resonance image is output. When the above method is used to remove artifacts, and the artifact removal neural network model automatically removes artifacts, due to the uncertainty of the artifact size, the obtained magnetic resonance image is prone to distortion of the non-artifact part, and the output result stability is poor.

[0004] In the process of implementing this application, the applicant found that there are at least the following problems in this technology: the artifact removal neural network model is prone to image distortion when processing artifact images, resulting in poor output stability. Therefore, how to provide a solution to the above technical problems is a problem that technicians in this field currently need to solve. Summary of the invention

[0005] The first object of this application is to provide a method for acquiring magnetic resonance images, which is achieved through the following technical solutions:

[0006] A method for acquiring a magnetic resonance image, comprising:

[0007] Acquire the sampling position and K-space data of the magnetic resonance scanning part of the subject at each sampling moment, wherein the sampling position includes coordinate data, pitch angle, yaw angle, and roll angle;

[0008] Determining the relative position of each of the sampling positions with respect to the standard position;

[0009] Aligning the corresponding K-space data according to the relative position to obtain aligned K-space data;

[0010] Merging all the aligned K-space data to obtain merged K-space data;

[0011] The combined K-space data is subjected to inverse Fourier transformation to obtain a magnetic resonance image in the space domain.

[0012] Through the above technical scheme, during the process of magnetic resonance scanning, this scheme obtains the sampling position of the magnetic resonance scanning part at each sampling moment while obtaining the K-space data. The magnetic resonance scanning part of the subject will fluctuate during the magnetic resonance scanning, and there will be differences in the sampling position at each sampling moment; after determining the standard position, the relative position of each sampling position relative to the standard position is obtained, and the relative position is used to align the K-space data to the standard position, and restore the moved K-space data. Finally, there is no motion artifact in the magnetic resonance image obtained after merging the K-space data. Even K-space data with a large motion amplitude can be restored, the image will not be distorted, and the stability of artifact removal is excellent.

[0013] Preferably, before determining the relative position of each sampling position relative to the standard position, the method further comprises:

[0014] The standard position is determined from all the sampling positions, or a set position is used as the standard position.

[0015] Through the above technical solution, this solution determines the standard position from all sampling positions, or sets a fixed sampling position as the standard position, which can be flexibly set according to actual needs.

[0016] Preferably, determining the standard position from all the sampling positions comprises:

[0017] Determine the sampling position corresponding to the middle sampling moment among all the sampling moments as the standard position;

[0018] Or, a target sampling position having the largest number of identical times is determined from all the sampling positions, and the target sampling position is determined as the standard position.

[0019] Through the above technical scheme, since data loss may occur when the K-space data is spatially converted, the sampling position corresponding to the intermediate sampling moment, or the target sampling position with the most identical times among all the sampling positions is used as the standard position, which can minimize movement and reduce the introduction of errors.

[0020] Preferably, aligning the corresponding K-space data according to the relative positions to obtain aligned K-space data includes:

[0021] Determining geometric transformation information according to the relative position, wherein the geometric transformation information includes translation information and rotation information;

[0022] The K-space data is transformed by Fourier transformation according to the geometric transformation information to obtain transformed K-space data, and the transformed K-space data is used as the aligned space data.

[0023] Through the above technical solution, after determining the translation information and rotation information, this solution uses Fourier transform to transform the K space data to obtain data aligned with the standard position, which is used as the aligned space data.

[0024] Preferably, it also includes:

[0025] The sampling frequency of the magnetic resonance scanning is controlled to be half of the interval between two pulses.

[0026] Through the above technical solution, when performing magnetic resonance scanning, tens of thousands of pulses are required to obtain a magnetic resonance image with sufficient clarity. The sampling rate should be close to half of the interval between two pulses during imaging to improve the accuracy of the simulation trajectory.

[0027] Preferably, it also includes:

[0028] The magnetic resonance image is input into a pre-established neural network model for high-quality conversion to obtain a high-quality magnetic resonance image.

[0029] Through the above technical solution, this solution pre-trains a neural network model for converting low-quality images to high-quality images, inputs the magnetic resonance image into the neural network model, obtains a high-quality magnetic resonance image, and improves the resolution of the image.

[0030] Preferably, the step of acquiring the sampling position and K-space data of the subject's magnetic resonance scanning part at each sampling moment includes:

[0031] Acquiring an initial sampling position and initial K-space data of the magnetic resonance scanning part of the subject at an initial sampling time;

[0032] Acquire the relative sampling position of each sampling moment of the magnetic resonance scanning part relative to the previous sampling moment and the corresponding current K-space data;

[0033] After all the relative sampling positions are acquired, all the relative sampling positions are transformed using the initial sampling position to obtain all the sampling positions, and all the K space data are obtained based on the initial K space data and all the current K space data.

[0034] Through the above technical scheme, each acquisition of this scheme is based on the relative sampling position of the previous sampling moment, which simplifies the data acquisition method at the sampling moment. After the sampling is completed, all relative sampling positions are uniformly transformed using the initial sampling position to obtain all sampling positions, thereby improving the efficiency of the final sampling position acquisition.

[0035] The second object of the present application is to provide a magnetic resonance imaging acquisition device, which is achieved through the following technical solutions:

[0036] A magnetic resonance imaging acquisition device, comprising:

[0037] An acquisition module, used to acquire the sampling position and K-space data of the subject's magnetic resonance scanning part at each sampling moment, wherein the sampling position includes coordinate data, pitch angle, yaw angle, and roll angle;

[0038] A relative position determination module, used to determine the relative position of each sampling position relative to the standard position;

[0039] An alignment module, used for aligning the corresponding K-space data according to the relative position to obtain aligned K-space data;

[0040] A merging module, used for merging all the aligned K-space data to obtain merged K-space data;

[0041] The Fourier transform module is used to perform inverse Fourier transform on the combined K-space data to obtain a magnetic resonance image in the space domain.

[0042] The third object of the present application is to provide an electronic device, which is achieved by the following technical solutions:

[0043] An electronic device comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute any one of the above magnetic resonance image acquisition methods.

[0044] The fourth objective of this application is to provide a computer storage medium, which is achieved through the following technical solutions:

[0045] A computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the magnetic resonance imaging acquisition method as described in any one of the above. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A schematic diagram of a flow chart of a method for acquiring a magnetic resonance image provided in an embodiment of the present application;

[0047] Figure 2A schematic diagram of the structure of a magnetic resonance imaging acquisition device provided in an embodiment of the present application;

[0048] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The present application is further described in detail below in conjunction with the accompanying drawings.

[0050] This specific embodiment is only an explanation of the present application, and it is not a limitation of the present application. After reading this specification, those skilled in the art can make non-creative modifications to the present embodiment as needed, but as long as it is within the scope of the embodiments of the present application, it is protected by the patent law.

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0052] In addition, the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.

[0053] The related technology utilizes neural networks by training the neural network using magnetic resonance images with artifacts and normal magnetic resonance images to obtain a trained artifact removal neural network model, and inputting the magnetic resonance images with artifacts into the artifact removal neural network model to output a normal magnetic resonance image. However, the stability is poor and it is easy to cause distortion of the non-artifact part.

[0054] In order to solve the above technical problems, the embodiment of the present application provides a method for acquiring magnetic resonance images. During the magnetic resonance scanning process, each sampling moment acquires the sampling position of the magnetic resonance scanning part while acquiring the K-space data. The magnetic resonance scanning part of the subject will fluctuate during the magnetic resonance scanning, and there will be differences in the sampling position at each sampling moment. After determining the standard position, the relative position of each sampling position relative to the standard position is obtained. The relative position is used to align the K-space data to the standard position and restore the moved K-space data. Finally, after merging the K-space data, the magnetic resonance image obtained has no motion artifacts. Even K-space data with large motion amplitudes can be restored, and the stability of artifact removal is excellent. For details, please refer to Figure 1 , Figure 1 A schematic flow chart of a magnetic resonance imaging acquisition method provided in an embodiment of the present application includes:

[0055] S110, acquiring a sampling position and K-space data of the subject's magnetic resonance scanning part at each sampling moment, wherein the sampling position includes coordinate data, pitch angle, yaw angle, and roll angle;

[0056] When acquiring magnetic resonance images, tens of thousands of pulses are required to obtain images with sufficient clarity, and K-space data and sampling positions need to be collected at multiple times.

[0057] The K-space data and the sampling position both correspond to the MRI scanning part of the subject. The MRI scanning time is long, and the MRI scanning part may be displaced, and the sampling position has changed. The sampling position includes coordinate data, pitch angle, yaw angle, and roll angle; wherein the coordinate data can be in the form of a rectangular coordinate system or a polar coordinate system; the pitch angle, yaw angle, and roll angle in the coordinates are used to accurately describe the patient's posture in 3D space. This embodiment does not limit the subject, which can be a human or an animal, and the MRI scanning part can be the leg or the brain.

[0058] S120, determining the relative position of each sampling position relative to the standard position;

[0059] In this embodiment, a standard position is determined, and the sampling position is obtained by directly collecting the actual position at the sampling moment. Then, the difference of each sampling position relative to the standard position is determined, and the difference is determined as the relative position for aligning the K-space data. For example, at the first moment, (coordinate data 1, pitch angle 1, yaw angle 1, roll angle 1) is obtained as sampling position 1, and at the second moment, (coordinate data 2, pitch angle 2, yaw angle 2, roll angle 2) is obtained as sampling position 2, and the standard position is (coordinate data a, pitch angle a, yaw angle a, roll angle a); the relative position at the first moment can be (coordinate data 1-coordinate data a, pitch angle 1-pitch angle a, yaw angle 1-yaw angle a, roll angle 1-roll angle a); the relative position at the second moment can be (coordinate data 2-coordinate data a, pitch angle 2-pitch angle a, yaw angle 2-yaw angle a, roll angle 2-roll angle a).

[0060] When each acquisition is the relative sampling position of the current sampling moment relative to the previous sampling moment, it is necessary to determine the actual sampling position based on the relative sampling position, and then subtract the actual sampling position from the standard position, and the difference obtained is the relative position. For example, at the initial moment, (coordinate data s, pitch angle s, yaw angle s, roll angle s) is obtained, and at the first moment, the relative sampling position relative to the initial moment is obtained (coordinate data △1, pitch angle △1, yaw angle △1, roll angle △1); the standard position is (coordinate data a, pitch angle a, yaw angle a, roll angle a); the relative position at the initial moment is (coordinate data s-coordinate data a, pitch angle s-pitch angle a, yaw angle s-yaw angle a, roll angle s-roll angle a); the relative position at the first moment is (coordinate data s+coordinate data △1-coordinate data a, pitch angle s+pitch angle △1-pitch angle a, yaw angle s+yaw angle △1-yaw angle a, roll angle △1+roll angle s-roll angle a).

[0061] S130, aligning the corresponding K-space data according to the relative positions to obtain aligned K-space data;

[0062] The K-space data is spatially transformed according to the relative position, and all the K-space data are aligned at the standard position to obtain the aligned spatial data. For example, when the relative position is (coordinate data P, pitch angle P, yaw angle P, roll angle P), the K-space data is controlled to move horizontally - coordinate data P, rotate - pitch angle P, - yaw angle P, - roll angle P.

[0063] S140, merging all aligned K-space data to obtain merged K-space data;

[0064] S150, performing inverse Fourier transform on the merged K-space data to obtain a magnetic resonance image in the space domain.

[0065] All aligned K-space data are merged, and the merged K-space data are inversely Fourier transformed to obtain a magnetic resonance image in the spatial domain.

[0066] Based on the above technical solution, in the process of magnetic resonance scanning, this embodiment obtains the sampling position of the magnetic resonance scanning part at each sampling moment while acquiring the K-space data. The magnetic resonance scanning part of the subject will fluctuate during the magnetic resonance scanning, and there will be differences in the sampling position at each sampling moment; after determining the standard position, the relative position of each sampling position relative to the standard position is obtained, and the relative position is used to align the K-space data to the standard position and restore the moved K-space data. Finally, there is no motion artifact in the magnetic resonance image obtained after the K-space data is merged, and even the K-space data with a large motion amplitude can be restored, and the stability of artifact removal is excellent.

[0067] Based on the above embodiment, in order to improve the flexibility of determining the standard position, before determining the relative position of each sampling position relative to the standard position, it also includes: determining the standard position from all sampling positions, or using the set position as the standard position.

[0068] The standard position is selected from all sampling positions according to the set rule, and the set rule can be any one of specifying the initial position as the standard position, specifying the end position as the standard position, selecting the position corresponding to the middle sampling time as the standard position, the average position determined by all sampling positions, and the position maintained for the longest time. Furthermore, the set position is used as the standard position, and the set position can correspond to any fixed position on the magnetic resonance machine, which can be selected according to actual needs.

[0069] Based on the above technical solution, this embodiment determines the standard position from all sampling positions, or sets a fixed sampling position as the standard position, which can be flexibly set according to actual needs to improve user experience.

[0070] Based on any of the above embodiments, in order to reduce the introduction of errors, a standard position is determined from all sampling positions, including:

[0071] The sampling position corresponding to the middle sampling moment scan among all the sampling moments is determined as the standard position;

[0072] Alternatively, a target sampling position having the largest number of identical sampling positions is determined from among all sampling positions, and the target sampling position is determined as the standard position.

[0073] Among them, the sampling position corresponding to any sampling moment can be used as the standard position, but the sampling position closer to the middle sampling moment or with less displacement over a continuous period of time is more suitable as the standard position. This is mainly because data loss will inevitably occur during the rotation and translation operations of K-space data. Therefore, we should try to choose a position closer to most sequences for alignment to reduce movement and check the introduction of errors.

[0074] Based on the above technical solution, in this embodiment, since data loss may occur when the K-space data is spatially converted, the sampling position corresponding to the intermediate sampling moment or the target sampling position with the most identical times among all the sampling positions is used as the standard position, which can minimize the movement and reduce the introduction of errors.

[0075] Based on any of the above embodiments, the corresponding K-space data is aligned according to the relative position to obtain the aligned K-space data, including: determining the geometric transformation information according to the relative position, wherein the geometric transformation information includes translation information and rotation information; performing data transformation on the K-space data using Fourier transform according to the geometric transformation information to obtain the transformed K-space data, and using the transformed K-space data as the aligned space data. Through the above technical solution, after determining the translation information and rotation information, this solution uses Fourier transform to transform the K-space data to obtain data aligned with the standard position, and uses it as the aligned space data.

[0076] Based on any of the above embodiments, it also includes: controlling the sampling frequency of the magnetic resonance scan to be half of the interval between two pulses. During acquisition, tens of thousands of pulses are required to obtain a magnetic resonance image with sufficient clarity. According to the Nyquist sampling principle, ideally the sampling frequency should be close to half of the interval between two pulses during MR imaging. And because magnetic resonance imaging will be interfered by magnetic metals, the current ranging technology may not meet the requirements of this design. When applied, the sampling frequency should be increased as much as possible to improve the accuracy of the simulated trajectory.

[0077] Based on any of the above embodiments, in order to improve the image quality of the magnetic resonance image, the magnetic resonance image acquisition method also includes: inputting the magnetic resonance image into a pre-established neural network model for high-quality conversion to obtain a high-quality magnetic resonance image.

[0078] The process of establishing a neural network model includes:

[0079] Obtaining a low-quality magnetic resonance image set and a corresponding high-quality magnetic resonance image set used in training;

[0080] Inputting the low-quality magnetic resonance image set and the corresponding high-quality magnetic resonance image set into a preset neural network module for training to obtain an initial neural network model;

[0081] The initial neural network model is verified using the verification image, and when the verification passes, the initial neural network model is determined as the neural network model, which can be actually used.

[0082] Among them, using the verification image to verify the initial neural network model may include: inputting the verification image into the initial neural network model, outputting a high-quality verification image, displaying the high-quality verification image on a screen, medical personnel evaluating the image, the medical personnel using a client device to send the evaluation result to an electronic device, the electronic device receives the evaluation result, and when the evaluation result is passed, it is determined that the verification is passed.

[0083] Furthermore, the neural network module is an adversarial neural network module or a convolutional neural network module, and the user can set it according to actual needs as long as it can achieve the purpose of this embodiment.

[0084] This embodiment uses a low-quality medical image set and a high-quality medical image set for training to obtain a neural network model. When the test image is processed by the neural network model, the diagnostic personnel verify the processed image. If the verification is successful, the device sends the verification pass information. At this time, it is determined that the neural network model can be actually applied. Then, the neural network model is used to process the image to be processed and output a high-quality image to be processed. This application uses a neural network model to convert low-quality images scanned quickly into high-quality images, thereby enhancing the signal-to-noise ratio, improving resolution, and reducing artifacts. It is low-cost and highly efficient.

[0085] Based on the above technical solution, this embodiment pre-trains a neural network model for converting low-quality images to high-quality images, inputs the magnetic resonance image into the neural network model, obtains a high-quality magnetic resonance image, and improves the image resolution.

[0086] Based on any of the above embodiments, obtaining the sampling position and K-space data of the magnetic resonance scanning part of the subject at each sampling time includes:

[0087] Acquiring an initial sampling position and initial K-space data at an initial sampling time of a magnetic resonance scanning part of the subject;

[0088] Obtaining the relative sampling position of each sampling moment of the magnetic resonance scanning part relative to the previous sampling moment and the corresponding current K-space data;

[0089] After all relative sampling positions are acquired, all relative sampling positions are transformed using the initial sampling position to obtain all sampling positions, and all K space data are obtained based on the initial K space data and all current K space data.

[0090] Based on the above technical solution, each acquisition in this embodiment is based on the relative sampling position of the previous sampling moment, which simplifies the data acquisition method at the sampling moment. After the sampling is completed, all relative sampling positions are uniformly transformed using the initial sampling position to obtain all sampling positions, thereby improving the efficiency of obtaining the final sampling position.

[0091] In order to further illustrate the solution, this embodiment provides a specific method for acquiring magnetic resonance images, taking three acquisition moments as an example, including:

[0092] The first step is to obtain the sampling position and K-space data at time t0, time t1, and time t2 during the magnetic resonance scanning.

[0093] Explain the sampling location:

[0094] At time t0, the patient is at the initial position of the rectangular coordinate system (x=0, y=0, z=0) at the beginning of the angiography, and the posture is also positive (pitch=0, yaw=0, roll=0). At this time, the sampling position is represented by (0,0,0,0,0,0), recorded as Data_0. The numbers of the guessed positions are (x, y, z, pitch, yaw, roll).

[0095] At time t1 (t=1), the patient turned 45° to the right (roll=45°) and moved 1 unit to the left (x=2). The sampling position at this time is represented by (2,0,0,0,0,45°) and recorded as Data_1.

[0096] At time t2 (t=2), the patient raised his head 60° (pitch=60°). At the same time, based on time t1, he also moved upward 1.7 units (z=1.7) and forward 1 unit (y=1). The sampling position at this time is represented by (2,1,1.7,60°,0,45°) and recorded as Data_2.

[0097] The second step is to determine the standard position from the sampled positions.

[0098] If the sampling position corresponding to t0 is used as the standard position, the operations required for data alignment are: Data_0 does not move; Data_1 rotates 45° to the left; moves 1 unit to the right; Data_2 rotates 60° backward; moves 1 unit backward; moves 1 unit to the right; moves 1.7 units downward; rotates 45° to the left. The rotation operation is performed 3 times, a total of 150° rotation operations; the translation operation is performed 4 times, a total of 4.7 units.

[0099] If the sampling position corresponding to t1 is used as the standard position, the operations required for data alignment are: Data_0 rotates 45° to the right; moves 1 unit to the left; Data_1 does not move; Data_2 rotates 60° backward; moves 1 unit backward. The rotation operation is performed 2 times, a total of 105°; the translation operation is performed 3 times, a total of 3.7 units.

[0100] If the sampling position corresponding to t2 is used as the standard position, the operations required for data alignment are: Data_0 rotates 45° to the right; moves 1 unit to the left; rotates 60° upward; moves 1.7 units upward; moves 1 unit forward; Data_1 rotates 60° upward; moves 1.7 units upward; moves 1 unit forward; Data_2 does not move. The rotation operation is performed 3 times, a total of 165° rotation operations; the translation operation is performed 5 times, a total of 6.4 units.

[0101] The sampling position corresponding to t1 is used as the standard position, which requires fewer operations and introduces less errors. Therefore, the sampling position corresponding to t1 is selected.

[0102] The third step is to determine the relative position.

[0103] Taking Data_1 as the standard position, the relative position of Data_0 is:

[0104] Data_0-Data_1=(0,0,0,0,0,0)-(2,0,0,0,0,45°)=(-2,0,0,0,0,-45°).

[0105] The relative position of Data_2 is:

[0106] Data_2-Data_1=(2,1,1.7,60°,0,45°)-(2,0,0,0,0,45°)=(0,1,1.7,60°,0,0).

[0107] The fourth step is to align the corresponding K-space data according to the relative position to obtain aligned K-space data.

[0108] The K-space data at time t0 is spatially transformed according to (-2, 0, 0, 0, 0, -45°) to obtain the aligned K-space data at time t0;

[0109] The K-space data at time t1 is spatially transformed according to (0, 1, 1.7, 60°, 0, 0) to obtain the aligned K-space data at time t1.

[0110] In the fifth step, all aligned K-space data are merged to obtain merged K-space data; the merged K-space data is inversely Fourier transformed to obtain a magnetic resonance image in the spatial domain.

[0111] The following is an introduction to a magnetic resonance image acquisition device provided in an embodiment of the present application. The magnetic resonance image acquisition device described below and the magnetic resonance image acquisition method described above can be referred to in correspondence with each other. Please refer to Figure 2 , Figure 2 A schematic diagram of the structure of a magnetic resonance imaging acquisition device provided in an embodiment of the present application includes:

[0112] An acquisition module 210 is used to acquire the sampling position and K-space data of the magnetic resonance scanning part of the subject at each sampling moment, wherein the sampling position includes coordinate data, pitch angle, yaw angle, and roll angle;

[0113] A relative position determination module 220, for determining the relative position of each sampling position relative to the standard position;

[0114] An alignment module 230 is used to align the corresponding K-space data according to the relative position to obtain aligned K-space data;

[0115] A merging module 240 is used to merge all aligned K-space data to obtain merged K-space data;

[0116] The Fourier transform module 250 is used to perform inverse Fourier transform on the combined K-space data to obtain a magnetic resonance image in the space domain.

[0117] Based on the above technical solution, in the process of magnetic resonance scanning, this embodiment obtains the sampling position of the magnetic resonance scanning part at each sampling moment while acquiring the K-space data. The magnetic resonance scanning part of the subject will fluctuate during the magnetic resonance scanning, and there will be differences in the sampling position at each sampling moment; after determining the standard position, the relative position of each sampling position relative to the standard position is obtained, and the relative position is used to align the K-space data to the standard position and restore the moved K-space data. Finally, there is no motion artifact in the magnetic resonance image obtained after the K-space data is merged, and even the K-space data with a large motion amplitude can be restored, and the stability of artifact removal is excellent.

[0118] Preferably, it also includes:

[0119] The standard position determination module is used to determine the standard position from all sampling positions, or to use the set position as the standard position.

[0120] Preferably, the standard location determination module comprises:

[0121] A first standard position determination unit is used to obtain a sampling position and K-space data of a magnetic resonance scanning part of the subject at each sampling moment, wherein the sampling position includes coordinate data, a pitch angle, a yaw angle, and a roll angle;

[0122] The second standard position determining unit is used to determine the target sampling position having the largest number of identical times from all sampling positions, and determine the target sampling position as the standard position.

[0123] Preferably, the alignment module 230 includes:

[0124] A geometric transformation information determining unit, used to determine geometric transformation information according to the relative position, wherein the geometric transformation information includes translation information and rotation information;

[0125] The alignment unit is used to perform data transformation on the K space data by Fourier transformation according to the geometric transformation information to obtain transformed K space data, and use the transformed K space data as aligned space data.

[0126] Preferably, it also includes:

[0127] The sampling frequency control module is used to control the sampling frequency of the magnetic resonance scanning to be half of the interval between two pulses.

[0128] Preferably, it also includes:

[0129] The high-quality conversion module is used to input the magnetic resonance image into a pre-established neural network model for high-quality conversion to obtain a high-quality magnetic resonance image.

[0130] Preferably, the acquisition module 210 includes:

[0131] An initial acquisition unit, used to acquire an initial sampling position and initial K-space data at an initial sampling moment of a magnetic resonance scanning part of the subject;

[0132] The second unit is used to obtain the relative sampling position of each sampling moment of the magnetic resonance scanning part relative to the previous sampling moment and the corresponding current K-space data;

[0133] The acquisition unit is used to transform all relative sampling positions by using the initial sampling position after all relative sampling positions are acquired to obtain all sampling positions, and to obtain all K space data according to the initial K space data and all current K space data.

[0134] An electronic device provided in an embodiment of the present application is introduced below. The electronic device described below and the magnetic resonance image acquisition method described above can be referenced to each other.

[0135] An electronic device is provided in an embodiment of the present application, such as Figure 3 As shown, Figure 3The electronic device 300 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 does not constitute a limitation on the embodiments of the present application.

[0136] Based on the above technical solution, in the process of magnetic resonance scanning, this embodiment obtains the sampling position of the magnetic resonance scanning part at each sampling moment while acquiring the K-space data. The magnetic resonance scanning part of the subject will fluctuate during the magnetic resonance scanning, and there will be differences in the sampling position at each sampling moment; after determining the standard position, the relative position of each sampling position relative to the standard position is obtained, and the relative position is used to align the K-space data to the standard position and restore the moved K-space data. Finally, there is no motion artifact in the magnetic resonance image obtained after the K-space data is merged, and even the K-space data with a large motion amplitude can be restored, and the stability of artifact removal is excellent.

[0137] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0138] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0139] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0140] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.

[0141] Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0142] A computer-readable storage medium provided in an embodiment of the present application is introduced below. The computer-readable storage medium described below and the method described above can be referenced to each other.

[0143] A computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the above magnetic resonance imaging acquisition method.

[0144] Based on the above technical solution, in the process of magnetic resonance scanning, this embodiment obtains the sampling position of the magnetic resonance scanning part at each sampling moment while acquiring the K-space data. The magnetic resonance scanning part of the subject will fluctuate during the magnetic resonance scanning, and there will be differences in the sampling position at each sampling moment; after determining the standard position, the relative position of each sampling position relative to the standard position is obtained, and the relative position is used to align the K-space data to the standard position and restore the moved K-space data. Finally, there is no motion artifact in the magnetic resonance image obtained after the K-space data is merged, and even the K-space data with a large motion amplitude can be restored, and the stability of artifact removal is excellent.

[0145] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0146] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for acquiring a magnetic resonance image, characterized in that: include: Acquire the sampling position and K-space data of the magnetic resonance scanning part of the subject at each sampling moment, wherein the sampling position includes coordinate data, pitch angle, yaw angle, and roll angle; Determining the relative position of each of the sampling positions with respect to the standard position; Aligning the corresponding K-space data according to the relative position to obtain aligned K-space data; Merging all the aligned K-space data to obtain merged K-space data; The combined K-space data is subjected to inverse Fourier transformation to obtain a magnetic resonance image in the space domain.

2. The magnetic resonance imaging acquisition method according to claim 1, characterized in that: Before determining the relative position of each sampling position relative to the standard position, the method further includes: The standard position is determined from all the sampling positions, or a set position is used as the standard position.

3. The magnetic resonance imaging acquisition method according to claim 1, characterized in that: Determining the standard position from all the sampling positions comprises: Determine the sampling position corresponding to the middle sampling moment among all the sampling moments as the standard position; Or, a target sampling position having the largest number of identical times is determined from all the sampling positions, and the target sampling position is determined as the standard position.

4. The magnetic resonance imaging acquisition method according to claim 1, characterized in that: The step of aligning the corresponding K-space data according to the relative positions to obtain aligned K-space data includes: Determining geometric transformation information according to the relative position, wherein the geometric transformation information includes translation information and rotation information; The K-space data is transformed by Fourier transformation according to the geometric transformation information to obtain transformed K-space data, and the transformed K-space data is used as the aligned space data.

5. The magnetic resonance imaging acquisition method according to claim 1, characterized in that: Also includes: The sampling frequency of the magnetic resonance scanning is controlled to be half of the interval between two pulses.

6. The magnetic resonance imaging acquisition method according to claim 1, characterized in that: Also includes: The magnetic resonance image is input into a pre-established neural network model for high-quality conversion to obtain a high-quality magnetic resonance image.

7. The magnetic resonance imaging acquisition method according to any one of claims 1 to 6, characterized in that: The step of obtaining the sampling position and K-space data of the magnetic resonance scanning part of the subject at each sampling moment includes: Acquiring an initial sampling position and initial K-space data of the magnetic resonance scanning part of the subject at an initial sampling time; Acquire the relative sampling position of each sampling moment of the magnetic resonance scanning part relative to the previous sampling moment and the corresponding current K-space data; After all the relative sampling positions are acquired, all the relative sampling positions are transformed using the initial sampling position to obtain all the sampling positions, and all the K space data are obtained based on the initial K space data and all the current K space data.

8. A magnetic resonance imaging device, characterized in that: include: An acquisition module, used to acquire the sampling position and K-space data of the subject's magnetic resonance scanning part at each sampling moment, wherein the sampling position includes coordinate data, pitch angle, yaw angle, and roll angle; A relative position determination module, used to determine the relative position of each sampling position relative to the standard position; An alignment module, used for aligning the corresponding K-space data according to the relative position to obtain aligned K-space data; A merging module, used for merging all the aligned K-space data to obtain merged K-space data; The Fourier transform module is used to perform inverse Fourier transform on the combined K-space data to obtain a magnetic resonance image in the space domain.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes the magnetic resonance imaging acquisition method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the magnetic resonance image acquisition method according to any one of claims 1 to 7.