Generation method and device of magnetic resonance sequence, equipment, storage medium and product
By dividing the magnetic resonance sequence into multiple candidate modules and configuring them, the target magnetic resonance sequence is generated, which solves the problem of low generation efficiency in the prior art and achieves more efficient sequence generation and a shorter development cycle.
Patent Information
- Application Number
- CN202512035710.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-30
- Publication Date
- 2026-04-10
AI Technical Summary
Existing technologies for generating magnetic resonance sequences have low efficiency and long development cycles, making it difficult to meet the diverse needs of image applications.
The magnetic resonance sequence is pre-divided into multiple candidate sequence modules. Each module encapsulates the parameter calculation logic and working mode logic of the hardware device. By selecting and configuring the target sequence module, the magnetic resonance sequence is automatically generated.
It simplifies the magnetic resonance sequence generation process, improves generation efficiency, and shortens the development cycle.
Smart Images

Figure CN121831641A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of magnetic resonance imaging, and particularly relates to a magnetic resonance sequence generation method, device, equipment, storage medium and program product. BACKGROUND
[0002] Magnetic resonance imaging (MRI) is a non-invasive, non-radiation, high-resolution, high-contrast human body imaging diagnostic method, which is widely used in medical imaging diagnosis. Magnetic resonance sequences control the timing and parameters of radio frequency pulses and gradient magnetic fields, signal acquisition devices to realize the excitation, encoding and acquisition of tissue signals, and finally reconstruct to generate medical images with diagnostic value.
[0003] In related technologies, a magnetic resonance sequence is usually manually configured by a designer with respect to relevant configuration parameters (for example: radio frequency pulse bandwidth, radio frequency pulse flip angle, echo time, repetition time, gradient amplitude), so as to generate a corresponding magnetic resonance sequence.
[0004] However, due to the diverse image application requirements, there are many types of magnetic resonance sequences required, and therefore, the generation efficiency of the magnetic resonance sequence is low and the development cycle is long through the manual generation method. SUMMARY
[0005] The embodiments of the present application provide a magnetic resonance sequence generation method, device, equipment, storage medium and product, which pre-divides a plurality of different candidate sequence modules, each candidate sequence module corresponds to configuration parameters, determines the configuration result of the candidate sequence module according to the input operation of the configuration parameters, and automatically generates a corresponding scanning sequence, thereby simplifying the generation process of the magnetic resonance sequence and improving the magnetic resonance imaging efficiency.
[0006] In a first aspect, the embodiments of the present application provide a magnetic resonance sequence generation method, which comprises: displaying a plurality of candidate sequence modules, the candidate sequence modules pre-encapsulating parameter calculation logic and working mode setting logic of at least one hardware device in a magnetic resonance imaging system; determining at least one target sequence module from the plurality of candidate sequence modules in response to a module selection operation; generating a module configuration result corresponding to the target sequence module in response to a content configuration operation of the target sequence module, the module configuration result including configuration parameters for controlling at least one target hardware device; executing the target magnetic resonance sequence based on the module configuration result, the target magnetic resonance sequence being used to scan a target object and generate a scanning image corresponding to the target object, the image parameters of the scanning image being related to the module configuration result.
[0007] Optionally, the target hardware device associated with the target sequence module is determined from at least one hardware device in the magnetic resonance imaging system; and the configuration parameter is determined based on the parameter calculation logic and the working mode setting logic of the target hardware device.
[0008] Optionally, in response to a parameter configuration operation corresponding to the configuration parameter, a parameter configuration result corresponding to the configuration parameter is obtained as the module configuration result.
[0009] Optionally, the target hardware device is one of a radio frequency generation device, a gradient generation device, a signal acquisition device, and a timing controller; a working mode and a parameter calculation mode corresponding to the target hardware device are determined based on a parameter configuration result corresponding to the configuration parameter; the target hardware device is controlled to operate based on the working mode and the parameter calculation mode, so that the target hardware device outputs a target operation result; and the target magnetic resonance sequence is executed based on the target operation result.
[0010] Optionally, the target hardware device includes at least two of a radio frequency generation device, a gradient generation device, a signal acquisition device, and a timing controller; a target operation mode and a target parameter calculation mode corresponding to the at least two target hardware devices are determined based on a pre-packaged operation association and a parameter configuration result corresponding to the configuration parameter; the at least two target hardware devices are controlled to operate based on the target operation mode and the target parameter calculation mode corresponding to the at least two target hardware devices, so that the at least two target hardware devices output a target operation result; and the target magnetic resonance sequence is executed based on the target operation result.
[0011] Optionally, the plurality of candidate sequence modules include at least one of: an excitation module; a refocusing module; a readout module; a magnetization preparation module; a magnetization control module; a timing control module.
[0012] In a second aspect, an embodiment of the present application provides a magnetic resonance sequence generation apparatus, including: a display module configured to display a plurality of candidate sequence modules, the candidate sequence modules pre-packaged with parameter calculation logic and working mode setting logic of at least one hardware device in a magnetic resonance imaging system; a determination module configured to determine at least one target sequence module from the plurality of candidate sequence modules in response to a module selection operation; The configuration module is configured to generate a module configuration result corresponding to the target sequence module in response to a content configuration operation of the target sequence module, the module configuration result including a configuration parameter for controlling at least one target hardware device; The execution module is configured to execute the target magnetic resonance sequence based on the module configuration result, the target magnetic resonance sequence being used to scan a target object and generate a scan image corresponding to the target object, an image parameter of the scan image being related to the module configuration result.
[0013] In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the magnetic resonance sequence generation method in any of the first aspect.
[0014] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the magnetic resonance sequence generation method in any of the first aspect.
[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, and when the computer program product is executed on a computer device, the computer device executes the magnetic resonance sequence generation method in any of the first aspect.
[0016] It can be understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and will not be repeated here.
[0017] The technical scheme provided by the embodiments of the present application has at least the following beneficial effects: By pre-dividing the magnetic resonance imaging (MRI) sequence into multiple candidate sequence modules, each candidate sequence module pre-encapsulates the parameter calculation logic and operating mode logic of the hardware device in the MRI system. At least one target sequence module is determined from these candidate modules, and content configuration operations are performed on the target sequence module to generate a corresponding module configuration result. This configuration result is used to control the output of the target hardware device. Finally, the target MRI sequence is generated and executed based on the module configuration result. The target object corresponding to the target MRI sequence is then scanned to obtain a scanned image. In other words, by pre-designing multiple candidate sequence modules and encapsulating their corresponding parameter calculation logic and operating mode setting logic, and by configuring the selected target sequence module to control the hardware device to operate according to the configured operating mode and parameter calculation mode, the target MRI sequence is generated. This simplifies the MRI sequence generation process, avoids manually debugging each parameter individually in the MRI sequence, improves the generation efficiency of the MRI sequence, and shortens the development cycle of the MRI sequence. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a system diagram of an embodiment provided in this application; Figure 2 This is a flowchart of a method for generating magnetic resonance sequences according to an embodiment of this application; Figure 3 This is a flowchart of a method for generating magnetic resonance sequences according to an embodiment of this application; Figure 4 This is a schematic diagram of a module provided in an embodiment of this application; Figure 5 This is a schematic diagram of a module provided in an embodiment of this application; Figure 6 This is a schematic diagram of a module provided in an embodiment of this application; Figure 7 This is a schematic diagram of a module provided in an embodiment of this application; Figure 8 This is a schematic diagram of a module provided in an embodiment of this application; Figure 9 This is a schematic diagram of a module provided in an embodiment of this application; Figure 10 This is a schematic diagram of a module provided in an embodiment of this application; Figure 11This is a schematic diagram of a magnetic resonance sequence provided in an embodiment of this application; Figure 12 This is a schematic diagram of a module provided in an embodiment of this application; Figure 13 This is a schematic diagram of a magnetic resonance sequence provided in an embodiment of this application; Figure 14 This is a schematic diagram of a module provided in an embodiment of this application; Figure 15 This is a structural diagram of the magnetic resonance sequence generation device provided in the embodiments of this application; Figure 16 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0020] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0021] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0022] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0023] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0024] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0025] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0026] First, the terms used in the embodiments of this application will be explained: Radio frequency pulse (RF): A type of electromagnetic wave generated by a radio frequency system (or radio frequency generation device) whose frequency is precisely matched to the Larmor frequency of the corresponding proton.
[0027] Gradient: Also known as gradient magnetic field, it refers to the additional magnetic field generated by a gradient system and superimposed on the main magnetic field. Its intensity usually varies linearly along a specific direction (such as the X, Y, and Z axes).
[0028] Signal acquisition equipment: Corresponding to a magnetic resonance signal acquisition system, it converts magnetic resonance signals into digital signals. Using a computer or other processor, the corresponding digital signals can be reconstructed and post-processed to obtain image data of the scanned object. In practical applications, an analog-to-digital converter (ADC) is typically used as the signal acquisition device.
[0029] Magnetic resonance sequence: In magnetic resonance imaging, the hardware instructions of a magnetic resonance system are composed of different radio frequency pulses, gradients, and signal acquisition devices arranged and combined according to timing parameters. The hardware of a magnetic resonance system mainly includes a radio frequency system, a gradient system (or gradient generation device), and a magnetic resonance signal acquisition system (or signal acquisition device).
[0030] In this embodiment, the magnetic resonance sequence is a temporal arrangement of relevant parameters such as radio frequency pulses, gradient fields, and the timing of magnetic resonance signal acquisition by the signal acquisition device. Different combinations result in different magnetic resonance sequences, which are used to achieve different image weighting (i.e., contrast) effects.
[0031] Magnetic resonance imaging (MRI) refers to an imaging method that acquires magnetic resonance signals by controlling radio frequency pulses, gradients, and signal acquisition equipment, and then reconstructs and post-processes the acquired magnetic resonance signals to obtain the contrast and information of different tissues.
[0032] Indicatively, a magnetic resonance imaging (MRI) sequence typically includes the following components: radio frequency (RF) pulses, gradients (including: gradient silce selection (GSS) (or range selection gradient in a three-dimensional sequence scenario), gradient phase encoding (GPE) (there are two-directional gradient phase encoding gradients in a three-dimensional sequence scenario), gradient readout (GRO) (also known as readout gradient)), acquisition signals, and at least one timing parameter.
[0033] Here, GSS, GPE, and GRO represent the gradients applied on different axes, and therefore, the directions of the gradients applied on each axis are different. Thus, GSS, GPE, and GRO can correspond to the x, z, and y axes, respectively.
[0034] Since magnetic resonance imaging (MRI) requires spatial localization of protons, gradient magnetic fields in different directions are used. Taking a two-dimensional acquisition as an example, firstly, a gradient is selected by layer selection, and a fixed layer is excited by radio frequency pulses. Then, the protons in that layer are spatially localized by phase offset gradient and readout encoding gradient.
[0035] For a two-dimensional plane, it can be divided into two orthogonal directions: Ky (phase encoding direction) and Kx (frequency encoding direction). In one repetition time period (TR period), the acquired signal is filled into the K space. In the phase encoding direction, the number of phase encoding lines required is equal to the number of steps. Finally, after the K space data is filled, image reconstruction is performed to form a magnetic resonance image.
[0036] Timing parameters refer to the order and intervals of the various modules in a magnetic resonance imaging (MRI) sequence on the time axis during the execution of the MRI sequence, such as repetition time, echo time, and inversion time. Timing parameters are typically determined by a timing controller. Furthermore, the timing controller can also control the start-up time of the signal acquisition equipment; that is, the timing controller can also control the timing parameters of signal acquisition.
[0037] Transverse magnetization vector: In a static magnetic field environment, the longitudinal magnetization vector of a proton group is deflected to the XY plane by applying a radio frequency pulse of a specific frequency. This process results in a decrease in the longitudinal magnetization vector and the simultaneous generation of a transverse component, the intensity of which is directly related to the flip angle of the radio frequency pulse. Specifically, when a 90-degree (°) radio frequency pulse is applied, the longitudinal magnetization vector is completely converted into a transverse component.
[0038] The magnetic resonance sequence control method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 refers to a device capable of configuring magnetic resonance sequences. In one scenario, after receiving a user's configuration operation for the magnetic resonance sequence, terminal 102 determines the module parameters corresponding to the magnetic resonance sequence. Terminal 102 communicates with server 104 via the network, sending the module parameters of the transmitted magnetic resonance sequence to server 104. Server 104 processes the sequence parameters, determines the various parameters of the magnetic resonance sequence, and generates the corresponding magnetic resonance sequence. Server 104 then feeds the magnetic resonance sequence back to terminal 102 via the network, enabling terminal 102 to execute the corresponding magnetic resonance sequence to complete data acquisition. The acquired data is then sent to a data storage system via the network for storage.
[0039] In another scenario, after receiving the user's configuration operation for the magnetic resonance sequence, the terminal 102 determines the module parameters corresponding to the magnetic resonance sequence, generates the corresponding magnetic resonance sequence based on the module parameters, executes the magnetic resonance sequence to complete data acquisition, and sends the acquired data to the data storage system for storage via the network.
[0040] In both of the above cases, terminal 102 has both magnetic resonance sequence configuration function and magnetic resonance sequence execution function.
[0041] In another scenario, terminal 102 only has the function of configuring magnetic resonance sequences. After receiving the user's configuration operation for the magnetic resonance sequence, terminal 102 determines the module parameters corresponding to the magnetic resonance sequence, generates the corresponding magnetic resonance sequence according to the module parameters, sends the magnetic resonance sequence to the magnetic resonance imaging device, and the magnetic resonance imaging device executes the magnetic resonance sequence to complete data acquisition. The acquired data is then sent to the data storage system for storage via the network.
[0042] The data storage system can store the data that server 104 needs to process. The data storage system can be integrated on server 104, or it can be placed in the cloud or on other network servers.
[0043] The terminal 102 can be optional and can be a desktop computer, laptop computer, mobile phone, tablet computer, e-book reader, MP3 (Moving Picture Experts Group Audio Layer III) player, MP4 (Moving Picture Experts Group Audio Layer IV) player, smart TV, smart car, virtual reality (VR), augmented reality (AR) and other types of terminals. This application embodiment does not limit it in this way.
[0044] Server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0045] The method for generating magnetic resonance sequences provided in this application will be described in detail below, with examples of its application in a terminal device. Please refer to the illustrative examples for further details. Figure 2 The diagram illustrates a flowchart of a method for generating a magnetic resonance sequence provided in an exemplary embodiment of this application, which includes steps 210 to 240.
[0046] Step 210: Display multiple candidate sequence modules.
[0047] The candidate sequence module pre-encapsulates the parameter calculation logic and operating mode setting logic of at least one hardware device in the magnetic resonance imaging system.
[0048] As an illustration, the candidate sequence module generates the target magnetic resonance sequence through combination.
[0049] Therefore, if the combination of candidate sequence modules is different, or if different candidate sequence modules are selected, the final generated target magnetic resonance sequence will also be different.
[0050] This is an illustrative example of a signal acquisition device that includes radio frequency pulses, a gradient magnetic field (or gradient), and the acquired signal in a target magnetic resonance sequence.
[0051] Therefore, a magnetic resonance imaging system includes multiple hardware devices, which are used to generate and control the aforementioned radio frequency pulses, gradient magnetic field (or gradient), and acquisition signals.
[0052] In this system, radio frequency pulses are generated and excited by radio frequency generation equipment, gradient magnetic fields are generated by gradient generation equipment, and signal acquisition is completed by signal acquisition equipment. In addition, the magnetic resonance imaging system also includes a timing controller, which is used to control the timing of ADC acquisition of magnetic resonance signals, the timing of radio frequency generation by radio frequency generation equipment, and the timing of gradient generation by gradient generation equipment.
[0053] Indicatively, parameter calculation logic refers to the parameters required to generate the various components in the target magnetic resonance sequence. For example, module 1 is used to implement the excitation function, including radio frequency pulse 1 and gradient 1. Therefore, parameter calculation logic is used to determine the pulse parameters required for radio frequency pulse 1 and the gradient parameters required for gradient 1.
[0054] In illustrative terms, the operating mode setting logic refers to the operating mode of each component in a hardware device during the device's operation.
[0055] In other words, each candidate sequence module is used to control the hardware in the magnetic resonance imaging system to generate different parameters and different operating modes of the hardware. For example, module 1 is used to control the radio frequency generation device to generate radio frequency a at time 1 and to control the gradient generation device to generate gradient a at time 1. Module 2 is used to control the radio frequency generation device to generate radio frequency b at time 2, control the gradient generation device to generate gradient b at time 2, generate gradient c at time 3, and control the signal acquisition device to acquire signals at time 2 to acquire the scanning results of the target magnetic resonance sequence at time 2 (the scanning results are related to radio frequency a, gradient a, and gradient b). Time 1, time 2, and time 3 are all determined by the timing controller.
[0056] Unlike the permutations and combinations in related technologies, the candidate sequence module represents the permutation and combination of different sequence parts in the magnetic resonance sequence. For example, module 1 is used to implement the excitation function, including radio frequency pulse 1 and gradient 1 (including layer selection gradient 1 and phase-selection gradient 1), and module 2 is used to implement the re-convergence function, including radio frequency pulse 2 and gradient 2 (including layer selection gradient 2 or destruction gradient). The pulse parameters of radio frequency pulse 1 and radio frequency pulse 2 may be the same or different, and layer selection gradient 1 and layer selection gradient 2 correspond to different gradient parameters.
[0057] Optionally, the pulse parameters include at least one of the following: center frequency, pulse amplitude, pulse bandwidth, RF flip angle, pulse shape, and phase. Different pulse parameters determine different RF pulses.
[0058] Among them, pulse bandwidth refers to the frequency range of radio frequency pulses, which determines the thickness (i.e., layer thickness) during radio frequency layer selection. Pulse bandwidth and layer thickness are positively correlated.
[0059] Among them, layer thickness refers to the dimension of the imaging layer in the third dimension of the imaging space, and layer thickness represents a scanning layer of a certain thickness.
[0060] Optionally, gradient parameters include the magnitude, polarity, duration, and gradient switching rate of the gradient field.
[0061] Therefore, when the magnetic resonance sequence is considered as a complete combination of radio frequency pulses and gradients, the candidate sequence module is a sub-combination of the complete combination.
[0062] As an illustration, the candidate sequence modules can be divided in the following ways: The first method is to divide according to function. For example, magnetic resonance sequence a includes combination 1 and combination 2. Combination 1 realizes the excitation function, and combination 2 realizes the readout function. The second method is to divide according to time domain resources. For example, a magnetic resonance sequence is illustrated by a set of waveform diagrams. Therefore, the waveform diagrams include combination 3 and combination 4. Combination 3 includes all waveforms located on time domain resource 1, and combination 4 includes all waveforms located on time domain resource 2.
[0063] It is worth noting that the above-described method of dividing candidate sequence modules is merely an illustrative example, and the embodiments of this application do not limit it.
[0064] Optionally, the display methods for multiple candidate sequence modules include the following: The first method: Display the code content corresponding to multiple candidate sequence modules; The second method: Display the configuration files corresponding to multiple candidate sequence modules; The third method is to display the parameter filling area corresponding to multiple candidate sequence modules. The parameter filling area is used to receive the input parameter values so as to generate the corresponding sequence module based on the input parameter values. The fourth method displays the initial waveform signals corresponding to multiple candidate sequence modules. The initial waveform signal is a pre-generated waveform signal. Users can generate new waveform signals by adjusting the waveform signal (e.g., horizontally lengthening, vertically lengthening, horizontally shrinking, vertically shrinking, adding waveforms, deleting waveforms, copying waveforms, etc.), and then obtain the magnetic resonance sequence based on the combination of the new waveform signals.
[0065] It is worth noting that the above-described display method for multiple candidate sequence modules is merely an illustrative example, and the embodiments of this application do not limit it.
[0066] The configuration file contains files or data information of parameters such as radio frequency pulses, gradient magnetic fields, and signal acquisition, as well as their timing arrangements.
[0067] Optionally, the configuration file includes impulse parameters, gradient parameters, timing parameters, etc.
[0068] Among them, pulse parameters include parameters that define the shape, amplitude, and duration of the radio frequency pulse.
[0069] The gradient parameters include waveform, amplitude, or duration parameters corresponding to various gradients (e.g., layer selection gradient, phase encoding gradient, and readout encoding gradient). Gradient parameters are used to spatially locate the signal source, thereby generating an image with spatial resolution.
[0070] Among them, timing parameters refer to the timing relationship between radio frequency pulses, gradient magnetic fields, and sampling signals.
[0071] Indicatively, the parameter filling area can be implemented as the filling area corresponding to each of the above-mentioned parameters.
[0072] Optionally, the multiple candidate sequence modules are independent sequence modules, that is, the radio frequency pulses and gradients contained in different candidate sequence modules are different. For example, module 1 includes pulse 1 and gradient 1, module 2 includes gradient 2 and gradient 3, and module 3 includes gradient 4; or, at least two candidate sequence modules include the same radio frequency pulse or gradient. For example, module 1 includes pulse 1 and gradient 1, module 2 includes gradient 1 and gradient 2, and module 3 includes pulse 1 and gradient 3. This application embodiment does not limit this.
[0073] Step 220: In response to the module selection operation, at least one target sequence module is determined from a plurality of candidate sequence modules.
[0074] The target sequence module has multiple target configuration parameters.
[0075] In illustrative terms, the module selection operation is used to select one or more specified candidate sequence modules from a plurality of candidate sequence modules as the target sequence module.
[0076] Optionally, the module selection operation can be performed in the following ways: The first method is to display the code content corresponding to multiple candidate sequence modules respectively, and use the trigger operation on the specified code content as the module selection operation. Alternatively, multiple candidate sequence modules can be implemented as a whole code content, and a specified line number can be selected by sliding operation, and the code content corresponding to the specified line number can be used as the target sequence module. The second approach is to display the configuration files corresponding to multiple candidate sequence modules, and then use the selection operation of the specified configuration file among the multiple configuration files as the module selection operation, and use the candidate sequence module corresponding to the specified configuration file as the target sequence module. The third method: When displaying parameter filling areas corresponding to multiple candidate sequence modules, the selection operation of the specified parameter filling area is taken as the module selection operation, and the candidate sequence module corresponding to the specified parameter filling area is taken as the target sequence module. The fourth method is to use the initial waveform signals corresponding to multiple candidate sequence modules as the module selection operation when the initial waveform signal is selected or the sliding operation corresponding to the initial waveform signal is moved to a specified position on the display interface, and the candidate sequence module corresponding to the initial waveform signal is used as the target sequence module.
[0077] It is worth noting that the above-described operation method for module selection is merely an illustrative example, and the embodiments of this application do not limit it.
[0078] Step 230: In response to the content configuration operation of the target sequence module, generate the module configuration result corresponding to the target sequence module.
[0079] The module configuration results include configuration parameters for controlling at least one target hardware device.
[0080] Among them, the configuration parameters are used to determine the parameter calculation method and working mode of the target hardware device.
[0081] In illustrative terms, content configuration operation refers to the operation of configuring the configuration parameters corresponding to the target sequence module.
[0082] Optionally, the content configuration operation can be performed in at least one of the following ways: The first approach: When displaying the code content corresponding to multiple candidate sequence modules, the programming operations, code modification operations, code addition operations (used to add target sequence modules), and code deletion operations (used to delete target sequence modules) are treated as content configuration operations. The second approach: When displaying configuration files corresponding to multiple candidate sequence modules, parameter modification operations (e.g., adjusting RF pulse parameter 1 from 90° to 180°) or parameter input operations (e.g., setting RF pulse parameter 2 to 60°) for each parameter in the configuration file (e.g., pulse parameter, gradient parameter, timing parameter, and delay parameter) are treated as content configuration operations. The third approach: When displaying parameter filling areas corresponding to multiple candidate sequence modules, the parameter filling operation or parameter unfilling operation for the specified parameter filling area will be treated as a content configuration operation. The fourth type: When displaying the initial waveform signals corresponding to multiple candidate sequence modules, the horizontal scaling, vertical scaling, moving, copying, deleting, and adding operations of the specified initial waveform signal are treated as content configuration operations.
[0083] It is worth noting that the above-described operation method for content configuration is merely an illustrative example, and the embodiments of this application do not limit it.
[0084] Indicatively, the module configuration result is used to represent the parameter content after configuring the target configuration parameters of the target sequence module. Based on the module configuration result, at least one of the generated target RF pulse, target gradient, or acquired signal is determined.
[0085] Optionally, the configuration parameters of different target sequence modules are independent of each other; or, the configuration parameters of different target sequence modules are related, which is not limited in this embodiment.
[0086] Optionally, for the same target sequence module, if the same target sequence module is used to control multiple hardware devices, then the multiple hardware devices are independent of each other in terms of working mode and parameter calculation method, or the multiple hardware devices are related in terms of working mode and parameter calculation method. For example, taking the hardware devices as radio frequency generation device and gradient generation device as an example, there is at least one configuration parameter in the target sequence module. This configuration parameter is used to determine the parameter calculation method of both the radio frequency generation device and the gradient generation device.
[0087] Step 240: Execute the target magnetic resonance sequence based on the module configuration result.
[0088] The target magnetic resonance sequence is used to scan the target object and generate a scanned image of the target object. The image parameters of the scanned image are related to the module configuration results.
[0089] Indicatively, the target magnetic resonance sequence is the result of a combination of all configured target radio frequency pulses and / or target gradients.
[0090] Optionally, the target magnetic resonance sequence can be displayed as a waveform; or, the target magnetic resonance sequence can be displayed as code content.
[0091] As an illustration, different target magnetic resonance sequences will produce different scan images when scanning the same target object.
[0092] The magnetic resonance sequence generation method provided in this application pre-divides the magnetic resonance sequence into multiple candidate sequence modules. Each candidate sequence module pre-encapsulates the parameter calculation logic and operating mode logic of the hardware device in the magnetic resonance imaging system. At least one target sequence module is determined from the multiple candidate sequence modules, and the target sequence module is configured to generate a module configuration result corresponding to the target sequence module. This configuration result is used to control the output result of the target hardware device. Finally, the target magnetic resonance sequence is generated and executed according to the module configuration result. The target object corresponding to the target magnetic resonance sequence is scanned to obtain a scanned image. In other words, by pre-designing multiple candidate sequence modules and encapsulating their corresponding parameter calculation logic and operating mode setting logic, and by configuring the selected target sequence module, the hardware device is controlled to operate according to the configured operating mode and parameter calculation mode, thereby generating the target magnetic resonance sequence. This simplifies the magnetic resonance sequence generation process, avoids manually debugging each parameter in the magnetic resonance sequence individually, improves the generation efficiency of the magnetic resonance sequence, and shortens the development cycle of the magnetic resonance sequence.
[0093] The following section provides a detailed explanation of the method for generating magnetic resonance sequences. Please refer to the illustrative examples. Figure 3This illustrates a flowchart of a magnetic resonance sequence generation method provided by an exemplary embodiment of this application. Specifically, step 220 is followed by steps 221 and 222, and step 230 includes step 231, as shown below. Figure 3 As shown, the method includes the following steps.
[0094] Step 221: Identify the target hardware device associated with the target sequence module from at least one hardware device in the magnetic resonance imaging system.
[0095] In illustrative terms, after determining the target sequence module, the hardware device that the target sequence module needs to control is selected from multiple hardware devices and designated as the target hardware device.
[0096] The number of target hardware devices can be one or more.
[0097] Step 222: Determine the configuration parameters based on the parameter calculation logic and operating mode setting logic of the target hardware device. Illustratively, after determining the target hardware device, the configuration parameters corresponding to the target hardware device are determined according to the parameter calculation logic and operating mode logic pre-encapsulated in the target sequence module.
[0098] This is illustrative; different target hardware devices may have different configuration parameters, or different target hardware devices may have at least one identical configuration parameter.
[0099] For example: Target hardware device 1 is an RF generation device, and its corresponding configuration parameters include pulse parameters and timing parameter 1; target hardware device 2 is a gradient generation device, and its corresponding configuration parameters include gradient parameters and timing parameter 2. Timing parameter 1 and timing parameter 2 can be the same timing parameter, or they can be different timing parameters.
[0100] Step 231: In response to the parameter configuration operation corresponding to the configuration parameter, obtain the parameter configuration result corresponding to the configuration parameter, and use it as the module configuration result.
[0101] In illustrative terms, parameter configuration operations are used to determine the configuration result corresponding to the configuration parameter. For example, if the configuration parameter is the radio frequency bandwidth in the pulse parameter, the parameter configuration operation determines the parameter configuration result corresponding to the radio frequency bandwidth.
[0102] As an illustration, if the target sequence module includes configuration parameters corresponding to multiple target hardware devices, the parameter configuration results corresponding to the multiple configuration parameters are used as the module configuration results.
[0103] Optionally, the configuration parameters corresponding to the multiple target hardware devices controlled by the target sequence module are different. Therefore, it is necessary to configure the configuration parameters corresponding to each target hardware device. Alternatively, there may be at least one common configuration parameter among the configuration parameters corresponding to the multiple target hardware devices controlled by the target sequence module. Therefore, after configuring the configuration parameter once, the configuration parameter can be used as the parameter configuration result of different target hardware devices at the same time.
[0104] In some embodiments, the target hardware device is one of a radio frequency generation device, a gradient generation device, a signal acquisition device, and a timing controller; the operating mode and parameter calculation method of the target hardware device are determined based on the parameter configuration results corresponding to the configuration parameters; the operation of the target hardware device is controlled based on the operating mode and parameter calculation method so that the target hardware device outputs the target operating result; and a target magnetic resonance sequence is generated based on the target operating result.
[0105] In illustrative terms, the parameter configuration results corresponding to the target hardware device are used to determine the working mode and parameter calculation method of the target hardware device. Taking the radio frequency generation device as an example, the configuration parameter is the pulse parameter. The configuration result corresponding to the pulse parameter is not only used to determine the radio frequency pulse generated by the radio frequency generation device, that is, the parameter calculation method is used to determine the output result of the radio frequency generation device. In addition, the configuration result corresponding to the pulse parameter is also used to determine the operating status of components such as signal transmitters and power amplifiers in the radio frequency generation device, so that after the various components work together, the radio frequency pulse is finally generated.
[0106] In some embodiments, the target hardware device includes at least two of a radio frequency generation device, a gradient generation device, a signal acquisition device, and a timing controller; the target operation mode and target parameter calculation mode corresponding to the at least two hardware devices are determined based on the pre-encapsulated operational correlation and the parameter configuration results corresponding to the configuration parameters; the operation of the at least two hardware devices is controlled based on the target operation mode and target parameter calculation mode corresponding to the at least two hardware devices, so that the at least two hardware devices output the target operation result.
[0107] In illustrative terms, if there are multiple target hardware devices, the target sequence module pre-encapsulates the operational relationships between these devices. For example, taking a radio frequency (RF) generation device and a gradient generation device as examples, the RF bandwidth corresponding to the RF pulse generated by the RF generation device and the amplitude of the gradient magnetic field generated by the gradient generation device satisfy a pre-defined relationship. Therefore, after configuring the pulse parameters (including the RF bandwidth) of the RF generation device, the first operating mode and the first parameter calculation method corresponding to the RF generation device are obtained. Based on the parameter configuration result of the RF bandwidth and the pre-defined relationship, the parameter configuration result of the amplitude in the gradient parameters corresponding to the gradient generation device is directly determined. If the parameter configuration operation of other parameters in the gradient parameters is completed, the second operating mode and the second parameter calculation method corresponding to the gradient generation device are obtained. Therefore, the RF generation device is controlled to generate a target RF pulse according to the first operating mode and the first parameter calculation method, and the gradient generation device is controlled to generate a target gradient according to the second operating mode and the second parameter calculation method. The generated target RF pulse and target gradient are used as the target operating results. For example, taking an RF generation device, a gradient generation device, and a signal acquisition device as examples, the RF bandwidth corresponding to the RF pulse generated by the RF generation device and the amplitude of the gradient magnetic field generated by the gradient generation device satisfy a pre-defined correlation. Furthermore, the timing parameters of the RF pulse and gradient magnetic field also satisfy a pre-defined correlation with the timing parameters corresponding to the acquired signal output by the signal acquisition device. Therefore, after configuring the pulse parameters (including the RF bandwidth) of the RF generation device, the first operating mode and the first parameter calculation method corresponding to the RF generation device are obtained. Based on the parameter configuration result of the RF bandwidth and the pre-defined correlation, the parameter configuration result of the amplitude in the gradient parameters corresponding to the gradient generation device is directly determined. If the parameter configuration operation of other parameters in the gradient parameters is completed, the gradient generation device... The corresponding second operating mode and second parameter calculation method are used. In addition, by combining the first operating mode and first parameter calculation method of the radio frequency generation device, and the second operating mode and second parameter calculation method of the gradient generation device, the timing of the acquisition signal generated by the signal acquisition device is determined, and the third operating mode and third parameter calculation method of the signal acquisition device are obtained (used to determine the acquisition signal output by the signal acquisition device). Therefore, the radio frequency generation device is controlled to generate the target radio frequency pulse according to the first operating mode and first parameter calculation method, the gradient generation device is controlled to generate the target gradient according to the second operating mode and second parameter calculation method, and the signal acquisition device is controlled to output the acquisition signal according to the third operating mode and third parameter calculation method. The generated target radio frequency pulse, target gradient and acquisition signal are used as the target operating result.
[0108] In this embodiment, the target hardware device can be one or more of a radio frequency generation device, a gradient generation device, a signal acquisition device, or a timing controller.
[0109] In some embodiments, the plurality of candidate sequence modules include at least one of the following: an excitation module; a re-convergence module; a readout module; a magnetization preparation module; a magnetization control module; and a timing control module.
[0110] In this embodiment, the multiple candidate sequence modules include, but are not limited to, at least one of the following: excitation module, re-convergence module, readout module, magnetization preparation module, magnetization control module, or timing control module. If other sequence modules exist, they can also be used as candidate sequence modules.
[0111] The different candidate sequence modules will be explained in detail below.
[0112] Excitation module: Contains radio frequency (RF) pulses and gradients. The RF pulses are used to excite the scanned object to generate a transverse magnetization vector. When applying the RF pulse, a gradient can be omitted for non-layer-selective excitation; alternatively, a gradient can be applied simultaneously for layer-selective excitation, exciting objects within a specific space. In this case, the gradient is called the layer-selective gradient. The amplitude of the layer-selective gradient is related to the RF bandwidth, satisfying the following formula 1: Formula 1:
[0113] in, The magnitude of the gradient for the selected layer. The bandwidth of the radio frequency pulse. It is the gyromagnetic ratio. The layer thickness for selective excitation.
[0114] Please refer to Figure 4 It illustrates a schematic diagram of an excitation module provided in an exemplary embodiment of this application, such as... Figure 4 As shown, the excitation module includes radio frequency pulses, layer selection gradients, and phase convergence gradients (used to converge signals generated in the layer direction).
[0115] Among them, the layer selection gradient and the phase aggregation gradient are optional, that is, the excitation module can also include only radio frequency pulses.
[0116] After applying the radio frequency pulse, a gradient can be applied to control the generated transverse magnetization vector. This gradient is called the selective phase-gathering gradient (or simply phase-gathering gradient). One implementation scheme is to have the same axis as the selective phase-gathering gradient but with opposite polarity. The corresponding gradient area is determined by the properties related to the radio frequency pulse and the selective phase-gathering gradient. Specifically, the area of the selective phase-gathering gradient is the area from the start of the selective phase-gathering gradient at the radio frequency equivalent excitation point to the end of the selective phase-gathering gradient.
[0117] The reconvergence module includes radio frequency (RF) and gradient components, used to reconverge the generated transverse magnetization vector. When applying the RF pulse, a gradient can be omitted for non-layer-selective reconvergence; alternatively, a gradient can be applied for layer-selective reconvergence. The magnitude of the layer-selective reconvergence gradient is related to the applied reconvergence RF bandwidth, satisfying the following formula 2: Formula 2:
[0118] in, The gradient magnitude for selected layer reconvergence. For the bandwidth of the re-converging radio frequency pulse, The layer thickness for selective polymerization is usually consistent with the layer thickness for selective excitation.
[0119] like Figure 5 As shown, gradients can be applied to both sides of the RF pulse to control the generated transverse magnetization vector. One implementation involves applying the same gradient to both sides of the reconvergence pulse, known as a destructive gradient. Since each RF pulse generates a new transverse magnetization vector, the magnetic resonance signal generated by the reconvergence pulse itself is filtered out by applying the destructive gradient. However, the magnetic resonance signal generated before the reconvergence pulse is reconverged normally and is not filtered out. The destructive gradient can be applied to different axes (e.g., one or more axes of GRO, GPE, and GSS) to filter the generated signal in different axial directions.
[0120] The readout module contains gradient and analog-to-digital converter (ADC) devices (i.e., signal acquisition devices) used to acquire the generated transverse magnetization vector. When using the ADC, the gradient can be applied without directly acquiring the magnetic resonance signal; alternatively, a gradient can be applied synchronously with the ADC, called the readout gradient, to frequency-encode the generated transverse magnetization vector. The magnitude of the readout gradient is related to the ADC bandwidth, satisfying the following formula 3: Formula 3:
[0121] in, The amplitude is the frequency-coded value. The bandwidth of the ADC is set. The image size is for the frequency encoding direction. The readout module can also be configured to only contain gradients without enabling the ADC. For example... Figure 6As shown, before and after turning on the ADC, gradients can be applied independently to control the magnetic resonance signal. One example is applying a gradient with the same axis but opposite polarity as the readout gradient, called a pre-dephasing gradient, before turning on the ADC and applying the readout gradient. This pre-dephasing of the already generated transverse magnetization vector causes it to generate an echo signal during the application of the readout gradient. The area of the pre-dephasing gradient is determined by the properties of the readout gradient and the ADC. A common setting is that the area of the pre-dephasing gradient is the area from the start of the readout gradient to the time corresponding to the echo center in the acquired ADC signal (i.e., the TE time in the magnetic resonance sequence).
[0122] In a feasible scenario, after the ADC and readout gradients are applied, another gradient is applied to dephase the residual magnetic resonance signal. This gradient is called the dephasing gradient. By applying the dephasing gradient, the residual magnetic resonance signal can be weakened, preventing it from interfering with the subsequently generated magnetic resonance signal. The dephasing gradient can be coaxial with or non-coaxial with the readout gradient.
[0123] Magnetization preparation module: Includes gradient and radio frequency (RF) operations. By applying RF and gradient, the longitudinal magnetic covector is manipulated. Common magnetization preparation modules include inversion recovery mode, fat suppression mode, saturation mode, and T2 preparation mode. Inversion recovery, a pulse is applied to reverse the magnetization vector from positive to negative; this pulse is called the inversion pulse. A gradient can be applied simultaneously with the inversion pulse to invert tissue at a specific spatial location. Therefore, this gradient is used as the layer-selective inversion gradient. A schematic diagram is shown below. Figure 7 As shown. The magnitude of the applied inversion gradient and the applied inversion pulse are related by the following formula 4: Formula 4:
[0124] in The gradient magnitude of the selected layer inversion. To invert the bandwidth of the radio frequency pulse, The layer thickness for selective inversion can be selected; alternatively, no gradient can be applied to invert the tissue across the entire space. After applying the inversion pulse, a gradient can be applied to eliminate dephasing of the generated transverse magnetization vector.
[0125] like Figure 8 As shown, the saturation mode is similar to the inversion recovery in implementation, except that the applied pulse is often close to 90 degrees, so that there is less remaining longitudinal magnetization vector.
[0126] Magnetization control module: This module includes gradient and radio frequency (RF) inputs. By applying RF and gradient, it controls the transverse magnetic covector. Common magnetization control modules include gradient-encoded mode, dephasing mode, and drive-back balance mode. For example... Figure 12The gradient encoding mode shown in the module changes the gradient area according to a certain pattern, such as increasing or decreasing sequentially (e.g., GPE axis), until the expected K-space encoding is completed. Figure 9 The dispersion mode under the magnetization control module and Figure 10 As shown in the drive-back balance mode under the magnetization control module. Figure 9 and Figure 10 Gradients were applied on the GRO, GSS, and GPE axes respectively. Figure 9 It contains only the dephasing gradients on three axes. Figure 10 Includes radio frequency, layer selection gradient, and dephasing gradient. Figure 9 The three axes of the dephasing gradient are used to dephased the generated transverse magnetization vector. The dephasing module only contains gradients, and its gradient area is generally large, used to eliminate the dephasing of the generated transverse magnetization vector. The drive-back balance mode, including radio frequency (RF) and gradients, is used to reverse the transverse magnetization vector to the longitudinal direction, facilitating the generation of subsequent magnetic resonance signals. The drive-back balance module includes an RF pulse, a slice selection gradient (optional), and a set of dephasing gradients. When both the RF pulse and the slice selection gradient are applied simultaneously, the transverse magnetization vector of the tissue at a specific location in space is flipped to the longitudinal direction. If only the RF pulse is applied without the slice selection gradient, the transverse magnetization vector at all locations in space is flipped to the longitudinal direction. After the RF pulse has finished, gradients are applied again to eliminate the remaining transverse magnetization vector dephasing, preventing it from interfering with the subsequently generated magnetic resonance signal.
[0127] Timing control module: Composed of all components except for the radio frequency gradient and signal acquisition equipment, this module controls the timing of the sequence. Common timing control modules include trigger scan signals, trigger peripheral signals, and blank time. A trigger scan signal indicates that the MRI system begins executing the MRI sequence scan upon receiving a specific signal; common trigger signals include respiratory, ECG, and pulse signals. Trigger peripheral signals indicate that when the MRI sequence reaches a certain point, a corresponding signal is emitted, and certain external hardware devices operate based on this signal. Blank time refers to the period without radio frequency, gradient, or other hardware interaction; it controls the start time of each module in the sequence, achieving purposes such as controlling longitudinal magnetization vector recovery or transverse magnetization vector attenuation.
[0128] Figure 11 This is a schematic diagram of the gradient echo sequence. Figure 12 The gradient echo sequence consists of modules within a repetition time period, which include an excitation module, a magnetization control module (gradient encoding module and dephasing mode), a readout module, and a timing control module (blank time mode). Figures 13-14This diagram illustrates the waveform of a spin echo sequence and its module composition within one repetition time. It is evident that although these are two different types of magnetic resonance sequences, their module composition has a high degree of repetition; the spin echo sequence only adds a convergence module. Therefore, by rationally designing each module of the magnetic resonance sequence and implementing the relevant computational logic and hardware operation methods within each module, high reusability of each module can be achieved in different magnetic resonance sequences, reducing the difficulty and workload of magnetic resonance sequence design.
[0129] The magnetic resonance sequence generation method provided in this application pre-divides the magnetic resonance sequence into multiple candidate sequence modules. Each candidate sequence module pre-encapsulates the parameter calculation logic and operating mode logic of the hardware device in the magnetic resonance imaging system. At least one target sequence module is determined from the multiple candidate sequence modules, and content configuration operations are performed on the target sequence module to generate the module configuration result corresponding to the target sequence module, which is used to control the output result of the target hardware device. Finally, the target magnetic resonance sequence is generated and executed according to the module configuration result, and the target object corresponding to the target magnetic resonance sequence is scanned to obtain a scanned image. In other words, by pre-designing multiple candidate sequence modules and encapsulating their corresponding parameter calculation logic and operating mode setting logic, and by configuring the content of the selected target sequence module to control the hardware device to run according to the configured operating mode and parameter calculation mode, the target magnetic resonance sequence is generated. This simplifies the magnetic resonance sequence generation process, avoids manual debugging of each parameter in the magnetic resonance sequence, improves the generation efficiency of the magnetic resonance sequence, and shortens the development cycle of the magnetic resonance sequence.
[0130] This is illustrative; please refer to it. Figure 15 The diagram illustrates a magnetic resonance sequence generation apparatus provided in an exemplary embodiment of this application, wherein the program update apparatus may specifically include the following modules: Display module 1510 is used to display multiple candidate sequence modules, wherein the candidate sequence modules are pre-encapsulated with parameter calculation logic and working mode setting logic of at least one hardware device in the magnetic resonance imaging system; The determining module 1520 is configured to determine at least one target sequence module from the plurality of candidate sequence modules in response to a module selection operation; Configuration module 1530 is configured to generate a module configuration result corresponding to the target sequence module in response to a content configuration operation on the target sequence module, wherein the module configuration result includes configuration parameters for controlling at least one target hardware device; The execution module 1540 is used to execute the target magnetic resonance sequence based on the module configuration result. The target magnetic resonance sequence is used to scan the target object and generate a scan image corresponding to the target object. The image parameters of the scan image are related to the module configuration result.
[0131] Optionally, the determining module 1520 is further configured to determine the target hardware device associated with the target sequence module from at least one hardware device in the magnetic resonance imaging system; and to determine the configuration parameters based on the parameter calculation logic and the operating mode setting logic of the target hardware device.
[0132] Optionally, the configuration module 1530 is further configured to, in response to a parameter configuration operation corresponding to the configuration parameter, obtain a parameter configuration result corresponding to the configuration parameter, and use it as the module configuration result.
[0133] Optionally, the target hardware device is one of an RF generation device, a gradient generation device, a signal acquisition device, and a timing controller; the configuration module 1530 is further configured to determine the operating mode and parameter calculation method corresponding to the target hardware device based on the parameter configuration result corresponding to the configuration parameters; and control the operation of the target hardware device based on the operating mode and the parameter calculation method so that the target hardware device outputs the target operating result; The target magnetic resonance sequence is generated based on the target operation results.
[0134] Optionally, the target hardware device includes at least two of a radio frequency generation device, a gradient generation device, a signal acquisition device, and a timing controller; The configuration module 1530 is further configured to determine the target operating mode and target parameter calculation mode corresponding to the at least two hardware devices based on the pre-encapsulated operating correlation and the parameter configuration result corresponding to the configuration parameters; and to control the operation of the at least two hardware devices based on the target operating mode and target parameter calculation mode corresponding to the at least two hardware devices, so that the at least two hardware devices output the target operating result.
[0135] Optionally, the plurality of candidate sequence modules include at least one of the following: an excitation module; a re-convergence module; a readout module; a magnetization preparation module; a magnetization control module; and a timing control module.
[0136] The magnetic resonance sequence generation apparatus provided in this application pre-divides the magnetic resonance sequence into multiple candidate sequence modules. Each candidate sequence module pre-encapsulates the parameter calculation logic and operating mode logic of the hardware device in the magnetic resonance imaging system. At least one target sequence module is determined from the multiple candidate sequence modules, and the target sequence module is configured to generate a module configuration result corresponding to the target sequence module. This configuration result is used to control the output result of the target hardware device. Finally, the target magnetic resonance sequence is generated and executed according to the module configuration result. The target object corresponding to the target magnetic resonance sequence is scanned to obtain a scanned image. In other words, by pre-designing multiple candidate sequence modules and encapsulating their corresponding parameter calculation logic and operating mode setting logic, and by configuring the selected target sequence module, the hardware device is controlled to operate according to the configured operating mode and parameter calculation mode, thereby generating the target magnetic resonance sequence. This simplifies the magnetic resonance sequence generation process, avoids manually debugging each parameter in the magnetic resonance sequence individually, improves the generation efficiency of the magnetic resonance sequence, and shortens the development cycle of the magnetic resonance sequence.
[0137] See Figure 16 This illustration shows a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 16 As shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 16 (Only one is shown in the image) a processor, a memory 1020, and a computer program 1021 stored in the memory 1020 and executable on at least one processor 1010. When the processor 1010 executes the computer program 1021, it implements the steps in the above-described method embodiment for generating magnetic resonance sequences.
[0138] Computer device 1000 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. This terminal device may include, but is not limited to, processor 1010 and memory 1020. Those skilled in the art will understand that... Figure 16 This is merely an example of computer device 1000 and does not constitute a limitation on computer device 1000. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, etc.
[0139] The processor 1010 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0140] In some embodiments, memory 1020 may be an internal storage unit of computer device 1000, such as a hard disk or memory of computer device 1000. In other embodiments, memory 1020 may be an external storage device of computer device 1000, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on computer device 1000. Furthermore, memory 1020 may include both internal and external storage units of computer device 1000. Memory 1020 is used to store operating system, program content, boot loader, data, and other programs, such as program code of computer programs. Memory 1020 may also be used to temporarily store data that has been output or will be output.
[0141] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0142] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0143] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0144] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0145] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0146] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0147] If an integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, swivel hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0148] The implementation of all or part of the processes in the methods of the above embodiments can also be accomplished by a computer program product. When the computer program product is run on a computer device, the computer device can implement the steps in the various method embodiments described above.
[0149] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for generating a magnetic resonance sequence, characterized in that, The method is applied to a terminal device, and the method includes: Multiple candidate sequence modules are displayed, and each candidate sequence module pre-encapsulates parameter calculation logic and working mode setting logic of at least one hardware device in the magnetic resonance imaging system. In response to the module selection operation, at least one target sequence module is determined from the plurality of candidate sequence modules; In response to the content configuration operation of the target sequence module, a module configuration result corresponding to the target sequence module is generated, the module configuration result including configuration parameters for controlling at least one target hardware device; Based on the module configuration result, a target magnetic resonance sequence is executed. The target magnetic resonance sequence is used to scan the target object and generate a scan image corresponding to the target object. The image parameters of the scan image are related to the module configuration result.
2. The method according to claim 1, characterized in that, After determining at least one target sequence module from the plurality of candidate sequence modules in response to the module selection operation, the method further includes: The target hardware device associated with the target sequence module is determined from at least one hardware device in the magnetic resonance imaging system; The configuration parameters are determined based on the parameter calculation logic and the operating mode setting logic of the target hardware device.
3. The method according to claim 1, characterized in that, The step of generating a module configuration result corresponding to the target sequence module in response to the content configuration operation of the target sequence module includes: In response to the parameter configuration operation corresponding to the configuration parameter, the parameter configuration result corresponding to the configuration parameter is obtained and used as the module configuration result.
4. The method according to claim 1, characterized in that, The target hardware device is one of the following: radio frequency generation device, gradient generation device, signal acquisition device, and timing controller; Executing the target magnetic resonance sequence based on the module configuration result includes: The working mode and parameter calculation method of the target hardware device are determined based on the parameter configuration results corresponding to the configuration parameters. The target hardware device is controlled to operate based on the aforementioned working mode and parameter calculation method, so that the target hardware device outputs the target operating result. The target magnetic resonance sequence is executed based on the target execution result.
5. The method according to claim 1, characterized in that, The target hardware device includes at least two of the following: a radio frequency generation device, a gradient generation device, a signal acquisition device, and a timing controller; Executing the target magnetic resonance sequence based on the module configuration result includes: Based on the pre-encapsulated operational correlation and the parameter configuration results corresponding to the configuration parameters, the target operation mode and target parameter calculation method corresponding to at least two target hardware devices are determined respectively; The operation of the at least two target hardware devices is controlled based on the target operation mode and target parameter calculation method corresponding to the at least two target hardware devices respectively, so that the at least two target hardware devices output the target operation result; The target magnetic resonance sequence is executed based on the target execution result.
6. The method according to any one of claims 1 to 5, characterized in that, The plurality of candidate sequence modules includes at least one of the following: Excitation module; Convergence module; Read module; Magnetization preparation module; Magnetization control module; Timing control module.
7. A magnetic resonance sequence generation device, characterized in that, The device includes: The display module is used to display multiple candidate sequence modules, wherein the candidate sequence modules are pre-encapsulated with parameter calculation logic and working mode setting logic of at least one hardware device in the magnetic resonance imaging system; A determining module is configured to determine at least one target sequence module from the plurality of candidate sequence modules in response to a module selection operation; A configuration module is configured to generate a module configuration result corresponding to the target sequence module in response to a content configuration operation on the target sequence module, wherein the module configuration result includes configuration parameters for controlling at least one target hardware device; An execution module is used to execute a target magnetic resonance sequence based on the module configuration result. The target magnetic resonance sequence is used to scan a target object and generate a scan image corresponding to the target object. The image parameters of the scan image are related to the module configuration result.
8. A magnetic resonance imaging device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method for generating magnetic resonance sequences as described in any one of claims 1 to 6.
10. A computer program product, characterized in that, It includes a computer program, which, when run, causes the method for generating a magnetic resonance sequence as described in any one of claims 1 to 6 to be performed.
