Magnetic susceptibility imaging method and system and storage medium

By combining and dividing echo data, the graphics processor video memory utilization is optimized, and the problems of low echo signal processing efficiency and low resource utilization in existing magnetization imaging technology are solved, achieving more efficient computing and resource utilization.

CN119001567APending Publication Date: 2024-11-22UNITED IMAGING RES INST OF INNOVATIVE MEDICAL EQUIP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310556184.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-16
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the existing magnetic susceptibility imaging technology, the echo signal processing efficiency is low and the computing resource utilization rate is not high, which is mainly due to the improper video memory configuration of multiple graphics processors, resulting in inefficiency or waste of resources.

Method used

By acquiring and combining echo data, dividing the phase difference calculation group and channel flow, optimizing the video memory utilization of the graphics processor, using a correlation coefficient matrix to determine the channel weight, and flexibly configuring the graphics processor resources to improve computing efficiency and resource utilization.

Benefits of technology

It improves the efficiency of magnetization imaging and the utilization rate of computing resources, reduces data transmission costs, ensures efficient utilization of graphics processor resources, and improves the computing efficiency of the entire system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119001567A_ABST
    Figure CN119001567A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a magnetic susceptibility imaging method and system and a storage medium. The method comprises the following steps: acquiring at least one group of echo data corresponding to at least one acquisition time period; sequentially transmitting each group of echo data to at least one target graphics processor, and controlling the at least one target graphics processor to combine the echo signals of the plurality of channels in each group of echo data based on the weight of each channel in the plurality of channels to obtain combined data corresponding to each group of echo data; determining at least one phase difference calculation group, sequentially transmitting two groups of echo data in each phase difference calculation group to at least one target graphics processor, and controlling the at least one target graphics processor to obtain a phase difference diagram corresponding to each phase difference calculation group; and acquiring at least one phase difference image and at least one piece of merged data corresponding to the at least one group of echo data from at least one target graphics processor, and acquiring a magnetic susceptibility image based on the at least one phase difference image and the at least one piece of merged data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present specification relates to the field of medical imaging, and in particular to a magnetic susceptibility imaging method, system and storage medium. Background Art

[0002] Medical imaging is the generation of images based on signals collected by scanning equipment. For example, magnetic susceptibility imaging can generate images based on echo signals collected by magnetic resonance imaging (MRI) equipment. With the upgrade of scanning equipment hardware technology, the number of scanning elements has increased, and the number of echo signals collected has increased accordingly. The central processing unit cannot complete the processing of a large number of echo signals in a short period of time. A graphics processor with a parallel computing architecture is often used to process the echo signals, and then the central processing unit generates images based on the processed echo signals to improve the efficiency of magnetic susceptibility imaging. In addition, in order to solve the problem that the video memory of a single graphics processor is small and limits the efficiency of magnetic susceptibility imaging, multiple graphics processors can be configured to process echo signals simultaneously.

[0003] However, the amount of data of the echo signal is different, and the required video memory is correspondingly different. When the video memory of the configured multiple graphics processors is smaller than the required video memory, the efficiency of magnetic susceptibility imaging may be low. When the video memory of the multiple graphics processors is larger than the required video memory, it will cause a waste of video memory resources.

[0004] Therefore, it is necessary to provide a magnetic susceptibility imaging solution that can improve the efficiency of magnetic susceptibility imaging and the utilization of computing resources. Summary of the invention

[0005] One or more embodiments of the present specification provide a magnetic susceptibility imaging method, the method comprising: acquiring at least one group of echo data corresponding to at least one acquisition time period, each group of echo data in the at least one group of echo data comprising echo signals of multiple channels; transmitting each group of echo data to at least one target graphics processor in sequence, and controlling the at least one target graphics processor to merge the echo signals of multiple channels in each group of echo data based on the weight of each channel in the multiple channels to obtain merged data corresponding to each group of echo data; determining at least one phase difference calculation group based on a calculation step length, each phase difference calculation group in the at least one phase difference calculation group comprising two groups of echo data, transmitting the two groups of echo data in each phase difference calculation group to at least one target graphics processor in sequence, and controlling the at least one target graphics processor to obtain a phase difference map corresponding to each phase difference calculation group based on the two groups of echo data in each phase difference calculation group; acquiring at least one phase difference map and at least one merged data corresponding to at least one group of echo data from the at least one target graphics processor, and acquiring a magnetic susceptibility map based on the at least one phase difference map and the at least one merged data.

[0006] One or more embodiments of the present specification provide a magnetic susceptibility imaging method, the method comprising: determining the video memory required for at least one target graphics processor to process echo data; and determining the number of at least one target graphics processor based on the available video memory of the at least one target graphics processor and the video memory required for the at least one target graphics processor to process the echo data.

[0007] One or more embodiments of the present specification provide a magnetic susceptibility imaging method, the method comprising: dividing each group of echo data in each phase difference calculation group into a plurality of channel streams based on the available video memory size of at least one target graphics processor and the size of the echo signal, each of the plurality of channel streams comprising the echo signal of at least one channel; determining a designated graphics processor corresponding to the channel stream based on the size of the channel stream and the available video memory size of at least one target graphics processor; and transmitting the channel streams to the corresponding designated graphics processors in sequence.

[0008] One or more embodiments of the present specification provide a magnetic susceptibility imaging method, the method comprising: acquiring baseline echo data; determining a correlation coefficient matrix based on the baseline echo data, the elements in the correlation coefficient matrix comprising the correlation coefficients between any two channels in the baseline echo data; and determining a weight of each channel in a plurality of channels based on the correlation coefficient matrix.

[0009] One or more embodiments of the present specification provide a magnetic susceptibility imaging method, the method comprising: determining a reference channel from a plurality of channels based on a correlation coefficient matrix; and determining a weight of each channel in the plurality of channels based on the reference channel.

[0010] One or more embodiments of the present specification provide a magnetic susceptibility imaging system, the system comprising: an echo data acquisition module, used to acquire at least one group of echo data corresponding to at least one acquisition time period, each group of echo data in the at least one group of echo data comprising echo signals of multiple channels; a merged data acquisition module, used to sequentially transmit each group of echo data to at least one target graphics processor, and control the at least one target graphics processor to merge the echo signals of multiple channels in each group of echo data based on the weight of each channel in the multiple channels, so as to obtain merged data corresponding to each group of echo data; a phase difference calculation module, used to calculate the phase difference based on the calculation step; long, determining at least one phase difference calculation group, each phase difference calculation group in the at least one phase difference calculation group includes two groups of echo data, transmitting the two groups of echo data in each phase difference calculation group to at least one target graphics processor in sequence, and controlling the at least one target graphics processor to obtain a phase difference map corresponding to each phase difference calculation group based on the two groups of echo data in each phase difference calculation group; a magnetic susceptibility map acquisition module, used to obtain at least one phase difference map and at least one merged data corresponding to at least one group of echo data from at least one target graphics processor, and obtain a magnetic susceptibility map based on the at least one phase difference map and the at least one merged data.

[0011] One or more embodiments of the present specification provide a magnetic susceptibility imaging system, the system comprising a merged data acquisition module, the merged data acquisition module being used to: determine the video memory required for at least one target graphics processor to process echo data; and determine the number of at least one target graphics processor based on the available video memory of the at least one target graphics processor and the video memory required for the at least one target graphics processor to process echo data.

[0012] One or more embodiments of the present specification provide a magnetic susceptibility imaging system, the system comprising a merged data acquisition module, the merged data acquisition module being used to: divide each group of echo data in each phase difference calculation group into a plurality of channel streams based on the available video memory size of at least one target graphics processor and the size of the echo signal, each of the plurality of channel streams comprising the echo signal of at least one channel; determine a designated graphics processor corresponding to the channel stream based on the size of the channel stream and the available video memory size of at least one target graphics processor; and transmit the channel streams to the corresponding designated graphics processors in sequence.

[0013] One or more embodiments of the present specification provide a magnetic susceptibility imaging system, the system comprising a merged data acquisition module, the merged data acquisition module being used to: acquire baseline echo data; determine a correlation coefficient matrix based on the baseline echo data, the elements in the correlation coefficient matrix comprising correlation coefficients between any two channels in the baseline echo data; and determine a weight of each of a plurality of channels based on the correlation coefficient matrix.

[0014] One or more embodiments of the present specification provide a computer-readable storage medium, wherein the storage medium stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes a magnetic susceptibility imaging method.

[0015] One or more embodiments of the present specification calculate the correlation coefficient between any two echo signals based on the number of at least one target graphics processor using different interaction methods, which can reduce the transmission cost between data and improve computing efficiency.

[0016] One or more embodiments of the present specification divide the echo signal into multiple channel streams based on the available video memory size of at least one target graphics processor and the size of the echo signal, and transmit the multiple channel streams to the corresponding designated graphics processors in batches, so that at least one target graphics processor can process the multiple channel streams in parallel in batches, thereby improving the computing efficiency of the target graphics processor.

[0017] One or more embodiments of the present specification determine the number of target graphics processors based on the size of available video memory and the size of echo data, and flexibly configure the resources of the target graphics processors based on the number of target graphics processors, thereby ensuring that at least one target graphics processor saves more graphics processor resources while completing the processing of echo data, so that non-target graphics processors can process other computing programs in parallel, thereby improving the resource utilization of the graphics processor and the computing efficiency of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:

[0019] Figure 1 is a schematic diagram of an exemplary application scenario of a magnetic susceptibility imaging system according to some embodiments of this specification;

[0020] Figure 2 is an exemplary module diagram of a magnetic susceptibility imaging system according to some embodiments of this specification;

[0021] Figure 3 is an exemplary flow chart of a magnetic susceptibility imaging method according to some embodiments of the present specification;

[0022] Figure 4 is an exemplary flow chart of determining the weight of each channel according to some embodiments of this specification;

[0023] Figure 5 is an exemplary flow chart for determining the number of target graphics processors according to some embodiments of this specification;

[0024] Figure 6 is an exemplary flow chart of transmitting multiple echo signals in batches and blocks according to some embodiments of this specification;

[0025] Figure 7 It is an exemplary schematic diagram of determining merged data according to some embodiments of the present specification. DETAILED DESCRIPTION

[0026] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0027] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.

[0028] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0029] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.

[0030] Figure 1 It is a schematic diagram of an exemplary application scenario of a magnetic susceptibility imaging system according to some embodiments of the present specification.

[0031] The magnetic susceptibility imaging system 100 can process multiple echo signals in parallel by implementing the method and / or process disclosed in this specification, thereby improving the efficiency of magnetic susceptibility imaging.

[0032] like Figure 1As shown, the magnetic susceptibility imaging system 100 may include: a scanning device 110 , a processing device 120 , a terminal device 130 , a network 140 and a storage device 150 .

[0033] The scanning device 110 can transmit a signal to a target object or a part thereof, and collect echo data related to the target object or a part thereof. In some embodiments, the scanned object may include, but is not limited to, a human body, an organ, a body, a damaged part, a tumor, an object, a phantom, etc. In some embodiments, the scanning device 110 may include a single-modality imaging device. For example, the scanning device 110 may include a magnetic resonance imaging (MRI) device (also referred to as an MR scanner), a digital subtraction angiography (DSA), a positron emission tomography (PET) device, a single photon emission computed tomography (SPECT) device, a computed tomography (CT) device, an ultrasound scanner, a digital radiography (DR) scanner, etc., or any combination thereof. In some embodiments, the scanning device 110 may include a multi-modality imaging device. Exemplary multi-modality imaging devices may include a PET-CT device, a PET-MR device, etc., or a combination thereof. For the purpose of illustration, the present application is described in conjunction with a magnetic resonance imaging (MRI) device.

[0034] The processing device 120 can process data and / or information obtained from the scanning device 110, the terminal device 130 and / or the storage device 150. In some embodiments, the processing device 120 may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a system on a chip (SoC), a microcontroller unit (MCU), etc. and / or any combination thereof. The central processing unit includes a cache, a memory, a complex logic control circuit and a small number of computing units, etc., and can perform serial operations including a large number of logical judgments. For example, based on the calculation step length, at least one phase difference calculation group is determined. For another example, based on at least one phase difference map and at least one merged data, a magnetic susceptibility map is obtained. The graphics processor includes a video memory, a simple logic control circuit and a large number of computing units, etc., and can perform simple logical parallel operations. For example, the weight of each channel in a plurality of channels is determined. For another example, based on the weight of each channel, the echo signals of a plurality of channels in each group of echo data are merged to obtain the merged data corresponding to each group of echo data.

[0035] In some embodiments, the processing device 120 may include a computer, a user console, a single server or a server group, etc. The server group may be centralized or distributed. In some embodiments, the processing device 120 may be local or remote. For example, the processing device 120 may access information and / or data stored in the scanning device 110, the terminal device 130 and / or the storage device 150 via the network 140. For another example, the processing device 120 may directly connect the scanning device 110, the terminal device 130 and / or the storage device 150 to access the stored information and / or data. In some embodiments, the processing device 120 may be implemented on a cloud platform. As an example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, a cloud-to-cloud, a multi-cloud, etc., or any combination thereof. In some embodiments, the processing device 120 or a portion of the processing device 120 may be integrated into the scanning device 110.

[0036] The terminal device 130 can display images, such as magnetic susceptibility maps, to the user. The terminal device 130 can include a mobile device 131 , a tablet computer 132 , a notebook computer 133 , etc., or any combination thereof. In some embodiments, the terminal 130 can be a part of the processing device 120 .

[0037] The network 140 may include any suitable network that facilitates information and / or data exchange of the magnetic susceptibility imaging system 100. In some embodiments, one or more components of the magnetic susceptibility imaging system 100 (e.g., the scanning device 110, the processing device 120, the storage device 150, the terminal device 130) may communicate information and / or data with one or more other components of the magnetic susceptibility imaging system 100 via the network 140. For example, the processing device 120 may obtain echo data from the scanning device 110 via the network 140. In some embodiments, one or more components of the magnetic susceptibility imaging system 100 (e.g., the scanning device 110, the processing device 120, the storage device 150, the terminal device 130) may communicate information and / or data with one or more external resources (e.g., an external database of a third party, etc.). The network 140 may be and / or include a public network, a private network, a wired network, a wireless network, a cellular network, a frame relay network, a virtual private network (“VPN”), a satellite network, a telephone network, a router, a hub, a switch, a server computer, and / or any combination thereof. In some embodiments, the network 140 may include one or more network access points. For example, the network 140 may include wired and / or wireless network access points such as base stations and / or Internet exchange points, through which one or more components of the magnetic susceptibility imaging system 100 may connect to the network 140 to exchange data and / or information.

[0038] The storage device 150 may store data, instructions, and / or any other information. In some embodiments, the storage device 150 may store data obtained from the scanning device 110, the terminal device 130, and / or the processing device 120. In some embodiments, the storage device 150 may store data and / or instructions, and the processing device 120 may execute or use the data and instructions to perform the exemplary method / system described in the present application. In some embodiments, the storage device 150 may include a mass storage, a removable memory, a volatile read-write memory, a read-only memory (ROM), etc., or any combination thereof. In some embodiments, the storage device 150 may be connected to the network 140 to communicate with one or more other components of the magnetic susceptibility imaging system 100 (e.g., the scanning device 110, the processing device 120, the storage device 150, the terminal device 130). One or more components of the magnetic susceptibility imaging system 100 may access the data or instructions stored in the storage device 150 through the network 140. In some embodiments, the storage device 150 may be directly connected to or communicate with one or more other components of the magnetic susceptibility imaging system 100 (e.g., the scanning device 110, the processing device 120, the storage device 150, the terminal device 130). In some embodiments, the storage device 150 may be part of the processing device 120.

[0039] It should be noted that the above description is provided for illustrative purposes only and is not intended to limit the scope of this specification. For those of ordinary skill in the art, under the guidance of the contents of this specification, various changes and modifications can be made. The features, structures, methods and other features of the exemplary embodiments described in this specification can be combined in various ways to obtain additional and / or alternative exemplary embodiments. However, these changes and modifications will not deviate from the scope of this specification.

[0040] Figure 2 is an exemplary module diagram of a magnetic susceptibility imaging system according to some embodiments of this specification. Figure 2 As shown, the magnetic susceptibility imaging system 200 may include an echo data acquisition module 210 , a merged data acquisition module 220 , a phase difference calculation module 230 and a magnetic susceptibility map acquisition module 240 .

[0041] The echo data acquisition module 210 may be used to acquire at least one set of echo data corresponding to at least one acquisition time period. In some embodiments, each set of echo data in the at least one set of echo data may include echo signals of multiple channels.

[0042] The merged data acquisition module 220 may be used to sequentially transmit each group of echo data to at least one target graphics processor, and control the at least one target graphics processor to merge the echo signals of multiple channels in each group of echo data based on the weight of each channel in the multiple channels, so as to obtain the merged data corresponding to each group of echo data. In some embodiments, the merged data acquisition module 220 may perform one or more of the following operations: determine the video memory required for at least one target graphics processor to process the echo data; determine the number of at least one target graphics processor based on the available video memory of at least one target graphics processor and the video memory required for at least one target graphics processor to process the echo data. In some embodiments, the merged data acquisition module 220 may perform one or more of the following operations: divide each group of echo data in each phase difference calculation group into multiple channel streams based on the available video memory size of at least one target graphics processor and the size of the echo signal; determine the designated graphics processor corresponding to the channel stream based on the size of the channel stream and the available video memory size of at least one target graphics processor; and sequentially transmit the channel streams to the corresponding designated graphics processors. In some embodiments, each of the multiple channel streams may include the echo signal of at least one channel. In some embodiments, the merged data acquisition module 220 may perform one or more of the following operations: acquiring reference echo data; determining a correlation coefficient matrix based on the reference echo data; and determining a weight of each channel in the plurality of channels based on the correlation coefficient matrix. In some embodiments, the elements in the correlation coefficient matrix may include correlation coefficients between any two channels in the reference echo data.

[0043] The phase difference calculation module 230 may be used to determine at least one phase difference calculation group based on the calculation step size. In some embodiments, each phase difference calculation group in the at least one phase difference calculation group may include two sets of echo data. In some embodiments, the phase difference calculation module 230 may sequentially transmit the two sets of echo data in each phase difference calculation group to at least one target graphics processor, and control the at least one target graphics processor to obtain a phase difference map corresponding to each phase difference calculation group based on the two sets of echo data in each phase difference calculation group.

[0044] The magnetic susceptibility map acquisition module 240 can be used to acquire at least one phase difference map and at least one merged data corresponding to at least one set of echo data from at least one target graphics processor, and acquire the magnetic susceptibility map based on the at least one phase difference map and the at least one merged data.

[0045] In some embodiments, the echo data acquisition module 210 , the merged data acquisition module 220 , the data calculation module 230 , and the magnetic susceptibility map acquisition module 240 may be implemented on the same or different processing devices.

[0046] Figure 3is an exemplary flow chart of a magnetic susceptibility imaging method according to some embodiments of the present specification.

[0047] In some embodiments, processing device 120 and / or model training system 200 may perform process 300. Figure 3 As shown, process 300 may include the following steps.

[0048] Step 310 , obtaining at least one set of echo data corresponding to at least one acquisition time period. Specifically, step 310 may be performed by the echo data acquisition module 210 .

[0049] The echo data may be data collected by a scanning device. For example, the scanning device may be a nuclear magnetic resonance imaging device, which transmits radio frequency pulses to a target object in a magnetic field, and after hydrogen nuclei of the target object absorb energy, they may release energy after stopping transmitting the radio frequency pulses, and the nuclear magnetic resonance imaging device may convert the received energy into echo data.

[0050] The acquisition time period may be a time period during which the scanning device acquires echo data. In some embodiments, the acquisition time period may be determined based on a time sequence of acquired echo signals. For example, the time sequence of acquired echo signals is [T1, T2, T3, ...Tn]. After the nuclear magnetic resonance imaging device transmits a radio frequency pulse to the target object, the first group of echo data, the second group of echo data, the third group of echo data, ... the nth group of echo data are acquired in the T1 time period, the T2 time period, the T3 time period, ... the Tn time period, respectively.

[0051] The echo signal may be a signal collected by each channel in the scanning device. In some embodiments, the size of each echo signal may be determined based on the size of the echo signal in the frequency encoding direction and the two phase encoding directions. For example, the size of the echo signal in the frequency encoding direction and the two phase encoding directions is 336 pixels, 318 pixels, and 74 pixels, respectively, then the size of the echo signal is 336×318×74×8 / 1024 / 1024 / 1024 bytes, i.e., 0.059 GB.

[0052] In some embodiments, each set of echo data in at least one set of echo data may include echo signals of multiple channels. For example, a nuclear magnetic resonance imaging device includes 288 channels, and the first set of echo data corresponding to the T1 time period may include 288 echo signals collected by the 288 channels in the T1 time period, such as S1-1, S1-2, ... S1-288.

[0053] In some embodiments, the size of each set of echo data may be determined based on the number of echo signals (ie, the number of channels) contained in the echo data and the size of each echo signal. Continuing with the above example, the size of each set of echo data may be 0.059×288≈17 GB.

[0054] In some embodiments, the echo data acquisition module 210 may acquire at least one set of echo data corresponding to at least one acquisition time period from a scanning device through the network 140 .

[0055] Step 320, transmit each set of echo data to at least one target graphics processor in sequence, and control at least one target graphics processor to merge the echo signals of multiple channels in each set of echo data based on the weight of each channel in the multiple channels, so as to obtain merged data corresponding to each set of echo data. Specifically, step 320 can be performed by the merged data acquisition module 220.

[0056] The target graphics processor may be a graphics processor assigned to process the echo data. As mentioned above, a graphics processor (GPU) can perform simple logical parallel operations, so multiple graphics processors can process the echo data in parallel.

[0057] In some embodiments, the data calculation module 230 may first determine whether to transmit at least one set of echo data to at least one target graphics processor for processing based on the remaining video memory of the central processing unit and the minimum video memory required for processing the echo data. In some embodiments, the data calculation module 230 may determine whether to transmit at least one set of echo data to at least one target graphics processor for processing based on formula (1): J+2H≤G (1) Wherein, H represents the size of an echo signal, J represents the size of the video memory of any graphics processor for performing other calculations, J+2H represents the minimum video memory required for processing the echo data, and G represents the remaining video memory size of any graphics processor.

[0058] When formula (1) is not satisfied, the data calculation module 230 can directly use the central processing unit to process the echo data; when formula (1) is satisfied, the data calculation module 230 can sequentially transmit the two groups of echo data in each phase difference calculation group to at least one target graphics processor for processing.

[0059] The quality requirements of the magnetic susceptibility image (e.g., resolution, signal-to-noise ratio, etc.) are different, and the size of the echo data is correspondingly different. The data calculation module 230 can obtain a reasonable allocation scheme of the video memory resources of multiple graphics processors based on the size of the echo data. The allocation scheme of the video memory resources of multiple graphics processors may include the number allocation of target graphics processors. For a detailed description of determining the number of target graphics processors, see Figure 5And the related description will not be repeated here.

[0060] The merged data may be composite information corresponding to each set of echo data. In some embodiments, the merged data may include valid information in echo signals of multiple channels in the corresponding echo data.

[0061] It can be understood that the echo signals collected by each channel contain different information. Taking the collection of brain echo signals as an example, echo signal 1 collected by channel 1 contains rich brain skull information and very little brain fluid information, and echo signal 2 collected by channel 2 contains rich brain fluid information and a small amount of brain skull information. The merged data can include the brain skull information in echo signal 1 and the brain fluid information in echo signal 2.

[0062] The weight of a channel may represent the weight of the echo signal received by the corresponding channel in the combined data. For a detailed description of determining the weight of each channel, see Figure 4 And the related description will not be repeated here.

[0063] In some embodiments, the data calculation module 230 may transmit each echo signal in the echo data to a different or the same target graphics processor based on the number of the at least one target graphics processor to obtain combined data.

[0064] In some embodiments, when the number of target graphics processors is 1, the data calculation module 230 can transmit each group of echo data to a target graphics processor in turn, and the target graphics processor can merge multiple echo signals in each group of echo data in turn based on the channel weights corresponding to the multiple echo signals to obtain corresponding merged data.

[0065] For example, the number of target graphics processors is 1. After the graphics processor receives the first group of echo data, the 288 echo signals (S1-1, S1-2, ... S1-288) of the first group of echo data are merged based on the corresponding channel weights to obtain the merged data C1 = (q1×S1-1) + (q2×S1-2) + (q3×S1-3) + ... (q288×S1-288) corresponding to the first group of echo data. Then, after receiving the second group of echo data, the 288 echo signals (S2-1, S2-2, ... S2-288) of the second group of echo data are merged based on the corresponding channel weights to obtain the merged data C2 = (q1×S2-1) + (q2×S2-2) + (q3×S2-3) + ... (q288×S2-288) corresponding to the second group of echo data.

[0066] In some embodiments, when the number of at least one target graphics processor is greater than 1 and the required video memory is less than or equal to the available video memory of at least one target graphics processor, the data calculation module 230 may transmit the multiple echo signals in each group of echo data to the corresponding multiple target graphics processors in blocks, each target graphics processor may first merge the multiple groups of echo signals it receives to obtain intermediate merged data, and then one of the target graphics processors may further merge the intermediate merged data output by the multiple target graphics processors to obtain merged data.

[0067] For example, the size of each channel is 0.059 GB, the number of target graphics processors is 2, the available video memory sizes are 30 GB and 10 GB respectively, and the maximum number of echo signals that can be processed is floor (30 GB / 2 / 0.059 GB) = 254 and floor (10 GB / 2 / 0.059 GB) = 84 respectively. First, the 288 echo signals can be divided into G1: 127, G2: 127 and G3: 34, and then G1 and G2 are transmitted to the target graphics processor of 30 GB, and G3 is transmitted to the target graphics processor of 10 GB. The 30GB target graphics processor can merge the 127 echo signals (S1-1, S1-2, ... S1-127) in G1 based on the corresponding 127 channel weights to obtain the intermediate merged data C1-1 = (q1×S1-1) + (q2×S1-2) + (q3×S1-3) + ... (q127×S1-127), and then release it; further merge the 127 echo signals (S1-128, S1-2, ... S1-254) in G2 based on the corresponding 127 channel weights to obtain the intermediate merged data C1-2 = (q128×S1-128 )+(q129×S1-129)+(q130×S1-130)+…(q254×S1-254); the 10GB target graphics processor can merge the 34 echo signals (S1-255, S1-254, …S1-288) based on the corresponding 34 channel weights to obtain the intermediate merged data C1-3=(q255×S1-255)+(q254×S1-254)+…(q2288×S1-288), and then release the calculation cache; further, the merged data C1=C1-1+C1-2+C1-3 is obtained.

[0068] In some embodiments, when the number of at least one target graphics processor is greater than 1 and the required video memory is greater than the available video memory of at least one target graphics processor, the data calculation module 230 may transmit multiple echo signals in each group of echo data to the corresponding multiple target graphics processors in batches and blocks, each target graphics processor may first merge each corresponding channel stream to obtain a channel stream signal, and then merge multiple channel stream signals to obtain intermediate merged data, one of the target graphics processors may further merge the intermediate merged data output by multiple target graphics processors to obtain single merged data, and merge multiple single merged data to obtain merged data. For a detailed description of the channel stream corresponding to each target graphics processor, see Figure 7 And the related description will not be repeated here.

[0069] For example, Figure 7 is an exemplary schematic diagram of determining merged data according to some embodiments of this specification, such as Figure 7 As shown, the number of target graphics processors is 2. When merging the channel streams received for the first time, GPU1 can obtain the corresponding channel stream signal a and channel stream signal b based on the corresponding weights from the echo signals in the channel stream Stream-a and the channel stream Stream-b, and then merge the channel stream signal a and the channel stream signal b to obtain the intermediate merged data D-1-1. GPU2 can obtain the corresponding channel stream signal c and channel stream signal d based on the corresponding weights from the echo signals in the channel stream Stream-c and the channel stream Stream-d, and then merge the channel stream signal c and the channel stream signal d to obtain the intermediate merged data D-1-2. GPU2 can send the intermediate merged data D-1-2 to GPU1. GPU1 can merge the intermediate merged data D-1-1 and D-1-2 to obtain the first single merged data D1. Similarly, when merging the channel streams Stream-e, Stream-f and Stream-g received for the second time, GPU1 and GPU2 can obtain the second single merged data D2, and merge the single merged data D1 and D2 to obtain merged data.

[0070] Step 330, based on the calculation step length, determine at least one phase difference calculation group, transmit the two groups of echo data in each phase difference calculation group to at least one target graphics processor in sequence, and control the at least one target graphics processor to obtain a phase difference map corresponding to each phase difference calculation group based on the two groups of echo data in each phase difference calculation group. Specifically, step 330 can be performed by the phase difference calculation module 230.

[0071] The phase difference calculation group may be an echo data group for calculating the phase difference corresponding to two time periods. In some embodiments, each phase difference calculation group in the at least one phase difference calculation group may include two groups of echo data.

[0072] The calculation step size can be the interval between the acquisition time periods corresponding to the two groups of echo data in the phase difference calculation group. For example, the phase difference calculation group includes the first group of echo data corresponding to the acquisition time period T1 and the third group of echo data corresponding to the acquisition time period T3, and the calculation step size of the phase difference calculation group is 3-1=2.

[0073] In some embodiments, the phase difference calculation group determination module 220 may sequentially use each group of echo data as the first group of echo data in each phase difference calculation group, and determine the second group of echo data in each phase difference calculation group based on the first group of echo data and the calculation step length. For example, if the calculation step length is 2, the first phase difference calculation group may include the first group of echo data and the third group of echo data, the second phase difference calculation group may include the second group of echo data and the fourth group of echo data, the third phase difference calculation group may include the third group of echo data and the fifth group of echo data, ... the n-2th phase difference calculation group may include the n-2th group of echo data and the nth group of echo data.

[0074] In some embodiments, the data calculation module 230 may transmit each echo signal in the echo data to a different or the same target graphics processor based on the number of the at least one target graphics processor to obtain a phase difference.

[0075] In some embodiments, when the number of target graphics processors is 1, the data calculation module 230 may sequentially transmit the two groups of echo data in each phase difference calculation group to a target graphics processor, and the target graphics processor may obtain each corresponding phase difference based on the two groups of echo data included in each phase difference calculation group. For example, after receiving the first group of echo data and the third group of echo data in the first phase difference calculation group, the graphics processor performs a phase difference between the 288 echo signals in the first group of echo data and the 288 echo signals in the third group of echo data according to the corresponding channels to obtain the phase difference corresponding to the first phase difference calculation group.

[0076] In some embodiments, when the number of at least one target graphics processor is greater than 1 and the required video memory is less than or equal to the available video memory of at least one target graphics processor, the data calculation module 230 may transmit the multiple echo signals in each group of echo data to the corresponding multiple target graphics processors in blocks, and for each phase difference group, each target graphics processor may first perform a phase difference on the multiple echo signals in the two groups of echo data it receives according to the corresponding channels to obtain the corresponding partial phase difference, and then one of the target graphics processors may further obtain the partial phase difference output by the multiple target graphics processors to obtain the phase difference corresponding to the phase difference group.

[0077] For example, continuing with the above example, for the first phase difference calculation group, the 30GB target graphics processor can make a corresponding difference between the phases of the 127 echo signals (S1-1, S1-2, ... S1-127) of G1 in the first group of echo data and the phases of the 127 echo signals (S3-1, S3-2, ... S3-127) of G1 in the third group of echo data to obtain 127 phase differences of G1, and then make a corresponding difference between the phases of the 127 echo signals (S1-128, S1-129, ... S1-254) of G2 in the first group of echo data and the phases of the 127 echo signals (S3-1, S3-2, ... S3-127) of G1 in the third group of echo data. The phases of the 34 echo signals (S1-3-128, S3-129, …S3-254) in the first group of echo data are respectively subtracted to obtain 127 phase differences of G2. The 10GB target graphics processor can respectively subtract the phases of the 34 echo signals (S1-255, S1-256, …S1-288) in the first group of echo data from the phases of the 34 echo signals (S1-255, S1-256, …S1-288) in the first group of echo data to obtain 34 phase differences of G3 and transmit them to the 30GB target graphics processor. The 30GB target graphics processor thereby obtains the phase difference of the first phase difference calculation group.

[0078] In some embodiments, when the number of at least one target graphics processor is greater than 1 and the required video memory is greater than the available video memory of at least one target graphics processor, the data calculation module 230 may transmit the multiple echo signals in each group of echo data to the corresponding multiple target graphics processors in batches and blocks. For each phase difference group, each target graphics processor may first perform a phase difference on the multiple echo signals of the two groups of echo data in each channel stream it receives according to the corresponding channel to obtain the corresponding channel stream phase difference, and then obtain multiple channel stream phase differences to obtain a partial phase difference. One of the target graphics processors may further obtain the partial phase differences output by the multiple target graphics processors to obtain a single phase difference, and obtain multiple single phase differences to obtain the phase difference corresponding to the phase difference group.

[0079] For example, continuing with the above example, for the first phase difference calculation group, GPU1 can make a difference in the phase of the echo signals of the first group of echo data and the third group of echo data in the channel stream Stream-a according to the corresponding channels to obtain the channel stream phase difference corresponding to Stream-a, and then obtain the channel stream phase difference corresponding to the channel stream Stream-b in the same way, thereby obtaining a partial phase difference, GPU2 can obtain the channel stream phase difference corresponding to Stream-c and Stream-d, thereby obtaining a partial phase difference and sending it to GPU1, GPU1 can use the channel stream phase difference corresponding to Stream-a, Stream-b, Stream-c and Stream-d as the first single phase difference, similarly, GPU1 can further obtain the second single phase difference, and then use the first single phase difference and the second single phase difference as the phase difference corresponding to the first phase difference calculation group.

[0080] The phase difference map may be an image representing the phase difference of multiple groups of echo data. In some embodiments, the data calculation module 230 may update the initial phase difference map based on the phase difference corresponding to each phase difference calculation group to obtain the phase difference map. For example, after obtaining the initial phase difference map based on the phase difference corresponding to the first phase difference calculation group, the initial phase difference map is further updated based on the phase difference corresponding to the second phase difference calculation group, until the initial phase difference map is updated based on the phase difference corresponding to the last phase difference calculation group to obtain the phase difference map.

[0081] Step 340 , obtaining at least one phase difference image and at least one merged data corresponding to at least one set of echo data from at least one target graphics processor, and obtaining a magnetic susceptibility map based on the at least one phase difference image and the at least one merged data. Specifically, step 340 may be performed by the magnetic susceptibility map obtaining module 240 .

[0082] The magnetic susceptibility map may be a contrast image that characterizes the difference in magnetic susceptibility between different tissues of the target object. In some embodiments, the magnetic susceptibility map acquisition module 240 may acquire the magnetic susceptibility map based on a magnetic resonance image. The magnetic resonance image may be an image that characterizes the amplitude information of multiple echo signals.

[0083] In some embodiments, the susceptibility map may include, but is not limited to, a Susceptibility Weighted Imaging (SWI) image and a Quantitative Susceptibility Mapping (QSM) image.

[0084] Susceptibility weighted imaging may be a method of obtaining a susceptibility weighted imaging image by weighting a magnetic resonance image using phase information.

[0085] Specifically, the magnetic susceptibility map acquisition module 240 may perform phase unwrapping on at least one phase difference map to acquire a magnetic resonance phase map, wherein the phase unwrapping method may include a branch cutting method, a minimum discontinuity method, a fast phase unwrapping algorithm, and the like.

[0086] Furthermore, the magnetic susceptibility map acquisition module 240 can process the magnetic resonance phase image through a filter (e.g., a high-pass filter), and acquire a phase mask corresponding to the magnetic resonance phase image based on the region of interest, and then weight the magnetic resonance image based on the phase mask to acquire a magnetic susceptibility weighted image.

[0087] Quantitative susceptibility imaging can reconstruct quantitative susceptibility imaging images (ie, susceptibility distribution images) by using the physical relationship between phase information and magnetic susceptibility.

[0088] Specifically, the magnetic susceptibility map acquisition module 240 can perform phase unwrapping and background field processing on the magnetic resonance phase image to obtain field map information related to the tissue magnetic susceptibility. In some embodiments, phase unwrapping can include but is not limited to a combination of one or more of the Laplace method and the region growing method. In some embodiments, background field processing can include but is not limited to a combination of one or more of the complex harmonic artifact removal method (Sophisticated Harmonic Artifact Reduction for Phase Data, SHARP) and the Laplace boundary value method (Laplacian Boundary Value, LBV).

[0089] Furthermore, the magnetic susceptibility map acquisition module 240 may reconstruct the field map information based on at least one merged data corresponding to at least one set of echo data to acquire a magnetic susceptibility distribution image.

[0090] In some embodiments, the reconstruction may include, but is not limited to, a combination of one or more of an algebraic iterative reconstruction technique (ARO) and a maximum expectation maximum likelihood algorithm (ML-EM).

[0091] In some embodiments of the present specification, the number of target graphics processors is determined based on the size of available video memory and the size of echo data, and the resources of the target graphics processors are flexibly configured based on the number of target graphics processors, which can improve the resource utilization of the graphics processor and the processing efficiency of the graphics processor.

[0092] Figure 4 4 is an exemplary flow chart of determining the weight of each channel according to some embodiments of the present specification. In some embodiments, the processing device 120, the magnetic susceptibility imaging system 200 and / or the data calculation module 230 executes the process 400. Figure 4 As shown, process 400 may include the following steps.

[0093] Step 410: Acquire reference echo data.

[0094] The reference echo data may be echo data used to determine the weight of each channel. In some embodiments, the data calculation module 230 may determine the first group of echo data as the reference echo data. For example, the first group of echo data corresponding to the T1 time period may be determined as the reference echo data.

[0095] In some embodiments, the data calculation module 230 may transmit the multiple echo signals in the reference echo data to the at least one target graphics processor based on the number of the at least one target graphics processor. For a detailed description of transmitting the multiple echo signals in the reference echo data to the at least one target graphics processor based on the number of the at least one target graphics processor, see step 330, which will not be described in detail here.

[0096] Step 420, determining a correlation coefficient matrix based on the reference echo data.

[0097] The correlation coefficient may be a parameter representing the correlation between the echo signals collected by any two channels (hereinafter referred to as the correlation between the two channels). Exemplarily, the greater the correlation between any two channels, the greater the corresponding correlation coefficient. For example, the correlation coefficient may be represented by a value between -1 and 1. The change amplitudes of the echo signal collected by channel 1 and the echo signal collected by channel 2 over time are exactly the same, indicating that the correlation between channel 1 and channel 2 is the largest, and the corresponding correlation coefficient may be 1; the change amplitudes of the echo signal collected by channel 1 and the echo signal collected by channel 3 over time are completely opposite, indicating that the correlation between channel 1 and channel 3 is the smallest, and the corresponding correlation coefficient may be -1.

[0098] Specifically, in some embodiments, the data calculation module 230 can obtain the amplitude of the change of the echo signal corresponding to each channel in the reference echo data over time, and then determine the corresponding correlation coefficient based on the amplitude of the change of the two echo signals corresponding to any two channels over time. For example, the data calculation module 230 can obtain the amplitude of the change of the first echo signal over time and the amplitude of the change of the second echo signal over time in the first group of echo data, and then determine the correlation coefficient R1-2 between channel 1 and channel 2 based on the amplitude of the change of the first echo signal over time and the amplitude of the change of the second echo signal over time. Similarly, the data calculation module 230 can obtain the correlation coefficients R1-3, R1-4, ... R1-288 between channel 1 and channel 3, channel 4, ... channel 288, obtain the correlation coefficients R2-3, R2-4, ... R2-288 between channel 2 and channel, channel 4, ... channel 288, obtain channel 3 ...

[0099] In some embodiments, when the data calculation module 230 transmits multiple echo signals in the reference echo data to the corresponding multiple target graphics processors in blocks, each target graphics processor can first process the correlation coefficient between any two echo signals among the received multiple echo signals, and then any two target graphics processors can transmit the echo signals to one of the target graphics processors, so that the target graphics processor can calculate the correlation coefficient between any one of the echo signals and the echo signal in another target graphics processor.

[0100] For example, in combination with step 320, it can be known that the number of target graphics processors is 2, and the available video memory sizes are 30 GB and 10 GB respectively, then the 288 echo signals can be divided into G1: 127, G2: 127 and G3: 34, and then G1 and G2 are transmitted to the target graphics processor with 30 GB, and G3 is transmitted to the target graphics processor with 10 GB. The first target graphics processor receives 254 echo signals of G1 and G2 in the reference echo data, and after determining the correlation coefficient between any two echo signals in the 254 echo signals, releases 127 echo signals in G2 and retains 127 echo signals in G1; further receives 34 echo signals in G3, calculates the correlation coefficient between any one echo signal in G1 and any one echo signal in G3, and then releases 127 echo signals in G1; further receives 127 echo signals in G2, calculates the correlation coefficient between any one echo signal in G1 and any one echo signal in G3. At the same time, the second target graphics processor receives 34 echo signals in the reference echo data, and determines the correlation coefficient between any two echo signals in the 34 echo signals.

[0101] In some implementation embodiments, when the data calculation module 230 transmits the multiple echo signals in the reference echo data to the corresponding multiple target graphics processors in batches and blocks, the multiple target graphics processors first determine the correlation coefficient between any two echo signals in the multiple echo signals of a single channel stream each time, and then each target graphics processor can first fix one of the channel streams, and then calculate the correlation coefficient between any echo signal in the channel stream and any echo signal in other channel streams that have not been fixed and received in sequence, and then release the channel stream, and use the last channel stream that has not been fixed received as a new fixed channel stream, and repeat the above operation until all correlation coefficients are calculated.

[0102] For example, Figure 7As shown, assuming that the target graphics processors include GPU 1 and GPU 2, and the available video memory size of each of them is 10 GB, based on the number of echo signals that each target graphics processor can process 84, the 288 echo signals are divided into 7 channel streams: Stream-a, Stream-b, Stream-c, Stream-d, Stream-e, Stream-f, and Stream-g, and the number of echo signals included in each channel stream is 42, 42, 42, 42, 42, 42, and 36, respectively. In the first step, GPU1 can calculate the correlation coefficient between any two echo signals among the 84 echo signals of Stream-a and Stream-b received for the first time, and then release Stream-b in the video memory; then receive Stream-c, calculate the correlation coefficient between any two echo signals among the 42 echo signals in Stream-c, calculate the correlation coefficient between any one of the 42 echo signals in Stream-a and any one of the 42 echo signals in Stream-c, and then release Stream-c in the video memory; similarly, further calculate the correlation coefficient between any one echo signal in Stream-a and any one of the echo signals in Stream-d, Stream-e, Stream-f, and Stream-g that have not been fixed, and the correlation coefficient between Stream-d, Stream-e, Stream-f, and Stream-g, which are not fixed, and the correlation coefficient between Stream-c, Stream-c, and Stream-c. -e, Stream-f, and Stream-g respectively (that is, the correlation coefficient between any two echo signals in each group of a, b, c, d, e, f, g and ab, ac, ad, ae, af, and ag is calculated), and then Stream-a in the video memory is released, and Stream-g received last is fixed; at the same time, GPU2 can use Stream-b as a fixed channel stream, and calculate the correlation coefficient between any echo signal in Stream-b and any echo signal in Stream-c, Stream-d, Stream-e, and Stream-f that have not been fixed (that is, the correlation coefficient between any two echo signals in each group of bc, bd, be, and bf is calculated), and then Stream-b in the video memory is released, and Stream-f received last is fixed.In the second step, GPU1 can use Stream-g as a new fixed channel stream, and sequentially calculate the correlation coefficient between any echo signal in Stream-g and any echo signal in Stream-b, Stream-c, Stream-d, and Stream-e that have not been fixed (that is, complete the calculation of the correlation coefficient between any two echo signals in each group of gb, gc, gd, and ge), and then release Stream-g in the video memory and fix the last received Stream-e; at the same time, GPU2 can use Stream-f as a new fixed channel stream, and sequentially calculate the correlation coefficient between any echo signal in Stream-f and any echo signal in Stream-c and Stream-d that have not been fixed (that is, complete the calculation of the correlation coefficient between any two echo signals in each group of fc and fd), and then release Stream-f in the video memory and fix the last received Stream-d. In the third step, GPU1 can use Stream-e as a new fixed channel stream, and calculate the correlation coefficient between any echo signal in Stream-e and any echo signal in Stream-c that has not been fixed (that is, complete the calculation of the correlation coefficient between any two echo signals in ec), and then release Stream-g in the video memory and fix the last received Stream-c; at the same time, GPU2 can use Stream-d as a new fixed channel stream, and calculate the correlation coefficient between any echo signal in Stream-d and any echo signal in the remaining Stream-c (that is, complete the calculation of the correlation coefficient between any two echo signals in cd). At this point, the calculation is completed, and GPU1 and GPU2 can release all current channel streams in the video memory.

[0103] The correlation coefficient matrix may be a matrix representing the correlation between echo signals collected by multiple channels. In some embodiments, the elements in the correlation coefficient matrix may include the correlation coefficients between any two channels in the reference echo data. For example, the correlation between 288 channels may be represented by a correlation coefficient matrix of dimension 288×288, wherein the element Rij in the i-th row and j-th column of the correlation coefficient matrix may represent the correlation coefficient between the i-th channel and the j-th channel.

[0104] Step 430 , determining a weight of each channel in the plurality of channels based on the correlation coefficient matrix.

[0105] In some embodiments, the data calculation module 230 may determine a reference channel from multiple channels based on a correlation coefficient matrix. In some embodiments, the data calculation module 230 may determine a reference channel by performing a linear transformation on the correlation coefficient matrix and calculating multiple correlation coefficients in the correlation coefficient matrix.

[0106] Specifically, the data calculation module 230 can determine the average correlation coefficient corresponding to any channel based on the correlation coefficient between the channel and other channels, and then determine the channel corresponding to the maximum value of the average correlation coefficient among multiple channels as the initial reference channel. For example, based on the average value of the correlation coefficients R1-1, R1-2, R1-3, ... R1-288 between channel 1 and other channels, the average correlation coefficient A1 corresponding to channel 1 is determined to be (R1-1+R1-2+R1-3+ ... R1-288) / 288. Similarly, the average correlation coefficients A2, A3, ... A288 corresponding to channel 2, channel 3, ... channel 288 can be obtained respectively, and then channel 2 corresponding to the maximum value of the average correlation coefficient A2 among the 288 channels is determined as the initial reference channel.

[0107] Further, the data calculation module 230 can update the ratio of the average correlation coefficient corresponding to each channel to the average correlation coefficient of the initial reference channel as the average correlation coefficient of each channel. Continuing the above example, A1 / A2, A2 / A2, A3 / A2, ... A288 / A2 are updated to the average correlation coefficients U1, U2, U3, ... U288 of channel 1, channel 2, channel 3, ... channel 288. Further, the data calculation module 230 can update the initial reference channel again based on the average correlation coefficients updated by multiple channels until the number of updates meets the threshold (for example, 3 times), and the final updated initial reference channel is determined as the reference channel, and the final updated average correlation coefficient of each channel is determined as the corresponding channel correlation coefficient. Exemplarily, the data calculation module 230 can determine the initial reference channel 4 after being updated 3 times as the reference channel, and the average correlation coefficients of multiple channels after being updated 3 times are determined as the corresponding channel correlation coefficients, for example, V1, V2, V3, ... V288.

[0108] In some embodiments, the data calculation module 230 may determine the weight of each channel in the plurality of channels based on the reference channel. Specifically, the data calculation module 230 may determine the weight corresponding to each channel as the ratio of the channel correlation coefficient corresponding to each channel and the channel correlation coefficient of the initial reference channel. Continuing with the above example, the weights of channel 1, channel 2, channel 3, ... channel 288 are q1 = V1 / V4, q2 = V2 / V4, q3 = V3 / V4, ... q288 = V288 / V4, respectively.

[0109] In some embodiments of the present specification, based on the number of at least one target graphics processor, different interaction modes are used to calculate the correlation coefficient between any two echo signals, which can reduce the transmission cost between data and improve the calculation efficiency.

[0110] Figure 5is an exemplary flow chart for determining the target number of graphics processors according to some embodiments of the present specification. In some embodiments, the processing device 120, the magnetic susceptibility imaging system 200 and / or the data calculation module 230 executes the process 500. Figure 5 As shown, process 500 may include the following steps.

[0111] Step 510: Determine the video memory required by at least one target graphics processor to process the echo data.

[0112] When at least one target graphics processor completes the current processing flow, its video memory can release data that is not needed for the next processing flow in the current processing flow. Therefore, the data calculation module 230 can first determine the video memory required for each processing flow of the at least one target graphics processor to process the echo data, and then determine the maximum value of the multiple required video memories corresponding to the multiple processing flows as the video memory required for the at least one target graphics processor to process the echo data. As can be seen from the foregoing, the step of at least one target graphics processor processing the echo data may include calculating channel weights, merging data, and obtaining a phase difference map. A detailed description of at least one target graphics processor processing the echo data can be found in step 330, which will not be repeated here.

[0113] For example, the channel weight calculation space may be a video memory required by at least one target graphics processor to determine the channel weight. For a detailed description of determining the channel weight, see Figure 4The related descriptions thereof will not be repeated here. As can be seen from the foregoing, at least one target graphics processor can determine the correlation coefficient matrix based on the reference echo data, thereby determining the weight of each channel in the multiple channels by updating the values ​​of the elements in the correlation coefficient matrix. Among them, the video memory required to store the reference echo data is the size of a group of echo data, the video memory required to store the correlation coefficient matrix is ​​also the size of a group of echo data, and the video memory required to store the updated correlation coefficient matrix is ​​also the size of a group of echo data. In each target graphics processor, the video memory required for the interactive calculation of two echo signals is the size of two echo signals. Specifically, when at least one target graphics processor acquires baseline echo data (see step 410 for details), the channel weight calculation space may include the video memory required to store the baseline echo data, that is, the size of a set of echo data; when at least one target graphics processor determines the correlation coefficient matrix based on the baseline echo data (see step 420 for details), the channel weight calculation space may include the video memory required to store the baseline echo data, the video memory required to store the correlation coefficient matrix, and the video memory required for the interactive calculation of two echo signals, that is, the size of the two sets of echo data and the size of the two echo signals in each target graphics processor; when at least one target graphics processor determines the weight of each channel in a plurality of channels by updating the values ​​of the elements in the correlation coefficient matrix (see step 430 for details), its video memory may release the baseline echo data, and the channel weight calculation space may include the video memory required to store the correlation coefficient matrix and the video memory required to store the updated correlation coefficient matrix, that is, the size of the two sets of echo data. Furthermore, the data calculation module 230 can determine the maximum value of multiple required video memories corresponding to multiple processing flows for determining channel weights (i.e., the size of two sets of echo data and the size of two echo signals, for example 2Q+2nH, where n is the number of target graphics processors) as the channel weight calculation space.

[0114] Another exemplary example is to take the acquisition of merged data as an example. The merged data calculation space may be the video memory required by at least one target graphics processor to acquire the merged data. As can be seen from the foregoing, at least one target graphics processor may acquire the merged data corresponding to each set of echo data based on the channel weight. Among them, the video memory required to store the echo data is the size of a set of echo data, the video memory required to store each channel weight is the size of a set of echo data, and the video memory required to store the merged data is the size of an echo signal. Specifically, after at least one target graphics processor acquires the channel weight corresponding to each set of echo data, the temporary cache for calculating the channel weight may be released, and then based on each set of echo data (the required video memory is the size of a set of echo data, such as Q) and the corresponding channel weight (the required video memory is the size of a set of echo data, such as Q), the corresponding merged data is calculated (the required video memory is the size of an echo signal, such as H). Therefore, the merged data calculation space may be the size of two sets of echo data and one echo signal, for example, 2Q+H.

[0115] As another example, take obtaining a phase difference map as an example. The phase difference calculation space may be the video memory required by at least one target graphics processor to obtain the phase difference map. As can be seen from the foregoing, at least one target graphics processor may calculate the corresponding phase difference based on two sets of echo data in a phase difference group. Among them, the video memory required to store a phase difference group is the size of two sets of echo data, and the video memory required to store the phase difference is the size of one echo signal. Therefore, the phase difference calculation space may be the size of two sets of echo data and one echo signal, for example, 2Q+H.

[0116] Data Calculation Module In some embodiments, the data calculation module 230 may determine the maximum value among a plurality of required video memories corresponding to a plurality of steps for at least one target graphics processor to process the echo data as the video memory required for at least one target graphics processor to process the echo data.

[0117] In some embodiments, the data calculation module 230 may determine the size of the two sets of echo data and the two echo signals in each target graphics processor (eg, 2Q+2nH) as the video memory required by at least one target graphics processor to process the echo data (hereinafter referred to as required video memory).

[0118] For example, continuing the above example, the size of each group of echo signals is 336×318×74×288×8 bytes≈17 GB, and the size of one echo signal is 0.059 GB, so the required video memory may be 34.118 GB.

[0119] Step 520 : determining the number of at least one target graphics processor based on the available graphics memory of the at least one target graphics processor and the graphics memory required by the at least one target graphics processor to process the echo data.

[0120] The available video memory of the target graphics processor may be the video memory space of the target graphics processor that is not occupied. In some embodiments, the available video memory of the target graphics processor may be determined based on the difference between the corresponding video memory size and the occupied video memory size.

[0121] In some embodiments, when the required video memory is less than the available video memory size of any graphics processor, the graphics processor may be determined as the target graphics processor, and the number of at least one target graphics processor may be determined to be 1. In some embodiments, the data calculation module 230 may determine the number of at least one target graphics processor to be 1 based on formula (2): 2Q+2H≤G – J (2) Wherein, 2Q+2H represents the video memory required when the number of at least one target graphics processor is 1, that is, the size of two sets of echo data and the size of two echo signals, G represents the remaining video memory size of any graphics processor, and J represents the video memory size of any graphics processor used to perform other calculations.

[0122] For example, the required video memory (i.e., 2Q+2H) may be 34.118 GB, and the magnetic susceptibility imaging system 100 includes two graphics processors, whose available video memory sizes are 40 GB and 30 GB respectively. Then, the graphics processor with a video memory of 40 GB may be determined as the target graphics processor, and the number of at least one target graphics processor may be determined to be 1.

[0123] In some embodiments, when the required video memory is less than or equal to the available video memory size of any multiple graphics processors in the at least one graphics processor, the multiple graphics processors can be determined as target graphics processors, and the number of the at least one target graphics processor is determined to be the number of the multiple target graphics processors.

[0124] In some embodiments, the data calculation module 230 may determine the number of at least one target graphics processor to be n based on formula (3): Wherein, 2Q+2H represents the video memory required when the number of at least one target graphics processor is 1, that is, the size of two sets of echo data and the size of two echo signals, n represents the number of any multiple graphics processors, 2Q+2nH represents the video memory required when the number of at least one target graphics processor is multiple, i represents the i-th graphics processor among any multiple graphics processors, G i represents the remaining video memory size of the i-th graphics processor, J i Indicates the size of the video memory used by the i-th GPU to perform other calculations.

[0125] For example, the magnetic susceptibility imaging system 100 includes four graphics processors, whose available video memory sizes are 10GB, 20GB, 30GB and 30GB respectively. When the number of at least one target graphics processor is 1, the required video memory (i.e., 2Q+2H) may be 34.118GB, which is larger than any one graphics processor, and multiple graphics processors are required; when the number of at least one target graphics processor is 2, the required video memory (i.e., 2Q+4H) may be 34.236GB, and the multiple target graphics processors may be [10GB, 30GB B], [20GB, 30GB], and [30GB, 30GB]; when the number is 3, the required video memory (i.e., 2Q+6H) is 34.354GB, then the multiple target graphics processors can be [10GB, 20GB, 30GB], [10GB, 30GB, 30GB], and [20GB, 30GB, 30GB]; when the number is 4, the required video memory (i.e., 2Q+8H) can be 34.472, then the multiple target graphics processors can be [10GB, 20GB, 30GB, 30GB].

[0126] In some embodiments, when the required video memory is less than or equal to the available video memory size of any multiple graphics processors in at least one graphics processor, the data calculation module 230 may determine any multiple graphics processors with the least number in at least one graphics processor as the target graphics processor. Continuing with the above example, the number of at least one target graphics processor may be 2, and the multiple target graphics processors may be [10GB, 30GB], [20GB, 30GB], and [30GB, 30GB]. It can be understood that the fewer the number of target graphics processors, the fewer the number of data transmissions between the target graphics processors, and the higher the processing efficiency; at the same time, the more non-target graphics processors that can be used to process other data, the higher the resource utilization and the overall efficiency of the system can be improved.

[0127] In some embodiments, when the required video memory is less than or equal to the available video memory size of any multiple graphics processors in at least one graphics processor, the data calculation module 230 can determine any multiple graphics processors in at least one graphics processor whose available video memory is closest to the required video memory as the target graphics processor. Continuing with the above example, the available video memory of [10GB, 30GB], [20GB, 30GB] and [30GB, 30GB] is divided into 40GB, 50GB and 60GB, and the multiple target graphics processors closest to the required video memory of 34GB are [10GB, 30GB]. It can be understood that the closer the available video memory of at least one target graphics processor is to the required video memory, the higher the utilization rate of the video memory, which can improve the processing efficiency of the entire system.

[0128] In some embodiments, when the required graphics memory is greater than the total available graphics memory size of the at least one graphics processor, the at least one target graphics processor quantity may be equal to the quantity of the at least one graphics processor.

[0129] In some embodiments, the data calculation module 230 may determine that the number of at least one target graphics processor is equal to the number of at least one graphics processor based on formula (4):

[0130] For example, the magnetic susceptibility imaging system 100 includes two graphics processors, the required video memory (ie, 2Q+4H) may be 34.236 GB, and the available video memory size is 10 GB. Then, the graphics processor may be determined as the target graphics processor, and the number of at least one target graphics processor may be determined to be 2.

[0131] When the required video memory is larger than the total available video memory size of at least one graphics processor, the data calculation module 230 may further divide the echo data into multiple channel streams. For related descriptions, see Figure 6 , I will not go into details here.

[0132] In some implementations of the present specification, the number of at least one target graphics processor is determined based on the available graphics memory of at least one target graphics processor and the graphics memory required by at least one target graphics processor to process echo data. This can save more graphics processor resources while ensuring that at least one target graphics processor can complete processing the echo data, so that non-target graphics processors can process other computing programs in parallel, thereby improving the computing efficiency of the entire system.

[0133] Figure 6 The flowchart of transmitting a plurality of echo signals in batches and blocks according to some embodiments of the present specification is shown in FIG. 4. In some embodiments, the processing device 120 , the magnetic susceptibility imaging system 200 and / or the data calculation module 230 executes the process 400 .

[0134] Step 610 : dividing each group of echo data in each phase difference calculation group into a plurality of channel streams based on the available video memory size of at least one target graphics processor and the size of the echo signal.

[0135] A channel stream may be a transmission unit in which multiple echo signals are transmitted to each target graphics processor in batches and blocks. For example, if 20 echo signals are transmitted to a target graphics processor at the same time, the 20 echo signals may be one channel stream. In some embodiments, each of the multiple channel streams may include an echo signal of at least one channel. For example, the aforementioned channel stream may include 20 echo signals.

[0136] In some embodiments, the data calculation module 230 may determine the number of echo signals that each target graphics processor can process each time based on the available video memory size of each target graphics processor and the size of the echo signal. For example, if the number of target graphics processors is 2, the available video memory size is 10 GB, and the size of each echo signal is 0.059 GB, then the number of echo signals that each target graphics processor can process is floor (10 GB / 2 / 0.059 GB) = 84.

[0137] In some embodiments, the data calculation module 230 may divide the echo signals collected by multiple channels in each set of echo data into multiple channel streams based on the number of echo signals that each target graphics processor can process. Figure 7 As shown, based on the number of echo signals that each target graphics processor can process 84, the 288 echo signals are divided into 7 channel streams: Stream-a, Stream-b, Stream-c, Stream-d, Stream-e, Stream-f, and Stream-g. The number of echo signals included in each channel stream is 42, 42, 42, 42, 42, 42, and 36, respectively. Each target graphics processor can process 1 to 2 channel streams at a time.

[0138] Step 620 : Determine a designated graphics processor corresponding to the channel stream based on the size of the channel stream and the available video memory size of at least one target graphics processor.

[0139] The designated graphics processor may be a target graphics processor for processing a specific channel stream. In some implementations, the size of the channel stream may be smaller than the available video memory size of the corresponding designated graphics processor. Continuing with the above example, if the available video memory size of each target graphics processor can process 84 echo signals, and the number of echo signals included in 1 to 2 channel streams is less than or equal to 84, then any target graphics processor may be determined as the designated graphics processor for transmitting 1 to 2 channel streams each time.

[0140] When acquiring the merged data and the phase difference map, in order to enable at least one target graphics processor to process multiple channel streams in parallel to improve processing efficiency, in some implementations, the number of channel streams processed by each designated graphics processor may be the same or similar. Continuing with the above example, two target graphics processors may be determined as designated graphics processors for four channel streams and three channel streams, respectively.

[0141] Step 630: transmit the channel streams to the corresponding designated graphics processors in sequence.

[0142] In some embodiments, the data calculation module 230 may transmit the channel streams to the corresponding designated graphics processors in batches. For example, in the first transmission, two channel streams out of four channel streams may be transmitted to the first designated graphics processor, and two channel streams out of three channel streams may be transmitted to the second designated graphics processor; after the two designated graphics processors complete processing of the echo signals and release the corresponding channel streams, in the second transmission, the remaining two channel streams out of the four channel streams may be transmitted to the first designated graphics processor, and the remaining one channel stream out of the three channel streams may be transmitted to the second designated graphics processor.

[0143] In some implementation embodiments of the present specification, based on the available video memory size of at least one target graphics processor and the size of the echo signal, the echo signal is divided into multiple channel streams, and the multiple channel streams are transmitted to the corresponding designated graphics processors in batches, so that the at least one target graphics processor can process the multiple channel streams in parallel in batches, thereby improving the computing efficiency of the target graphics processor.

[0144] The beneficial effects that may be brought about by the embodiments of the present specification include but are not limited to: (1) based on the number of at least one target graphics processor, different interactive methods are used to calculate the correlation coefficient between any two echo signals, which can reduce the transmission cost between data and improve the computing efficiency; (2) based on the available video memory size of at least one target graphics processor and the size of the echo signal, the echo signal is divided into multiple channel streams, and the multiple channel streams are transmitted to the corresponding designated graphics processor in batches, so that at least one target graphics processor can process the multiple channel streams in parallel in batches, thereby improving the computing efficiency of the target graphics processor; (3) based on the size of the available video memory and the size of the echo data, the number of target graphics processors is determined, and the resources of the target graphics processors are flexibly configured based on the number of target graphics processors, which can ensure that at least one target graphics processor saves more graphics processor resources while completing the processing of the echo data, so that the non-target graphics processor can process other computing programs in parallel, thereby improving the resource utilization of the graphics processor and improving the computing efficiency of the entire system.

[0145] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.

[0146] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.

[0147] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.

[0148] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.

[0149] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of this specification are approximate values, in specific embodiments, the setting of such numerical values ​​is as accurate as possible within the feasible range.

[0150] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this specification are hereby incorporated by reference in their entirety. Except for application history documents that are inconsistent with or conflicting with the contents of this specification, documents that limit the broadest scope of the claims of this specification (currently or later attached to this specification) are also excluded. It should be noted that if the descriptions, definitions, and / or use of terms in the materials attached to this specification are inconsistent or conflicting with the contents described in this specification, the descriptions, definitions, and / or use of terms in this specification shall prevail.

[0151] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.

Claims

1. A magnetic susceptibility imaging method, the method being executed by a central processing unit, characterized in that: The method comprises: Acquire at least one set of echo data corresponding to at least one acquisition time period, wherein each set of echo data in the at least one set of echo data includes echo signals of multiple channels; Transmitting each group of echo data to at least one target graphics processor in sequence, and controlling the at least one target graphics processor to merge the echo signals of the multiple channels in each group of echo data based on the weight of each channel in the multiple channels to obtain merged data corresponding to each group of echo data; Based on the calculation step length, at least one phase difference calculation group is determined, each phase difference calculation group in the at least one phase difference calculation group includes two groups of echo data, the two groups of echo data in each phase difference calculation group are sequentially transmitted to at least one target graphics processor, and the at least one target graphics processor is controlled to obtain a phase difference map corresponding to each phase difference calculation group based on the two groups of echo data in each phase difference calculation group; At least one of the phase difference images and at least one of the combined data corresponding to the at least one set of echo data is obtained from the at least one target graphics processor, and a magnetic susceptibility map is obtained based on the at least one phase difference image and the at least one combined data.

2. The method according to claim 1, characterized in that The number of the at least one target graphics processor is determined by: determining a video memory required by the at least one target graphics processor to process the echo data; The number of the at least one target graphics processor is determined based on available graphics memory of the at least one target graphics processor and graphics memory required by the at least one target graphics processor to process the echo data.

3. The method according to claim 1, wherein the step of sequentially transmitting the two groups of echo data in each phase difference calculation group to at least one target graphics processor comprises: Based on the available video memory size of the at least one target graphics processor and the size of the echo signal, divide each group of echo data in each phase difference calculation group into a plurality of channel streams, each channel stream in the plurality of channel streams includes an echo signal of at least one channel; Determine a designated graphics processor corresponding to the channel stream based on the size of the channel stream and the available video memory size of the at least one target graphics processor; The channel streams are transmitted sequentially to the corresponding designated graphics processors.

4. The method of claim 1 , wherein the weight of each of the plurality of channels is determined by the at least one target graphics processor in the following manner: Acquire reference echo data; Determine a correlation coefficient matrix based on the reference echo data, wherein elements in the correlation coefficient matrix include correlation coefficients between any two channels in the reference echo data; Based on the correlation coefficient matrix, a weight of each channel in the plurality of channels is determined.

5. The method of claim 4, wherein determining the weight of each channel in the plurality of channels based on the correlation coefficient matrix comprises: determining a reference channel from the plurality of channels based on the correlation coefficient matrix; Based on the reference channel, a weight of each channel in the plurality of channels is determined.

6. A magnetic susceptibility imaging system, the system being deployed on a central processing unit, comprising: An echo data acquisition module, used to acquire at least one set of echo data corresponding to at least one acquisition time period, each set of echo data in the at least one set of echo data including echo signals of multiple channels; a merged data acquisition module, configured to transmit each set of echo data to at least one target graphics processor in sequence, and control the at least one target graphics processor to merge the echo signals of the multiple channels in each set of echo data based on the weight of each channel in the multiple channels, so as to obtain merged data corresponding to each set of echo data; a phase difference calculation module, configured to determine at least one phase difference calculation group based on a calculation step length, each phase difference calculation group in the at least one phase difference calculation group including two groups of echo data, sequentially transmit the two groups of echo data in each phase difference calculation group to at least one target graphics processor, and control the at least one target graphics processor to obtain a phase difference map corresponding to each phase difference calculation group based on the two groups of echo data in each phase difference calculation group; The magnetic susceptibility map acquisition module is used to acquire at least one of the phase difference maps and at least one of the merged data corresponding to the at least one set of echo data from the at least one target graphics processor, and acquire the magnetic susceptibility map based on the at least one phase difference map and the at least one merged data.

7. The magnetic susceptibility imaging system according to claim 6, characterized in that: The combined data acquisition module is further used for: determining a video memory required by the at least one target graphics processor to process the echo data; The number of the at least one target graphics processor is determined based on available graphics memory of the at least one target graphics processor and graphics memory required by the at least one target graphics processor to process the echo data.

8. The magnetic susceptibility imaging system according to claim 6, characterized in that: The combined data acquisition module is further used for: Based on the available video memory size of the at least one target graphics processor and the size of the echo signal, divide each group of echo data in each phase difference calculation group into a plurality of channel streams, each channel stream in the plurality of channel streams includes an echo signal of at least one channel; Determine a designated graphics processor corresponding to the channel stream based on the size of the channel stream and the available video memory size of the at least one target graphics processor; The channel streams are transmitted sequentially to the corresponding designated graphics processors.

9. The magnetic susceptibility imaging system according to claim 6, characterized in that: The combined data acquisition module is further used for: Acquire reference echo data; Determine a correlation coefficient matrix based on the reference echo data, wherein elements in the correlation coefficient matrix include correlation coefficients between any two channels in the reference echo data; Based on the correlation coefficient matrix, a weight of each channel in the plurality of channels is determined.

10. A computer-readable storage medium storing computer instructions. When a computer reads the computer instructions, the computer executes the magnetic susceptibility imaging method according to any one of claims 1 to 5.

Citation Information

Cited By

  • Low-field magnetic sensitive weighted imaging method and system, medium and product

    CN121287098A