首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于改进 AdaIN 的图像风格迁移
引用本文:吴 岳,宋建国.基于改进 AdaIN 的图像风格迁移[J].教育技术导刊,2009,19(9):224-227.
作者姓名:吴 岳  宋建国
作者单位:山东科技大学 计算机科学与工程学院,山东 青岛 266590
摘    要:图像风格迁移技术是指给定内容图和风格图,利用机器学习算法将内容图渲染成具有艺术风格的画作。针对传统图像风格迁移算法无法兼顾速度与生成图像质量等问题,基于 AdaIN 算法,提出 AdaIN 改进算法。在原始 AdaIN 网络中加入内容图像的深度信息计算模块,提取内容图像的深度图,通过将迁移图像数据与深度图归一化处理后的数据按元素相乘的方法,突出内容图的深度信息,使得输出的风格迁移图像各深度下具有不同的风格化程度。实验表明,相较于 Gatys 等种传统风格迁移算法,AdaIN 改进算法在运行时间上可降低约 11%;不需要针对每种风格单独训练网络,避免了模型重复训练;内容图像深度信息得以保存,提高了图像渲染质量。

关 键 词:图像风格迁移  机器学习  AdaIN  算法  深度信息  
收稿时间:2020-01-14

Image Style Transfer Based on Improved AdaIN
WU Yue,SONG Jian-guo.Image Style Transfer Based on Improved AdaIN[J].Introduction of Educational Technology,2009,19(9):224-227.
Authors:WU Yue  SONG Jian-guo
Institution:School of Computer Science and Engineering,Shandong University of Science and Technology,Qingdao 266590,China
Abstract:The technology of image style transfer is to render the content image into a painting with artistic style by using machine learning algorithm given the content image and style image. Aiming at the problem that the traditional image style migration algorithm can’t take into account the speed and the quality of the generated image,this paper proposes an improved AdaIN algorithm based on the AdaIN algorithm designed by Xun Huang et al. By adding the depth information calculation module of the content image into the original AdaIN network,the depth map of the content image is extracted. After the normalization of the migrated image data and the depth map,the data is processed by elements. The method of multiplication highlights the depth information of the content map,which makes the output style migration image with different stylization degree in different depth. Experimental results show that the improved algorithm described in this paper can reduce the running time by about 11% compared with many traditional style migration algorithms such as Gatys. It does not need to train the network separately for each style,avoiding the repeated training of the model. The depth information of the content image can be saved and the rendering quality of the image is therefore improved.
Keywords:image style transformation  machine learning  AdaIN  depth information  
点击此处可从《教育技术导刊》浏览原始摘要信息
点击此处可从《教育技术导刊》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号