Automatic picture toning method based on generative adversarial network
The invention discloses an automatic picture toning method based on a generative adversarial network. The method comprises the following steps: 1) obtaining a training group; 2) carrying out trimmingprocessing on each training group by utilizing a generator network; 3) calculating the confrontation...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an automatic picture toning method based on a generative adversarial network. The method comprises the following steps: 1) obtaining a training group; 2) carrying out trimmingprocessing on each training group by utilizing a generator network; 3) calculating the confrontation loss of the reconstructed picture and the target picture by using a discriminator network; 4) feeding back the adversarial loss to the discriminator network to update the weight of the discriminator network; 5) calculating perception loss by using a VGG network; 6) taking the weighted sum of the perception loss and the adversarial loss as the total loss, performing back propagation to the generator model, and guiding the generator model to adjust the parameters of the generator model for performing trimming processing on the original picture; 7) repeating the operations above until training is finished; and 8), performing picture toning by means of the trained generator model. The inventionfurther discloses a pictu |
---|