Journal of Computer Applications ›› 2016, Vol. 36 ›› Issue (7): 1976-1980.DOI: 10.11772/j.issn.1001-9081.2016.07.1976

Previous Articles     Next Articles

Pencil drawing rendering based on textures and sketches

SUN Yuhong1, ZHANG Yuanke1, MENG Jing1, HAN Lijuan2   

  1. 1. School of Information Science and Engineering, Qufu Normal University, Rizhao Shandong 276826, China;
    2. Laboratory and Equipment Management, Qufu Normal University, Rizhao Shandong 276826, China
  • Received:2015-12-24 Revised:2016-03-09 Online:2016-07-10 Published:2016-07-14
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61308116, 61572283), Shandong Province Excellent Young Scientists Funds (BS2014DX005), Shandong Province Higher Educational Science and Technology Program (J15LN06, J13LN31).

基于纹理和草图的图像铅笔画绘制

孙玉红1, 张元科1, 孟静1, 韩丽娟2   

  1. 1. 曲阜师范大学 信息科学与工程学院, 山东 日照 276826;
    2. 曲阜师范大学 实验室与设备管理处, 山东 日照 276826
  • 通讯作者: 孙玉红
  • 作者简介:孙玉红(1980-),女,山东东营人,副教授,硕士,主要研究方向:计算机图形学、非真实感绘制、无线网络;张元科(1979-),男,山东烟台人,副教授,博士,主要研究方向:低剂量计算机扫描显像、图像去噪;孟静(1977-),女,山东德州人,副教授,博士,主要研究方向:光声图像处理、压缩感知;韩丽娟(1976-),女,山东滨州人,副教授,硕士,主要研究方向:多媒体信息处理。
  • 基金资助:
    国家自然科学基金资助项目(61308116,61572283);山东省博士基金资助项目(BS2014DX005);山东省高校科研发展计划项目(J15LN06,J13LN31)。

Abstract: Concerning the problem in pencil drawing generation that the pencil lines lack flexibility and textures lack directions, a method of combining directional textures and pencil sketches was proposed to produce pencil drawing from natural images. First, histogram matching was employed to obtain the tone map of the image, and an image was segmented into several regions according to color. For each region, tone and direction were computed by its color and its shape, to decide the final tone and direction of the pencil drawing. Then, an adjusted linear convolution was used to get the pencil sketches with certain randomness. Finally, the directional textures and sketches were combined to get the pencil drawing style. Different kinds of natural images could be converted to pencil drawings by the proposed method, and the renderings were compared with those of existing methods including line integral convolution and tone based method. The experimental results demonstrate that the directional texture can stimulate the manual pencil texture better and the adjusted sketches can mimic the randomness and flexibility of manual pencil drawings.

Key words: image processing, pencil drawing, non-photorealistic rendering, texture, sketch

摘要: 针对目前铅笔画生成方法中的线条不够灵活、纹理缺少方向感的问题,提出了一种基于带方向的纹理和线条草图将一幅图像转换为铅笔画风格的方法。首先,对输入图像进行直方图匹配得到图像的色调图,并将图像分割为多个区域,对每个区域,根据其颜色和形状计算其色调和方向,以此决定铅笔纹理的色调和方向;然后,通过可调整的线性卷积方法得到铅笔画的线条草图;最后,将纹理和草图结合得到铅笔画效果。运用提出的方法对不同类型的自然图像进行了铅笔画的转换,并与已有的线卷积积分方法和基于色调的方法进行了对比。实验结果表明带方向的区域纹理能更好地模拟手工铅笔画纹理的方向,可调整的线条能够更好地模拟手工铅笔画的线条的随意性和灵活性。

关键词: 图像处理, 铅笔画, 非真实感绘制, 纹理, 草图

CLC Number: