机构地区: 中山大学物理科学与工程技术学院电力电子及控制技术研究所
出 处: 《计算机工程与应用》 2012年第35期156-160,共5页
摘 要: 通过改进基于运动模糊滤镜的铅笔纹理仿真算法,提出了一种新的非真实感铅笔画风格渲染方法。对输入图像进行基于高斯模糊的虚光蒙版(Unsharp Mask,USM)锐化得到铅笔画基图,采取自主实现的运动模糊算法根据基图生成铅笔纹理,进行锐化滤波处理并与边缘提取处理图融合,得到铅笔画风格绘制效果,同时在HTML5平台实现了铅笔画风格渲染的方法。实验结果表明,该方法生成速度快,渲染效果逼真而且有层次感,适合于Web应用领域。 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.
领 域: [自动化与计算机技术] [自动化与计算机技术]