arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1907.06406cs.CV
收藏

利用空间分离注意模块提高合成图像的和谐性

Improving the Harmony of the Composite Image by Spatial-Separated Attention Module

University of Macau(澳门大学)

Xiaodong Cun, Chi-Man Pun

摘要:

图像合成是图像处理的重要应用之一。然而,拼接区域和背景之间的不协调的外观降低了图像的质量。因此,我们解决了图像协调的问题:给定一个拼接图像和拼接区域的掩码,我们试图协调粘贴区域与背景(非拼接区域)的“风格”。以前的方法一直专注于直接通过神经网络进行学习。在这项工作中,我们从一个经验性的观察开始:拼接图像和协调结果之间的差异只能在拼接区域中找到,而它们在非拼接区域中共享相同的语义信息和外观。因此,为了分别学习掩蔽区域和其他区域中的特征图,我们提出了一种新的注意力模块,称为空间分离注意力模块(S2AM)。此外,我们设计了一个新的图像协调框架,通过插入S2AM在粗低级别的Unet结构的功能,在两种不同的方式。除了图像协调,我们做了一个很大的一步,协调的合成图像,根据以前的观察没有特定的掩模。实验表明,建议S2AM执行更好地比其他国家的最先进的注意力模块在我们的任务。此外,我们证明了我们的模型对其他国家的最先进的图像协调方法的优势,通过标准从多个角度来看。代码可在www.example.com上获得

英文摘要:

Image composition is one of the most important applications in image processing. However, the inharmonious appearance between the spliced region and background degrade the quality of the image. Thus, we address the problem of Image Harmonization: Given a spliced image and the mask of the spliced region, we try to harmonize the "style" of the pasted region with the background (non-spliced region). Previous approaches have been focusing on learning directly by the neural network. In this work, we start from an empirical observation: the differences can only be found in the spliced region between the spliced image and the harmonized result while they share the same semantic information and the appearance in the non-spliced region. Thus, in order to learn the feature map in the masked region and the others individually, we propose a novel attention module named Spatial-Separated Attention Module (S2AM). Furthermore, we design a novel image harmonization framework by inserting the S2AM in the coarser low-level features of the Unet structure in two different ways. Besides image harmonization, we make a big step for harmonizing the composite image without the specific mask under previous observation. The experiments show that the proposed S2AM performs better than other state-of-the-art attention modules in our task. Moreover, we demonstrate the advantages of our model against other state-of-the-art image harmonization methods via criteria from multiple points of view. Code is available at https://github.com/vinthony/s2am

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

↑