一种图像素描特效处理算法及实现  被引量:5

An image processing algorithms and implementation of sketch effects

在线阅读下载全文

作  者:刘光蓉[1] 王文靖 李诗高[1] 管庶安[1] 

机构地区:[1]武汉轻工大学数学与计算机学院,湖北武汉430023 [2]南阳市第二中学,河南南阳473000

出  处:《武汉轻工大学学报》2015年第4期51-55,共5页Journal of Wuhan Polytechnic University

基  金:2013年国家自然科学基金项目(61201452)

摘  要:提出了一种利用图像处理技术,自动快速实现图像素描特效处理算法。本算法根据手工素描方法以及人眼视觉特点,首先将原始图像进行灰度处理得到灰度图像,利用Sobel梯度算子对灰度图像进行边缘提取并反色处理,得到轮廓清晰的梯度图像。然后采用11*11邻域均值滤波对灰度图像进行平滑模糊处理得到更平滑、更柔和的模糊图像,为了模仿手握铅笔在纸上反复涂摩的效果,生成同原始图像大小的布满整个画面的随机动感线条图像。最后,把梯度图像、模糊图像、动感线条图像叠加生成具有动感效果的素描图像。实验结果表明:该算法能快速有效地实现由计算机自动模仿手握铅笔在纸上反复来回涂摩产生的动感素描图像。An algorithm is proposed which sketch image effects processing is automatically and quickly realized by using image processing technology. The algorithm is based on manual sketch method and human visual characteristics. Firstly,the original image is converted to grayscale image. Gradient image of clear outline is generated by extracted the edges in grayscale image using Sobel gradient operator and then inverts the result. Secondly,a smoother and softer blurred image is obtained from grayscale image by image smoothing and blurring using 11 * 11 neighborhood mean filter. Thirdly,to simulate holding a pencil and rub friction effect on paper,random dynamic lines image which is the same size as grayscale image is built by generated random lines dynamically for the entire image.Finally,gradient image,blurred image,and random dynamic lines image are superimposed to get the sketch with dynamic effects. The experimental results show that although the algorithm is implemented by a computer,and it can quickly and efficiently imitate hand painting and get a very actual sketch image.

关 键 词:素描特效处理 Sobel梯度算子 均值滤波 动感线条 

分 类 号:TP391.4[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象