PDF精选 - 千万精品文档,你想要的都能搜到,下载即用。

一种图像素描特效处理算法及实现.pdf

Brangdy5 页 1.156 MB下载文档
一种图像素描特效处理算法及实现.pdf一种图像素描特效处理算法及实现.pdf一种图像素描特效处理算法及实现.pdf一种图像素描特效处理算法及实现.pdf一种图像素描特效处理算法及实现.pdf
当前文档共5页 2.88
下载后继续阅读

一种图像素描特效处理算法及实现.pdf

第3 4卷第 4期 201 5年 1 2月 武 汉 轻 工 大 学 学 报 Vo 1 .34No. 4 J our nal o f W uhan Pol yt ec hni c Uni ver si t y Dec.20l 5 文章 编号 : 2095- 7386( 201 5) 04- 0051- 05 DOI : 1 0. 3 9 69 / j . i s s n. 20 9 5- 73 8 6. 2 01 5. 0 4. 01 3 一 种 图像 素描 特 效 处 理 算 法 及 实 现 刘光 蓉 , 王文 靖 , 李诗高 , 管 庶安 (1 . 武汉轻工大 学 数学与计算机学 院, 湖北 武汉 43 0 02 3; 2. 南 阳市 第二中学 , 河南 南 阳 4 73 0 0 0) 摘 要: 提 出 了一种 利 用 图像 处理技 术 ,自动 快速 实现 图像 素描特 效 处理 算法 。本 算法根 据手 工素描 方 法 以及 人 眼视 觉特 点 , 首先将 原 始 图像 进行 灰 度 处理 得 到灰 度 图像 , 利 用 Sobe l梯 度 算子对 灰度 图像 进行 边缘 提 取 并反 色处理 , 得 到轮 廓 清晰 的梯度 图像 。 然后 采 用 11¥l1邻域 均 值 滤波 对灰度 图像 进行 平 滑模 糊 处理得 到 更平 滑 、 更 柔和 的模 糊 图像 ,为 了模 仿手握 铅 笔在 纸 上反 复 涂摩 的效 果 ,生成 同原 始 图像 大小 的布 满整 个画 面的 随机 动 感 线条 图像 。最后 , 把梯 度 图像 、模 糊 图像 、动感 线条 图像 叠加 生 成具 有动 感 效 果 的素 描 图像 。 实验 结果 表 明 :该 算 法 能快速 有 效地 实现 由计 算机 自动 模仿 手握 铅 笔在 纸上反 复 来 回涂 摩 产 生的动 感素描 图像 。 关 键词 : 素描 特 效 处理 ; Sobel梯度 算 子 ;均值 滤波 ; 动感 线条 中图分 类号 :TP391.4 文献 标识 码 :A An i mage pr ocessi ng al gor i t hms and i mpl ement at i on ofsket ch efect s LI U Guang— r ong ,WANG We n- ing ,LIShi r — gao ,GUAN Shu- an (1.Scho olofMa t hema t i c sa ndComput erSci e nce, WuhanPol yt e chni cUni ve r s i t y,Wuhan430023, Chi na; 2. TheSe condMi ddl eSchoo lNa nya ng,Nanya ng473000, Chi na) Abstr act:An al gori t hm i spr opos ed whi ch sket ch i mage ef f ect spr ocessi ng i s aut omat i ca ll y and qui ckl yr eal i zed by usi ng i mage process i ng t echnol ogy.The al gori t hm i s based on manua l sket ch met hod and human vi s ualeharact eri s— t i cs.Fi st r l y,t he ori gi na l i mage i sconver ted t o gr aysca lei mage.Gr adi enti mage ofcl earout l i ne i s generat ed by ex— t r act ed t he edgesi n gr aysca lei mage usi ng Sobelgradi entoperat orand t hen i nvert st he r esul t.Secondl y,a smoot her and sof t erbl ur red i mage i sobt ai ned f r om grayseal ei mage by i mage smoot hi ng and bl ur ri ng usi ng 11 11 nei ghbor- hood mean f il t er.Thi r dl y,t o si mul at e hol di ng a penci land rub f ict r i on ef fecton paper,r andom dynami cl i nesi m— age whi ch i st he same s i ze as g r ayscal ei mage i sbui l tby generat ed r andom l i nes dynami cal l yf ort he ent i re i mage. Fi na ll y,gr adi enti mage,bl urr ed i mage,and r andom dynami cl i nes i mage are s uper imposed t o gett he sket ch wi t h dyna m i c ef f ect s. The exper iment alr esul t s show t hata lt hough t he al gor it hm i si mpl ement ed by a comput er,and i t cal lqui ckl y and efi ci ent l yi mi t at e hand pai nt i ng and geta ver y act ua l sket ch i mage. Key wor ds:sket ch ef f ect sprocess i ng;Sobelgr adi entoperat or;mea n f il t er ing;dynami cl i nes 收稿 日期 : 201 5- 09— 1 4. 作者简介 : 刘光蓉(1 971 一), 女, 副教授 , E— ma i l: l g r 981 009@1 26.C or n. 基金项 目: 201 3年 国 家 自然 科 学 基 金 项 目(612 01 452). 4期 刘光蓉 , 王文婧 , 李诗 高 , 等: 一 种图像 素描特效处理算法及实现 55 有效 , 可 以用 来 逐帧地 处 理连 续 的 图像 , 将 真实 录制 NovelMet hod f or Penci l Drawi ng Generat i on i n 或拍摄的连续影像 、 或者是使用计算 机制作 的动 画 转 化为铅 笔 画 风 格 的 动 画 。Pho t oSho p实 现 图 像 的 素描 处理 , 必 须按 照 菜 单 操 作 ,比较 费 时 , 不适合对 Non— Pho t o— Rea li s t i c Render ing [C]//Pr oc ee d— 连续 影像 实 现动 画处 理 。 Pr ocessi ng. Tai nan,Lect ure Not es i n Comput er 参 考文 献 : Sci ence,Vol ume 5353/2008,December2008: [1] 潘 龙 ,纪庆 革.基 于 图像 的铅 笔 画绘 制技 术 的 93l- 934. 研 究现 状 与 展 望 [J].计 算 机 科 学 , 201 2,36 (6) : 474477. [ 2] 张恒 国.素描基 础教程 [M] .北京: 化 学工业 出版 社 。 201 0: 1- 5. [ 3] 斯 图瓦特 ·珀塞.现代素描技 法[ M]. 杨志达 译.长 沙 : 湖 南 美术 出版社 , 1 990: 3- 8. i ngs oft he9t h Paci ic Ri f m Conf erence on M ul t i — medi a: Advances i n Mul t i medi a I nf ormat i on [ 7] 李 重 ,黄敏 ,吴庆 标 .基 于傅 里 叶 变换 的 图像 素描 效 果 生 成 算 法 [J].计 算 机 应 用 研 究 , 2003(5): 21- 22. [8] 冯捷 , 郑 河 荣.基 于灰 度 合 成 的 图像 素描 效 果 生成 算 法 [J].浙 江 工 业 大 学 学报 , 2009,37 (3): 31 6— 31 9. [4] Wa ngJ i n, BaoHu j i n, Zho uWei hua, e ta 1 .Aut o — [9] 桑 桑 , 郝鹏 翼 , 丁友 东 ,等.基 于纹 理 和轮 廓 的 mat i ci mag e— ba s edpenci lske t chr e nder ing[J], 铅笔 素描 画 生成 方 法 [J].上 海 大 学 学报 (自 Journal of Comput er Sci ence and Technol ogy, 然科 学版 ), 201 0, 1 6(3): 312_ 317. 2002, 1 7(3): 347- 355. [ 5] Da n i j e l aMa r ko v i c,Ef s t a t hi o sS t a v r a k i s ,Ma r g r i t Gel aut z.Paramet er i zed sket chesf r om s t er eo i m. a ge s[C]//SAI D A,APO OLOPOuLOSJG. Proceedi ngsofSPI E· - Image and Vi deo Communi · · [1 O] 李春 艳 .素描 中明 暗 色调 的 功能 及 基 本技 法 [ J ].大众文艺, 2 01 2( 8): 5 8- 5 9. [1 1] 刘 光 蓉 , 周红 ,管庶 安.基 于 图像 处 理技 术的 大米轮 廓 检 测 [J].粮 食 与 饲 料 工 业 , 2014 ( 6): 1 4— 1 5. cat i ons and Processi ng 2005.Cal i f orni a:SPI E— [1 2] 张 洪刚 ,陈光 ,郭 军.图像 处理 与识 别 [M]. I nt er nat i onalSoci et yf or Opt i cal Engi ne,2005: 北京 : 人 民邮 电 出版 社 , 2006: 52- 57. 783- 791. [ 6] Ch e nZh e n y u, Zh o uJ i n ye, g Ga oXi n yu, g e ta 1 .A 机械工业 [ 1 3] 霍宏 涛.数 字 图像 处 理 [M].北 京 : 出版社 , 2003: 95- 99.

相关文章