首页 | 本学科首页   官方微博 | 高级检索  
     

基于纹理和草图的图像铅笔画绘制
引用本文:孙玉红,张元科,孟静,韩丽娟.基于纹理和草图的图像铅笔画绘制[J].计算机应用,2016,36(7):1976-1980.
作者姓名:孙玉红  张元科  孟静  韩丽娟
作者单位:1. 曲阜师范大学 信息科学与工程学院, 山东 日照 276826;2. 曲阜师范大学 实验室与设备管理处, 山东 日照 276826
基金项目:国家自然科学基金资助项目(61308116,61572283);山东省博士基金资助项目(BS2014DX005);山东省高校科研发展计划项目(J15LN06,J13LN31)。
摘    要:针对目前铅笔画生成方法中的线条不够灵活、纹理缺少方向感的问题,提出了一种基于带方向的纹理和线条草图将一幅图像转换为铅笔画风格的方法。首先,对输入图像进行直方图匹配得到图像的色调图,并将图像分割为多个区域,对每个区域,根据其颜色和形状计算其色调和方向,以此决定铅笔纹理的色调和方向;然后,通过可调整的线性卷积方法得到铅笔画的线条草图;最后,将纹理和草图结合得到铅笔画效果。运用提出的方法对不同类型的自然图像进行了铅笔画的转换,并与已有的线卷积积分方法和基于色调的方法进行了对比。实验结果表明带方向的区域纹理能更好地模拟手工铅笔画纹理的方向,可调整的线条能够更好地模拟手工铅笔画的线条的随意性和灵活性。

关 键 词:图像处理  铅笔画  非真实感绘制  纹理  草图  
收稿时间:2015-12-24
修稿时间:2016-03-09

Pencil drawing rendering based on textures and sketches
SUN Yuhong,ZHANG Yuanke,MENG Jing,HAN Lijuan.Pencil drawing rendering based on textures and sketches[J].journal of Computer Applications,2016,36(7):1976-1980.
Authors:SUN Yuhong  ZHANG Yuanke  MENG Jing  HAN Lijuan
Affiliation: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
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.
Keywords:image processing                                                                                                                        pencil drawing                                                                                                                        non-photorealistic rendering                                                                                                                        texture                                                                                                                        sketch
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号