Journal of System Simulation ›› 2023, Vol. 35 ›› Issue (3): 604-615.doi: 10.16182/j.issn1004731x.joss.21-1154

• Papers • Previous Articles     Next Articles

Costume Pattern Sketch Colorization and Style Transfer Based on Neural Network

Xingquan Cai(), Zhijun Li, Mengyao Xi, Haiyan Sun()   

  1. School of Information Science and Technology, North China University of Technology, Beijing 100144, China
  • Received:2021-11-10 Revised:2022-01-05 Online:2023-03-30 Published:2023-03-22
  • Contact: Haiyan Sun E-mail:xingquancai@126.com;sunhaiyan80@hotmail.com

Abstract:

Aiming at the problems of color overflow in pattern sketch colorization and lack of fabric texture features in style transfer, this paper proposes a method of costume pattern sketch colorization and style transfer based on neural network. This paper initializes the data set, collects the costume pattern image, extracts the costume pattern sketch, synthesizes the costume pattern sketch with color features and constructs the style data set. The research builds the conditional generative adversarial nets and achieves the costume pattern sketch with color features colorization based on the generator. The study constructs a convolutional neural network model, uses the model to calculate the content features of the content map and uses the Gram matrix to calculate the style features of the style map, introduces weight parameters to optimize the loss function, and outputs a satisfactory costume pattern transfer image. The experimental results show that the generated image has a real costume pattern color distribution and a good sense of fabric material.

Key words: costume pattern sketch, sketch colorization, style transfer, conditional generative adversarial network, convolutional neural network

CLC Number: