Aiming at developing intuitive and easy-to-use portrait editing tools, we propose a novel vectorization method that can automatically convert raster images into a 3-tier hierarchical representation. The base layer consists of a set of sparse diffusion curves (DC) which characterize salient geometric features and low-frequency colors and provide means for semantic color transfer and facial expression editing. The middle level encodes specular highlights and shadows to large and editable Poisson regions (PR) and allows the user to directly adjust illumination via tuning the strength and/or changing shape of PR. The top level contains two types of pixel-sized PRs for high-frequency residuals and fine details such as pimples and pigmentation. We also train a deep generative model that can produce high-frequency residuals automatically. Thanks to the meaningful organization of vector primitives, editing portraits becomes easy and intuitive. In particular, our method supports color transfer, facial expression editing, highlight and shadow editing and automatic retouching. Thanks to the linearity of the Laplace operator, we introduce alpha blending, linear dodge and linear burn to vector editing and show that they are effective in editing highlights and shadows. To quantitatively evaluate the results, we extend the commonly used FLIP metric (which measures differences between two images) by considering illumination. The new metric, called illumination-sensitive FLIP or IS-FLIP, can effectively capture the salient changes in color transfer results, and is more consistent with human perception than FLIP and other quality measures on portrait images. We evaluate our method on the FFHQR dataset and show that our method is effective for common portrait editing tasks, such as retouching, light editing, color transfer and expression editing. We will make the code and trained models publicly available.
翻译:为了开发直观和易于使用的肖像编辑工具,我们建议一种新型矢量化方法,可以将光栅图像自动转换为3级等级代表制。基层层由一组稀疏的传播曲线(DC)组成,这些曲线具有突出的几何特征和低频颜色的特点,为语义颜色转移和面部表达面部编辑提供了手段。中等层面的直观亮点和阴影可以用于大型和可编辑的 Poisson 区域(PR),并允许用户通过调和(或)PR的强度和(或)变换形状直接调整透视度。顶层包含两种高频残留量和精细细节(DC)的像素级质量 PR。我们还培养了一种能自动生成高频残余的深色色色化模型(DC) 。由于对矢量化原始的有意义的组织, 编辑画面色色色亮度和阴影感光度感化感光度感光度感知度感知度感知度感知度感知度和自动感知感知度感知度感知度感知度感知度感知度感知度感知度感知度。由于Labet Rap 操作操作的内线- QQ-,我们在常规的运行运行中,我们对高级的,我们不断调的变化的变化的变变变变变变变变变变的图像值,我们使用的F,我们算法和L 度和L 格式的变变变变换算法法化方法将显示的IF,我们算法化法化法化和L 格式化法化法化法化法化法化法化法化法制式变化法化法化法化法化法化法化法化法化法化法化法化法化法化法化法化法化法化法化法化法化法化法化法化法化,我们化法化法化法化法化法化法化法化法制化的变变变变变化法化法制化法制化法化法化法化法化的变变变变变化法制制制制制制化法制化法制化的变变变变变化法制化法制制式制式制制制制