Unconditional medical image synthesis method based on hybrid enhancement

By introducing hybrid enhanced generative adversarial networks into unconditional medical image synthesis, combined with hybrid enhanced regularization technology and self-attention mechanism, the problem of difficulty in capturing complex structural textures and small feature differences is solved, achieving high-quality medical image synthesis and improving Biological authenticity and positioning accuracy are achieved.

CN118799199APending Publication Date: 2024-10-18BEIJING UNIV OF POSTS & TELECOMM +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410955541.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing unconditional medical image synthesis technology is difficult to effectively model the complex structural texture features in medical images and capture the subtle feature differences between tissue cells, resulting in insufficient biological authenticity and positioning accuracy of the generated images, affecting the performance of downstream tasks.

Method used

A generative adversarial network based on hybrid enhancement is designed. Through the combination of generator and discriminator, hybrid enhancement regularization technology and self-attention mechanism are used to generate hybrid images and constrain the discriminator through joint loss to improve the structural texture of pathological images. and the ability to perceive organizational characteristics.

Benefits of technology

It significantly improves the biological authenticity of medical images and the positioning accuracy of key lesions or tissue features, enhances the structural texture of images and the biometric learning capabilities of tissues and organs, and improves the quality and stability of image synthesis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799199A_ABST
    Figure CN118799199A_ABST
Patent Text Reader

Abstract

The invention discloses an unconditional medical image synthesis method based on hybrid enhancement, and belongs to the technical field of medical image synthesis, and the method comprises the steps: obtaining medical pathological image data which is a real image; a hybrid enhanced generative adversarial network is designed, the hybrid enhanced generative adversarial network comprises a generator and a discriminator, and the generator is used for generating a false image according to the random noise and is further used for obtaining a hybrid image through a hybrid enhanced regularization technology based on the input real image and the generated false image; the discriminator is used for predicting and judging the authenticity of the structure texture features of the real image, the false image and the mixed image; training the hybrid enhanced generative adversarial network through the medical pathological image data to obtain a target model; and learning the data distribution characteristics of the real image through the target model. The method provided by the invention can be applied to biological feature learning of medical image structure textures and tissues and organs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to an unconditional medical image synthesis method based on hybrid enhancement, belonging to the technical field of medical image synthesis. Background Art

[0002] The main purpose of medical image synthesis is to synthesize medical images with similar distribution to the target data. Its application areas include improving the scale and diversity of medical image datasets, enhancing the quality of medical imaging, and education and training. Existing medical image synthesis technologies based on deep learning algorithms have made significant progress, but most of the current methods are based on conditional supervised learning techniques and rely on manually annotated biological pathology labels. Existing medical image synthesis methods require the use of a large number of labeled datasets to train the model, but manual annotation is costly and requires a lot of manpower and resources. In response to the above problems, some current studies focus on unconditional synthesis technology for medical images. This technology does not require any conditional information. The generative model will learn the data distribution characteristics of the real image and synthesize medical images from its latent variable space. The main difficulty of this technology is to ensure the biological authenticity of the synthesized image. The medical images synthesized by this method are usually used for pathology training of professional doctors or as training data to enhance the performance of supervised models in medical downstream tasks, such as medical image segmentation tasks or lesion recognition tasks. This technology can effectively solve the difficulties in medical image acquisition and data sensitivity. In recent years, as the quality of images synthesized by deep learning technology has been greatly improved, many methods have applied it to the field of unconditional medical image synthesis. Researchers have improved the overall generalization performance by designing and improving the model architecture of the network, such as generative adversarial networks (GANs) and denoising diffusion models (Diffusion). However, due to the strict biological requirements of medical images in terms of structural texture and tissue cells, existing methods still face the following technical challenges.

[0003] First, unconditional synthesis is difficult to effectively model the complex and subtle structural texture features in medical images. Medical images often have complex structural texture features, and the category differences between different images are also very subtle. For example, in the lung imaging of patients with new coronaviruses, the difference between diseased and healthy images is only the subtle structural texture difference. These subtle pathological features are difficult for generative models to capture, and even professional doctors need to distinguish and diagnose very carefully. In addition, the slight differences in the structural texture features of medical images also directly lead to the slight distribution deviations in the modeling process of the generative model, which will seriously affect the histopathological characteristics of the image and destroy its biological authenticity. For existing methods, it is difficult to constrain the generative model to pay additional attention to the biological consistency of the structure and texture of the synthetic image in addition to the key identification features by only distinguishing the true and false binary between the collected image and the generated image. The damage to the pathological structure and texture during the generation process will directly destroy the authenticity of its synthetic image and the pathological structure of key tissues, and have a destructive effect on downstream tasks.

[0004] At the same time, unconditional synthesis is difficult to locate and capture the subtle feature differences between different tissues and organs in medical images. Even in the same medical image, the key features between different tissue cells are extremely small, and the differences in tissue cell categories often require professional pathological knowledge and fine biological judgment. If lesion information is also involved in biological tissues, this will further increase the difficulty of feature extraction and generation. For example, in brain MRI imaging, the bottom of the medical imaging is the double-layer occipital cortex, which is the visual center of the brain. Located in the upper right corner of the image is the left frontal lobe, which is the language center of the human brain. The imaging feature differences between the two are very subtle and need to be distinguished by organ-specific pathological characteristics. For existing methods, only providing the generative model with global image-level pathological structure perception and lacking feature feedback of local details will make it difficult to pay attention to the imaging differences between local tissue cells and key lesions, which will cause serious local data distribution drift, resulting in key tissue features that cannot be identified or judged, thereby having a fundamental impact on the pathological properties of the image.

[0005] In summary, due to the strict biological requirements of medical images on pathological structural integrity and local detail consistency, unconditional medical image synthesis technology still faces great challenges in global and local positioning accuracy and feature extraction capabilities. The learning ability of existing unconditional medical image generation models in this field still has a lot of room for improvement. Summary of the invention

[0006] The purpose of this application is to provide an unconditional medical image synthesis method based on hybrid enhancement, which enhances the perception of structural texture in pathological images and improves the positioning accuracy of key lesions or tissue features.

[0007] To achieve the above objectives, the present application provides, in a first aspect, an unconditional medical image synthesis method based on hybrid enhancement, comprising:

[0008] Acquiring medical pathology image data, wherein the medical pathology image data is a real image;

[0009] A hybrid enhanced generative adversarial network is designed, including a generator and a discriminator, wherein the generator is used to generate a false image based on random noise, and is also used to obtain a mixed image through a hybrid enhanced regularization technology based on an input real image and a generated false image; the discriminator is used to predict and judge the authenticity of the structural texture features of the real image, the false image and the mixed image;

[0010] The hybrid enhanced generative adversarial network is trained using the medical pathology image data to obtain a target model;

[0011] The data distribution characteristics of the real image are learned through the target model.

[0012] In one embodiment, acquiring medical pathology image data includes:

[0013] Acquire real medical pathology images, pre-process each medical pathology image, and obtain a plurality of medical pathology images with different resolutions as the medical pathology image data.

[0014] In one embodiment, in the design hybrid enhanced generative adversarial network, the generator is specifically used to:

[0015] Generate fake images based on random noise input;

[0016] According to the generated fake image and the input real image, the image patches at the same position of the fake image and the real image are obtained by the cut-and-paste method and a mixed image is created.

[0017] In one embodiment, the generator is further configured to:

[0018] During the training process, a self-attention mechanism is used to generate a feature mixed label of the mixed image, wherein the feature mixed label includes an image-level label and a pixel-level label.

[0019] In one embodiment, the generator is specifically used to:

[0020] The mixed image i is generated by the following formula:

[0021] AttnMix(x,G(z),M)=M⊙x+(1-M)⊙G(z)

[0022] i=AttnMix(x,G(z),M)

[0023] Among them, AttnMix represents the hybrid enhancement regularization technique, x is the input real image, G(z) is the generated fake image, and M is a binary mask of the same size as x.

[0024] In one embodiment, the discriminator includes an image-level discriminant branch and a pixel-level discriminant branch, wherein the image-level discriminant branch is used to discriminate an input image as a real image or a false image, and the pixel-level discriminant branch is used to divide the input image into a real image region or a false image region at a pixel level;

[0025] The discriminator is also used to: calculate the image-level adversarial loss, pixel-level adversarial loss and consistency contrast loss based on the image-level discriminant branch and the pixel-level discriminant branch respectively, obtain the joint loss according to the image-level adversarial loss, pixel-level adversarial loss and consistency contrast loss, and constrain the predicted value output by the discriminator through the joint loss.

[0026] In one embodiment, the combined loss is:

[0027] L cons =||D(i)-mix(D(x),D(G(z),M))|| 2

[0028]

[0029] Among them, L cons is the consistency contrast loss, D represents the discriminator, i is the mixed image, x is the real input image, G(z) is the generated fake image, M is the binary mask of the same size as x, and They are image-level adversarial loss and pixel-level adversarial loss, β1 and β2 respectively determine and L cons The hyperparameter of the ratio.

[0030] In one embodiment, the hybrid enhanced generative adversarial network further includes: a reverse jump connection module connected between the generator and the discriminator;

[0031] The reverse jump connection module is used to realize the fusion calculation of features at different resolutions during the training process.

[0032] The second aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the first aspect or any one of the embodiments of the first aspect when executing the computer program.

[0033] A third aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the first aspect or any implementation of the first aspect are implemented.

[0034] As can be seen from the above, the present application provides an unconditional medical image synthesis method based on hybrid enhancement. Based on the generative adversarial network architecture and combined with the hybrid enhancement regularization capability, a new end-to-end framework for unconditional medical image synthesis is designed, namely, a hybrid enhancement generative adversarial network, which not only enhances the network's perception of structural textures in pathological images, but also improves the positioning accuracy of key lesions or tissue features, thereby achieving a significant improvement in the biological authenticity of synthesized medical images, and has significant advantages in learning the biological characteristics of medical image structural textures and tissue organs. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0036] Figure 1 A flow chart of an unconditional medical image synthesis method provided in an embodiment of the present application;

[0037] Figure 2 A schematic diagram of the structure of a hybrid enhanced generative adversarial network provided in an embodiment of the present application;

[0038] Figure 3 A schematic diagram of a true, false, and mixed image after data enhancement provided in an embodiment of the present application;

[0039] Figure 4 A comparison chart of the effects of a synthetic image and a real image provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0041] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0042] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural forms unless the context clearly indicates otherwise.

[0043] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific embodiments disclosed below.

[0045] Embodiment 1

[0046] The present application embodiment provides a hybrid enhanced unconditional medical image synthesis method, such as Figure 1 As shown, the method includes:

[0047] Acquire medical pathology image data, wherein the medical pathology image data is a real image (Real);

[0048] A hybrid enhanced generative adversarial network (HAGAN) is designed, including a generator (Attention Mixed Generator) and a discriminator (Hierarchical Discriminator), wherein the generator is used to generate a fake image (Fake) according to random noise, and is also used to obtain a mixed image (Mix) through a hybrid enhanced regularization technology (AttnMix) based on an input real image and a generated fake image; the discriminator is used to predict and judge the authenticity of the structural texture features of the real image, the fake image and the mixed image;

[0049] The hybrid enhanced generative adversarial network is trained using the medical pathology image data to obtain a target model;

[0050] The data distribution characteristics of the real image are learned through the target model.

[0051] Optionally, the acquiring of medical pathology image data includes: acquiring a real medical pathology image, preprocessing each medical pathology image, and obtaining a plurality of medical pathology images with different resolutions as the medical pathology image data.

[0052] In one embodiment, real medical pathology images may include novel coronavirus lung imaging data, heart imaging data, and brain MRI imaging data; each medical pathology image is preprocessed separately, and all images are adjusted to 64*64 and 256*256 resolutions to serve as input for training of a hybrid enhanced generative adversarial network in subsequent steps, thereby realizing multi-resolution medical image synthesis analysis on medical pathology image data of different scales and parts.

[0053] Optionally, in the designed hybrid enhanced generative adversarial network, the generator is specifically used to: generate a false image based on input random noise; and based on the generated false image and the input real image, obtain image patches of the false image and the real image at the same position by a cut-and-paste method and create a mixed image.

[0054] Optionally, the generator is also used to: generate feature mixed labels of the mixed image using a self-attention mechanism during training, wherein the feature mixed labels include image-level labels and pixel-level labels.

[0055] In one embodiment, the generator combines hybrid enhancement regularization technology, which is mainly used to solve two problems. First, a well-trained generative model should pay more attention to structural and texture information, and less attention to class domain preservation disturbance. When the same image is input, the equivalent result should be output. Therefore, the embodiment of the present application further implements regularization through AttnMix to perceive the structural and texture changes between true and false images, so that the final target model pays more attention to meaningful structural and texture information, thereby improving the consistency of pathological structure and local details. Secondly, the existing unconditional medical image synthesis method is prone to problems such as training instability, mode collapse, and overfitting. The effective mitigation of this problem depends greatly on the scale and diversity of medical data sets, but the collection of medical images often requires high manpower, material and financial costs, and involves data sensitivity, moral ethics and other issues, making it difficult to form a large-scale data set. Due to the limited training effect of existing methods on small-scale data sets, it is difficult to implement large-scale technical applications and thus generate social benefits. In addition, traditional data enhancement techniques only enhance real samples or inconsistent random enhancements, resulting in serious distribution drift. To solve this problem, the embodiment of the present application breaks through the data bottleneck in the medical field through AttnMix. This method creates a synthetic image by cutting and pasting image patches at the same position under the true and false categories, thereby maintaining the structural integrity and distribution authenticity of the medical image. At the same time, the embodiment of the present application generates a self-attention map and generates feature mixed labels based on the self-attention mechanism during the generator training process, and constrains the discriminator to improve its perception of structural and texture changes between true and false images without increasing any training costs.

[0056] In one embodiment, the structure of the hybrid enhanced generative adversarial network is as follows Figure 2 As shown in the figure, ConsistentDifferentiable Regularization represents the consistent mixed enhancement regularization process, and Random Mask is a randomly generated mixed label used to guide the generation of mixed images (Mix). Figure 2 In the algorithm (abbreviated as G), random noise z is input to generate Fake, Fake is mixed with Real, and a new sample i is synthesized through AttnMix, namely Mix:

[0057] AttnMix(x,G(z),M)=M⊙x+(1-M)⊙G(z)

[0058] i=AttnMix(x,g(z),M)

[0059] Where x is the real input image, G(z) is the generated fake image, M is a binary mask of the same size as x, and the pixel value of M is {0,1}, so if the pixel is obtained by G(z), the corresponding M is 0, otherwise it is 1. It should be noted that for the new sample i, the image-level label is the image mixing ratio (AttnRatio)λ of the cut area and the original image area, and the pixel-level label is M.

[0060] Furthermore, AttnMix introduces the last layer (i.e., self-attention layer) in the generator to generate the self-attention map A (Attn Map), and adjusts the proportional distribution of λ according to the attention to align the sample space and label space from the saliency dimension, solving the problem of misalignment between mixed images and labels, and more accurately enhancing the discriminator's ability to discriminate structural texture features.

[0061] The image mixing ratio λ is calculated by the following formula:

[0062]

[0063] λ=α(λ0+λ1)

[0064] Among them, λ1 is the label assignment of the image region adjusted according to the self-attention map, λ0 is the label assignment of the original image region, and α is the normalization parameter.

[0065] In one embodiment, the discriminator can be trained by mixed images. In order to further improve the performance on small medical image datasets, the generator can also introduce differentiable enhancement technology (DiffAug) to perform differentiable enhancement (T) on the image. The generator will generate real images T (Fake), false images T (Real) and mixed images Mix after data enhancement and input them into the discriminator for training.

[0066] Optionally, the discriminator includes an image-level discriminant branch (D img ) and pixel-level discriminant branch (D pixel ), wherein the image-level discriminant branch is used to discriminate the input image as a real image or a false image, and the pixel-level discriminant branch is used to divide the input image into a real image area or a false image area at the pixel level; the discriminator is also used to: calculate the image-level adversarial loss, the pixel-level adversarial loss and the consistency contrast loss based on the image-level discriminant branch and the pixel-level discriminant branch respectively, obtain the joint loss according to the image-level adversarial loss, the pixel-level adversarial loss and the consistency contrast loss, and constrain the predicted value output by the discriminator through the joint loss.

[0067] In one embodiment, Figure 2As shown in the figure, the discriminator is a two-layer discriminator including an image-level discriminant branch and a pixel-level discriminant branch. The image-level discriminant branch is a traditional four-layer downsampling path that classifies the input image as true (1) or false (0). The pixel-level discriminant branch is a three-layer channel dimension downsampling path that repeats the true and false category judgment at the pixel level and divides the input image into true and false regions. This dual-branch structure enables the discriminator to learn the global and local differences between true and false images, thereby enhancing the discrimination performance.

[0068] Furthermore, the image-level discriminant branch and the pixel-level discriminant branch are used to calculate the image-level adversarial loss (AdvImgLoss) and pixel-level adversarial loss (AdvPixLoss) And get the combined loss:

[0069]

[0070] in, and The adversarial loss function commonly used in generative adversarial networks can be used, and β is the factor that determines The hyperparameter of the ratio. Mainly includes global structural integrity information, while It includes authenticity information of local organizational details.

[0071] In one implementation, in the embodiment of the present application, a consistency contrast loss (ConvImgLoss and ConvPixLoss) may be added to the discriminator to constrain the discriminator to provide consistent prediction values, specifically including the consistency of the discrimination results of the two discrimination branches at the image level and the pixel level, such as Figure 3 As shown in the figure, Discriminator represents the discriminator, Real, Fake, and Mix represent real, fake, and mixed images respectively, P1 represents the discrimination result of the real image, P2 represents the discrimination result of the fake image, AttnRatio represents the mixing ratio under the guidance of the attention map, and P dm is the result after first discriminating and then mixing, P md In order to first mix the discriminant results, the consistency comparison loss is used to constrain the two to be consistent. The image level forces the discriminator to learn the characteristic mixing ratio of real and fake images, further improving the ability to distinguish pathological integrity and structural texture, while the pixel level constrains the discriminator to learn local detail information.

[0072] The consistency contrast loss is:

[0073] L cons =||D(i)-mix(D(x),D(G(z),M))|| 2

[0074] At this point, the discriminator obtains a joint loss based on the image-level adversarial loss, pixel-level adversarial loss, and consistency contrast loss:

[0075]

[0076] Where D represents the discriminator discrimination process, i is the mixed image, x is the real input image, G(z) is the generated false image, and M is the binary mask of the same size as x. and They are image-level adversarial loss and pixel-level adversarial loss, β1 and β2 respectively determine and L cons The ratio is a hyperparameter that measures the relative importance of different loss components.

[0077] In one implementation, the HAGAN provided in the embodiment of the present application is designed using a non-saturated target representation method. Based on this, the introduced HAGAN structure can be combined with any other adversarial loss function, which is not limited here.

[0078] Optionally, the hybrid enhanced generative adversarial network also includes: a reverse jump connection module (ReserveSkipConnection) connected between the generator and the discriminator, which is used for fusion calculation of features at different resolutions during training.

[0079] In one embodiment, ReserveSkipConnection is also called the residual connection module between the generator and the discriminator, which draws on the classic model U-Net in the field of image segmentation. U-Net improves the model's ability to segment fine details through jump connections between the encoder-decoder (Encoder-Decoder). Similarly, HAGAN can be regarded as a decoder-encoder architecture, whose input first passes through the upsampling network and then is discriminated through the downsampling network. Based on this idea, in an embodiment of the present application, a reverse jump connection module is added between the generator and the discriminator of HAGAN, and feature fusion is achieved by tracing back the feature map extracted from the image-level real image discrimination branch to the corresponding resolution level of the generator generation path, thereby improving the generator's ability to accurately generate fine details. At the same time, the training process will be more stable and the convergence speed will be accelerated.

[0080] Optionally, training the hybrid enhanced generative adversarial network using the medical pathology image data includes: in the process of HAGAN forward prediction and gradient back propagation, calculating the joint loss based on the adversarial loss and the consistency contrast loss between the real image and the hybrid image, training to learn the data distribution characteristics of the real medical image, and strengthening the feature extraction capability for structural texture and tissue feature information. Wherein, when the joint loss includes image-level adversarial loss, pixel-level adversarial loss and consistency contrast loss, the optimization objective of the discriminator is as follows:

[0081]

[0082] Correspondingly, the optimization goal of the generator is as follows:

[0083]

[0084] in, is the image-level adversarial loss, is the pixel-level adversarial loss, and β is the factor that determines The ratio is a hyperparameter. This method forces the generator to focus on both the overall structure and local details when synthesizing images, thereby deceiving a more powerful discriminator. The basic L2 loss function is used as the adversarial loss function in training. At the same time, in the consistency contrast loss, HAGAN imposes relatively strict constraints on the consistency of feature maps and prediction results, thereby constraining the discriminator to ignore category preservation perturbations and further focus on structure and texture information. Figure 1 To maintain consistency, the contrast loss method is used to compare the feature maps extracted from the mixed image with the feature maps of the corresponding levels in the true and false images to maintain consistency.

[0085] Furthermore, during the training process, the embodiment of the present application provides a simple and effective training strategy that integrates global prior information. The training process is divided into two parts, namely traditional training and hybrid enhancement training. Complete real image data is used for the initial learning of the model to extract prior information with real and complete pathological structures. Then, the data is enhanced by the AttnMix method to obtain stronger processing capabilities for structural textures and local details, avoiding the negative training effects that may be caused by data enhancement and improving the stability of training.

[0086] In an application scenario, based on the method proposed in the embodiment of this application, experiments were conducted on three medical pathology image datasets of different scales: lung (COVID-CT), heart (ACDC), and brain (BraTS2018), and compared with the latest methods of all datasets. The experimental results show that the quality of medical images synthesized by the method provided in the embodiment of this application is better than that of existing methods, confirming its effectiveness and generalization. The effect of the above-mentioned unconditional medical image synthesis method based on hybrid enhancement is shown in the figure below: Figure 4 As shown, from top to bottom are the synthesis results of lung, heart, and brain images, and above the image are the corresponding unconditional medical image synthesis methods (i.e., the existing InfoGAN, DCGAN, WGAN, DDPM, SAGAN, UNetGAN, and HAGAN in the embodiment of this application). Comparing the synthesis results of each synthesis method with the real lung, heart, and brain images (Real Image), it can be clearly seen that the unconditional medical image synthesis method based on hybrid enhancement proposed in the embodiment of this application has significant superiority in the learning of medical image structure texture and tissue and organ biometric features.

[0087] It can be seen from the above that the embodiment of the present application provides an unconditional medical image synthesis method based on hybrid enhancement. Based on the generative adversarial network architecture and combined with the hybrid enhancement regularization capability, a new end-to-end framework for unconditional medical image synthesis is designed, namely, a hybrid enhancement generative adversarial network. It not only enhances the network's perception of structural textures in pathological images, but also improves the positioning accuracy of key lesions or tissue features, thereby achieving a significant improvement in the biological authenticity of synthesized medical images, and has significant advantages in learning the biological characteristics of medical image structural textures and tissue organs.

[0088] Embodiment 2

[0089] An embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the memory is used to store software programs and modules, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory and the processor are connected via a bus. Specifically, the processor implements any step in the first embodiment above by running the computer program stored in the memory.

[0090] It should be understood that in the embodiments of the present application, the processor referred to may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0091] The memory may include a read-only memory, a flash memory, and a random access memory, and provides instructions and data to the processor. A part or all of the memory may also include a nonvolatile random access memory.

[0092] It should be understood that the above-mentioned integrated module / unit, if implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on such an understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code can be in source code form, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the above-mentioned computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction.

[0093] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0094] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0095] It should be noted that the methods and detailed examples provided in the above embodiments can be combined with the devices and equipment provided in the embodiments, and references can be made to each other, and no further details will be given.

[0096] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0097] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / terminal equipment and method can be implemented in other ways. For example, the apparatus / equipment embodiments described above are only schematic, for example, the division of the above modules or units is only a logical function division, and in actual implementation, other division methods can be used, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0098] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. An unconditional medical image synthesis method based on hybrid enhancement, characterized in that: include: Acquiring medical pathology image data, wherein the medical pathology image data is a real image; A hybrid enhanced generative adversarial network is designed, including a generator and a discriminator, wherein the generator is used to generate a false image based on random noise, and is also used to obtain a mixed image through a hybrid enhanced regularization technology based on an input real image and a generated false image; the discriminator is used to predict and judge the authenticity of the structural texture features of the real image, the false image and the mixed image; The hybrid enhanced generative adversarial network is trained using the medical pathology image data to obtain a target model; The data distribution characteristics of the real image are learned through the target model.

2. The unconditional medical image synthesis method according to claim 1, characterized in that: The obtaining of medical pathology image data comprises: Acquire real medical pathology images, pre-process each medical pathology image, and obtain a plurality of medical pathology images with different resolutions as the medical pathology image data.

3. The unconditional medical image synthesis method according to claim 1 or 2, characterized in that: In the design of the hybrid enhanced generative adversarial network, the generator is specifically used for: Generate fake images based on random noise input; According to the generated fake image and the input real image, the image patches at the same position of the fake image and the real image are obtained by the cut-and-paste method and a mixed image is created.

4. The unconditional medical image synthesis method according to claim 3, characterized in that: The generator is also used to: During the training process, a self-attention mechanism is used to generate a feature mixed label of the mixed image, wherein the feature mixed label includes an image-level label and a pixel-level label.

5. The unconditional medical image synthesis method according to claim 1 or 2, characterized in that: The generator is specifically used for: The mixed image i is generated by the following formula: AttnMix(x,G(z),M)=M⊙x+(1-M)⊙G(z) i=AttnMix(x,G(z),M) Among them, AttnMix represents the hybrid enhancement regularization technique, x is the input real image, G(z) is the generated fake image, and M is a binary mask of the same size as x.

6. The unconditional medical image synthesis method according to claim 1 or 2, characterized in that: The discriminator includes an image-level discriminant branch and a pixel-level discriminant branch, wherein the image-level discriminant branch is used to discriminate an input image as a real image or a false image, and the pixel-level discriminant branch is used to divide the input image into a real image region or a false image region at a pixel level; The discriminator is also used to: calculate the image-level adversarial loss, pixel-level adversarial loss and consistency contrast loss based on the image-level discriminant branch and the pixel-level discriminant branch respectively, obtain the joint loss according to the image-level adversarial loss, pixel-level adversarial loss and consistency contrast loss, and constrain the predicted value output by the discriminator through the joint loss.

7. The unconditional medical image synthesis method according to claim 6, characterized in that: The combined loss is: L cons =||D(i)-mix(D(x),D(G(z),M))|| 2 Among them, L cons is the consistency contrast loss, D represents the discriminator, i is the mixed image, x is the real input image, G(z) is the generated fake image, M is the binary mask of the same size as x, and They are image-level adversarial loss and pixel-level adversarial loss, β1 and β2 respectively determine and L cons The hyperparameter of the ratio.

8. The unconditional medical image synthesis method according to claim 6, characterized in that: The hybrid enhanced generative adversarial network also includes: a reverse jump connection module connected between the generator and the discriminator; The reverse jump connection module is used to realize the fusion calculation of features at different resolutions during the training process.

9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 8 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Generalized zero sample recognition method and system for generative chest X-ray image

    CN120563971A