摘要
文章提出一种基于结构张量LIC滤波的二维图像铅笔画绘制算法。算法首先以图像结构张量的特征向量值作为铅笔画绘制的导向向量,对输入图像进行LIC滤波,以获得具有铅笔画纹理特征的风格化图像;其次采用XDo G技术生成铅笔线条轮廓图;最后将边缘轮廓与铅笔纹理合成得到效果图。文章同时提出运用GPU的并行计算能力,实现对输入图像及视频的具有铅笔画风格的实时渲染及绘制。实验结果表明,该技术能有效生成具有铅笔画风格的图像。
In this paper,an image pencil drawing automatic rendering algorithm based on structural tensor LIC filtering is proposed.The algorithm first uses the eigenvector value of the image structure tensor as the guide vector to draw the pencil drawing,and performs LIC filtering on the input image to obtain a stylized image with the pencil drawing texture feature.Secondly,the XDoG technique is used to generate the pencil line outline diagram;finally,the line outline Il-lustration with pencil texture diagram rendered pencil drawing renderings.At the same time,this paper proposes the use of parallel computing power of GPU to realize the real-time rendering and drawing of pencil-drawing style of input image and video.Experimental results show that this algorithm can effectively generate art images with pencil drawing style.
作者
赵杨
杨剑兰
Zhao Yang;Yang Jian lan(Animation Department, Yunnan Normal University, Kunming 650500, China;Arts and Sciences Department, Kunming Medical University Haiynan College, Kunming 650106, China)
出处
《信息通信》
2018年第4期30-31,共2页
Information & Communications
基金
云南省哲学社会科学艺术科学规划项目<基于VR交互式新媒体的云南少数民族传统节日数字化传承和应用研究>(项目编号:2011FB019
A2016QNZ024)
关键词
非真实感绘制
GPU
结构张量
LIC滤波
铅笔画
Non-photorealistic rendering
GPU
Structure tensor
LIC filtering
Pencil drawing