计算机应用研究
計算機應用研究
계산궤응용연구
APPLICATION RESEARCH OF COMPUTERS
2014年
10期
3173-3176
,共4页
最大梯度差%叠加文本%文本定位%穿越线算法
最大梯度差%疊加文本%文本定位%穿越線算法
최대제도차%첩가문본%문본정위%천월선산법
max gradient difference%graphics text%text detection%across-line algorithm
通过分析文本特征和背景,提出一种基于最大梯度差的叠加文本定位算法.首先获得横向和竖向两个方向的梯度图像,然后设定一个窗口扫描整个图像,分别计算窗口内的最大梯度差,得到两个方向的最大梯度差矩阵,然后分别通过自适应阈值算法找出疑似文本像素,再将两个方向的判决结果取交集,消除部分复杂背景造成的误判.接着利用数学形态学运算和先验知识剔除伪文本区.最后利用改进的穿越线算法精确定位文本.实验表明,本算法不仅对横向文本具有较高的查全率和较低的虚警率,并且对竖向文本也有较好的定位效果.
通過分析文本特徵和揹景,提齣一種基于最大梯度差的疊加文本定位算法.首先穫得橫嚮和豎嚮兩箇方嚮的梯度圖像,然後設定一箇窗口掃描整箇圖像,分彆計算窗口內的最大梯度差,得到兩箇方嚮的最大梯度差矩陣,然後分彆通過自適應閾值算法找齣疑似文本像素,再將兩箇方嚮的判決結果取交集,消除部分複雜揹景造成的誤判.接著利用數學形態學運算和先驗知識剔除偽文本區.最後利用改進的穿越線算法精確定位文本.實驗錶明,本算法不僅對橫嚮文本具有較高的查全率和較低的虛警率,併且對豎嚮文本也有較好的定位效果.
통과분석문본특정화배경,제출일충기우최대제도차적첩가문본정위산법.수선획득횡향화수향량개방향적제도도상,연후설정일개창구소묘정개도상,분별계산창구내적최대제도차,득도량개방향적최대제도차구진,연후분별통과자괄응역치산법조출의사문본상소,재장량개방향적판결결과취교집,소제부분복잡배경조성적오판.접착이용수학형태학운산화선험지식척제위문본구.최후이용개진적천월선산법정학정위문본.실험표명,본산법불부대횡향문본구유교고적사전솔화교저적허경솔,병차대수향문본야유교호적정위효과.