Existing face relighting methods often struggle with two problems: maintaining the local facial details of the subject and accurately removing and synthesizing shadows in the relit image, especially hard shadows. We propose a novel deep face relighting method that addresses both problems. Our method learns to predict the ratio (quotient) image between a source image and the target image with the desired lighting, allowing us to relight the image while maintaining the local facial details. During training, our model also learns to accurately modify shadows by using estimated shadow masks to emphasize on the high-contrast shadow borders. Furthermore, we introduce a method to use the shadow mask to estimate the ambient light intensity in an image, and are thus able to leverage multiple datasets during training with different global lighting intensities. With quantitative and qualitative evaluations on the Multi-PIE and FFHQ datasets, we demonstrate that our proposed method faithfully maintains the local facial details of the subject and can accurately handle hard shadows while achieving state-of-the-art face relighting performance.
翻译:现有面部照亮方法经常遇到两个问题:保持主题的当地面部细节,准确删除和综合回光图像中的阴影,特别是硬阴影。我们提出了一种新的深面照亮方法,以解决这两个问题。我们的方法学会用理想的光线来预测源图像和目标图像之间的比例(量),使我们能够在保持当地面部细节的同时重新点亮图像。在培训期间,我们的模型还学会了如何精确地改变阴影,方法是使用估计的影子面罩来强调高相交暗处的阴影边界。此外,我们采用了一种方法,用阴影面罩来估计图像中的环境光亮度,从而能够在培训中利用不同全球照明强度的多数据集。在多光度和FFHQ数据集上进行定量和定性评估后,我们证明我们所提议的方法忠实地维护了主题的当地面部细节,并能够准确处理硬影子,同时实现最先进的面部照亮的性表现。