Style Transfer for Taotie Pattern Using Convolutional Neural Networks

merlionTaotie1024

Merlion in TaoTie Pattern

 

Style transfer refers to the process of transferring the style of an image a to another image p, resulting in p having a visually similar style to a. Addressing the problem of transferring the taotie pattern style, we propose an artistic style transfer algorithm based on Convolutional Neural Networks (CNN). This algorithm utilizes the feature responses and Gram matrices of each layer in a CNN to map content and style to independent feature spaces. The task of style transfer is achieved efficiently and flexibly by minimizing the content and style loss functions through gradient descent.

Specifically, for a VGG19 network pre-trained on object recognition tasks, we represent the content of layer lL by the feature response FlRNlimesMl, and the style by the Gram matrix Gijl=kFiklFjkl. Here, iNl denotes the convolutional filters in layer l, jMl denotes the feature responses corresponding to the convolutional filter i in layer l, and the Gram matrix Gijl is the correlation matrix of different feature responses in layer l. For the content image p, style image a, and a random noise image x, the style transfer loss function is defined as:

(1)Ltransfer(p,a,x)=αLcontent(p,x)+βLstyle(a,x)

The content loss function is given by:

(2)Lcontent(p,x,l)=12ij(FijlPijl)

The style loss function is:

(3)Lstyle(a,x)=14Nl2Ml2l=0Lijωl(GijlAijl)2

In these equations, Fijl and Pijl represent the content features of p and x, respectively, while Gijl and Aijl represent the style features of a and x, respectively. By minimizing the style transfer loss function Ltransfer(p,a,x) using gradient descent, the random noise image x is transformed into the final style-transferred image.

 

 


 

AI-aided Chair Design

chairWall

Chair Wall at 1000 Iterative Steps

 


 

3dchair1

3dchair2

3dchair3

3dchair4

AI-aided Designed 3D Chair Model

 


 

realChair

AI-aided Designed Chair
back