Magnetic resonance image correction method, magnetic resonance image correction device, computer equipment and storage medium
1. A method of correcting a magnetic resonance image, the method comprising:
acquiring a state signal of a receiver of a magnetic resonance device in the working process of the receiver;
determining an image quality parameter corresponding to the state signal according to a mapping relation established in advance;
and generating an initial magnetic resonance image according to the magnetic resonance signal received by the receiver, and correcting the initial magnetic resonance image according to the image quality parameter to obtain a target magnetic resonance image.
2. The method of claim 1, wherein the obtaining the status signal of the receiver comprises:
and acquiring a state signal corresponding to each receiving channel of the receiver.
3. The method of claim 2, wherein determining the image quality parameter corresponding to the status signal according to a pre-established mapping relationship comprises:
and determining the image quality parameters corresponding to the receiving channels according to the pre-established mapping relation corresponding to the receiving channels and the state signals corresponding to the receiving channels.
4. The method of claim 3, wherein generating an initial magnetic resonance image from the magnetic resonance signals received by the receiver comprises:
and generating an initial magnetic resonance image corresponding to each receiving channel according to the magnetic resonance signals received by each receiving channel of the receiver.
5. The method of claim 4, wherein said performing a correction process on the initial magnetic resonance image according to the image quality parameter to obtain a target magnetic resonance image comprises:
correcting the initial magnetic resonance image corresponding to each receiving channel according to the image quality parameter corresponding to each receiving channel to obtain a plurality of corrected magnetic resonance images;
and carrying out image reconstruction processing according to the plurality of corrected magnetic resonance images to obtain the target magnetic resonance image.
6. The method according to any of claims 1-5, wherein the status signal comprises a coupled signal resulting from a signal coupling device being coupled to the receiver during operation of the receiver;
correspondingly, the mapping comprises a linear relationship between the coupling signal and the image quality parameter.
7. The method according to any of claims 1-5, wherein the status signal comprises a temperature signal of the receiver acquired by a temperature acquisition device during operation of the receiver;
correspondingly, the mapping comprises a linear relationship between the temperature signal and the image quality parameter.
8. An apparatus for correcting a magnetic resonance image, the apparatus comprising:
the state signal acquisition module is used for acquiring a state signal of the receiver in the working process of the magnetic resonance equipment receiver;
the quality parameter determining module is used for determining image quality parameters corresponding to the state signals according to a mapping relation established in advance;
and the correction module is used for generating an initial magnetic resonance image according to the magnetic resonance signal received by the receiver and correcting the initial magnetic resonance image according to the image quality parameter to obtain a target magnetic resonance image.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Background
Magnetic Resonance Imaging (MRI) technology is one of the most advanced medical Imaging methods today and is increasingly used in clinical and scientific research.
During the MRI imaging process, the receiver of the magnetic resonance device may be interfered by various factors in the environment, so the magnetic resonance image generated by the magnetic resonance device may have a problem of instability, resulting in poor imaging quality.
The conventional receiver correction method can only correct the initial error of the receiver in the factory state, and the correction parameters cannot reflect the influence of real-time change factors in the imaging process on the stability of the receiver. In the actual imaging process, there are many factors that vary in real time and are difficult to predict, such as different imaging sequences and operating modes, different patients, instability of the external power supply system, instability of the external cooling system, and the like. These factors all affect the actual state of the receiver, resulting in unstable image strength.
In addition, in the use process, the performance of the receiver can be gradually strained and aged, the stability is changed, and meanwhile, the anti-interference capability to the outside is reduced, so that the stability of the image signal is poor. Therefore, the influence of these time-varying factors and various external factors on the receiver is difficult to directly correct in hardware, and the stability of the image intensity is affected.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device and a storage medium for correcting a magnetic resonance image, which can stabilize the image intensity of the magnetic resonance image and improve the imaging quality.
A method of correcting a magnetic resonance image, the method comprising:
acquiring a state signal of a receiver in the working process of the receiver of the magnetic resonance equipment; determining an image quality parameter corresponding to the state signal according to a mapping relation established in advance;
and generating an initial magnetic resonance image according to the magnetic resonance signals received by the receiver, and correcting the initial magnetic resonance image according to the image quality parameters to obtain a target magnetic resonance image.
In one embodiment, the acquiring the status signal of the receiver includes:
and acquiring a state signal corresponding to each receiving channel of the receiver.
In one embodiment, the determining the image quality parameter corresponding to the status signal according to the pre-established mapping relationship includes:
and determining the image quality parameters corresponding to the receiving channels according to the pre-established mapping relation corresponding to the receiving channels and the state signals corresponding to the receiving channels.
In one embodiment, the generating an initial magnetic resonance image according to the magnetic resonance signals received by the receiver includes:
and generating initial magnetic resonance images corresponding to all receiving channels according to the magnetic resonance signals received by all the receiving channels of the receiver.
In one embodiment, the performing the correction processing on the initial magnetic resonance image according to the image quality parameter to obtain the target magnetic resonance image includes:
correcting the initial magnetic resonance image corresponding to each receiving channel according to the image quality parameter corresponding to each receiving channel to obtain a plurality of corrected magnetic resonance images;
and carrying out image reconstruction processing according to the plurality of corrected magnetic resonance images to obtain a target magnetic resonance image.
In one embodiment, before the correction processing on the initial magnetic resonance image according to the image quality parameter, the method further comprises:
filtering the image quality parameters to obtain filtered image quality parameters;
correspondingly, the above-mentioned correction processing of the initial magnetic resonance image according to the image quality parameter includes:
and correcting the image intensity of the initial magnetic resonance image according to the filtered image quality parameters.
In one embodiment, the status signal comprises a coupling signal obtained by coupling the signal coupling device with the receiver during the operation of the receiver; correspondingly, the mapping relationship comprises a linear relationship between the coupling signal and the image quality parameter.
In one embodiment, the status signal comprises a temperature signal of the receiver acquired by the temperature acquisition device during the operation of the receiver; correspondingly, the mapping comprises a linear relationship between the temperature signal and the image quality parameter.
An apparatus for correction of a magnetic resonance image, the apparatus comprising:
the state signal acquisition module is used for acquiring a state signal of the receiver in the working process of the magnetic resonance equipment receiver;
the quality parameter determining module is used for determining image quality parameters corresponding to the state signals according to a mapping relation established in advance;
and the correction module is used for generating an initial magnetic resonance image according to the magnetic resonance signal received by the receiver and correcting the initial magnetic resonance image according to the image quality parameters to obtain a target magnetic resonance image.
In one embodiment, the status signal acquiring module is specifically configured to acquire a status signal corresponding to each receiving channel of the receiver.
In one embodiment, the quality parameter determining module is specifically configured to determine the image quality parameter corresponding to each receiving channel according to a mapping relationship corresponding to each receiving channel and a state signal corresponding to each receiving channel, which are established in advance.
In one embodiment, the correction module is specifically configured to generate an initial magnetic resonance image corresponding to each receiving channel according to a magnetic resonance signal received by each receiving channel of the receiver.
In one embodiment, the correction module is specifically configured to perform correction processing on an initial magnetic resonance image corresponding to each receiving channel according to an image quality parameter corresponding to each receiving channel, so as to obtain a plurality of corrected magnetic resonance images; and carrying out image reconstruction processing according to the plurality of corrected magnetic resonance images to obtain a target magnetic resonance image.
In one embodiment, the apparatus further comprises:
the filtering module is used for filtering the image quality parameters to obtain filtered image quality parameters;
correspondingly, the correction module is specifically configured to perform correction processing on the image intensity of the initial magnetic resonance image according to the filtered image quality parameter.
In one embodiment, the status signal comprises a coupling signal obtained by coupling the signal coupling device with the receiver during the operation of the receiver; correspondingly, the mapping relationship comprises a linear relationship between the coupling signal and the image quality parameter.
In one embodiment, the status signal comprises a temperature signal of the receiver acquired by the temperature acquisition device during the operation of the receiver; correspondingly, the mapping comprises a linear relationship between the temperature signal and the image quality parameter.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a state signal of a receiver in the working process of the receiver of the magnetic resonance equipment; determining an image quality parameter corresponding to the state signal according to a mapping relation established in advance;
and generating an initial magnetic resonance image according to the magnetic resonance signals received by the receiver, and correcting the initial magnetic resonance image according to the image quality parameters to obtain a target magnetic resonance image.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a state signal of a receiver in the working process of the receiver of the magnetic resonance equipment; determining an image quality parameter corresponding to the state signal according to a mapping relation established in advance;
and generating an initial magnetic resonance image according to the magnetic resonance signals received by the receiver, and correcting the initial magnetic resonance image according to the image quality parameters to obtain a target magnetic resonance image.
According to the magnetic resonance image correction method, the magnetic resonance image correction device, the computer equipment and the storage medium, in the working process of the magnetic resonance equipment receiver, the state signal of the receiver is obtained; determining an image quality parameter corresponding to the state signal according to a mapping relation established in advance; and generating an initial magnetic resonance image according to the magnetic resonance signals received by the receiver, and correcting the initial magnetic resonance image according to the image quality parameters to obtain a target magnetic resonance image. In the embodiment of the disclosure, the image quality parameter is obtained according to the state signal mapping representing the working state of the receiver, and then the initial magnetic resonance image is corrected according to the image quality parameter, and actually the magnetic resonance image is corrected according to the working state of the receiver, so that the interference of environmental factors to the receiver can be eliminated, the image intensity of the generated magnetic resonance image is more stable, and the imaging quality can be improved.
Drawings
FIG. 1 is a diagram of an embodiment of an application environment of a method for correcting a magnetic resonance image;
FIG. 2 is a flow chart illustrating a method for correcting a magnetic resonance image according to an embodiment;
figure 3a is one of the schematic structural diagrams of a magnetic resonance system in one embodiment;
FIG. 3b is a second schematic diagram of an embodiment of a magnetic resonance system;
figure 3c is a third schematic diagram of an embodiment of a magnetic resonance system;
FIG. 4 is a flowchart illustrating a method for correcting a magnetic resonance image according to another embodiment;
FIG. 5 is a diagram illustrating a process of correcting a magnetic resonance image according to another embodiment;
FIG. 6 is a block diagram showing a configuration of a magnetic resonance image correction apparatus according to an embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The correction method of the magnetic resonance image provided by the application can be applied to the application environment as shown in fig. 1. The application environment may be a magnetic resonance imaging system comprising a terminal 102 and a magnetic resonance device 104, wherein the terminal 102 may communicate with the magnetic resonance device 104 over a network. The magnetic resonance apparatus 104 transmits the received magnetic resonance signal to the terminal 102, and the terminal 102 performs image processing to generate a magnetic resonance image.
In one embodiment, the magnetic resonance device 104 includes a receiver for receiving magnetic resonance signals. The receiver is electrically connected with a radio frequency receiving coil, and the radio frequency receiving coil can be a birdcage coil, a solenoid coil, a saddle coil, a Helmholtz coil, an array coil, a return coil and the like. In one embodiment, the radio frequency receive coil is configured as an array coil, and the array coil may be configured in a 4-channel mode, an 8-channel mode, a 16-channel mode, a 32-channel mode, or other multi-channel mode.
In one embodiment, the receiver may include a plurality of components, such as an amplifier, a filter, an analog-to-digital converter, and a digital signal processor, connected in series. The amplifier is connected with the radio frequency receiving coil and used for amplifying the magnetic resonance signal; a filter array 106 formed by a first type multiplexer and a plurality of filters can be connected between the amplifier and the filter to filter the amplified magnetic resonance signals; a first type multiplexer is arranged between the filter and the analog-to-digital converter, and the analog-to-digital converter converts the magnetic resonance signals into digital signals; a digital signal processor connected to the analog-to-digital converter processes the input digital signal and outputs an intermediate frequency signal.
In one embodiment, the terminal 104 may include one or more of a Central Processing Unit (CPU), an Application-Specific Integrated Circuit (ASIC), an Application-Specific Instruction Processor (ASIP), a Graphics Processing Unit (GPU), a Physical Processor (PPU), a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), an ARM Processor, and the like. The terminal 104 may also include a display for displaying the magnetic resonance image.
In one embodiment, as shown in fig. 2, a method for correcting a magnetic resonance image is provided, which is exemplified by the method applied to the terminal in fig. 1, and includes the following steps:
step 201, in the working process of the magnetic resonance equipment receiver, acquiring a state signal of the receiver.
Wherein the status signal is used to characterize the operating state of the receiver. The performance of the receiver is not only determined by the hardware properties of the receiver (such as performance parameters of gain, 3dB bandwidth, signal-to-noise ratio, etc.), but also continuously interfered by the external environment. Such as: 1. different sequences cause vibrations of different strengths of the gradient coil, which may cause variations in the gain of the receiver; 2. a large amount of heat is generated in the magnetic resonance imaging process, and the receiver can work in a high-temperature environment and is inconsistent with the state of working in a low-temperature environment; 3. the components of the receiver may gradually age during operation, resulting in performance being affected. The operation state of the receiver here includes a signal reception state/reception gain, a temperature state, a vibration state, and the like.
The state signal of the receiver is a variable quantity influenced by a plurality of factors such as magnetic resonance sequence types, imaging target differences, equipment network power states, out-of-loop radio frequency interference and the like, and can well represent the influence of various factors (patient differences, sequence differences, power supply factors, cooling factors, receiver performance and the like) on image quality parameters. Therefore, a real-time acquisition during the magnetic resonance imaging is required.
The magnetic resonance apparatus may be connected to the signal coupling apparatus at the receiver. In the process of receiving the magnetic resonance signal by the magnetic resonance equipment receiver, the signal coupling equipment is in signal coupling with each receiving channel of the receiver to obtain a state signal of the receiver. The terminal then acquires a status signal of the receiver.
In one embodiment, the signal coupling device is a coupler disposed between the transmit path and the transmit amplifier, and the signal coupled out of the transmit path by the coupler can be received by N receiver receive channels via a 1-to-N signal splitter to obtain the status signal. The transmit amplifier is connected to a transmit coil that can transmit radio frequency excitation pulses to excite magnetic resonance signals in the imaged object, which are then received by the receive coil. As shown in fig. 3a and 3b, the receiving channels can be switched by a switch during the imaging process to respectively acquire the magnetic resonance signals and the status signals, and the number of the receiving channels of the receiver can also be increased to realize the simultaneous acquisition of the magnetic resonance signals and the status signals.
Alternatively, the magnetic resonance apparatus is provided with a temperature acquisition device at the receiver, and during the process of receiving the magnetic resonance signal by the receiver, the state signal of the receiver is acquired by the temperature acquisition device, as shown in fig. 3 c. And then, the terminal acquires the state signal of the receiver from the temperature acquisition equipment.
In practical applications, the status signal of the receiver may also be obtained in other manners, which is not limited in this disclosure.
Step 202, determining an image quality parameter corresponding to the status signal according to a mapping relationship established in advance.
The terminal establishes a mapping relation between the state signal and the image quality parameter in advance. After the state signal is obtained, the terminal may perform mapping processing on the state signal according to the mapping relationship to obtain an image quality parameter corresponding to the state signal. The mapping relationship may be a linear relationship or other corresponding relationships, which is not limited in the embodiments of the present disclosure.
And 203, generating an initial magnetic resonance image according to the magnetic resonance signal received by the receiver, and correcting the initial magnetic resonance image according to the image quality parameter to obtain a target magnetic resonance image.
After receiving the magnetic resonance signal, the receiver transmits the magnetic resonance signal to the terminal; the terminal generates an initial magnetic resonance image from the magnetic resonance signals transmitted by the receiver. And after determining the image quality parameters corresponding to the state signals according to the mapping relation, correcting the image intensity of the initial magnetic resonance image according to the image quality parameters to obtain a target magnetic resonance image. It will be appreciated that the correction process results in a target magnetic resonance image that is more robust in image intensity than the initial magnetic resonance image.
In the correction method of the magnetic resonance image, in the working process of a receiver of the magnetic resonance equipment, a state signal of the receiver is obtained; determining an image quality parameter corresponding to the state signal according to a mapping relation established in advance; and generating an initial magnetic resonance image according to the magnetic resonance signals received by the receiver, and correcting the initial magnetic resonance image according to the image quality parameters to obtain a target magnetic resonance image. In the embodiment of the disclosure, the image quality parameter is obtained according to the state signal mapping representing the working state of the receiver, and then the initial magnetic resonance image is corrected according to the image quality parameter, and actually the magnetic resonance image is corrected according to the working state of the receiver, so that the interference of the environment to the receiver can be eliminated, the image intensity of the generated magnetic resonance image is more stable, and the imaging quality can be improved. Furthermore, the interference of environmental factors to the receiver is eliminated, so that the imaging has more robustness to the environmental factors; meanwhile, the correction processing is not specific to physical devices, and correction errors of the devices can be avoided, so that the correction precision is improved.
In one embodiment, the radio frequency receive coil provided in the magnetic resonance apparatus receiver may be in a 4-channel mode, an 8-channel mode, a 16-channel mode, a 32-channel mode, or other more channel modes. As shown in fig. 4, on the basis of the above embodiment, the embodiment of the present disclosure may further include the following steps:
step 301, in the working process of the magnetic resonance equipment receiver, acquiring a state signal corresponding to each receiving channel of the receiver.
The magnetic resonance device may be connected to the signal coupling device at the receiver, and in a process of receiving the magnetic resonance signal by the receiver, the signal coupling device performs signal coupling with each receiving channel of the receiver to obtain a state signal corresponding to each receiving channel of the receiver. And then, the terminal acquires the state signal corresponding to each receiving channel of the receiver from the signal coupling equipment.
Or the magnetic resonance equipment is provided with temperature acquisition equipment at the receiver, and the temperature acquisition equipment acquires the state signal corresponding to each receiving channel in the process of receiving the magnetic resonance signal by the receiver. And then, the terminal acquires the state signal corresponding to each receiving channel of the receiver from the plurality of temperature acquisition devices.
Step 302, determining the image quality parameters corresponding to each receiving channel according to the mapping relationship corresponding to each receiving channel and the status signals corresponding to each receiving channel, which are established in advance.
The terminal establishes a mapping relation corresponding to each receiving channel in advance. After the state signals corresponding to the receiving channels are obtained, the terminal may perform mapping processing on the state signals corresponding to the receiving channels according to the mapping relationship corresponding to the receiving channels to obtain the image quality parameters corresponding to the receiving channels.
In one embodiment, the status signal comprises a coupling signal obtained by coupling the signal coupling device with the receiver during the operation of the receiver; the mapping relationship comprises a linear relationship between the coupling signal and the image quality parameter.
For example, the mapping relationship is expressed as G ═ f (S, t), where f is a mapping function between the coupling signal and the image quality parameter, the mapping function may be a linear function, G is the image quality parameter corresponding to the receiving channel or the signal gain of the receiving channel, S is the coupling signal (Loop signal) corresponding to the receiving channel, and t is the acquisition time of the coupling signal. Taking fig. 3a as an example for illustration, a schematic diagram of a complete transmitting and receiving link formed by a magnetic resonance system is shown, wherein a transmitting path/transmitting channel is connected with a transmitting amplifier, a pulse sequence issued by a control system is transmitted to the transmitting amplifier via the transmitting path, the pulse sequence amplified by the transmitting amplifier is executed by a transmitting coil connected with the transmitting amplifier, a radio frequency field is generated, and thereby nuclear spin of an imaging target is excited. A receive coil comprising N coil channels receives magnetic resonance signals generated by nuclear spins of the imaging subject and transmits the magnetic resonance signals to a receiver comprising N receive channels. In this embodiment, after the pulse sequence is executed, the physical state signal corresponding to the pulse sequence can be directly obtained through the coupler by switching the switch. That is, after the same pulse sequence is executed, the connection between the coupler and the receiving channel can be established by changing the connection state of the switch, so as to obtain the image quality parameter corresponding to the receiving channel. The image quality parameter may be an image intensity signal, a signal gain corresponding to a receiving channel, etc.
In one embodiment, the status signal comprises a temperature signal of the receiver acquired by the temperature acquisition device during the operation of the receiver; the mapping comprises a linear relationship between the temperature signal and the image quality parameter.
For example, the mapping relationship is expressed as G ═ f (T, T), where f is a mapping function between the temperature signal and the image quality parameter, the mapping function may be a linear function, G is the image quality parameter corresponding to the receiving channel, S is the temperature signal corresponding to the receiving channel, and T is the acquisition time of the temperature signal.
Step 303, generating an initial magnetic resonance image corresponding to each receiving channel according to the magnetic resonance signals received by each receiving channel of the receiver.
The receiver transmits the magnetic resonance signals received by each receiving channel to the terminal, and the terminal performs signal processing according to the magnetic resonance signals corresponding to each receiving channel to generate an initial magnetic resonance image corresponding to each receiving channel. The signal processing method is not limited in the embodiments of the present disclosure.
And 304, correcting the initial magnetic resonance image corresponding to each receiving channel according to the image quality parameter corresponding to each receiving channel to obtain a plurality of corrected magnetic resonance images.
And the terminal determines image quality parameters corresponding to all receiving channels according to the mapping relation and the state signals corresponding to all the receiving channels, and after the initial magnetic resonance images corresponding to all the receiving channels are generated, the image quality parameters corresponding to all the receiving channels are adopted to correct the image intensity of the initial magnetic resonance images corresponding to all the receiving channels, so that corrected magnetic resonance images corresponding to all the receiving channels are obtained. It will be appreciated that the corrected magnetic resonance image resulting from the correction process is more stable in image intensity than the initial magnetic resonance image.
In one embodiment, before performing the correction process on the initial magnetic resonance image according to the image quality parameter, the method may further include: and filtering the image quality parameters to obtain filtered image quality parameters. Correspondingly, the performing of the correction process on the initial magnetic resonance image according to the image quality parameter may include: and correcting the image intensity of the initial magnetic resonance image according to the filtered image quality parameters.
The filtering process can adopt a low-pass filtering mode to filter sharp spines in the image quality parameters. Other filtering processing manners may also be adopted, which is not limited in this disclosure.
In one embodiment, for most magnetic resonance images, the truly valid signal region tends to be 2/3 of the entire image, even in a lower proportion, with the remainder being useless noise signals. In the embodiment of the present invention, a mask of a structure of a corrected magnetic resonance image of each receiving channel is further obtained, an effective signal region and a noise region are automatically distinguished for each corrected magnetic resonance image, and correction processing is performed on the effective signal region of the initial magnetic resonance image corresponding to each receiving channel only according to the image quality parameter corresponding to each receiving channel. Illustratively, the determination of the valid signal region includes: setting a threshold value for each initial magnetic resonance image, and carrying out binarization processing on the threshold value to obtain a mask image corresponding to each initial magnetic resonance image; performing image processing operations such as expansion, corrosion and the like on the mask image; and the area corresponding to the mask image after the image processing is the effective signal area.
In one embodiment, after the first correction of the initial magnetic resonance image is completed in the above manner, a second correction process may be performed.
In the magnetic resonance imaging process, the image is also distorted due to the nonlinearity of the gradient magnetic field. In order not to affect the diagnosis of the doctor, the image distortion caused by the gradient is also needed to be corrected.
Exemplarily, with a gradient strength γ of the pre-scan1(γ11,γ12,γ13) And gradients at magnetic resonance signal acquisitionIntensity gamma2(γ21,γ22,γ23) The image is corrected more accurately.
If the physical coordinate corresponding to each pixel point in the initial magnetic resonance image during the acquisition of the magnetic resonance signal is (X, y, z), wherein X represents the coordinate along the X-axis direction; y represents a coordinate along the Y-axis direction; z represents a coordinate along the Z-axis direction. If the gradient field is linear, then theoretically a vector of the magnetic field strength at one point (x, y, z) is obtained:
due to the non-linearity of the gradient magnetic field, the actual magnetic field strength at this point (x, y, z) is:
wherein r, theta and phi are corresponding spherical coordinates of (x, y, z), Anm,Bnm,Anm’,Bnm’,Bnm”,Bnm"are respectively the coefficients of each order of the spherical harmonic function given after the test of the pre-scanning magnetic field, and RO is the spherical radius during the test.
By using the above six formulas, the corrected position (x ', y ', z ') corresponding to the pixel point (x, y, z) of the initial magnetic resonance image can be calculated as:
in the above manner, the signal strength is corrected based on the receiver state, and the correction of the position is realized by the gradient correction.
And 305, carrying out image reconstruction processing according to the plurality of corrected magnetic resonance images to obtain a target magnetic resonance image.
As shown in fig. 5, with the magnetic resonance system as shown in fig. 3a, the signals acquired by the coupler and the signals acquired by the receive coil multiplex the receive channels of the receiver. The couplers are respectively connected with the receiving channels 1 to N to respectively obtain status signals corresponding to the receiving channels 1 to N, and image quality parameters corresponding to the receiving channels 1 to N can be obtained based on the status signals corresponding to the receiving channels 1 to N, wherein the image quality parameters are image intensity signals corresponding to the receiving channels 1 to N in this embodiment. Disconnecting the coupler from the receiving channels 1 to N, establishing connection between the coil channel and the receiving channels, and generating an initial magnetic resonance image according to the magnetic resonance signal received by the receiver; the terminal can respectively obtain a plurality of corrected magnetic resonance images according to the image quality parameters and the correction positions of the pixel points, and carries out reconstruction processing such as image channel combination and the like according to the plurality of corrected magnetic resonance images to obtain the target magnetic resonance image. The embodiment of the present disclosure does not limit the image reconstruction processing method. For example, the target magnetic resonance image may be obtained by performing channel merging or multi-channel processing on a plurality of corrected magnetic resonance images.
In the above embodiment, in the working process of the magnetic resonance device receiver, the state signal corresponding to each receiving channel of the receiver is acquired; determining image quality parameters corresponding to all receiving channels according to a mapping relation corresponding to all receiving channels established in advance and state signals corresponding to all receiving channels; generating initial magnetic resonance images corresponding to all receiving channels according to the magnetic resonance signals received by all receiving channels of the receiver; correcting the initial magnetic resonance image corresponding to each receiving channel according to the image quality parameter corresponding to each receiving channel to obtain a plurality of corrected magnetic resonance images; and carrying out image reconstruction processing according to the plurality of corrected magnetic resonance images to obtain a target magnetic resonance image. In the embodiment of the disclosure, the initial magnetic resonance image of each receiving channel is corrected according to the working state of the receiver, so that on one hand, the interference of the environment to the receiver can be eliminated, and the image intensity of the magnetic resonance image is more stable, and on the other hand, the correction is performed for each receiving channel, so that the correction is more targeted, and the imaging quality can be further improved.
It should be understood that, although the steps in the flowcharts of fig. 2 to 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 to 5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 6, there is provided a magnetic resonance image correction apparatus including:
a state signal acquiring module 401, configured to acquire a state signal of a receiver during a working process of the magnetic resonance device receiver; the state signal is used for representing the working state of the receiver;
a quality parameter determining module 402, configured to determine, according to a mapping relationship established in advance, an image quality parameter corresponding to the status signal;
the correcting module 403 is configured to generate an initial magnetic resonance image according to the magnetic resonance signal received by the receiver, and perform correction processing on the initial magnetic resonance image according to the image quality parameter to obtain a target magnetic resonance image.
In one embodiment, the status signal obtaining module 401 is specifically configured to obtain a status signal corresponding to each receiving channel of the receiver.
In one embodiment, the quality parameter determining module 402 is specifically configured to determine the image quality parameter corresponding to each receiving channel according to a mapping relationship corresponding to each receiving channel and a status signal corresponding to each receiving channel, which are established in advance.
In one embodiment, the correction module 403 is specifically configured to generate an initial magnetic resonance image corresponding to each receiving channel according to the magnetic resonance signal received by each receiving channel of the receiver.
In one embodiment, the correcting module 403 is specifically configured to perform correction processing on the initial magnetic resonance image corresponding to each receiving channel according to the image quality parameter corresponding to each receiving channel, so as to obtain a plurality of corrected magnetic resonance images; and carrying out image reconstruction processing according to the plurality of corrected magnetic resonance images to obtain a target magnetic resonance image.
In one embodiment, the apparatus further comprises:
the filtering module is used for filtering the image quality parameters to obtain filtered image quality parameters;
correspondingly, the correcting module 403 is specifically configured to perform a correction process on the image intensity of the initial magnetic resonance image according to the filtered image quality parameter.
In one embodiment, the status signal comprises a coupling signal obtained by coupling the signal coupling device with the receiver during the operation of the receiver; correspondingly, the mapping relationship comprises a linear relationship between the coupling signal and the image quality parameter.
In one embodiment, the status signal comprises a temperature signal of the receiver acquired by the temperature acquisition device during the operation of the receiver; correspondingly, the mapping comprises a linear relationship between the temperature signal and the image quality parameter.
For specific limitations of the correction device for magnetic resonance images, reference may be made to the above limitations of the correction method for magnetic resonance images, which are not described in detail here. The modules in the magnetic resonance image correction device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of correction of a magnetic resonance image. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring a state signal of a receiver in the working process of the receiver of the magnetic resonance equipment; the state signal is used for representing the working state of the receiver;
determining an image quality parameter corresponding to the state signal according to a mapping relation established in advance;
and generating an initial magnetic resonance image according to the magnetic resonance signals received by the receiver, and correcting the initial magnetic resonance image according to the image quality parameters to obtain a target magnetic resonance image.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and acquiring a state signal corresponding to each receiving channel of the receiver.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and determining the image quality parameters corresponding to the receiving channels according to the pre-established mapping relation corresponding to the receiving channels and the state signals corresponding to the receiving channels.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and generating initial magnetic resonance images corresponding to all receiving channels according to the magnetic resonance signals received by all the receiving channels of the receiver.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
correcting the initial magnetic resonance image corresponding to each receiving channel according to the image quality parameter corresponding to each receiving channel to obtain a plurality of corrected magnetic resonance images;
and carrying out image reconstruction processing according to the plurality of corrected magnetic resonance images to obtain a target magnetic resonance image.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
filtering the image quality parameters to obtain filtered image quality parameters;
and correcting the image intensity of the initial magnetic resonance image according to the filtered image quality parameters.
In one embodiment, the status signal comprises a coupling signal obtained by coupling the signal coupling device with the receiver during operation of the receiver; correspondingly, the mapping relationship comprises a linear relationship between the coupling signal and the image quality parameter.
In one embodiment, the status signal comprises a temperature signal of the receiver acquired by the temperature acquisition device during operation of the receiver; correspondingly, the mapping comprises a linear relationship between the temperature signal and the image quality parameter.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a state signal of a receiver in the working process of the receiver of the magnetic resonance equipment; the state signal is used for representing the working state of the receiver;
determining an image quality parameter corresponding to the state signal according to a mapping relation established in advance;
and generating an initial magnetic resonance image according to the magnetic resonance signals received by the receiver, and correcting the initial magnetic resonance image according to the image quality parameters to obtain a target magnetic resonance image.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and acquiring a state signal corresponding to each receiving channel of the receiver.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and determining the image quality parameters corresponding to the receiving channels according to the pre-established mapping relation corresponding to the receiving channels and the state signals corresponding to the receiving channels.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and generating initial magnetic resonance images corresponding to all receiving channels according to the magnetic resonance signals received by all the receiving channels of the receiver.
In one embodiment, the computer program when executed by the processor further performs the steps of:
correcting the initial magnetic resonance image corresponding to each receiving channel according to the image quality parameter corresponding to each receiving channel to obtain a plurality of corrected magnetic resonance images;
and carrying out image reconstruction processing according to the plurality of corrected magnetic resonance images to obtain a target magnetic resonance image.
In one embodiment, the computer program when executed by the processor further performs the steps of:
filtering the image quality parameters to obtain filtered image quality parameters;
and correcting the image intensity of the initial magnetic resonance image according to the filtered image quality parameters.
In one embodiment, the status signal comprises a coupling signal obtained by coupling the signal coupling device with the receiver during operation of the receiver; correspondingly, the mapping relationship comprises a linear relationship between the coupling signal and the image quality parameter.
In one embodiment, the status signal comprises a temperature signal of the receiver acquired by the temperature acquisition device during operation of the receiver; correspondingly, the mapping comprises a linear relationship between the temperature signal and the image quality parameter.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.