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

基于HTML5平台的铅笔画风格渲染
引用本文:李恒,杜晓荣,陈启文,徐燕.基于HTML5平台的铅笔画风格渲染[J].计算机工程与应用,2012,48(35):156-160.
作者姓名:李恒  杜晓荣  陈启文  徐燕
作者单位:1. 中山大学电力电子及控制技术研究所,广东珠海,519082
2. 佛山市生产力促进中心,广东佛山,528000
3. 中国移动通信集团海南有限公司,海口,570125
基金项目:广东省省部产学研重点项目,广东省省部产学研重大专项
摘    要:通过改进基于运动模糊滤镜的铅笔纹理仿真算法,提出了一种新的非真实感铅笔画风格渲染方法。对输入图像进行基于高斯模糊的虚光蒙版(Unsharp Mask,USM)锐化得到铅笔画基图,采取自主实现的运动模糊算法根据基图生成铅笔纹理,进行锐化滤波处理并与边缘提取处理图融合,得到铅笔画风格绘制效果,同时在HTML5平台实现了铅笔画风格渲染的方法。实验结果表明,该方法生成速度快,渲染效果逼真而且有层次感,适合于Web应用领域。

关 键 词:非真实感绘制(NPR)  铅笔画  HTML5  运动模糊  锐化滤波

Pencil sketch render method based on HTML5 platform
LI Heng , DU Xiaorong , CHEN Qiwen , XU Yan.Pencil sketch render method based on HTML5 platform[J].Computer Engineering and Applications,2012,48(35):156-160.
Authors:LI Heng  DU Xiaorong  CHEN Qiwen  XU Yan
Affiliation:1.Institute of Power Electronics and Control Technology,Sun Yat-Sen University,Zhuhai,Guangdong 519082,China 2.Foshan Productivity Center,Foshan,Guangdong 528000,China 3.Hainan Mobile Communications Company Limited,Haikou 570125,China
Abstract:A non-photorealistic pencil sketch render method is achieved by improving the pencil texture simulation algorithm which is based on motion blur filter.By using Unsharp Mask(USM)sharpening which is based on Gaussian blur,the input image can be sharpened into a pencil sketch base map.Pencil texture can be generated by the motion blur algorithm.After sharpen filtering,merging the motion-blurred image with the edge-extracted one,the pencil sketch effect is achieved.This method is realized on the HTML5 platform.The result shows that it is a fast approach and very realistic,as well as hierarchic.It proves to be suitable in Web application.
Keywords:non-photorealistic rendering  pencil sketching  HTML5  motion blur  sharpening filter
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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