高级检索
范可悦, 刘世光. 肖像照片漫画风格化方法[J]. 计算机辅助设计与图形学学报, 2022, 34(1): 1-8. DOI: 10.3724/SP.J.1089.2022.18819
引用本文: 范可悦, 刘世光. 肖像照片漫画风格化方法[J]. 计算机辅助设计与图形学学报, 2022, 34(1): 1-8. DOI: 10.3724/SP.J.1089.2022.18819
Fan Keyue, Liu Shiguang. A Caricature-Style Generating Method for Portrait Photo[J]. Journal of Computer-Aided Design & Computer Graphics, 2022, 34(1): 1-8. DOI: 10.3724/SP.J.1089.2022.18819
Citation: Fan Keyue, Liu Shiguang. A Caricature-Style Generating Method for Portrait Photo[J]. Journal of Computer-Aided Design & Computer Graphics, 2022, 34(1): 1-8. DOI: 10.3724/SP.J.1089.2022.18819

肖像照片漫画风格化方法

A Caricature-Style Generating Method for Portrait Photo

  • 摘要: 为了解决已有方法不能自动生成反映五官特征且具有写实漫画风格的线条画的问题,基于数据驱动和滤波的混合方法,提出一种漫画风格肖像线条画自动生成的方法.将五官和头发分为2部分,基于数据驱动的方法合成五官,使用非数据驱动的方法生成头发.在已有的特征点基础上,从数据库中匹配合适的五官数据生成五官图片.对于头发的处理,使用Canny边缘检测、图像二值化、自适应阈值二值化和XDoG算子4种不同处理方法生成头发线条域;为了更接近绘画效果,使用不同的绘画纹理与头发线条域进行叠加,生成具有不同纹理、不同风格的头发.整合五官图片和头发图片,最终生成肖像的漫画风格线条画.从互联网上获取图片构建数据集进行实验,采用不同方法生成不同风格的图片,并请专业和非专人士分别对图像质量的高低、人物特征的把握准确程度和整体审美效果3个方面打分进行评估.结果表明,所提方法能够实时地处理发生偏侧的人脸图片,与其他方法相比,该方法能生成的图片是写实漫画风格而非卡通风格或素描风格,在生成漫画风格夸张五官的同时处理结构复杂的头发.

     

    Abstract: The existing methods can not automatically generate realistic cartoon style line drawings which can reflect the facial features. In order to solve the problem, a method based on the hybrid method of data-driven and filtering is proposed. The facial features and hair are divided into two parts. To deal with the facial features, the face in a portrait image and the facial features are recognized. Then, an algorithm is designed that uses the existing key points to match the appropriate facial features data from the database built and generated the facial features image. For hair, Canny edge detection, image binarization, adaptive threshold binarization and XDoG operator are used to generate hair line domain. In order to generate a picture closer to the painting style, different painting textures and hair line fields are overlayed. By integrating facial features and hair pictures, it can generate carica-ture style line paintings of portraits. The images are obtained from the Internet to construct data sets for experi-ments. Using different methods to generate different styles of line drawings, professional and non-professional people are invited to evaluate the image quality, the accuracy of characteristics and the overall aesthetic effect. Experiments show that the method can deal with side-face pictures in real time and handle complex-structured hair while generating comic-style exaggerated facial features. Compared with other methods, the method can generate caricature style pictures instead of cartoon style or sketch style.

     

/

返回文章
返回