arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.06004cs.CV
收藏

TSSAT:用于艺术风格迁移的两阶段统计感知变换

TSSAT: Two-Stage Statistics-Aware Transformation for Artistic Style Transfer

Nanjing University of Science and Technology(南京理工大学);Zhejiang University(浙江大学)

Haibo Chen, Lei Zhao, Jun Li, Jian Yang

AI总结:

针对现有风格迁移方法忽略绘画过程的问题,提出两阶段统计感知变换(TSSAT)模块,通过先对齐全局统计再交换局部统计模拟人类绘画过程,并引入基于注意力的内容损失和基于图块的风格损失,显著提升了风格化效果。

摘要:

艺术风格迁移旨在通过用目标艺术风格渲染给定照片来创建新的艺术图像。现有方法仅基于全局统计或局部图块学习风格,缺乏对实际绘画过程的仔细考量。因此,风格化结果要么无法捕捉丰富多样的局部风格模式,要么包含风格图像中不需要的语义信息并偏离全局风格分布。为了解决这个问题,我们模仿人类的绘画过程,提出了一个两阶段统计感知变换(TSSAT)模块,该模块首先通过对齐内容和风格特征的全局统计来建立全局风格基础,然后以图块方式交换局部统计(而不是局部特征)来进一步丰富局部风格细节,显著改善了风格化效果。此外,为了进一步增强内容和风格表示,我们引入了两种新的损失函数:基于注意力的内容损失和基于图块的风格损失,前者通过强制在风格化过程中保留内容图像中的语义关系来实现更好的内容保留,后者侧重于增加风格图像与风格化图像之间的局部风格相似性。大量定性和定量实验验证了我们方法的有效性。

英文摘要:

Artistic style transfer aims to create new artistic images by rendering a given photograph with the target artistic style. Existing methods learn styles simply based on global statistics or local patches, lacking careful consideration of the drawing process in practice. Consequently, the stylization results either fail to capture abundant and diversified local style patterns, or contain undesired semantic information of the style image and deviate from the global style distribution. To address this issue, we imitate the drawing process of humans and propose a Two-Stage Statistics-Aware Transformation (TSSAT) module, which first builds the global style foundation by aligning the global statistics of content and style features and then further enriches local style details by swapping the local statistics (instead of local features) in a patch-wise manner, significantly improving the stylization effects. Moreover, to further enhance both content and style representations, we introduce two novel losses: an attention-based content loss and a patch-based style loss, where the former enables better content preservation by enforcing the semantic relation in the content image to be retained during stylization, and the latter focuses on increasing the local style similarity between the style and stylized images. Extensive qualitative and quantitative experiments verify the effectiveness of our method.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑