摘要
介绍了采用一种轮廓和纹理相结合进行图像处理的方法,采用该方法可以从照片自动生成具有铅笔画效果的非真实感图像。在图像处理过程中首先采用高频提升滤波的方法对图像进行预处理,使得图像能包含更加丰富的轮廓信息,增加图像对比度,然后通过对灰度化之后的图像进行梯度的计算,根据梯度进行像素分类,从而提取出图像轮廓,在提取轮廓阶段设置2个参数分别表示铅笔长度和深度,通过参数的调节,能产生不同效果的轮廓线图。纹理的处理方式是建立一个参数模型的方法对图像进行分层,选取人们所绘制的铅笔画纹理对每一层进行色调渲染,同时不同色调权重会产生不同风格的色调纹理图。通过轮廓和纹理的卷积叠加最终生成素描铅笔画,并且该系统还可以进一步延伸至彩色铅笔画的自动生成。
This system combining the tone and stroke structures to generate non-photo-realistic image with pencil drawing effect .First ,process the image with a high lift filter ,which making the stroke image contained more information .Then by calculating the gradient of the gray scale ,and according to the gradient do some classification .In the outline extraction stage we set two parameters ,respectively ,the length and depth of the pencil ,by adjusting the parameters will produce different effects in the contour diagram .Texture is to build a parametric model approach to stratify the image ,select the people drawn pencil texture rendering tone for each layer ,but different shades weights will produce different styles of shades textures . The resulting sketch pencil drawing is convolution superimposed contour and texture ,and the system can be further extended to colored pencil drawing automatically .
出处
《电子测量技术》
2015年第6期48-53,共6页
Electronic Measurement Technology
基金
上海市自然基金(14ZR1415800)
上海市科技公关(14511108400)资助项目
关键词
铅笔画
轮廓
纹理
卷积
pencil drawing
contour extraction
texture rendering
convolution