计算机应用与软件
計算機應用與軟件
계산궤응용여연건
COMPUTER APPLICATIONS AND SOFTWARE
2014年
1期
144-147
,共4页
李钦瑞%都云程%刘坤%吕学强
李欽瑞%都雲程%劉坤%呂學彊
리흠서%도운정%류곤%려학강
视频字幕%汉字细化%笔划%模板匹配%二次Bezier曲线
視頻字幕%漢字細化%筆劃%模闆匹配%二次Bezier麯線
시빈자막%한자세화%필화%모판필배%이차Bezier곡선
Video caption%Thinning of Chinese characters%Strokes%Template matching%Quadratic Bezier curve
在视频字幕识别过程中,由于字幕像素比较低,使得二值化后,汉字边缘出现不规整的锯齿。针对该类汉字的细化,提出基于模板匹配及曲线拟合的方法。用角度为0°、45°、90°、135°的线段作为模板,分别匹配汉字中“横”、“撇”、“竖”、“捺”笔划,实现笔划提取;用二次Bezier曲线拟合“撇”、“捺”笔划,实现笔划重绘。对比实验表明,该方法对视频字幕的细化是有效的,且结果可以更好地被识别。
在視頻字幕識彆過程中,由于字幕像素比較低,使得二值化後,漢字邊緣齣現不規整的鋸齒。針對該類漢字的細化,提齣基于模闆匹配及麯線擬閤的方法。用角度為0°、45°、90°、135°的線段作為模闆,分彆匹配漢字中“橫”、“撇”、“豎”、“捺”筆劃,實現筆劃提取;用二次Bezier麯線擬閤“撇”、“捺”筆劃,實現筆劃重繪。對比實驗錶明,該方法對視頻字幕的細化是有效的,且結果可以更好地被識彆。
재시빈자막식별과정중,유우자막상소비교저,사득이치화후,한자변연출현불규정적거치。침대해류한자적세화,제출기우모판필배급곡선의합적방법。용각도위0°、45°、90°、135°적선단작위모판,분별필배한자중“횡”、“별”、“수”、“날”필화,실현필화제취;용이차Bezier곡선의합“별”、“날”필화,실현필화중회。대비실험표명,해방법대시빈자막적세화시유효적,차결과가이경호지피식별。
In recognition process of video caption,irregular sawtooth will appear at the edge of the Chinese characters after image binarisation due to the generally low pixels of the caption.In this paper,a method based on template matching and curve fitting is proposed to realise the thinning of this kind of Chinese characters.In order to realise strokes extraction,we use 0°,45°,90°and 135°line segments as the templates to match four kinds of elementary strokes in terms of horizontal,left-falling,vertical and right-falling strokes in Chinese characters re-spectively.And the quadratic Bezier curve is used to fit the left-falling stroke and right-falling stroke and to realise the redrawing of the strokes. Comparative experiment illustrates that this method is effective in video caption thinning,and the effect can be recognised more precisely.