计算机工程与应用 ›› 2011, Vol. 47 ›› Issue (32): 177-179.

• 图形、图像、模式识别 • 上一篇    下一篇

新的蜡笔画风格生成方法

高 辉,唐 棣   

  1. 辽宁师范大学 计算机与信息技术学院,辽宁 大连 116081
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-11-11 发布日期:2011-11-11

New generating method of crayon drawing style

GAO Hui,TANG Di   

  1. College of Computer and Information Technology,Liaoning Normal University,Dalian,Liaoning 116081,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-11-11 Published:2011-11-11

摘要: 对真实蜡笔画的艺术特征和纹理结构分析,模拟了蜡笔画的颜色、纹理特点,提出了一种基于彩色图像的蜡笔画风格自动生成算法,实现了基于区域的均值漂移对输入图像迭代运算,完成了图像的色彩风格转换。在此基础上,提出了多噪声纹理模拟方法,分别实现了对图像色彩区域和轮廓区域的纹理模拟与添加,生成蜡笔画风格,从而达到计算机辅助生成蜡笔画的目的。该算法生成的结果图和手绘效果非常相似,适合教育、漫画插图和娱乐等领域的应用。

关键词: 非真实感渲染, 蜡笔画, 区域均值漂移, 噪声, 纹理合成

Abstract: By analyzing the artistic features and structure texture of real crayon,and simulating the color and texture features of pastel,a new automatic algorithm for rendering crayon style paintings is proposed in the paper.In this algorithm,the color style of input drawing is changed with region-based mean shift filtering.Moreover,based on the conversion of the image color,a noise texture method is proposed,drawing texture rendering for color and contour of the image is realized respectively,so that it can achieve the purpose of crayon drawing style rendering with computer aided design.The algorithm can produce a result as similar as which is hand-painted,and this method is suitable for education,comic illustrations,entertainment and other application fields.

Key words: non-photorealistic rendering, pastels, region-based mean shift, noise, texture synthesis