资源描述:
《基于指针区域特征的仪表读数识别算法.pdf》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、第35卷第12期增刊仪器仪表学报Vol.35No.122014年12月ChineseJournalofScientificInstrumentDec.2014基于指针区域特征的仪表读数识别算法122312宋伟,张文杰,张家齐,王玉平,周庆,石为人(1.国网重庆市电力公司电力科学研究院重庆401123;2.重庆大学自动化学院重庆400044)摘要:针对目前指针式仪表读数识别算法易受光照影响,并且对较粗指针的仪表识别率不高的问题,本文提出一种基于指针区域的仪表读数识别算法。本文方法可分为两个阶段:第一阶段设计高斯型同态高通滤波器,增强仪表图像对光照变化的适应性
2、;并通过减影法、二值化、中值滤波、图像形态学处理等预处理方法减缓噪声、仪表非指针区域的干扰,突出仪表图像指针区域。第二阶段本文通过计算指针图像旋转不同角度后在纵轴投影,计算指针旋转至平行于横轴时旋转的角度;然后结合指针平行于横轴时在横轴上的投影得到指针夹角,最后通过指针夹角与仪表刻度对应关系识别仪表读数。本文算法简单稳定,得到的仪表读数与人工读数误差较小,同时能够较好适应光照变化。关键词:读数识别;同态高通滤波器;仪表指针区域;指针夹角Meterreadingrecognitionmethodviathepointerregionfeature122212
3、SongWei,ZhangWenjie,ZhangJiaqi,WangYuping,ZhouQing,ShiWeiren(1.StateGridCO.ElectricPowerResearchInstitute,Chongqing404100,China;2.SchoolofAutomation,ChongqingUniversity,Chongqing404100,China)Abstract:Readingrecognitionalgorithmsforpointertypemeterarevulnerabletoillumination,andrec
4、ognitionrateforthickerpointerisnothigh.Inthispaper,weproposeareadingrecognitionmethodbasedonpointerregion.Indetail,thisapproachcanbedividedintotwophases:inthefirstphase,theproposedmethoddesignsGaussianhomomorphichigh-passfiltertoenhancetheadaptabilitytotheilluminationchangeforinst
5、rumentimage,andutilizesimagepreprocessingmethods(includingimagesubtraction,binarization,medianfilter,imagemorphologyprocessingetal.)toreducenoiseinterference,suppressofbackgroundregion,outstandpointerregion.Inthesecondphase,thepresentedmethodfirstlyrotatesthemeterimage,andcomputes
6、projectionoftherotatedimageontheverticalaxisineachrotationangle,thencalculatestherotatedanglewhichrotatethepointerofmeterimagetoparalleltothehorizontalaxis.Whereafter,thedeflectionangleofpointercanbederivedforcombiningtheprojectionofrotatedimageonthehorizontalaxiswhichthepointerof
7、rotatedimageparallelstothehorizontalaxis.Finally,readingrecognitionisidentifiedbytherelationbetweenthepointerangleandthecorrespondinginstrumentsscale.Thisapproachissimpleandstable,theerrorbetweenthereadingoftheproposedapproachandartificialreadingissmall,anditcanbetteradapttoillumi
8、nationchanges.Keywords:readingrec