Magnetic resonance image correction method and device, computer equipment and storage medium
By obtaining the target frequency offset and determining the excitation efficiency according to the preset relationship, the magnetic resonance image is corrected, and the brightness unevenness caused by the water excitation pulse is solved, and the uniformity and quality of the image are improved.
Patent Information
- Application Number
- CN202311084779.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-25
- Publication Date
- 2025-02-25
AI Technical Summary
In magnetic resonance imaging, water excitation pulses are sensitive to frequency, resulting in uneven brightness of the magnetic resonance image.
By acquiring the target frequency offset, determining the excitation efficiency according to the preset relationship, and correcting the magnetic resonance image based on the excitation efficiency, to obtain the corrected image.
It effectively solves the problem of uneven brightness of magnetic resonance images and improves the uniformity and quality of the image.
Smart Images

Figure CN119511170A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of magnetic resonance imaging technology, and in particular to a magnetic resonance image correction method, device, computer equipment and storage medium. Background Art
[0002] In magnetic resonance imaging, fat signals usually appear as relatively high signals, which increases the dynamic grayscale range of the overall image, reduces the contrast between tissues of interest, and also has a certain amplification effect on motion artifacts in imaging. Therefore, fat signals need to be suppressed.
[0003] In the prior art, water excitation pulses are usually used to excite fat signals to a minimum extent and water signals to a maximum extent, thereby suppressing fat signals. However, water excitation pulses are sensitive to frequency and can easily lead to uneven brightness in magnetic resonance images.
[0004] Therefore, there is a problem of uneven brightness in current magnetic resonance imaging technology. Summary of the invention
[0005] Based on this, it is necessary to provide a magnetic resonance image correction method, device, computer equipment, computer-readable storage medium and computer program product capable of correcting brightness unevenness in order to solve the above technical problems.
[0006] In a first aspect, the present application provides a magnetic resonance image correction method. The method comprises:
[0007] Acquiring a magnetic resonance image to be corrected, and acquiring a target frequency offset corresponding to the magnetic resonance image to be corrected;
[0008] Determine the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the corresponding relationship between the target frequency offset and the excitation efficiency;
[0009] The magnetic resonance image to be corrected is corrected according to the excitation efficiency to obtain a corrected magnetic resonance image.
[0010] In one embodiment, the magnetic resonance image to be corrected is obtained by scanning each voxel of the target part by a water excitation sequence; and obtaining the target frequency offset corresponding to the magnetic resonance image to be corrected includes:
[0011] Acquiring a static field image of the target part;
[0012] The target frequency offset is determined according to the static field image; the target frequency offset corresponds to each voxel of the target part.
[0013] In one embodiment, determining the target frequency offset according to the static field image includes:
[0014] Determining, based on the static field image, an original frequency offset corresponding to each voxel of the target site;
[0015] The original frequency offset is updated according to preset parameters to obtain the target frequency offset.
[0016] In one embodiment, the correcting the magnetic resonance image to be corrected according to the excitation efficiency to obtain the corrected magnetic resonance image includes:
[0017] Determining, according to the excitation efficiency, a correction parameter corresponding to each voxel of the target part;
[0018] The magnetic resonance image to be corrected is corrected according to the correction parameters to obtain the corrected magnetic resonance image.
[0019] In one embodiment, determining the correction parameter corresponding to each voxel of the target part according to the excitation efficiency includes:
[0020] determining the excitation efficiency corresponding to the target voxel of the target part as a target excitation efficiency;
[0021] The correction parameter corresponding to the target voxel is obtained according to the inverse of the target excitation efficiency.
[0022] In one embodiment, the correcting the magnetic resonance image to be corrected according to the correction parameters to obtain the corrected magnetic resonance image includes:
[0023] acquiring a signal amplitude of the target voxel from the magnetic resonance image to be corrected;
[0024] The corrected amplitude of the target voxel is obtained according to the product of the signal amplitude and the correction parameter; the corrected magnetic resonance image is obtained according to the corrected amplitude of each voxel of the target part.
[0025] In one embodiment, before determining the excitation efficiency corresponding to the target frequency shift according to the preset relationship, the method further includes:
[0026] determining a sequence pattern of the water excitation sequence;
[0027] The preset relationship between the target frequency offset and the excitation efficiency is determined according to the sequence mode.
[0028] In a second aspect, the present application also provides a magnetic resonance image correction device. The device comprises:
[0029] An acquisition module, used for acquiring a magnetic resonance image to be corrected, and acquiring a target frequency offset corresponding to the magnetic resonance image to be corrected;
[0030] A determination module, used to determine the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the corresponding relationship between the target frequency offset and the excitation efficiency;
[0031] A correction module is used to correct the magnetic resonance image to be corrected according to the excitation efficiency to obtain a corrected magnetic resonance image.
[0032] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0033] Acquiring a magnetic resonance image to be corrected, and acquiring a target frequency offset corresponding to the magnetic resonance image to be corrected;
[0034] Determine the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the corresponding relationship between the target frequency offset and the excitation efficiency;
[0035] The magnetic resonance image to be corrected is corrected according to the excitation efficiency to obtain a corrected magnetic resonance image.
[0036] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0037] Acquiring a magnetic resonance image to be corrected, and acquiring a target frequency offset corresponding to the magnetic resonance image to be corrected;
[0038] Determine the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the corresponding relationship between the target frequency offset and the excitation efficiency;
[0039] The magnetic resonance image to be corrected is corrected according to the excitation efficiency to obtain a corrected magnetic resonance image.
[0040] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0041] Acquiring a magnetic resonance image to be corrected, and acquiring a target frequency offset corresponding to the magnetic resonance image to be corrected;
[0042] Determine the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the corresponding relationship between the target frequency offset and the excitation efficiency;
[0043] The magnetic resonance image to be corrected is corrected according to the excitation efficiency to obtain a corrected magnetic resonance image.
[0044] The magnetic resonance image correction method, apparatus, computer equipment, storage medium and computer program product described above obtain a magnetic resonance image to be corrected and a target frequency offset corresponding to the magnetic resonance image to be corrected, and determine the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the correspondence between the target frequency offset and the excitation efficiency, and the magnetic resonance image to be corrected is corrected according to the excitation efficiency to obtain a corrected magnetic resonance image; based on the preset relationship between the target frequency offset and the excitation efficiency, the excitation efficiency of each voxel of the target part during magnetic resonance imaging can be determined according to the target frequency offset; since the excitation efficiency is related to the signal attenuation degree of the magnetic resonance imaging, the magnetic resonance image signal of the corresponding voxel is compensated according to the excitation efficiency, and the unevenness of the magnetic resonance imaging of the target part can be corrected. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a schematic flow chart of a magnetic resonance image correction method in one embodiment;
[0046] Figure 2 is a schematic diagram of a water excitation sequence in one embodiment;
[0047] Figure 3 is a schematic diagram of the corresponding relationship between the target frequency offset and the excitation efficiency in one embodiment;
[0048] Figure 4 is a schematic flow chart of a magnetic resonance image correction method in another embodiment;
[0049] Figure 5 is a structural block diagram of a magnetic resonance image correction device in one embodiment;
[0050] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] In one embodiment, Figure 1 As shown, a magnetic resonance image correction method is provided. This embodiment uses the method applied to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The terminal can be, but is not limited to, various magnetic resonance imaging devices, personal computers, laptops, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. In this embodiment, the method includes the following steps:
[0053] Step S110: acquiring a magnetic resonance image to be corrected, and acquiring a target frequency offset corresponding to the magnetic resonance image to be corrected.
[0054] The magnetic resonance image to be corrected may be a magnetic resonance image obtained by scanning the target part using a water excitation sequence.
[0055] The target frequency offset may be a relative frequency offset corresponding to each voxel of the target part.
[0056] In a specific implementation, a water excitation sequence can be used to scan the target part to obtain a magnetic resonance image to be corrected, and the magnetic resonance image to be corrected is input into the terminal. The static field (B0 field) image of the target part can also be input into the terminal. The terminal obtains the target frequency offset based on the static field image, and the target frequency offset corresponds to each voxel of the target part.
[0057] In practical applications, a water excitation sequence can be used to scan the target area, and the obtained magnetic resonance image can be used as the magnetic resonance image to be corrected. The B0 field image of the target area can also be collected, and the relative frequency offset corresponding to each voxel of the target area can be obtained based on the B0 field image, and the relative frequency offset can be used as the target frequency offset.
[0058] Step S120, determining the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the corresponding relationship between the target frequency offset and the excitation efficiency.
[0059] The excitation efficiency may be the excitation efficiency of a water excitation sequence.
[0060] In a specific implementation, the corresponding relationship between the target frequency offset and the excitation efficiency may be preset and input to the terminal as a preset relationship. The terminal searches for the excitation efficiency corresponding to the target frequency offset according to the preset relationship.
[0061] In practical applications, the corresponding relationship between relative frequency shift and excitation efficiency can be a cosine relationship, and the specific formula is:
[0062] S n (f) = cos n (πft),
[0063] Where n is the number of pulses in the water excitation sequence, t is the pulse interval of the water excitation sequence, f is the relative frequency offset, S n Represents the excitation efficiency. After the relative frequency offset corresponding to each voxel in the target area is obtained according to the B0 field image, the S n (f) = cos n (πft) determines the excitation efficiency corresponding to each relative frequency offset, and obtains the excitation efficiency corresponding to each voxel in the target area.
[0064] Step S130, correcting the magnetic resonance image to be corrected according to the excitation efficiency to obtain a corrected magnetic resonance image.
[0065] In a specific implementation, the terminal may determine a correction parameter according to the excitation efficiency, and correct the magnetic resonance image to be corrected according to the correction parameter to obtain a corrected magnetic resonance image.
[0066] In practical applications, after obtaining the excitation efficiency corresponding to each voxel in the target area, the correction parameter of each pixel in the magnetic resonance image to be corrected can be obtained according to the inverse of the excitation efficiency, and the correction parameter is multiplied by the signal amplitude of the corresponding pixel in the magnetic resonance image to be corrected to obtain the corrected signal amplitude. According to the corrected signal amplitude corresponding to each pixel, the corrected magnetic resonance image can be obtained.
[0067] The magnetic resonance image correction method, apparatus, computer equipment, storage medium and computer program product described above obtain a magnetic resonance image to be corrected and a target frequency offset corresponding to the magnetic resonance image to be corrected, and determine the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the correspondence between the target frequency offset and the excitation efficiency, and the magnetic resonance image to be corrected is corrected according to the excitation efficiency to obtain a corrected magnetic resonance image; based on the preset relationship between the target frequency offset and the excitation efficiency, the excitation efficiency of each voxel of the target part during magnetic resonance imaging can be determined according to the target frequency offset; since the excitation efficiency is related to the signal attenuation degree of the magnetic resonance imaging, the magnetic resonance image signal of the corresponding voxel is compensated according to the excitation efficiency, and the unevenness of the magnetic resonance imaging of the target part can be corrected.
[0068] In one embodiment, the magnetic resonance image to be corrected is obtained by scanning each voxel of the target part by a water excitation sequence; the above step S110 may specifically include: acquiring a static field image of the target part; determining a target frequency offset based on the static field image; and the target frequency offset corresponds to each voxel of the target part.
[0069] The target part may be a part subjected to magnetic resonance scanning, for example, a part of the human body subjected to magnetic resonance scanning.
[0070] In a specific implementation, a static field image of the target part may be input into the terminal, and the terminal determines the relative frequency offset corresponding to each voxel of the target part according to the static field image.
[0071] In practical applications, the absolute frequency offset corresponding to each voxel in the target area can be determined based on the B0 field image, and the relative frequency offset corresponding to each voxel in the target area can be obtained by multiplying the absolute frequency offset with the Larmor precession frequency.
[0072] In this embodiment, a static field image of the target part is obtained; based on the static field image, the target frequency offset is determined; the target frequency offset corresponds to each voxel of the target part, and the relative frequency offset corresponding to each voxel of the target part can be quickly determined, thereby improving the efficiency of magnetic resonance image correction.
[0073] In one embodiment, the step of determining the target frequency offset based on the static field image may specifically include: determining the original frequency offset corresponding to each voxel of the target part based on the static field image; and updating the original frequency offset according to preset parameters to obtain the target frequency offset.
[0074] The original frequency offset may be an absolute frequency offset corresponding to each voxel of the target part.
[0075] The preset parameter may be the Larmor precession frequency.
[0076] In a specific implementation, the terminal can determine the original frequency offset corresponding to each voxel of the target part according to the static field image, and update the original frequency offset by multiplying the original frequency offset with a preset parameter to obtain the target frequency offset corresponding to each voxel of the target part.
[0077] In practical applications, a reference frequency can be set, and the frequency corresponding to each pixel in the static field image is subtracted from the reference frequency to obtain the absolute frequency offset corresponding to each pixel. The absolute frequency offset is multiplied by the Larmor precession frequency to obtain the relative frequency offset corresponding to each voxel in the target area.
[0078] In this embodiment, the original frequency offset corresponding to each voxel of the target part is determined based on the static field image; the original frequency offset is updated according to preset parameters to obtain the target frequency offset, so that the relative frequency offset corresponding to each voxel of the target part can be quickly determined, thereby improving the efficiency of magnetic resonance image correction.
[0079] In one embodiment, the above step S130 may specifically include: determining the correction parameters corresponding to each voxel of the target part according to the excitation efficiency; and correcting the magnetic resonance image to be corrected according to the correction parameters to obtain a corrected magnetic resonance image.
[0080] The correction parameters may be parameters for correcting the magnetic resonance image to be corrected.
[0081] In a specific implementation, the terminal can determine the correction parameters corresponding to each voxel in the target part according to the excitation efficiency corresponding to each voxel in the target part, and correct each pixel in the magnetic resonance image to be corrected according to the correction parameters to obtain a corrected magnetic resonance image.
[0082] In this embodiment, the correction parameters corresponding to each voxel of the target part are determined according to the excitation efficiency; the magnetic resonance image to be corrected is corrected according to the correction parameters to obtain a corrected magnetic resonance image, and the correction parameters can be used to compensate the magnetic resonance image to improve the efficiency of magnetic resonance image correction.
[0083] In one embodiment, the step of determining the correction parameters corresponding to each voxel of the target part according to the excitation efficiency may specifically include: determining the excitation efficiency corresponding to the target voxel of the target part as the target excitation efficiency; and obtaining the correction parameters corresponding to the target voxel according to the inverse of the target excitation efficiency.
[0084] The target voxel may be any voxel of the target part.
[0085] In a specific implementation, the terminal may determine any voxel of the target part as the target voxel, determine the excitation efficiency corresponding to the target voxel as the target excitation efficiency, and determine the inverse of the target excitation efficiency as the correction parameter of the target voxel.
[0086] For example, the excitation efficiency corresponding to the target voxel is 0.828256, and the correction parameter corresponding to the target voxel is 1 / 0.828256=1.2074.
[0087] In this embodiment, the excitation efficiency corresponding to the target voxel of the target part is determined as the target excitation efficiency; the correction parameter corresponding to the target voxel is obtained according to the inverse of the target excitation efficiency, the correction parameter can be quickly determined, and the magnetic resonance image is corrected according to the correction parameter, thereby improving the efficiency of magnetic resonance image correction.
[0088] In one embodiment, the step of correcting the magnetic resonance image to be corrected according to the correction parameters to obtain a corrected magnetic resonance image may specifically include: acquiring the signal amplitude of the target voxel from the magnetic resonance image to be corrected; obtaining the corrected amplitude of the target voxel according to the product of the signal amplitude and the correction parameter; and the corrected magnetic resonance image is obtained according to the corrected amplitude of each voxel of the target part.
[0089] The signal amplitude may be an absolute value of an image signal in a magnetic resonance image.
[0090] In a specific implementation, the image signal of the target voxel in the magnetic resonance image to be corrected can be determined, the absolute value of the image signal can be determined as the signal amplitude of the target voxel, the signal amplitude can be multiplied by the correction parameter of the target voxel to obtain the corrected amplitude, the corrected amplitude can be used to replace the original signal amplitude of the target voxel, the above processing can be performed on each voxel of the target part, and the corrected magnetic resonance image can be obtained based on all the corrected amplitudes finally obtained.
[0091] For example, any voxel in the target part is selected as the target voxel, the signal amplitude of the target voxel in the magnetic resonance image to be corrected is 2, and the correction parameter is 1.2074. The two are multiplied to obtain 2×1.2074=2.4148, and the signal amplitude of the target voxel in the magnetic resonance image to be corrected is replaced with 2.4148, and the phase is kept unchanged. The above processing is performed on all voxels in the target part to obtain a corrected magnetic resonance image.
[0092] In this embodiment, the signal amplitude of the target voxel is obtained from the magnetic resonance image to be corrected; the corrected amplitude of the target voxel is obtained according to the product of the signal amplitude and the correction parameter; the corrected magnetic resonance image is obtained according to the corrected amplitude of each voxel of the target part, and the magnetic resonance image signal can be compensated to correct the unevenness of the magnetic resonance imaging.
[0093] In one embodiment, before the above step S120, the method may further include: determining a sequence mode of the water excitation sequence; and determining a preset relationship between the target frequency offset and the excitation efficiency according to the sequence mode.
[0094] The sequence mode may be the number of pulses and the pulse time interval of the water excitation sequence.
[0095] In a specific implementation, the sequence pattern of the water excitation sequence may be input into the terminal, and the terminal determines the preset relationship between the target frequency offset and the excitation efficiency according to the sequence pattern of the water excitation sequence based on a pre-stored preset relationship model.
[0096] For example, the default relationship model can be
[0097] S n (f) = cos n (πft),
[0098] Where n is the number of pulses in the water excitation sequence, t is the pulse interval of the water excitation sequence, f is the relative frequency offset, S n The number of pulses of the water excitation sequence n=3 and the pulse interval time of the water excitation sequence t=1ms are input to the terminal, and the terminal can determine the preset relationship between the relative frequency offset and the excitation efficiency according to the preset relationship model:
[0099] S3(f)=cos 3 (πf).
[0100] In this embodiment, by determining the sequence mode of the water excitation sequence; and determining the preset relationship between the target frequency offset and the excitation efficiency according to the sequence mode, the preset relationship corresponding to different sequence modes can be determined, which facilitates the correction of magnetic resonance images for different water excitation sequences and improves the applicability of magnetic resonance image correction.
[0101] In order to facilitate those skilled in the art to have a deeper understanding of the embodiments of the present application, a specific example will be described below.
[0102] In the prior art, the inhomogeneity caused by the B1+ field or the B1- field can be corrected by advanced homogenization, prospective correction and other methods. Since the water excitation sequence is sensitive to frequency, this application proposes a method for uniformity correction of magnetic resonance images by obtaining the frequency distribution of the target tissue. The specific steps are as follows:
[0103] Step 1: Acquire the B0 field image of the target tissue to obtain the relative frequency offset corresponding to each voxel of the target tissue.
[0104] Step 2: Scan the target tissue using a water excitation sequence to obtain a magnetic resonance image to be corrected.
[0105] Step 3, according to the number of pulses and pulse interval time of the water excitation sequence used, determine the corresponding relationship between the relative frequency offset and the excitation efficiency, and according to the corresponding relationship and the relative frequency offset corresponding to the B0 field map, obtain the signal intensity difference of the target tissue caused by the different frequencies corresponding to each voxel.
[0106] Specifically, the water excitation sequence is generally composed of a plurality of equally spaced radio frequency pulses, which are used to selectively excite a specific frequency range. The relative flip angles of the radio frequency pulses constituting the water excitation sequence are binomial series. Figure 2 A schematic diagram of a water excitation sequence is provided, showing the number of pulses and pulse interval time of the water excitation sequence.
[0107] According to the number of pulses n and the pulse interval t, the excitation efficiency simulation can be performed to obtain the excitation efficiency S n The corresponding relationship between the relative frequency offset f
[0108] S n (f) = cos n (πft).
[0109] Step 4: Compensate for the signal intensity difference and apply it to the magnetic resonance image to be corrected to obtain a corrected magnetic resonance image.
[0110] Specifically, taking n=3, t=1ms as an example, Figure 3 A schematic diagram of the relationship between relative frequency shift and excitation efficiency is provided. Figure 3 If the relative frequency offset corresponding to a pixel in the magnetic resonance image to be corrected is measured to be +97 Hz according to the B0 field map, and the corresponding excitation efficiency is 0.828256, then the signal amplitude of the pixel in the magnetic resonance image to be corrected is multiplied by 1 / 0.828256=1.2074.
[0111] The magnetic resonance image correction method collects the frequency distribution of the target tissue, namely the B0 field map, combines the water excitation waveform in the imaging sequence, and corrects the brightness non-uniformity of the target tissue based on the relationship between the signal attenuation degree and the frequency obtained by simulation.
[0112] In one embodiment, Figure 4 As shown, a magnetic resonance image correction method is provided, which is described by taking the application of the method to a terminal as an example, and includes the following steps:
[0113] Step S201, obtaining a magnetic resonance image to be corrected obtained by scanning each voxel of the target part with a water excitation sequence;
[0114] Step S202, determining a target frequency offset corresponding to each voxel of the target part according to the static field image of the target part;
[0115] Step S203, determining a preset relationship between a target frequency offset and an excitation efficiency according to a sequence pattern of a water excitation sequence;
[0116] Step S204, determining the excitation efficiency corresponding to the target frequency shift according to a preset relationship;
[0117] Step S205, determining the excitation efficiency corresponding to the target voxel of the target part as the target excitation efficiency, and obtaining the correction parameter corresponding to the target voxel according to the inverse of the target excitation efficiency;
[0118] Step S206, acquiring the signal amplitude of the target voxel from the magnetic resonance image to be corrected;
[0119] Step S207, obtaining the corrected amplitude of the target voxel according to the product of the signal amplitude and the correction parameter;
[0120] Step S208, obtaining a corrected magnetic resonance image according to the corrected amplitude of each voxel of the target part.
[0121] In a specific implementation, a water excitation sequence is used to scan each voxel of the target part, and the obtained magnetic resonance image to be corrected is input into the terminal, and the static field image of the target part is also input into the terminal. The terminal determines the relative frequency offset corresponding to each voxel of the target part according to the static field image, and determines the excitation efficiency corresponding to the relative frequency offset according to a preset relationship. For each target voxel of the target part, the inverse of the excitation efficiency is determined as a correction parameter, and the correction parameter is multiplied by the signal amplitude corresponding to the target voxel to obtain the corrected amplitude, and the corrected magnetic resonance image is obtained according to the corrected amplitude corresponding to each target voxel of the target part.
[0122] The magnetic resonance image correction method described above obtains the magnetic resonance image to be corrected by scanning each voxel of the target part with a water excitation sequence, determines the target frequency offset corresponding to each voxel of the target part according to the static field image of the target part, determines the preset relationship between the target frequency offset and the excitation efficiency according to the sequence mode of the water excitation sequence, determines the excitation efficiency corresponding to the target frequency offset according to the preset relationship, determines the excitation efficiency corresponding to the target voxel of the target part as the target excitation efficiency, obtains the correction parameter corresponding to the target voxel according to the inverse of the target excitation efficiency, obtains the signal amplitude of the target voxel from the magnetic resonance image to be corrected, obtains the corrected amplitude of the target voxel according to the product of the signal amplitude and the correction parameter, and obtains the corrected magnetic resonance image according to the corrected amplitude of each voxel of the target part; based on the preset relationship between the target frequency offset and the excitation efficiency, the excitation efficiency of each voxel of the target part during magnetic resonance imaging can be determined according to the target frequency offset, and since the excitation efficiency is related to the signal attenuation degree of the magnetic resonance imaging, the magnetic resonance image signal of the corresponding voxel is compensated according to the excitation efficiency, so as to correct the unevenness of the magnetic resonance imaging of the target part.
[0123] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0124] Based on the same inventive concept, the embodiment of the present application also provides a magnetic resonance image correction device for implementing the magnetic resonance image correction method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more magnetic resonance image correction device embodiments provided below can refer to the limitations of the magnetic resonance image correction method above, and will not be repeated here.
[0125] In one embodiment, Figure 5 As shown, a magnetic resonance image correction device is provided, including: an acquisition module 310, a determination module 320 and a correction module 330, wherein:
[0126] An acquisition module 310 is used to acquire a magnetic resonance image to be corrected, and acquire a target frequency offset corresponding to the magnetic resonance image to be corrected;
[0127] A determination module 320, configured to determine the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the corresponding relationship between the target frequency offset and the excitation efficiency;
[0128] The correction module 330 is used to correct the magnetic resonance image to be corrected according to the excitation efficiency to obtain a corrected magnetic resonance image.
[0129] In one embodiment, the acquisition module 310 is further used to acquire a static field image of the target part; determine the target frequency offset according to the static field image; and the target frequency offset corresponds to each voxel of the target part.
[0130] In one embodiment, the acquisition module 310 is further used to determine the original frequency offset corresponding to each voxel of the target part according to the static field image; and update the original frequency offset according to preset parameters to obtain the target frequency offset.
[0131] In one embodiment, the correction module 330 is further used to determine the correction parameters corresponding to each voxel of the target part according to the excitation efficiency; and to correct the magnetic resonance image to be corrected according to the correction parameters to obtain the corrected magnetic resonance image.
[0132] In one embodiment, the correction module 330 is further used to determine the excitation efficiency corresponding to the target voxel of the target part as the target excitation efficiency; and obtain the correction parameter corresponding to the target voxel according to the inverse of the target excitation efficiency.
[0133] In one embodiment, the correction module 330 is further used to obtain the signal amplitude of the target voxel from the magnetic resonance image to be corrected; obtain the corrected amplitude of the target voxel according to the product of the signal amplitude and the correction parameter; and the corrected magnetic resonance image is obtained according to the corrected amplitude of each voxel of the target part.
[0134] In one embodiment, the magnetic resonance image correction device further comprises:
[0135] A sequence pattern determination module, used to determine the sequence pattern of the water excitation sequence;
[0136] A preset relationship determination module is used to determine the preset relationship between the target frequency offset and the excitation efficiency according to the sequence mode.
[0137] Each module in the above-mentioned magnetic resonance image correction device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0138] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a magnetic resonance image correction method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0139] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0140] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0141] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0142] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0143] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0145] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0146] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A magnetic resonance image correction method, characterized in that: The method comprises: Acquiring a magnetic resonance image to be corrected, and acquiring a target frequency offset corresponding to the magnetic resonance image to be corrected; Determine the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the corresponding relationship between the target frequency offset and the excitation efficiency; The magnetic resonance image to be corrected is corrected according to the excitation efficiency to obtain a corrected magnetic resonance image.
2. The method according to claim 1, characterized in that The magnetic resonance image to be corrected is obtained by scanning each voxel of the target part with a water excitation sequence; and obtaining the target frequency offset corresponding to the magnetic resonance image to be corrected includes: Acquiring a static field image of the target part; The target frequency offset is determined according to the static field image.
3. The method according to claim 2, characterized in that The step of determining the target frequency offset according to the static field image comprises: Determining, based on the static field image, an original frequency offset corresponding to each voxel of the target site; The original frequency offset is updated according to preset parameters to obtain the target frequency offset.
4. The method according to claim 2, characterized in that: The step of correcting the magnetic resonance image to be corrected according to the excitation efficiency to obtain a corrected magnetic resonance image includes: Determining, according to the excitation efficiency, a correction parameter corresponding to each voxel of the target part; The magnetic resonance image to be corrected is corrected according to the correction parameters to obtain the corrected magnetic resonance image.
5. The method according to claim 4, characterized in that Determining the correction parameter corresponding to each voxel of the target part according to the excitation efficiency includes: determining the excitation efficiency corresponding to the target voxel of the target part as a target excitation efficiency; The correction parameter corresponding to the target voxel is obtained according to the inverse of the target excitation efficiency.
6. The method according to claim 5, characterized in that The step of correcting the magnetic resonance image to be corrected according to the correction parameters to obtain the corrected magnetic resonance image comprises: acquiring a signal amplitude of the target voxel from the magnetic resonance image to be corrected; The corrected amplitude of the target voxel is obtained according to the product of the signal amplitude and the correction parameter; the corrected magnetic resonance image is obtained according to the corrected amplitude of each voxel of the target part.
7. The method according to claim 2, characterized in that Before determining the excitation efficiency corresponding to the target frequency offset according to the preset relationship, the method further includes: determining a sequence pattern of the water excitation sequence; The preset relationship between the target frequency offset and the excitation efficiency is determined according to the sequence mode.
8. A magnetic resonance image correction device, characterized in that: The device comprises: An acquisition module, used for acquiring a magnetic resonance image to be corrected, and acquiring a target frequency offset corresponding to the magnetic resonance image to be corrected; A determination module, used to determine the excitation efficiency corresponding to the target frequency offset according to a preset relationship; the preset relationship is used to characterize the corresponding relationship between the target frequency offset and the excitation efficiency; A correction module is used to correct the magnetic resonance image to be corrected according to the excitation efficiency to obtain a corrected magnetic resonance image.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.