基于Focal Transformer的图像风格迁移方法

傅 娆, 冯 晨, 崔 晓丹
通号低空智能科技有限公司

摘要


图像风格迁移旨在将艺术图像的风格特征迁移至自然图像,实现内容与风格融合。针对传统方法在内容保
持与风格表达之间难以兼顾的问题,本文提出一种基于Focal Transformer的图像风格迁移方法。该方法引入焦点自注
意力机制,实现局部与全局的多尺度建模,并构建内容与风格双编码结构,结合感知损失函数增强结构约束与风格
表达能力。实验结果表明,该方法能够生成细节丰富且一致性较高的风格化图像。

关键词


图像风格迁移;焦点自注意力机制;感知损失函数

全文:

PDF


参考


[1]GATYS L A, ECKER A S, BETHGE M.A neural

algorithm of artistic style[J].arXiv:1508.06576,2015.

[2]Huang X, Belongie S. Arbitrary style transfer in realtime with adaptive instance normalization[C]//Proceedings of

the IEEE international conference on computer vision. 2017:

1501-1510.

[3]Deng Y, Tang F, Dong W, et al. Stytr2: Image style

transfer with transformers[C]//Proceedings of the IEEE/CVF

Conference on Computer Vision and Pattern Recognition.

2022: 11326-11336.

[4]Yang J, Li C, Zhang P, et al. Focal attention for longrange interactions in vision transformers[C]//Proceedings of

the 35th International Conference on Neural Information

Processing Systems. 2021: 2297.


Refbacks

  • 当前没有refback。