Medical image reconstruction method and device based on deep learning generative adversarial network

The deep learning generative adversarial network method solves the problem of inconsistent medical image quality caused by differences in medical imaging equipment and doctors' habits, achieves efficient reconstruction of medical images, and improves diagnostic accuracy and safety.

CN116863016BActive Publication Date: 2024-10-18LONGWOOD VALLEY MEDICAL TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310632084.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-10-18
Estimated Expiration
2043-05-31

AI Technical Summary

Technical Problem

Differences in medical imaging equipment and imaging doctors’ different data collection habits lead to inconsistent medical image quality, affecting diagnostic accuracy and posing safety risks.

Method used

The generative adversarial network method based on deep learning is used to process low-definition medical images to generate higher-definition target images. The generator and discriminator are used for iterative training to form a target generative adversarial network model that meets the preset requirements. Used to reconstruct blurry or low-definition medical images.

Benefits of technology

It improves the clarity and accuracy of medical images, reduces diagnostic errors caused by differences in equipment and doctors' habits, and enhances safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116863016B_ABST
    Figure CN116863016B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for reconstructing medical images based on a deep learning generative adversarial network, the method comprising: obtaining a first medical image, and generating a second medical image based on the first medical image, the clarity of the second medical image being lower than that of the first medical image; training a generative adversarial network model based on the first medical image and the second medical image; when the trained generative adversarial network model meets the preset training requirements, using the generative adversarial network that meets the preset requirements as a target generative adversarial network model; processing the medical image to be processed based on the target generative adversarial network model to obtain a reconstructed target medical image. This method overcomes the problem that the clarity of the medical image to be processed is low due to the different shooting habits of medical imaging equipment and radiologists, so that doctors cannot accurately judge based on medical images, improves the accuracy of medical images, and avoids the occurrence of safety hazards.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the medical field, and in particular to a medical image reconstruction method and device based on a deep learning generative adversarial network. Background Art

[0002] With the increasing popularity of medical imaging equipment, it has become an important helper for doctors. When diagnosing patients, doctors often use medical images taken by medical imaging equipment to judge the condition and accurately determine the location of the lesion.

[0003] However, due to the differences in current medical imaging equipment and the different data collection habits of radiologists, the quality of medical images taken is often different, and the judgment of radiologists may cause safety hazards.

[0004] Therefore, how to solve the above problems needs to be considered. Summary of the invention

[0005] The present invention provides a medical image reconstruction method and device based on deep learning generative adversarial network to solve the above problems.

[0006] A first aspect of the present invention provides a medical image reconstruction method based on a deep learning generative adversarial network, comprising:

[0007] Acquire a first medical image, and generate a second medical image based on the first medical image, wherein the definition of the second medical image is lower than that of the first medical image;

[0008] Based on the first medical image and the second medical image, training a generative adversarial network model;

[0009] When the trained generative adversarial network model meets the preset training requirements, the generative adversarial network that meets the preset requirements is used as the target generative adversarial network model;

[0010] Based on the target generative adversarial network model, the medical image to be processed is processed to obtain a reconstructed target medical image, wherein the clarity of the target medical image is higher than the clarity of the medical image to be processed.

[0011] Optionally, generating a second medical image based on the first medical image includes:

[0012] Performing Gaussian blur processing with different Gaussian kernel sizes on the first medical image to obtain a second medical image, or,

[0013] Different noise processing is added to the first medical image to obtain a second medical image, wherein the noise includes at least one of salt and pepper noise and interpolation noise.

[0014] Optionally, the training of a generative adversarial network model based on the first medical image and the second medical image includes:

[0015] Based on the generator G in the generative adversarial network model, a generation operation is performed on the input second medical image to obtain a first generated medical image;

[0016] Based on the discriminator D in the generative adversarial network model, a discriminative operation is performed on the input first medical image and the first generated medical image to obtain a discriminative result;

[0017] When it is determined based on the discrimination result that the first generated medical image does not match the first medical image, an iterative training operation is performed on the generator G and the discriminator D based on the first generated medical image and the first medical image.

[0018] Optionally, the trained generative adversarial network model meets preset training requirements, including:

[0019] The number of iterative training of the trained generative adversarial network model reaches a preset number of iterations; or,

[0020] Within a preset number of iterations, the LOSS value of the generator G and the LOSS value of the discriminator D in the trained generative adversarial network model no longer change.

[0021] Optionally, the generator G includes a first branch structure and a second branch structure, and the generator G based on the generative adversarial network model performs a generation operation on the input second medical image to obtain a first generated medical image, including:

[0022] Based on the first branch structure, performing a feature extraction operation on the second medical image to obtain a first feature medical image;

[0023] Based on the second branch structure, performing self-attention mechanism feature extraction on the second medical image to obtain a second feature medical image;

[0024] Based on the first feature image and the second feature image, the first generated medical image is obtained.

[0025] Optionally, the discriminator D includes a third branch structure, and the discriminator D based on the generative adversarial network model performs a discriminative operation on the input first medical image and the first generated medical image to obtain a discriminative result, including:

[0026] Based on the third branch structure, performing a 3x3 convolution operation, a BN operation, multiple fine-grained feature extraction operations, and multiple coarse-grained feature extraction operations on the first generated medical image to obtain a third feature image;

[0027] A discrimination operation is performed based on the third feature image and the first medical image to obtain a discrimination result.

[0028] Optionally, obtaining the first generated medical image based on the first feature image and the second feature image includes:

[0029] The first feature image and the second feature image are subjected to an addition operation, a 3x3 convolution operation, a BN operation, and an activation function ELU operation to obtain the first generated medical image.

[0030] A second aspect of the present invention provides a medical image reconstruction device based on a deep learning generative adversarial network, comprising:

[0031] an acquisition module, configured to acquire a first medical image, and generate a second medical image based on the first medical image, wherein the definition of the second medical image is lower than that of the first medical image;

[0032] A training module, configured to train a generative adversarial network model based on the first medical image and the second medical image;

[0033] A determination module, used for, when the trained generative adversarial network model meets the preset training requirements, using the generative adversarial network that meets the preset requirements as the target generative adversarial network model;

[0034] A processing module is used to process the medical image to be processed based on the target generative adversarial network model to obtain a reconstructed target medical image, wherein the clarity of the target medical image is higher than the clarity of the medical image to be processed.

[0035] According to a third aspect of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the medical image reconstruction method based on deep learning generative adversarial network as described above is implemented.

[0036] According to a fourth aspect of the present invention, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the medical image reconstruction method based on the deep learning generative adversarial network as described above is implemented.

[0037] The above technical solution of the present invention has at least the following beneficial effects:

[0038] The medical image reconstruction method based on deep learning generative adversarial network provided by the present invention processes a first medical image to obtain a second medical image with lower clarity than the first medical image, and trains a generative adversarial network model based on the first medical image and the second medical image, thereby obtaining a target generative adversarial network model that meets the preset requirements. Then, based on the target generative network model, when processing the input medical image to be processed (fuzzy CT image), the target medical image (clear CT image) corresponding to the medical image to be processed can be obtained. In this way, even if the clarity of the medical image taken by the medical imaging device is low, the medical image to be processed can be reconstructed by the target generative adversarial network model, and a clear medical image corresponding to the medical image to be processed can be obtained, which overcomes the problem that the medical image to be processed has low clarity due to different shooting habits of medical imaging equipment and imaging doctors, so that doctors cannot accurately judge based on medical images, thereby improving the accuracy of medical images and avoiding the occurrence of safety hazards. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 A schematic diagram of a process of medical image reconstruction based on a deep learning generative adversarial network provided by the present invention;

[0041] Figure 2 A schematic diagram of the network structure of a generator G provided by the present invention;

[0042] Figure 3 A schematic diagram of the network structure of a residual network module provided by the present invention;

[0043] Figure 4 A schematic diagram of a network structure of a Transformer structure provided by the present invention;

[0044] Figure 5 A schematic diagram of the network structure of a discriminator D provided by the present invention;

[0045] Figure 6 A schematic diagram of the network structure of a fine-grained feature extraction module provided by the present invention;

[0046] Figure 7 A schematic diagram of the network structure of a coarse-grained feature extraction module provided by the present invention;

[0047] Figure 8 A schematic diagram of a module of a medical image reconstruction device based on a deep learning generative adversarial network provided by the present invention;

[0048] Fig. 9 The present invention provides a schematic structural diagram of an electronic device. DETAILED DESCRIPTION

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

[0050] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.

[0051] It should be understood that in various embodiments of the present invention, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0052] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0053] It should be understood that in the present invention, "plurality" refers to two or more than two. "And / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "Contains A, B and C", "Contains A, B, C" means that A, B, and C are all included, "Contains A, B or C" means that one of A, B, and C is included, and "Contains A, B and / or C" means that any one, any two, or any three of A, B, and C are included.

[0054] It should be understood that in the present invention, "B corresponding to A", "B corresponding to A", "A corresponds to B" or "B corresponds to A" means that B is associated with A and B can be determined based on A. Determining B based on A does not mean determining B based only on A, but B can also be determined based on A and / or other information. A and B match when the similarity between A and B is greater than or equal to a preset threshold.

[0055] Depending on the context, "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting."

[0056] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0057] See also Figure 1 , is a flow chart of a medical image reconstruction method based on a deep learning generative adversarial network provided by the present invention, the method comprising the following steps:

[0058] S11: Acquire a first medical image, and generate a second medical image based on the first medical image, wherein the clarity of the second medical image is lower than that of the first medical image.

[0059] Optionally, the medical image may be an X-ray image, a CT image or an MRI image. For ease of description, this article takes the medical image as a CT image for example.

[0060] The first medical image may also be referred to as a clear CT image, and the second medical image may also be referred to as a fuzzy CT image. The second medical image is obtained after processing the first medical image, and the difference between the first medical image and the second medical image is that the clarity of the images is different.

[0061] S12: Training a generative adversarial network model based on the first medical image and the second medical image.

[0062] It should be noted that in order to improve the training effect of the generative adversarial network model, there are multiple first medical images, and the first medical images include all CT images of the patient's entire body, such as hip joint CT images, knee joint CT images, and spine CT medical images, but not limited to these. The generative adversarial network model is trained by clear CT images of different parts and corresponding blurred CT images, which can effectively enrich the use scenarios of the generative adversarial network model and improve the training effect.

[0063] S13: When the trained generative adversarial network model meets the preset training requirements, the generative adversarial network that meets the preset requirements is used as the target generative adversarial network model.

[0064] It should be noted that when training the generative adversarial network model, multiple iterative training operations are often performed to obtain a generative adversarial network that meets the preset requirements. The generative adversarial network that meets the preset requirements is used as the target generative adversarial network model, and then the blurred CT image can be processed based on the target generative adversarial network model to obtain a clear CT image corresponding to the blurred CT image.

[0065] S14: Based on the target generative adversarial network, the medical image to be processed is processed to obtain a reconstructed target medical image, wherein the clarity of the target medical image is higher than the clarity of the medical image to be processed.

[0066] The medical image reconstruction method based on deep learning generative adversarial network provided by the present invention processes a first medical image to obtain a second medical image with lower clarity than the first medical image, and trains a generative adversarial network model based on the first medical image and the second medical image, thereby obtaining a target generative adversarial network model that meets the preset requirements. Then, based on the target generative network model, when processing the input medical image to be processed (fuzzy CT image), the target medical image (clear CT image) corresponding to the medical image to be processed can be obtained. In this way, even if the clarity of the medical image taken by the medical imaging device is low, the medical image to be processed can be reconstructed by the target generative adversarial network model, and a clear medical image corresponding to the medical image to be processed can be obtained, which overcomes the problem that the medical image to be processed has low clarity due to different shooting habits of medical imaging equipment and imaging doctors, so that doctors cannot accurately judge based on medical images, thereby improving the accuracy of medical images and avoiding the occurrence of safety hazards.

[0067] For example, the step of generating a second medical image based on the first medical image includes:

[0068] Performing Gaussian blur processing with different Gaussian kernel sizes on the first medical image to obtain a second medical image, or,

[0069] Different noise processing is added to the first medical image to obtain a second medical image, wherein the noise includes at least one of salt and pepper noise and interpolation noise.

[0070] It should be noted that based on the imaging principle of CT images, the noise sources can be divided into quantum noise, electronic noise, and reconstruction noise, and these noises basically conform to Poisson distribution and Gaussian distribution.

[0071] By blurring or adding noise to the first medical image, the noise source of the CT image can be simulated to the greatest extent, thereby making the obtained second medical image more realistic.

[0072] In an example, the step of training a generative adversarial network model based on the first medical image and the second medical image includes:

[0073] Based on the generator G in the generative adversarial network model, a generation operation is performed on the input second medical image to obtain a first generated medical image;

[0074] Based on the discriminator D in the generative adversarial network model, a discriminative operation is performed on the input first medical image and the first generated medical image to obtain a discriminative result;

[0075] When it is determined based on the discrimination result that the first generated medical image does not match the first medical image, an iterative training operation is performed on the generator G and the discriminator D based on the first generated medical image and the first medical image.

[0076] It should be noted that if the first generated medical image does not match the first medical image, it means that the first generated medical image is significantly different from the first medical image, and the first generated image generated by the generator G does not meet the requirements. Therefore, it is necessary to perform iterative training operations on the generator G and the discriminator D.

[0077] Optionally, when it is determined based on the discrimination result that the first generated medical image matches the first medical image, that is, the generated first generated medical image meets the requirements, at this time, the iterative training operation of the generator G and the discriminator D can be stopped, and the generator G and the discriminator D have met the training requirements.

[0078] Optionally, the input of generator G is usually some random vectors, which are then used to generate training data close to reality. In order to generate realistic data, the output of generator G will be used as the input of discriminator D, and generator G will receive feedback from discriminator D (the recognition result of discriminator D). Generator G can know the gap between its generated results and the real data through the feedback of discriminator D, so as to continuously improve itself. At the same time, discriminator D also continuously obtains training data from generator G, and continuously improves its identification ability.

[0079] The generator G and the discriminator D are trained alternately. During the training phase of the discriminator D, we keep the generator G constant (i.e., the weights remain unchanged). While the discriminator D is training to try to find the difference between real data and fake data, it must learn how to recognize the fake images produced by the generator G. Similarly, during the training phase of the generator G, the discriminator D remains unchanged (i.e., the weights remain unchanged).

[0080] For example, the trained generative adversarial network model meets the preset training requirements, including:

[0081] The number of iterative training of the trained generative adversarial network model reaches a preset number of iterations; or,

[0082] Within a preset number of iterations, the LOSS value of the generator G and the LOSS value of the discriminator D in the trained generative adversarial network model no longer change.

[0083] Optionally, preset the number of iterations (i.e. epoch size), which is usually more than 500 times.

[0084] Optionally, within the iteration number, when the losses of the generator G and the discriminator D converge at the same time and do not change in a short period of time (2-5 epochs), the training can be terminated early.

[0085] For example, the generator G includes a first branch structure and a second branch structure, and the generator G based on the generative adversarial network model performs a generation operation on the input second medical image to obtain a first generated medical image, including:

[0086] Based on the first branch structure, performing a feature extraction operation on the second medical image to obtain a first feature medical image;

[0087] Based on the second branch structure, performing self-attention mechanism feature extraction on the second medical image to obtain a second feature medical image;

[0088] Based on the first feature image and the second feature image, the first generated medical image is obtained.

[0089] Optionally, the first branch structure may also be referred to as a CNN structure, and the second branch structure may also be referred to as a Transformer structure.

[0090] For details, see Figure 2 , is a schematic diagram of a network structure of a generator G provided by the present invention. Figure 2 , the specific structure of the generator G and the process of generating the first generated medical image based on the second medical image are further discussed.

[0091] When the second medical image is input into the generator G, the CNN structure performs a Conv3x3 convolution and an activation function ELU operation, and then performs feature extraction of four residual network modules (Residual Blocks) to obtain the first feature image. Figure 3The figure shows the schematic diagram of the network structure of the residual network module. The Residual Blocks module consists of Conv 3x3 convolution layer + BN layer + ELU. In the CNN structure, the activation function uses ELU to avoid the problem that the gradient of the activation function Relu is zero when there are negative values ​​in the feature map, that is, the gradient disappears.

[0092] See next Figure 4 , which is a schematic diagram of a network structure of a Transformer structure provided by the present invention. The second branch includes three Transformer structures. The Transformer structure extracts features of the input second medical image using a self-attention mechanism after passing it through a multilayer perceptron (MLP) + layer normalization (LN) + activation function GELU to obtain a Feature Map. Then, a self-attention operation is performed on the Feature Map, wherein the specific operations of Value (V), Query (Q) and Key (K) in the self-attention are as follows: Figure 4 As shown in the figure, Q and K are multiplied by Softmax to obtain the self-attention parameter C_V, and V and C_V are multiplied to obtain the final feature map, that is, the second feature map. The calculation formula of the final result T of the self-attention part is as follows:

[0093] C T (K,Q)=Softmax(K T Q).

[0094] Specifically, obtaining the first generated medical image based on the first feature image and the second feature image includes:

[0095] The first feature image and the second feature image are subjected to an addition operation, a 3x3 convolution operation, a BN operation, and an activation function ELU operation to obtain the first generated medical image.

[0096] See next Figure 5 , is a schematic diagram of the network structure of a discriminator D provided by the present invention.

[0097] The discriminator D includes a third branch structure. The discriminator D based on the generative adversarial network model performs a discriminative operation on the input first medical image and the first generated medical image to obtain a discriminative result, including:

[0098] Based on the third branch structure, performing a 3x3 convolution operation, a BN operation, multiple fine-grained feature extraction operations, and multiple coarse-grained feature extraction operations on the first generated medical image to obtain a third feature image;

[0099] A discrimination operation is performed based on the third feature image and the first medical image to obtain a discrimination result.

[0100] Optionally, the network structure of the discriminator D is mainly based on the CNN structure. First, the discriminator D performs a Conv 3x3 convolution operation and a BN operation on the first generated image. Then, two fine-grained feature extractions (FGF Blocks) and three coarse-grained feature extractions (CGF Blocks) are performed. The network structure of FGF Blocks is as follows: Figure 6 As shown, the network structure of CGF Blocks is as follows Figure 7 As shown. Among them, FGF Blocks performs two Conv 3x3 convolution operations + BN operations, followed by Leaky Relu activation function operations, and finally uses the residual idea to add the feature map to the input feature (input). CGF Blocks performs one Conv 3x3 convolution + BN operation, followed by two Conv 3x3 convolution + BN operations + Leaky Relu operations, and finally uses the residual idea to add the feature map to the input feature (input), and obtains the third feature image after the discriminator D processes the first generated image, and then performs a matching operation with the first medical image based on the third feature image.

[0101] Based on the same technical concept as the above-mentioned medical image reconstruction method based on deep learning generative adversarial network, another embodiment of the present invention provides a medical image reconstruction device based on deep learning generative adversarial network. The role played by the medical image reconstruction device based on deep learning generative adversarial network is the same as that of the above-mentioned medical image reconstruction method based on deep learning generative adversarial network, which will not be repeated here.

[0102] See also Figure 8 , a medical image reconstruction device based on deep learning generative adversarial network provided by the present invention. The medical image reconstruction device includes:

[0103] An acquisition module 81, configured to acquire a first medical image, and generate a second medical image based on the first medical image, wherein the definition of the second medical image is lower than that of the first medical image;

[0104] A training module 82, configured to train a generative adversarial network model based on the first medical image and the second medical image;

[0105] A determination module 83 is used to use the generative adversarial network that meets the preset requirements as a target generative adversarial network when the trained generative adversarial network model meets the preset training requirements;

[0106] The processing module 84 is used to process the medical image to be processed based on the target generative adversarial network to obtain a reconstructed target medical image, wherein the clarity of the target medical image is higher than the clarity of the medical image to be processed.

[0107] Optionally, when generating the second medical image based on the first medical image, the acquisition module 81 is specifically configured to:

[0108] The first medical image is subjected to Gaussian blur processing with different Gaussian kernel sizes to obtain a second medical image, or the first medical image is subjected to different noise processing to obtain a second medical image, wherein the noise includes at least one of salt and pepper noise and interpolation noise.

[0109] Optionally, the training module 82, when training the generative adversarial network model based on the first medical image and the second medical image, is specifically used to:

[0110] Based on the generator G in the generative adversarial network model, a generation operation is performed on the input second medical image to obtain a first generated medical image; based on the discriminator D in the generative adversarial network model, a discrimination operation is performed on the input first medical image and the first generated medical image to obtain a discrimination result; when it is determined based on the discrimination result that the first generated medical image does not match the first medical image, based on the first generated medical image and the first medical image, an iterative training operation is performed on the generator G and the discriminator D.

[0111] Optionally, the trained generative adversarial network model meets preset training requirements, including:

[0112] The number of iterative training of the trained generative adversarial network model reaches a preset number of iterations; or, within the preset number of iterations, the LOSS value of the generator G and the LOSS value of the discriminator D in the trained generative adversarial network model no longer change.

[0113] Optionally, the generator G includes a first branch structure and a second branch structure, and the processing module 84, when performing a generation operation on the input second medical image based on the generator G in the generative adversarial network model to obtain a first generated medical image, is specifically used to:

[0114] Based on the first branch structure, performing a feature extraction operation on the second medical image to obtain a first feature medical image;

[0115] Based on the second branch structure, performing self-attention mechanism feature extraction on the second medical image to obtain a second feature medical image;

[0116] Based on the first feature image and the second feature image, the first generated medical image is obtained.

[0117] Optionally, the discriminator D includes a third branch structure, and the processing module 84 is specifically used to:

[0118] Based on the third branch structure, performing a 3x3 convolution operation, a BN operation, multiple fine-grained feature extraction operations, and multiple coarse-grained feature extraction operations on the first generated medical image to obtain a third feature image;

[0119] A discrimination operation is performed based on the third feature image and the first medical image to obtain a discrimination result.

[0120] Optionally, the processing module 84, when obtaining the first generated medical image based on the first feature image and the second feature image, is specifically configured to:

[0121] The first feature image and the second feature image are subjected to an addition operation, a 3x3 convolution operation, a BN operation, and an activation function ELU operation to obtain the first generated medical image.

[0122] See next Fig. 9 , is a schematic diagram of the physical structure of an electronic device provided by the present invention, and the electronic device may include: a processor (processor) 910, a communication interface (Communications Interface) 920, a memory (memory) 930 and a communication bus 940, wherein the processor 910, the communication interface 920, and the memory 930 communicate with each other through the communication bus 940. The processor 910 can call the logic instructions in the memory 930 to execute the medical image reconstruction method based on the deep learning generative adversarial network provided by the above methods.

[0123] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0124] Another embodiment of the present invention provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the medical image reconstruction method based on deep learning generative adversarial network as described above.

[0125] Computer readable storage medium can be a tangible device that can keep and store instructions used by instruction execution device. Computer readable storage medium can be, for example, but not limited to, electrical storage device, magnetic storage device, optical storage device, electromagnetic storage device, semiconductor storage device or any suitable combination of the above. More specific examples (non-exhaustive list) of computer readable storage medium include: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as punch card or convex structure in groove with instructions stored thereon, and any suitable combination of the above. Computer readable storage medium used here is not interpreted as instantaneous signal itself, such as radio wave or other free propagating electromagnetic wave, electromagnetic wave propagated by waveguide or other transmission medium (for example, light pulse by optical fiber cable) or electrical signal transmitted by wire.

[0126] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0127] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0128] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0129] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0130] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0131] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0132] Note that, unless otherwise directly stated, all features disclosed in this specification (including any attached claims, abstracts and drawings) may be replaced by alternative features for achieving the same, equivalent or similar purposes. Therefore, unless otherwise explicitly stated, each feature disclosed is only an example of a group of equivalent or similar features. Where used, further, preferably, further and more preferably are simple beginnings for elaborating another embodiment based on the aforementioned embodiment, and the content of the further, preferably, further or more preferably followed by the combination with the aforementioned embodiment constitutes a complete construction of another embodiment. Several further, preferably, further or more preferably settings following the same embodiment can be arbitrarily combined to form another embodiment.

[0133] It should be understood by those skilled in the art that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The purpose of the present invention has been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments, and the embodiments of the present invention may be deformed or modified in any way without departing from the principles.

[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present disclosure.

Claims

1. A medical image reconstruction method based on deep learning generative adversarial network, characterized in that: include: Acquire a first medical image, and generate a second medical image based on the first medical image, wherein the definition of the second medical image is lower than that of the first medical image; The first medical image is a clear CT image, and the second medical image is a blurred CT image; the second medical image is obtained after processing the first medical image, and the difference between the first medical image and the second medical image is that the clarity of the images is different; Based on the first medical image and the second medical image, training a generative adversarial network model; There are multiple first medical images, and the first medical images include all CT images of the patient's body, including: hip joint CT images, knee joint CT images, and spine CT medical images; the generative adversarial network model is trained through clear CT images of different parts and corresponding fuzzy CT images; When the trained generative adversarial network model meets the preset training requirements, the generative adversarial network that meets the preset requirements is used as the target generative adversarial network model; When training the generative adversarial network model, multiple iterative training operations are performed to obtain a generative adversarial network that meets preset requirements; the obtained generative adversarial network that meets preset requirements is used as a target generative adversarial network model, and the fuzzy CT image is subsequently processed based on the target generative adversarial network model to obtain a clear CT image corresponding to the fuzzy CT image; Based on the target generative adversarial network model, the medical image to be processed is processed to obtain a reconstructed target medical image, wherein the clarity of the target medical image is higher than the clarity of the medical image to be processed; The step of generating a second medical image based on the first medical image comprises: Performing Gaussian blur processing with different Gaussian kernel sizes on the first medical image to obtain a second medical image, or, Adding different noise processing to the first medical image to obtain a second medical image, wherein the noise includes at least one of salt and pepper noise and interpolation noise; The noise sources are divided into quantum noise, electronic noise, and reconstruction noise; By blurring or adding noise to the first medical image, the noise source of the CT image is simulated to the maximum extent, so that the obtained second medical image is more realistic; The training of the generative adversarial network model based on the first medical image and the second medical image includes: Based on the generator G in the generative adversarial network model, a generation operation is performed on the input second medical image to obtain a first generated medical image; Based on the discriminator D in the generative adversarial network model, a discriminative operation is performed on the input first medical image and the first generated medical image to obtain a discriminative result; When it is determined based on the discrimination result that the first generated medical image does not match the first medical image, performing an iterative training operation on the generator G and the discriminator D based on the first generated medical image and the first medical image; If the first generated medical image does not match the first medical image, it means that the first generated medical image is significantly different from the first medical image, and the first generated image generated by the generator G does not meet the requirements. Therefore, it is necessary to perform an iterative training operation on the generator G and the discriminator D; When it is determined based on the discrimination result that the first generated medical image matches the first medical image, that is, the generated first generated medical image meets the requirement, at this time, the iterative training operation on the generator G and the discriminator D is stopped, and the generator G and the discriminator D have met the training requirement; The generator G and the discriminator D are trained alternately; during the training phase of the discriminator D, the generator G is kept constant, that is, the weight remains unchanged; when the discriminator D is trained to try to find the difference between real data and fake data, it must learn how to identify the fake images produced by the generator G; similarly, during the training phase of the generator G, the discriminator D remains unchanged, that is, the weight remains unchanged; The trained generative adversarial network model meets the preset training requirements, including: The number of iterative training of the trained generative adversarial network model reaches a preset number of iterations; or, Within a preset number of iterations, the LOSS value of the generator G and the LOSS value of the discriminator D in the trained generative adversarial network model no longer change; The preset number of iterations, i.e. epoch size, is more than 500; Within the iteration number, when the loss of the generator G and the discriminator D converges at the same time and does not change after 2-5 epochs, the training is terminated early; The generator G includes a first branch structure and a second branch structure. The generator G based on the generative adversarial network model performs a generation operation on the input second medical image to obtain a first generated medical image, including: Based on the first branch structure, performing a feature extraction operation on the second medical image to obtain a first feature medical image; Based on the second branch structure, performing self-attention mechanism feature extraction on the second medical image to obtain a second feature medical image; Based on the first characteristic medical image and the second characteristic medical image, obtaining the first generated medical image; The first branch structure is also called CNN structure, and the second branch structure is also called Transformer structure; When the second medical image is input into the generator G, the CNN structure performs a Conv 3x3 convolution and an activation function ELU operation, and then performs feature extraction of four residual network modules to obtain the first feature medical image; the network structure of the residual network module, the residual network module includes a Conv 3x3 convolution layer + a BN layer + an ELU; in the CNN structure, the activation function uses ELU to avoid the problem that the gradient of the activation function Relu is zero when there is a negative value in the feature map, that is, the gradient disappears; The second branch includes three Transformer structures; the Transformer structure extracts features from the second medical image input through a multi-layer perceptron + layer normalization + activation function GELU, and then uses a self-attention mechanism to extract features to obtain a FeatureMap; then the FeatureMap is subjected to a self-attention operation, in which the Value (V), Query (Q) and Key (K) in the self-attention are specifically operated, and Q and K are subjected to dot multiplication and Softmax to obtain the self-attention parameter C_V, and V and C_V are dot-multiplied to obtain the final feature map, i.e., the second feature map; the final result T of the self-attention part is calculated as follows: The step of obtaining the first generated medical image based on the first characteristic medical image and the second characteristic medical image includes: Performing an addition operation, a 3x3 convolution operation, a BN operation, and an activation function ELU operation on the first feature medical image and the second feature medical image to obtain the first generated medical image; The discriminator D includes a third branch structure. The discriminator D based on the generative adversarial network model performs a discriminative operation on the input first medical image and the first generated medical image to obtain a discriminative result, including: Based on the third branch structure, performing a 3x3 convolution operation, a BN operation, multiple fine-grained feature extraction operations, and multiple coarse-grained feature extraction operations on the first generated medical image to obtain a third feature image; Performing a discrimination operation based on the third feature image and the first medical image to obtain a discrimination result; The network structure of the discriminator D is mainly based on the CNN structure. First, the discriminator D performs Conv 3x3 convolution and BN operations on the first generated image; then, it performs two fine-grained feature extractions and three coarse-grained feature extractions; among them, the fine-grained feature extraction is to perform two Conv 3x3 convolution operations + BN operations, followed by a Leaky Relu activation function operation, and finally the feature map is added to the input feature using the residual idea; the coarse-grained feature extraction is to perform a Conv3x3 convolution + BN operation, followed by two Conv 3x3 convolution + BN operations + Leaky Relu operations, and finally the feature map is added to the input feature using the residual idea to obtain a third feature image after the discriminator D processes the first generated image, and then a matching operation is performed with the first medical image based on the third feature image.

2. A medical image reconstruction device based on deep learning generative adversarial network, characterized in that: include: an acquisition module, configured to acquire a first medical image, and generate a second medical image based on the first medical image, wherein the definition of the second medical image is lower than that of the first medical image; The first medical image is a clear CT image, and the second medical image is a blurred CT image; the second medical image is obtained after processing the first medical image, and the difference between the first medical image and the second medical image is that the clarity of the images is different; A training module, configured to train a generative adversarial network model based on the first medical image and the second medical image; There are multiple first medical images, and the first medical images include all CT images of the patient's body, including: hip joint CT images, knee joint CT images, and spine CT medical images; the generative adversarial network model is trained through clear CT images of different parts and corresponding fuzzy CT images; A determination module, used for, when the trained generative adversarial network model meets the preset training requirements, using the generative adversarial network that meets the preset requirements as the target generative adversarial network model; When training the generative adversarial network model, multiple iterative training operations are performed to obtain a generative adversarial network that meets preset requirements; the obtained generative adversarial network that meets preset requirements is used as a target generative adversarial network model, and then the fuzzy CT image is subsequently processed based on the target generative adversarial network model to obtain a clear CT image corresponding to the fuzzy CT image; A processing module, configured to process the medical image to be processed based on the target generative adversarial network model to obtain a reconstructed target medical image, wherein the clarity of the target medical image is higher than the clarity of the medical image to be processed; The step of generating a second medical image based on the first medical image comprises: Performing Gaussian blur processing with different Gaussian kernel sizes on the first medical image to obtain a second medical image, or, Adding different noise processing to the first medical image to obtain a second medical image, wherein the noise includes at least one of salt and pepper noise and interpolation noise; The noise sources are divided into quantum noise, electronic noise, and reconstruction noise; By blurring or adding noise to the first medical image, the noise source of the CT image is simulated to the maximum extent, so that the obtained second medical image is more realistic; The training of the generative adversarial network model based on the first medical image and the second medical image includes: Based on the generator G in the generative adversarial network model, a generation operation is performed on the input second medical image to obtain a first generated medical image; Based on the discriminator D in the generative adversarial network model, a discriminative operation is performed on the input first medical image and the first generated medical image to obtain a discriminative result; When it is determined based on the discrimination result that the first generated medical image does not match the first medical image, performing an iterative training operation on the generator G and the discriminator D based on the first generated medical image and the first medical image; If the first generated medical image does not match the first medical image, it means that the first generated medical image is significantly different from the first medical image, and the first generated image generated by the generator G does not meet the requirements. Therefore, it is necessary to perform an iterative training operation on the generator G and the discriminator D; When it is determined based on the discrimination result that the first generated medical image matches the first medical image, that is, the generated first generated medical image meets the requirement, at this time, the iterative training operation on the generator G and the discriminator D is stopped, and the generator G and the discriminator D have met the training requirement; The generator G and the discriminator D are trained alternately; during the training phase of the discriminator D, the generator G is kept constant, that is, the weight remains unchanged; when the discriminator D is trained to try to find the difference between real data and fake data, it must learn how to identify the fake images produced by the generator G; similarly, during the training phase of the generator G, the discriminator D remains unchanged, that is, the weight remains unchanged; The trained generative adversarial network model meets the preset training requirements, including: The number of iterative training of the trained generative adversarial network model reaches a preset number of iterations; or, Within a preset number of iterations, the LOSS value of the generator G and the LOSS value of the discriminator D in the trained generative adversarial network model no longer change; The preset number of iterations, i.e. epoch size, is more than 500; Within the iteration number, when the loss of the generator G and the discriminator D converges at the same time and does not change after 2-5 epochs, the training is terminated early; The generator G includes a first branch structure and a second branch structure. The generator G based on the generative adversarial network model performs a generation operation on the input second medical image to obtain a first generated medical image, including: Based on the first branch structure, performing a feature extraction operation on the second medical image to obtain a first feature medical image; Based on the second branch structure, performing self-attention mechanism feature extraction on the second medical image to obtain a second feature medical image; Based on the first characteristic medical image and the second characteristic medical image, obtaining the first generated medical image; The first branch structure is also called CNN structure, and the second branch structure is also called Transformer structure; When the second medical image is input into the generator G, the CNN structure performs a Conv 3x3 convolution and an activation function ELU operation, and then performs feature extraction of four residual network modules to obtain the first feature medical image; the network structure of the residual network module, the residual network module includes a Conv 3x3 convolution layer + a BN layer + an ELU; in the CNN structure, the activation function uses ELU to avoid the problem that the gradient of the activation function Relu is zero when there is a negative value in the feature map, that is, the gradient disappears; The second branch includes three Transformer structures; the Transformer structure extracts features from the second medical image input through a multi-layer perceptron + layer normalization + activation function GELU, and then uses a self-attention mechanism to extract features to obtain a FeatureMap; then the FeatureMap is subjected to a self-attention operation, in which the Value (V), Query (Q) and Key (K) in the self-attention are specifically operated, and Q and K are subjected to dot multiplication and Softmax to obtain the self-attention parameter C_V, and V and C_V are dot-multiplied to obtain the final feature map, i.e., the second feature map; the final result T of the self-attention part is calculated as follows: The step of obtaining the first generated medical image based on the first characteristic medical image and the second characteristic medical image includes: Performing an addition operation, a 3x3 convolution operation, a BN operation, and an activation function ELU operation on the first feature medical image and the second feature medical image to obtain the first generated medical image; The discriminator D includes a third branch structure. The discriminator D based on the generative adversarial network model performs a discriminative operation on the input first medical image and the first generated medical image to obtain a discriminative result, including: Based on the third branch structure, performing a 3x3 convolution operation, a BN operation, multiple fine-grained feature extraction operations, and multiple coarse-grained feature extraction operations on the first generated medical image to obtain a third feature image; Performing a discrimination operation based on the third feature image and the first medical image to obtain a discrimination result; The network structure of the discriminator D is mainly based on the CNN structure. First, the discriminator D performs Conv 3x3 convolution and BN operations on the first generated image; then, it performs two fine-grained feature extractions and three coarse-grained feature extractions; among them, the fine-grained feature extraction is to perform two Conv 3x3 convolution operations + BN operations, followed by a Leaky Relu activation function operation, and finally the feature map is added to the input feature using the residual idea; the coarse-grained feature extraction is to perform a Conv3x3 convolution + BN operation, followed by two Conv 3x3 convolution + BN operations + Leaky Relu operations, and finally the feature map is added to the input feature using the residual idea to obtain a third feature image after the discriminator D processes the first generated image, and then a matching operation is performed with the first medical image based on the third feature image.

3. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the medical image reconstruction method based on deep learning generative adversarial network as described in claim 1 is implemented.

4. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the medical image reconstruction method based on deep learning generative adversarial network as described in claim 1 is implemented.

Citation Information

Patent Citations

  • Fuzzy image processing method and device and terminal equipment

    CN108765340A

  • Medical image reconstruction technology method and device, storage medium and electronic equipment

    CN111862251A

  • Super-resolution denoising method and device for a low-dose CT image

    CN113516586A

  • Super-resolution image generation method and device based on SRGAN, equipment and storage medium

    CN113837942A