SketchHairSalon:基于深度草图的毛发图像合成
SketchHairSalon: Deep Sketch-based Hair Image Synthesis
摘要:
最近的深度生成模型允许从草图输入实时生成头发图像。现有的解决方案通常需要用户提供的二进制遮罩来指定目标头发形状。这不仅花费用户额外的劳动力,而且无法捕捉复杂的头发边界。这些解决方案通常通过方向图对毛发结构进行编码,然而,方向图对复杂结构的编码不是非常有效。我们观察到,彩色头发草图已经隐含地定义了目标头发形状以及头发外观,并且比方向图更灵活地描绘头发结构。基于这些观察,我们提出了SketchHairSalon,一个两阶段的框架,直接从手绘草图描绘所需的头发结构和外观生成逼真的头发图像。在第一阶段,我们训练一个网络,以根据输入头发草图预测头发哑光,并使用一组可选的非头发笔划。在第二阶段,另一个网络被训练来从输入草图和生成的蒙版合成头发图像的结构和外观。为了使两个阶段的网络意识到笔画的长期依赖性,我们将自我注意模块应用于它们。为了训练这些网络,我们提出了一个新的数据集,其中包含数千个带注释的头发草图图像对和相应的头发蒙版。提出了两种有效的草图自动完成方法,分别自动完成重复的编织部分和头发笔划,从而减少了用户的工作量。基于训练好的网络和两种草图完成策略,我们构建了一个直观的界面,即使是新手用户也可以通过手绘草图设计出视觉上令人愉悦的头发图像,展示各种头发结构和外观。定性和定量的评价表明,所提出的系统的优势,现有的或替代的解决方案。
英文摘要:
Recent deep generative models allow real-time generation of hair images from sketch inputs. Existing solutions often require a user-provided binary mask to specify a target hair shape. This not only costs users extra labor but also fails to capture complicated hair boundaries. Those solutions usually encode hair structures via orientation maps, which, however, are not very effective to encode complex structures. We observe that colored hair sketches already implicitly define target hair shapes as well as hair appearance and are more flexible to depict hair structures than orientation maps. Based on these observations, we present SketchHairSalon, a two-stage framework for generating realistic hair images directly from freehand sketches depicting desired hair structure and appearance. At the first stage, we train a network to predict a hair matte from an input hair sketch, with an optional set of non-hair strokes. At the second stage, another network is trained to synthesize the structure and appearance of hair images from the input sketch and the generated matte. To make the networks in the two stages aware of long-term dependency of strokes, we apply self-attention modules to them. To train these networks, we present a new dataset containing thousands of annotated hair sketch-image pairs and corresponding hair mattes. Two efficient methods for sketch completion are proposed to automatically complete repetitive braided parts and hair strokes, respectively, thus reducing the workload of users. Based on the trained networks and the two sketch completion strategies, we build an intuitive interface to allow even novice users to design visually pleasing hair images exhibiting various hair structures and appearance via freehand sketches. The qualitative and quantitative evaluations show the advantages of the proposed system over the existing or alternative solutions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。