登录    |    注册

您好,欢迎来到中国测试科技资讯平台!

一种抑制图像扭曲的卷积神经艺术风格化算法

摘要:

针对卷积神经图像风格艺术化过程中出现的图像语义内容扭曲,前后景边界模糊的问题,我们提出了一种抑制图像扭曲的卷积神经艺术风格化算法。首先用VGG-19网络模型对输入的内容图像和风格图像提取特征图并进行内容重建和风格重建。然后把输入的内容图像和风格图像到输出图像的变换约束在色彩空间局部仿射变换中,在输入图像RGB通道上构建Laplacian抠图矩阵,对于每一个输出区块,仿射变换将输入图像的RGB值映射到对应的输出及的位置上,实现了语义内容的约束和空间布局的控制。最后,将合成的图像叠加至白噪声图像上,并用反向传播算法迭代更新至损失函数最小,完成图像的风格化。实验结果表明,该方法生成的图像前后景边缘明显、纹理清楚,抑制了语义内容扭曲,实现了迁移图像的空间约束和颜色映射,风格化图像视觉上令人满意。

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.

关键词: 神经网络;风格迁移;深度学习;仿射变换;

作者: 沈瑜,杨倩,张泓国,王霖,

作者单位: 兰州交通大学电子与信息工程学院

刊名: 《测试科学与仪器》(英文)

Journal: Journal of Measurement Science and Instrumentation

年,卷(期): 2021, (3)

在线出版日期: 2021年09月28日

页数: 8

页码: 287-294