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

使用细粒度控制进行灵活的人像图像编辑

Flexible Portrait Image Editing with Fine-Grained Control

Nanyang Technological University(南洋理工大学);Alibaba Group(阿里巴巴集团);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所)

Linlin Liu, Qian Fu, Fei Hou, Ying He

摘要:

我们开发了一种新的人像图像编辑方法,它支持使用单个神经网络模型的几何,颜色,灯光和阴影的细粒度编辑。我们采用了一种新的非对称条件GAN架构:生成器采用转换后的条件输入,如边缘图,调色板,滑块和蒙版,可以直接由用户编辑;判别器采取的方式,可以更有效地指导可控图像生成的条件输入。以颜色编辑为例,我们将调色板(可以轻松编辑)输入到生成器中,并将颜色映射(包含颜色的位置信息)输入到生成器中。我们还设计了一个区域加权神经网络,以便将更高的权重分配给更重要的区域,如眼睛和皮肤。使用调色板,用户可以直接指定头发,皮肤,眼睛,嘴唇和背景的所需颜色。颜色滑块允许用户以直观的方式混合颜色。用户还可以通过修改相应的遮罩来编辑灯光和阴影。我们证明了我们的方法的有效性,通过评估它的CelebAMask-HQ数据集与广泛的任务,包括几何/颜色/阴影/灯光编辑,手绘草图到图像的翻译,和颜色转移。我们还提出了消融研究,以证明我们的设计。

英文摘要:

We develop a new method for portrait image editing, which supports fine-grained editing of geometries, colors, lights and shadows using a single neural network model. We adopt a novel asymmetric conditional GAN architecture: the generators take the transformed conditional inputs, such as edge maps, color palette, sliders and masks, that can be directly edited by the user; the discriminators take the conditional inputs in the way that can guide controllable image generation more effectively. Taking color editing as an example, we feed color palettes (which can be edited easily) into the generator, and color maps (which contain positional information of colors) into the discriminator. We also design a region-weighted discriminator so that higher weights are assigned to more important regions, like eyes and skin. Using a color palette, the user can directly specify the desired colors of hair, skin, eyes, lip and background. Color sliders allow the user to blend colors in an intuitive manner. The user can also edit lights and shadows by modifying the corresponding masks. We demonstrate the effectiveness of our method by evaluating it on the CelebAMask-HQ dataset with a wide range of tasks, including geometry/color/shadow/light editing, hand-drawn sketch to image translation, and color transfer. We also present ablation studies to justify our design.

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

↑