arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.15078cs.CVcs.MM
收藏

SketchEdit:基于局部草图的无掩模局部图像处理

SketchEdit: Mask-Free Local Image Manipulation with Partial Sketches

Johns Hopkins University(约翰斯·霍普金斯大学);Adobe Research(Adobe研究院)

Yu Zeng, Zhe Lin, Vishal M. Patel

摘要:

基于草图的图像操作是一种交互式图像编辑任务,用于根据用户输入的草图修改图像。现有的方法通常将此任务制定为条件修复问题,其要求用户绘制指示除了草图之外要修改的区域的额外掩模。遮罩区域被视为孔洞,并由基于草图的修复模型填充。利用该公式,可以通过随机创建掩模和提取边缘或轮廓来容易地获得成对的训练数据。虽然此设置简化了数据准备和模型设计,但它使用户交互复杂化,并丢弃了遮罩区域中的有用信息。为此,我们研究了一种新的基于草图的图像操作范例:无掩模的局部图像操作,它只需要用户输入草图,并利用整个原始图像。给定图像和草图,我们的模型自动预测目标修改区域,并将其编码为结构不可知的风格向量。生成器然后基于样式向量和草图合成新的图像内容。最后,通过将生成器输出混合到原始图像的修改区域中来产生经操纵的图像。我们的模型可以通过学习从样式向量和草图重建图像区域来以自我监督的方式进行训练。所提出的方法提供了更简单,更直观的用户工作流程,基于草图的图像操作,并提供了更好的结果比以前的方法。更多结果、代码和交互式演示将在\url{https://zengxianyu.github.io/sketchedit}上提供。

英文摘要:

Sketch-based image manipulation is an interactive image editing task to modify an image based on input sketches from users. Existing methods typically formulate this task as a conditional inpainting problem, which requires users to draw an extra mask indicating the region to modify in addition to sketches. The masked regions are regarded as holes and filled by an inpainting model conditioned on the sketch. With this formulation, paired training data can be easily obtained by randomly creating masks and extracting edges or contours. Although this setup simplifies data preparation and model design, it complicates user interaction and discards useful information in masked regions. To this end, we investigate a new paradigm of sketch-based image manipulation: mask-free local image manipulation, which only requires sketch inputs from users and utilizes the entire original image. Given an image and sketch, our model automatically predicts the target modification region and encodes it into a structure agnostic style vector. A generator then synthesizes the new image content based on the style vector and sketch. The manipulated image is finally produced by blending the generator output into the modification region of the original image. Our model can be trained in a self-supervised fashion by learning the reconstruction of an image region from the style vector and sketch. The proposed method offers simpler and more intuitive user workflows for sketch-based image manipulation and provides better results than previous approaches. More results, code and interactive demo will be available at \url{https://zengxianyu.github.io/sketchedit}.

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

↑