Method for automatically generating ink painting based on generative adversarial network GAN

An automatic generation and ink painting technology, applied in the field of computer vision and deep learning, can solve the problems that cannot be modified, time-consuming, and the complexity is no less than manual, etc., to achieve the effect of solving cumbersome manual operations and improving efficiency

Active Publication Date: 2020-11-13
CHONGQING UNIV
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Ink painting has a special texture and aesthetic feeling. It pays attention to the combination of brushwork and ink, and requires special painting materials. Because of this, the traditional hand-painted ink animation is extremely complicated, time-consuming, and cannot be modified.
The use of existing production software to create ink-style paintings is also limited by the tools. The complexity is no less than that of manual work, and the effect is not ideal. There are certain limitations.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for automatically generating ink painting based on generative adversarial network GAN
  • Method for automatically generating ink painting based on generative adversarial network GAN
  • Method for automatically generating ink painting based on generative adversarial network GAN

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] see Figure 1 to Figure 2 , a method for automatically generating ink paintings based on the generation confrontation network GAN, including the following steps:

[0060] 1) Obtain the ink painting picture data set, preprocess the ink painting picture, and label it with categories. The ink painting dataset includes landscape paintings and flower-and-bird paintings.

[0061] The main steps of preprocessing ink painting pictures are:

[0062] 1.1) Unify the format of all ink painting images in the ink painting dataset.

[0063] 1.2) Crop the ink painting picture, so that the pixels of the ink painting picture are uniformly M×N. M is length and N is width.

[0064] 1.3) Add category labels to different categories of ink painting pictures, and convert the category labels into one-hot encoding. The categories of ink painting pictures include landscapes, flowers and birds.

[0065] 1.4) Extract the ink painting picture information in the ink painting data set, and unify...

Embodiment 2

[0114] A method for automatically generating ink paintings based on a generative confrontation network GAN, the method comprising:

[0115] 1) Obtain the ink painting data, and the obtained pictures are obtained by web crawlers; preprocess the ink painting pictures, unify the suffix names of the pictures in the ink painting data set, and crop the pictures in the ink painting data set to the pixel size of the input image required by the network, for different categories Add category labels to the dataset and convert it to one-hot encoding to extract the information of the pictures in the ink painting dataset; there are 6440 pictures in all datasets.

[0116] 2) Decompose the preprocessed ink painting dataset into feature datasets of different categories; for example: flowers, birds, mountains, water.

[0117] 3) Use the non-local mean denoising algorithm to denoise the data set;

[0118] In the search window centered on the target pixel x, there is a small window centered on y...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for automatically generating an ink painting based on a GAN (Generative Adversarial Network). The method comprises the following steps of 1), obtaining an ink paintingpicture data set, and carrying out the preprocessing of an ink painting picture; 2) decomposing the preprocessed ink and wash painting data set into different types of data sets; 3) denoising the data set by using a non-local mean denoising algorithm to obtain a feature data set; 4) establishing a generative adversarial network GAN by using the training data set, and determining the size of an input picture; 5) inputting the feature data set into a GAN (Generative Adversarial Network) for training to obtain a trained GAN neural network model; and 6) inputting the category label data into thetrained GAN neural network model, and automatically generating the ink and wash painting corresponding to the label. The method is advantaged in that problems of tedious manual operation and low creation efficiency in the traditional design method are solved.

Description

technical field [0001] The invention relates to the fields of deep learning and computer vision, in particular to a method for automatically generating ink paintings based on a generative confrontation network (GAN). Background technique [0002] In recent years, image research using deep neural networks has become a hotspot in machine learning and computer vision research. Generative adversarial networks, originally proposed by Ian Goodfellow, effectively encourage the output of the generator to be similar to the original data distribution by applying an adversarial loss to both the generator and the discriminator during the actual training process. GAN has achieved impressive results in image generation, image transfer, super-resolution and other generative tasks, and is widely used in various application scenarios. Using computers to generate images of various artistic styles is a hot issue in the field of digital images. The automatic generation technology of artistic s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T11/00G06T5/00G06T7/10G06T7/90G06N3/04G06N3/08
CPCG06T11/001G06T7/10G06T7/90G06N3/08G06T2207/20132G06N3/045G06T5/70
Inventor 刘礼张怡迪廖军
Owner CHONGQING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products