测试科学与仪器2021,Vol.12Issue(3):287-294,8.DOI:10.3969/j.issn.1674-8042.2021.03.006
一种抑制图像扭曲的卷积神经艺术风格化算法
A convolutional neural artistic stylization algorithm for suppressing image distortion
摘要
Abstract
Aiming at the problems of image semantic content distortion and blurred foreground and background boundaries during the transfer process of convolutional neural image stylization,we propose a convolutional neural artistic stylization algorithm for suppressing image distortion.Firstly,the VGG-19 network model is used to extract the feature map from the input content image and style image and to reconstruct the content and style.Then the transfer of the input content image and style image to the output image is constrained in the local affine transformation of the color space.And the Laplacian matting matrix is constructed by combining the local affine of the input image RGB channel.For each output blocks,affine transformation maps the RGB value of the input image to the corresponding output and position,which realizes the constraint of semantic content and the control of spatial layout.Finally,the synthesized image is superimposed on the white noise image and updated iteratively with the back propagation algorithm to minimize the loss function to complete the image stylization.Experimental results show that the method can generate images with obvious foreground and background edges,clear texture,restrained semantic content-distortion,realized spatial constraint and color mapping of the transfer images,and made the stylized images visually satisfactory.关键词
神经网络/风格迁移/深度学习/仿射变换Key words
neural network/style transfer/deep learning/affine transformation引用本文复制引用
沈瑜,杨倩,张泓国,王霖..一种抑制图像扭曲的卷积神经艺术风格化算法[J].测试科学与仪器,2021,12(3):287-294,8.基金项目
National Natural Science Foundation of China(No.61861025) (No.61861025)