A medical image augmentation method based on progressive generative network
Through the progressive generation network and multiple loss term constraints, the problems of high lesion labeling cost and insufficient texture continuity in medical image augmentation are solved, high-quality ROI composite maps are generated, and the performance of the detection model and the clinical applicability of the image are improved. .
Patent Information
- Application Number
- CN202110314935.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-03-24
AI Technical Summary
Among the existing medical image augmentation methods, the cost of lesion labeling is high and the performance of the detection model is limited. Affine transformation is insufficient to increase sample diversity. The first type of method has accurate lesion representation but insufficient texture continuity in the synthetic image, while the third type of method The local area generated is the opposite.
A medical image augmentation method based on progressive generation network is used to gradually increase the number of network layers and use reconstruction, conditional discrimination and texture discrimination loss terms to generate ROI composite maps with clinical representation and texture continuity. First, a low-resolution image is generated. The image is then gradually restored to resolution, combined with adversarial generation and texture continuity discriminator to ensure the quality of the synthesized image.
It realizes that the ROI synthetic image has both pathological information and texture information, which reduces the difficulty of image generation, improves the clinical representation accuracy and texture continuity of the synthetic image, and enhances the performance of the detection model.
Smart Images

Figure CN113052171B
Abstract
Description
Technical Field
[0001] The present invention relates to a medical image augmentation method based on a progressive generative network. Background Art
[0002] In recent years, deep neural networks have attracted the attention of researchers in the field of medical image lesion detection. This type of model can significantly improve the ability to detect lesions by training on a large amount of data with detection labels. Generative adversarial networks (GANs) have been applied to medical image augmentation since their introduction due to their remarkable performance in the field of image generation. In many augmentation works in recent years, GANs have been proven to achieve better data augmentation effects than affine transformations. The augmentation methods of image augmentation tasks related to detection can be mainly divided into three categories: blending of background images and lesion area images; generation of background images; and generation of lesions in local areas.
[0003] The existing technical defects are: the cost of marking lesions is usually high, which greatly limits the performance of detection models based on deep neural networks. Although affine transformation operations such as rotation and flipping can increase the amount of data with labeled samples, the performance of the detector is usually not effectively improved due to insufficient diversity of the newly added samples. The lesion representation of the synthetic image obtained by the first type of method mentioned above (i.e., blending of the background image and the lesion area image) is accurate, but the texture continuity at the connection is insufficient, while the third type of method is the opposite (i.e., lesion generation in local areas). Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the present invention complements the problems of the first and third methods mentioned above and proposes a medical image augmentation method based on a progressive generative network to ensure that the clinical representation and texture continuity of the ROI composite image meet the requirements of detection training.
[0005] The technical solution adopted by the present invention to solve its technical problem is:
[0006] A medical image augmentation method based on a progressive generative network comprises the following steps:
[0007] 1) Processing of training samples:
[0008] In order to make the proposed model better utilize the image information of lesions in the size range during the training process and output a synthetic image with a smaller lesion, data processing is performed on the whole image X without lesions and the whole image Y with lesions;
[0009] 2) The gradual increase of the number of network layers:
[0010] Before progressive generative training, En and G are rs-n and rs-nThe pre-training of "encoding->decoding" is performed on the encoder. The training loss term of the encoder is shown in formula (1):
[0011] L encoder =||x rs-n -G(En(x rs-n ))||1+||y rs-n -G(En(y rs-n ))||1 (1)
[0012] The number of network layers in the progressively generated training process is gradually increased. fuse , G-1, Dt-1 and Dc-1 training is completed, the resulting syn-y rs-1 The quality is satisfactory;
[0013] 3) The proposed optimization goal:
[0014] To ensure the generated syn-y rs-n After being reshaped into syn-y n After that, its clinical representation is accurate and the edge texture can be continuous with the texture of the background image. The generation training of the ROI image with different resolutions is aimed at this effect, that is, the optimization goal of each level of training is the same. The proposed model is constrained by three loss terms, namely, reconstruction loss, conditional discrimination loss and texture discrimination loss.
[0015] 4) Overall optimization goal:
[0016] For the training at each resolution level, the network modules newly added to G are pre-trained, and the parameters of the network modules newly added to Dc and Dt are randomly initialized. Dc and Dt are first trained to make their discrimination performance slightly better than the generation performance of the synthesizer. The optimization target is shown in formula (9):
[0017] L Dc-i =min (Dc-i) L cDis-i ; L Dt-i =min (Dmed-i) L med-i ,min (Dft) L ft (9)
[0018] The synthesizer is then optimized according to the back-propagation loss function. The optimization target of the synthesizer is shown in formula (10):
[0019] L Gen-i-1st =min (G-i) L rec-1
[0020] L Gen-i-2nd =max (G-i,Enfuse) (LcDis-i +λL med-i +βL ft ) (10).
[0021] Furthermore, in step 3), the reconstruction loss is used to improve syn-y rs-i The clinical characterization accuracy is achieved by minimizing the difference between the reconstructed image and the true low-resolution image. G-1 with initial parameters is updated; using the precious y rs , providing a certain amount of ground-truth for encoding training, so that the training process of G-1 decoding "lesion information of feature map" into "lesion area in low-resolution medical image" is supervised. At the same time, x rs It also adds ground-truth to the encoding training to prevent the training process from rs The overfitting problem caused by the small number of training samples; the reconstruction training process is similar to the pre-training process, see formula (2):
[0022] L rec-1 =||x rs-1 -G-1(En(x rs-n ))||1+||y rs-1 -G-1(En(y rs-n ))||1 (2).
[0023] In step 3), in the conditional discrimination loss, syn-y rs-1 The generation process is affected by En fuse The combined effect of G-1 is shown in formula (3):
[0024] syn-y rs-1 =G-1[En fuse [En*(x rs-1 )△En*(y rs-1 )]] (3)
[0025] Syn-y for no ground-truth rs-1 , adversarial generation with category information [cGAN] is used as a reference; in the adversarial training of Dc-1 and the synthesizer, Dc-1 is expected to distinguish the realism of the input image and the accuracy of the category label at the same time, and the synthesizer is expected to generate images that can be identified as positive samples; in the optimization stage of Dc-1, the parameters of the synthesizer are fixed, and the adversarial loss of Dc-1 and the synthesizer is shown in formula (4):
[0026] L cDis-1 =|log[Dc-1(x rs-1 ,l nodis )]+log[Dc-1(y rs-i ,ldis )]+log[1-Dc-1(syn-y rs-1 ,l dis )]+log[1-Dc-1(x rs-1 ,l dis )+log[1-Dc-1(y rs-1 ,l nodis )]| (4)
[0027] In the synthesizer optimization phase, the parameters of Dc-1 are fixed, and the expected (syn-y rs-1 ,l dis ) is considered as a positive sample by Dc-1, that is, Dc-1(syn-y rs-1 ,l dis ) is as close to 1 as possible, so the loss corresponding to formula (4) should be maximized as much as possible. The discriminator and synthesizer are trained alternately to gradually improve the performance of the synthesizer.
[0028] In the step 3), the texture discrimination loss is fed back to the training of the synthesizer to improve the texture continuity of the synthetic image with the lesion ROI and the background connection area;
[0029] First, the synthesizer outputs syn-y rs-1 The edge area of the medical image is spliced with the edge area of the background image corresponding to X; then, the medical image texture continuity discriminator D med-1 In Ring-X rs-1 , Ring-Y rs-1 and Ring-syn-Y rs-1 During the training, the adversarial loss of medical image texture is shown in formula (5).
[0030] L med-1 =|log[D med-1 (Ring-X rs-1 )]+log[D med-1 (Ring-Y rs-1 )]+log[1-D med-1 (Ring-syn-Y rs-1 )]| (5)
[0031] At the same time, the proposed feature map texture continuity discriminator D ft A deeper level of texture continuity is identified at the joints. med-1 Before, the size of the background ring image has been matched with Ring-X rs-1 The foreground ring image needs to be zero-padding to Ring-X first. rs-1 The size of , to ensure that the size of the obtained feature maps is consistent, see formula (6):
[0032] f RX ,f RY ,f RsY =D* med (Ring-X rs-1 ),D* med (Ring-Y rs-1 ),D* med (Ring-syn-Y rs-1 )
[0033] f RXbg ,f RYbg =D* med (Ring-Xbg rs-1 ),D* med (Ring-Ybg rs-1 )
[0034] f Rx ,f Ry ,f Rsy =D* med (Ring-x rs-1 ZP ),D* med (Ring-y rs-1 ZP ),D* med (Ring-syn-y rs-1 ZP ) (6)
[0036] Subtracting the feature map of the foreground and background ring images from the corresponding foreground feature map / background feature map can retain the residual feature map related only to the edge continuity feature, as shown in formula (7):
[0037] f Res-X =f RX -f RXbg -f Rx ;f Res-Y =f RY -f RYbg -f Ry ;f Res-sY =f RsY -f RXbg -f Rsy (7)
[0038] At this time, D ft Adversarial training is performed on the residual feature map. The training process is shown in formula (8):
[0039] L ft =|log[D ft (f Rse-X ,fRse-Y )]+log[1-D ft (f Rse-X ,f Rse-sY )]| (8).
[0040] The technical concept of the present invention is that the data-processed ROI image is generated into an ROI composite image with lesions by a progressive synthesizer, and as the number of synthesizer cascade layers increases, the resolution of the composite image gradually increases. For the generation of ROI images of various resolutions, the training process is constrained by three loss terms. When the model performance is ideal, the highest resolution ROI composite image is reshaped into the original size of the lesion-free ROI image and embedded into the corresponding position of the original lesion-free global image, and the target augmented image can be obtained. At this time, the embedded position is the detection label position of the augmented sample.
[0041] The content of the method of the present invention mainly includes: 1) a generation mechanism for fusing ROI images with lesions / ROI images without lesions is proposed. This mechanism can make the ROI synthetic image have both the pathological information of the ROI image with lesions and the texture information of the ROI image without lesions; 2) a "first down and then up" image generation strategy is proposed: firstly, a low-resolution ROI synthetic image with lesions is generated from a high-resolution ROI image with lesions / without lesions to reduce the difficulty of the image generation task; then, a progressive generation method is used to restore the resolution of the ROI synthetic image;
[0042] 3) In the progressive generation process, in order to ensure the texture continuity of the ROI synthetic image, this study proposed a multi-channel edge texture discrimination method; in order to ensure the accuracy of the clinical representation of the synthetic image, this study integrated the reconstruction loss of the ROI image into the training of the synthesizer.
[0043] The beneficial effects of the present invention are mainly manifested in: 1. This mechanism can make the ROI synthetic image have both the pathological information of the ROI image with lesions and the texture information of the ROI image without lesions. 2. First, a low-resolution ROI synthetic image with lesions is generated from a high-resolution ROI image with lesions / without lesions to reduce the difficulty of the image generation task; then a progressive generation method is used to restore the resolution of the ROI synthetic image. 3. In the progressive generation process, in order to ensure the texture continuity of the ROI synthetic image, a multi-channel edge texture discrimination method is proposed; in order to ensure the accuracy of the clinical representation of the synthetic image, the reconstruction loss of the ROI image is integrated into the training of the synthesizer. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a diagram of the preprocessing process of the training samples (taking the whole image Y with lesions as an example).
[0045] Figure 2 It is a model diagram of the proposed network.
[0046] Figure 3 It is the adversarial learning of the synthesizer and the conditional discriminator. (a) is the training diagram of the conditional discriminator optimization stage; (b) is the training diagram of the synthesizer optimization stage.
[0047] Figure 4 It is the calculation of texture continuity discrimination loss. (a) is the diagram of the process of obtaining the connection ring between the synthetic ROI and the background area; (b) is the diagram of the calculation of texture continuity discrimination loss at the medical image level; (c) is the diagram of the calculation of texture continuity discrimination loss at the feature image level. DETAILED DESCRIPTION
[0048] The present invention will be further described below in conjunction with the accompanying drawings.
[0049] Reference Figure 1 to Figure 4 A medical image augmentation method based on a progressive generative network is proposed. A novel augmentation method is constructed using a progressive generative network with texture continuity discrimination and image reconstruction constraints, including the following steps:
[0050] 1) Processing of training samples:
[0051] In order to make the proposed model better utilize the image information of the lesions in the size range during the training process to output a synthetic image with a smaller lesion, the present invention processes the data of the whole image X without lesions and the whole image Y with lesions as follows: Figure 1 shown.
[0052] 2) The gradual increase of the number of network layers:
[0053] Using a progressive generative network, such as Figure 2 (b). Before progressive generative training, En and G are in x rs-n and rs-n Pre-training of "encoding->decoding" on Figure 3 (a). En is expected to accurately extract x rs-n The deep feature map f x , and y rs-n The deep feature map f y ; G is expected to accurately convert f x Refactored to be rs-n Consistent rec-x rs-n , f y Reconstructed into rs-n Consistent rec-y rs-n The training loss term of the encoder is shown in formula (1):
[0054] L encoder =||x rs-n -G(En(xrs-n ))||1+||y rs-n -G(En(y rs-n ))||1 (1)
[0055] The training process of progressive generation is as follows Figure 2 As shown in (b), the number of network layers gradually increases. When the number of network layers is the least, the lowest resolution ROI image with lesions (syn-y rs-1 ) is generated, and for Dt-1 and Dc-1 (i.e., the discriminator at this stage), its network parameters are randomly initialized. The discriminator distinguishes the authenticity of the input sample.
[0056] When En fuse , G-1, Dt-1 and Dc-1 training is completed, the resulting syn-y rs-1 The quality is satisfactory, and the network layers are added to the last three networks ( Figure 2 (b) yellow area), G-2, Dt-2 and Dc-2 were obtained by fuse , G-2, Dt-2 and Dc-2 are updated with parameters, and the higher resolution synthetic image (syn- rs-2 ) is improved; similarly, as the generation training progresses, the number of network layers of the decoder and the discriminator gradually increases, and the resolution of the resulting synthetic image also gradually improves. n , Dt- n and Dc- n When the synthetic graph syn-y rs-n The resolution and x rs-n / y rs-n Consistent.
[0057] 3) The proposed optimization goal:
[0058] To ensure the generated syn-y rs-n After being reshaped into syn-y n After (with x n The size of the image is consistent), its clinical representation is accurate and the edge texture is continuous with the texture of the background image. The generation training of ROI images at all levels of resolution is aimed at this effect, that is, the optimization goal of each level of training is the same, and the proposed model is constrained by three loss terms.
[0059] a. Reconstruction loss
[0060] The reconstruction loss is used to improve syn-y rs-i By minimizing the reconstruction graph (i.e., rec-x rs-1 and rec-y rs-1 ) and the real low-resolution image (i.e., x rs-1 andrs-1 ), G-1 with initial parameters is updated. This operation makes use of the precious y rs , providing a certain amount of ground-truth for encoding training. Thus, the training process of G-1 decoding "lesion information of feature map" into "lesion area in low-resolution medical image" is supervised. At the same time, x rs It also adds ground-truth to the encoding training to prevent the training process from rs The overfitting problem caused by the small number of Figure 2 (a) The pre-training process is similar, see formula (2):
[0061] L rec-1 =||x rs-1 -G-1(En(x rs-n ))||1+||y rs-1 -G-1(En(y rs-n ))||1 (2)
[0062] b. Conditional discrimination loss
[0063] Although the reconstruction loss can effectively improve the performance of G-1, it cannot fuse To optimize, however, syn-y rs-1 The generation process is affected by En fuse The combined effect of G-1 is shown in formula (3);
[0064] syn-y rs-1 =G-1[En fuse [En*(x rs-1 )△En*(y rs-1 )]] (3)
[0065] Syn-y for no ground-truth rs-1 , adversarial generation with category information [cGAN] is used as a reference, and the conditional discrimination loss calculation process of the present invention is as follows Figure 3 As shown, in the adversarial training of Dc-1 and the synthesizer, Dc-1 is expected to distinguish the realism of the input image and the accuracy of the category label at the same time, and the synthesizer is expected to generate images that can be identified as positive samples. In the Dc-1 optimization stage, the parameters of the synthesizer are fixed. At this time, the adversarial loss of Dc-1 and the synthesizer is shown in formula (4);
[0066] L cDis-1 =|log[Dc-1(x rs-1 ,l nodis )]+log[Dc-1(y rs-i ,l dis)]+log[1-Dc-1(syn-y rs-1 ,l dis )]+log[1-Dc-1(x rs-1 ,l dis )+log[1-Dc-1(y rs-1 ,l nodis )]| (4)
[0067] In the Dc-1 optimization stage, by minimizing L cDis-1 , Dc-1's ability to discriminate input samples is optimized (e.g. Figure 3 (a) shows that, in the synthesizer optimization phase, the parameters of Dc-1 are fixed. rs-1 ,l dis ) can be regarded as a positive sample by Dc-1, that is, Dc-1(syn-y rs-1 ,l dis ) is as close to 1 as possible, so the loss corresponding to formula (4) should be maximized as much as possible (such as Figure 3 (b)). The discriminator and synthesizer are trained alternately, so that the performance of the synthesizer is gradually improved.
[0068] c. Texture discrimination loss
[0069] Feeding the texture discrimination loss back to the synthesizer training can improve the texture continuity of the synthetic image with lesion ROI and the background connection area. The calculation process is as follows Figure 4 shown.
[0070] First, the synthesizer outputs syn-y rs-1 The edge area of the medical image is spliced with the edge area of the background image corresponding to X; then, the medical image texture continuity discriminator D med-1 In Ring-X rs-1 , Ring-Y rs-1 and Ring-syn-Y rs-1 The adversarial training is performed on Figure 4 As shown in (b), during training, there is a medical image texture adversarial loss as shown in formula (5):
[0071] L med-1 =|log[D med-1 (Ring-X rs-1 )]+log[D med-1 (Ring-Y rs-1 )]+log[1-D med-1 (Ring-syn-Y rs-1 )]| (5)
[0073] At the same time, the proposed feature map texture continuity discriminator D ft A deeper level of identification of texture continuity at the joints is performed, as follows Figure 4 (c) is shown. med-1 Before, the size of the background ring image has been matched with Ring-X rs-1 The foreground ring image needs to be zero-padding to Ring-X first. rs-1 The size of , to ensure that the size of the obtained feature maps is consistent, see formula (6):
[0074] f RX ,f RY ,f RsY =D* med (Ring-X rs-1 ),D* med (Ring-Y rs-1 ),D* med (Ring-syn-Y rs-1 )
[0075] f RXbg ,f RYbg =D* med (Ring-Xbg rs-1 ),D* med (Ring-Ybg rs-1 )
[0076] f Rx ,f Ry ,f Rsy =D* med (Ring-x rs-1 ZP ),D* med (Ring-y rs-1 ZP ),D* med (Ring-syn-y rs-1 ZP ) (6)
[0078] Subtracting the feature map of the foreground and background ring images from the corresponding foreground feature map / background feature map can retain the residual feature map related only to the edge continuity feature, as shown in formula (7):
[0079] f Res-X =f RX -f RXbg -f Rx ;f Res-Y =f RY -f RYbg -f Ry ;f Res-sY=f RsY -f RXbg -f Rsy (7)
[0080] At this time, D ft Adversarial training is performed on the residual feature map. The training process is shown in formula (8):
[0081] L ft =|log[D ft (f Rse-X ,f Rse-Y )]+log[1-D ft (f Rse-X ,f Rse-sY )]| (8)
[0082] 4) Overall optimization goal:
[0083] For training at each resolution level, the network modules newly added to G are pre-trained, while the parameters of the network modules newly added to Dc and Dt are randomly initialized; Dc and Dt are first trained to make their discrimination performance slightly better than the generation performance of the synthesizer. The optimization goal is shown in formula (9):
[0084] L Dc-i =min (Dc-i) L cDis-i ; L Dt-i =min (Dmed-i) L med-i ,min (Dft) L ft (9)
[0085] The synthesizer is then optimized according to the back-propagation loss function. The optimization target of the synthesizer is shown in formula (10):
[0086] L Gen-i-1st =min (G-i) L rec-1
[0087] L Gen-i-2nd =max (G-i,Enfuse) (L cDis-i +λL med-i +βL ft ) (10).
[0088] The contents described in the embodiments of this specification are merely enumerations of implementation forms of the inventive concept and are for illustrative purposes only. The protection scope of the present invention should not be considered to be limited to the specific forms described in this embodiment, and the protection scope of the present invention also extends to equivalent technical means that can be thought of by ordinary technicians in this field based on the inventive concept.
Claims
1. A medical image augmentation method based on a progressive generative network, characterized in that: The steps include: 1) Processing of training samples: In order to make the proposed model better utilize the image information of lesions in the size range during the training process and output a synthetic image with a smaller lesion, data processing is performed on the whole image X without lesions and the whole image Y with lesions; 2) The gradual increase of the number of network layers: Before progressive generative training, En and G are rs-n and rs-n The pre-training of "encoding->decoding" is performed on the encoder. The training loss term of the encoder is shown in formula (1): L encoder =||x rs-n -G(In(x rs-n ))||1+||and rs-n -G(In(and rs-n ))||1 (1) The number of network layers in the progressively generated training process is gradually increased. fuse , G-1, Dt-1 and Dc-1 training is completed, the resulting syn-y rs-1 The quality is satisfactory; 3) The proposed optimization goal: To ensure the generated syn-y rs-n After being reshaped into syn-y n After that, the clinical representation is accurate and the edge texture can be continuous with the texture of the background image. The generation training of ROI images at all levels of resolution is aimed at this effect, that is, the optimization goal of each level of training is the same. The proposed model is constrained by three loss terms, which are reconstruction loss, conditional discrimination loss and texture discrimination loss. 4) Overall optimization goal: For the training at each resolution level, the network modules newly added to G are pre-trained, and the parameters of the network modules newly added to Dc and Dt are randomly initialized. Dc and Dt are first trained to make their discrimination performance slightly better than the generation performance of the synthesizer. The optimization target is shown in formula (9): L Dc-i =min (Dc-i) L cDis-i ;L Dt-i =min (Dmed-i) L med-i ,min (Dft) L ft (9) The synthesizer is then optimized according to the back-propagation loss function. The optimization target of the synthesizer is shown in formula (10): L Gen-i-1st =min (G-i) L rec-1 L Gen-i-2nd =max (G-i,Enfuse) (L cDis-i +λL med-i +βL ft ) (10)。 2. A method for medical image augmentation based on a progressive generative network as claimed in claim 1, characterized in that: In step 3), the reconstruction loss is used to improve the syn- rs-i The clinical characterization accuracy is achieved by minimizing the difference between the reconstructed image and the true low-resolution image. G-1 with initial parameters is updated; using the precious y rs , providing a certain amount of ground-truth for encoding training, so that the training process of G-1 decoding "lesion information of feature map" into "lesion area in low-resolution medical image" is supervised. At the same time, x rs It also adds ground-truth to the encoding training to prevent the training process from rs The overfitting problem caused by the small number of training samples; the reconstruction training process is similar to the pre-training process, see formula (2): L rec-1 =||x rs-1 -G-1(In(x rs-n ))||1+||and rs-1 -G-1(In(and rs-n ))||1 (2)。 3. The medical image augmentation method based on a progressive generative network according to claim 1, characterized in that: In step 3), in the conditional discrimination loss, syn-y rs-1 The generation process is affected by En fuse The combined effect of G-1 is shown in formula (3): syn-y rs-1 =G-1[In fuse [In*(x rs-1 )△In*(and rs-1 )]] (3) Syn-y for no ground-truth rs-1 , adversarial generation with category information [cGAN] is used as a reference; in the adversarial training of Dc-1 and the synthesizer, Dc-1 is expected to distinguish the realism of the input image and the accuracy of the category label at the same time, and the synthesizer is expected to generate images that can be identified as positive samples; in the optimization stage of Dc-1, the parameters of the synthesizer are fixed, and the adversarial loss of Dc-1 and the synthesizer is shown in formula (4): L cDis-1 =|log[Dc-1(x rs-1 ,l nodis )]+log[Dc-1(y rs-i ,l dis )]+log[1-Dc-1(syn-y rs-1 ,l dis )]+log[1-Dc-1(x rs-1 ,l dis )+log[1-Dc-1(y rs-1 ,l nodis )]| (4) In the synthesizer optimization phase, the parameters of Dc-1 are fixed, and the expected (syn-y rs-1 ,l dis ) is considered as a positive sample by Dc-1, that is, Dc-1(syn-y rs-1 ,l dis ) is as close to 1 as possible, so the loss corresponding to formula (4) should be maximized as much as possible. The discriminator and synthesizer are trained alternately to gradually improve the performance of the synthesizer.
4. The medical image augmentation method based on a progressive generative network according to claim 1, characterized in that: In the step 3), the texture discrimination loss is fed back to the training of the synthesizer to improve the texture continuity of the synthetic image with the lesion ROI and the background connection area; First, the synthesizer outputs syn-y rs-1 The edge area of the medical image is spliced with the edge area of the background image corresponding to X; then, the medical image texture continuity discriminator D med-1 In Ring-X rs-1 , Ring-Y rs-1 and Ring-syn-Y rs-1 During the training, the adversarial loss of medical image texture is shown in formula (5). L med-1 =|log[D med-1 (Ring-X rs-1 )]+log[D med-1 (Ring-Y rs-1 )]+log[1-D med-1 (Ring-syn-Y rs-1 )]| (5) At the same time, the proposed feature map texture continuity discriminator D ft A deeper level of texture continuity is identified at the joints. med-1 Before, the size of the background ring image has been matched with Ring-X rs-1 The foreground ring image needs to be zero-padding to Ring-X first. rs-1 The size of , to ensure that the size of the obtained feature maps is consistent, see formula (6): f RX ,f RY ,f RsY =D* med (Ring-X rs-1 ),D* med (Ring-Y rs-1 ),D* med (Ring-syn-Y rs-1 ) f RXbg ,f RYbg =D* med (Ring-Xbg rs-1 ),D* med (Ring-Ybg rs-1 ) f Rx ,f Ry ,f Rsy =D* med (Ring-x rs-1 ZP ),D* med (Ring-y rs-1 ZP ),D* med (Ring-syn-y rs-1 ZP ) (6) Subtracting the feature map of the foreground and background ring images from the corresponding foreground feature map / background feature map can retain the residual feature map related only to the edge continuity feature, as shown in formula (7): f Res-X =f RX -f RXbg -f Rx ;f Res-Y =f RY -f RYbg -f Ry ;f Res-sY =f RsY -f RXbg -f Rsy (7) At this time, D ft Adversarial training is performed on the residual feature map. The training process is shown in formula (8): L ft =|log[D ft (f Rse-X ,f Rse-Y )]+log[1-D ft (f Rse-X ,f Rse-sY )]| (8)。
