基于圖像處理技術(shù)的多指針?biāo)碜詣?dòng)校驗(yàn)系統(tǒng)
本文選題:水表校驗(yàn) 切入點(diǎn):VB.NET 出處:《山東大學(xué)》2015年碩士論文 論文類(lèi)型:學(xué)位論文
【摘要】:水表生產(chǎn)企業(yè)所生產(chǎn)的水表,出廠(chǎng)前都需要對(duì)其進(jìn)行檢定,只有達(dá)到檢測(cè)精度才能投放到市場(chǎng)。現(xiàn)在應(yīng)用的水表校驗(yàn)系統(tǒng),大多采用人工操作的方法,需要手工抄讀測(cè)量結(jié)果并進(jìn)行水表誤差的計(jì)算,這種人工校驗(yàn)方法,不僅檢定效率低,工作強(qiáng)度大,而且檢定結(jié)果極易受人為因素的影響。為了克服人工抄表校驗(yàn)過(guò)程中所帶來(lái)的各種弊端,本文設(shè)計(jì)了一款基于圖像處理技術(shù)的多指針?biāo)碜詣?dòng)校驗(yàn)系統(tǒng)。此校驗(yàn)系統(tǒng)利用機(jī)器視覺(jué)技術(shù)及圖像處理技術(shù)相結(jié)合的方式,來(lái)代替人工完成對(duì)水表數(shù)據(jù)的讀取和處理工作,進(jìn)而完成對(duì)水表的校驗(yàn),不僅可以節(jié)約大量的勞動(dòng)力還可以提高生產(chǎn)效率,減小人為因素所造成的影響。此水表校驗(yàn)系統(tǒng)是基于VB.NET開(kāi)發(fā)平臺(tái)進(jìn)行設(shè)計(jì)的,通過(guò)對(duì)此校驗(yàn)系統(tǒng)的測(cè)試和分析證明,本論文所設(shè)計(jì)的校驗(yàn)系統(tǒng)方案是可行的,且取得了較好的校驗(yàn)結(jié)果。本文所研究的主要內(nèi)容為:1、圖像讀取模塊:采用CMOS攝像頭帶有的USB數(shù)據(jù)線(xiàn)將其與計(jì)算機(jī)相連,調(diào)用攝像頭的動(dòng)態(tài)鏈接庫(kù)來(lái)進(jìn)行水表圖像的攝取,當(dāng)水表流過(guò)標(biāo)定體積的水流量之后,進(jìn)行水表圖像的采集,再將采集的水表圖像轉(zhuǎn)換為RGB格式的圖像保存到指定的文件夾中。2、圖像處理模塊:通過(guò)Matlab對(duì)所攝取的水表圖像進(jìn)行處理,處理方法為:將RGB格式的水表圖像轉(zhuǎn)換為YCbCr格式的水表圖像,對(duì)轉(zhuǎn)換后圖像進(jìn)行灰度變換,對(duì)灰度圖像進(jìn)行腐蝕膨脹去噪,之后對(duì)其進(jìn)行二值化處理,對(duì)處理后圖像利用Canny算子提取水表指針邊緣,對(duì)邊緣圖像進(jìn)行膨脹處理以實(shí)現(xiàn)對(duì)水表指針邊緣的粗化操作,為得到更多的邊緣像素點(diǎn)以提高后續(xù)利用Hough變化確定指針圓心坐標(biāo)的精度,對(duì)粗化的指針邊緣利用Hough變換確定對(duì)應(yīng)于各邊緣的唯一的圓心坐標(biāo),然后進(jìn)行水表指針尖端的識(shí)別,利用建立的坐標(biāo)系確定水表指針的旋轉(zhuǎn)角度,并通過(guò)標(biāo)準(zhǔn)圖像對(duì)其進(jìn)行校正,計(jì)算出指針旋轉(zhuǎn)角度所對(duì)應(yīng)的數(shù)值,利用表盤(pán)各位的對(duì)應(yīng)關(guān)系對(duì)此數(shù)值進(jìn)行校正,最終確定水表讀數(shù)。3、數(shù)據(jù)處理模塊:利用SQL Server建立水表校驗(yàn)數(shù)據(jù)庫(kù),將經(jīng)過(guò)校驗(yàn)得到的水表數(shù)據(jù)插入到數(shù)據(jù)庫(kù)中的數(shù)據(jù)表所對(duì)應(yīng)的數(shù)據(jù)列中,對(duì)水表的誤差進(jìn)行計(jì)算,若分別處于規(guī)定的1.5%和4%誤差范圍內(nèi),則水表合格,否則判斷為不合格,為以后的水表封裝工作提供依據(jù)。系統(tǒng)從數(shù)據(jù)庫(kù)中提取水表校驗(yàn)數(shù)據(jù)進(jìn)行相應(yīng)的查詢(xún)操作,打印成Excel報(bào)表方便以后的數(shù)據(jù)審核和處理工作,還可以根據(jù)測(cè)試需要對(duì)數(shù)據(jù)庫(kù)進(jìn)行清空操作。4、連接動(dòng)態(tài)鏈接庫(kù)模塊:本文利用VB.NET搭建了系統(tǒng)校驗(yàn)平臺(tái)。系統(tǒng)調(diào)用攝像頭的MVCAMSDK.DLL,實(shí)現(xiàn)對(duì)攝像頭的相關(guān)設(shè)置及對(duì)圖像的攝取和存儲(chǔ)操作。作者設(shè)計(jì)了Matlab動(dòng)態(tài)鏈接庫(kù)并對(duì)其進(jìn)行調(diào)用,實(shí)現(xiàn)對(duì)水表圖像的相關(guān)處理操作。
[Abstract]:The water meters produced by the water meter manufacturers need to be verified before they leave the factory, and only when they reach the test precision can they be put on the market. Most of the water meter verification systems used now use manual operation methods. It is necessary to read the measurement result by hand and calculate the error of water meter. This manual calibration method not only has low verification efficiency, but also has a large working intensity. Moreover, the verification results are easily influenced by human factors. In order to overcome all kinds of malpractices brought by manual meter reading and checking, In this paper, a multi-pointer water meter automatic calibration system based on image processing technology is designed, which uses the combination of machine vision technology and image processing technology to replace manual reading and processing of water meter data. Furthermore, the calibration of water meter can not only save a lot of labor, but also improve the production efficiency and reduce the influence caused by human factors. The system is designed on the basis of VB.NET development platform. Through the test and analysis of the calibration system, it is proved that the scheme designed in this paper is feasible. The main content of this paper is: 1, image reading module: the USB data line with CMOS camera is used to connect it to the computer, and the dynamic link library of camera is used to capture the image of water meter. When the water meter flows through the calibrated volume of water flow, the image of the water meter is collected. Then the image of the collected water meter is converted to the image of RGB format and saved to the designated folder. The image processing module: the image of the water meter is processed by Matlab. The processing methods are as follows: the water meter image in RGB format is converted to the water meter image in YCbCr format, the transformed image is transformed into gray scale image, the gray image is corroded and expanded to denoise, and then the binary processing is carried out. After processing, the edge of water meter pointer is extracted by Canny operator, and the edge image is expanded to realize the coarsening operation of water meter pointer edge. In order to obtain more edge pixels to improve the accuracy of using Hough change to determine the center coordinates of the pointer, the Hough transform is used to determine the unique center coordinates corresponding to each edge of the coarse pointer edge, and then the water meter pointer tip is recognized. The rotation angle of water meter pointer is determined by using the established coordinate system, and corrected by standard image, the corresponding value of pointer rotation angle is calculated, and the value is corrected by the corresponding relation of each member of the dial. Finally determine the water meter reading. 3, data processing module: use SQL Server to establish the water meter calibration database, insert the calibrated water meter data into the data column corresponding to the data table in the database, and calculate the error of the water meter. If the water meter is within the specified error range of 1.5% and 4% respectively, the water meter is qualified, otherwise it is judged to be not up to standard, which provides the basis for the later encapsulation work of the water meter. The system extracts the check data of the water meter from the database to carry on the corresponding query operation. Printed as a Excel report for future data audit and processing, The database can also be emptied according to the test needs. 4, connecting the dynamic link library module: this paper uses VB.NET to build a system verification platform. The system calls the camera MVCAMS DK.DLLLL. the system can set up the camera and image. Ingestion and storage operations. The author designs and invokes the Matlab dynamic link library, To achieve the water meter image processing operation.
【學(xué)位授予單位】:山東大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2015
【分類(lèi)號(hào)】:TP391.41;TH814.2
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 周世生,孫幫勇,李舉,夏衛(wèi)民;數(shù)字修描技術(shù)在包裝印刷圖像處理中的應(yīng)用研究[J];包裝工程;2005年05期
2 ;Adobe發(fā)布Phototshop CS4[J];照相機(jī);2008年11期
3 徐海良;;國(guó)像處理在歐洲前景美好[J];光學(xué)儀器;1989年05期
4 葉培建;1996年國(guó)際圖像處理大會(huì)信息[J];中國(guó)空間科學(xué)技術(shù);1996年06期
5 馬金發(fā),唐健,崔向;圖像處理快速算法研究及實(shí)現(xiàn)[J];沈陽(yáng)工業(yè)學(xué)院學(xué)報(bào);2002年02期
6 王曉平,郝玉峰,袁春偉;基于激發(fā)介質(zhì)進(jìn)行圖像處理[J];計(jì)算機(jī)輔助設(shè)計(jì)與圖形學(xué)學(xué)報(bào);2003年12期
7 陳源鋒,馮琳;圖像處理技術(shù)在物證照片標(biāo)準(zhǔn)化制作中的應(yīng)用[J];影像技術(shù);2005年02期
8 蔣昀峗;葉俊勇;汪同慶;王同軍;;利用圖像處理技術(shù)進(jìn)行工件角度檢測(cè)[J];新技術(shù)新工藝;2007年08期
9 王博;石亮;;圖像處理技術(shù)實(shí)現(xiàn)與分析——圖像的退化與復(fù)原[J];硅谷;2008年02期
10 孫麗云;焦向東;劉丹;靳麗;;一種新的圖像處理實(shí)驗(yàn)設(shè)計(jì)方法[J];艦船電子工程;2008年12期
相關(guān)會(huì)議論文 前10條
1 苑廷剛;李?lèi)?ài)東;李汀;艾康偉;嚴(yán)波濤;;圖像處理技術(shù)在田徑科研中的應(yīng)用初探[A];第七屆全國(guó)體育科學(xué)大會(huì)論文摘要匯編(二)[C];2004年
2 黃海永;朱浩;王朔中;;圖像處理軟件中宏結(jié)構(gòu)的實(shí)現(xiàn)和擴(kuò)展[A];面向21世紀(jì)的科技進(jìn)步與社會(huì)經(jīng)濟(jì)發(fā)展(上冊(cè))[C];1999年
3 楊文杰;劉浩學(xué);;基于馬爾可夫場(chǎng)理論的圖像處理新方法評(píng)述[A];面向21世紀(jì)的科技進(jìn)步與社會(huì)經(jīng)濟(jì)發(fā)展(上冊(cè))[C];1999年
4 王晉疆;劉文耀;肖松山;陳曉東;孫正;;光電圖像處理課程中教學(xué)環(huán)節(jié)的設(shè)計(jì)[A];光電技術(shù)與系統(tǒng)文選——中國(guó)光學(xué)學(xué)會(huì)光電技術(shù)專(zhuān)業(yè)委員會(huì)成立二十周年暨第十一屆全國(guó)光電技術(shù)與系統(tǒng)學(xué)術(shù)會(huì)議論文集[C];2005年
5 王鵬;;圖像處理技術(shù)與實(shí)驗(yàn)數(shù)據(jù)處理[A];全面建設(shè)小康社會(huì):中國(guó)科技工作者的歷史責(zé)任——中國(guó)科協(xié)2003年學(xué)術(shù)年會(huì)論文集(上)[C];2003年
6 王曉劍;曹婉;王莎莎;;一種基于高速DSP的圖像處理應(yīng)用平臺(tái)[A];2008中國(guó)儀器儀表與測(cè)控技術(shù)進(jìn)展大會(huì)論文集(Ⅲ)[C];2008年
7 張煒;蔣大林;郎芬玲;曹廣鑫;王秀芬;;圖像處理技術(shù)應(yīng)用于選礦領(lǐng)域的綜述[A];第九屆全國(guó)信息獲取與處理學(xué)術(shù)會(huì)議論文集Ⅱ[C];2011年
8 劉春桐;趙兵;張志利;仲啟媛;;基于圖像處理的自動(dòng)瞄準(zhǔn)系統(tǒng)精度研究[A];全國(guó)自動(dòng)化新技術(shù)學(xué)術(shù)交流會(huì)會(huì)議論文集(一)[C];2005年
9 李向榮;;美式落袋球自動(dòng)擺球系統(tǒng)的圖像處理研究[A];2008中國(guó)儀器儀表與測(cè)控技術(shù)進(jìn)展大會(huì)論文集(Ⅲ)[C];2008年
10 周榮官;周醒馭;;地質(zhì)雷達(dá)圖像處理在崩塌隱患探測(cè)中的應(yīng)用及分析[A];第六屆全國(guó)信號(hào)和智能信息處理與應(yīng)用學(xué)術(shù)會(huì)議論文集[C];2012年
相關(guān)重要報(bào)紙文章 前10條
1 新疆大學(xué)紡織與服裝學(xué)院 袁春燕;圖像處理技術(shù)讓數(shù)據(jù)更真實(shí)[N];中國(guó)紡織報(bào);2013年
2 楊朝暉;我鄰域圖像處理達(dá)到每秒1350億次超高速[N];科技日?qǐng)?bào);2008年
3 吳啟海;圖像處理時(shí)8位/通道或16位/通道模式的選擇探討[N];中國(guó)攝影報(bào);2012年
4 殷幼芳;印前圖像處理技術(shù)對(duì)印刷質(zhì)量的影響[N];中國(guó)包裝報(bào);2005年
5 徐和德;圖像處理要適度[N];中國(guó)攝影報(bào);2006年
6 記者 申明;中星微發(fā)布場(chǎng)景高保真圖像處理技術(shù)[N];科技日?qǐng)?bào);2010年
7 楊玉軍;郵編圖像處理技術(shù)通過(guò)驗(yàn)收[N];中國(guó)郵政報(bào);2000年
8 董長(zhǎng)生 吳志軍;用圖像處理軟件推動(dòng)刑偵信息技術(shù)工作[N];人民公安報(bào);2003年
9 殷幼芳;藝術(shù)化的圖像處理技術(shù)[N];中國(guó)包裝報(bào);2006年
10 ;富士圖像處理方案走進(jìn)手機(jī)[N];計(jì)算機(jī)世界;2002年
相關(guān)博士學(xué)位論文 前10條
1 羅軍;圖像處理快速算法研究與硬件化[D];武漢大學(xué);2014年
2 孫傳猛;煤巖圖像處理及細(xì)觀損傷本構(gòu)模型研究[D];重慶大學(xué);2015年
3 嵇曉平;基于各向異性擴(kuò)散方程圖像處理問(wèn)題的研究[D];哈爾濱工業(yè)大學(xué);2015年
4 程科;模糊形態(tài)學(xué)技術(shù)及其在圖像處理中的應(yīng)用[D];南京理工大學(xué);2006年
5 張文星;增廣拉格朗日型算法及其在圖像處理中的應(yīng)用[D];南京大學(xué);2012年
6 付樹(shù)軍;圖像處理中幾何驅(qū)動(dòng)的變分和偏微分方程方法研究[D];北京交通大學(xué);2008年
7 李衛(wèi)斌;SAR圖像處理的若干關(guān)鍵技術(shù)[D];西安電子科技大學(xué);2004年
8 郭顯久;小波與細(xì)分方法在圖像處理中的應(yīng)用研究[D];大連理工大學(xué);2008年
9 喬麗紅;二維Hilbert-Huang變換及其在圖像處理中的應(yīng)用[D];河北師范大學(xué);2010年
10 徐舒暢;基于色素分離的皮膚圖像處理與分析[D];浙江大學(xué);2007年
相關(guān)碩士學(xué)位論文 前10條
1 董國(guó)齡;基于圖像處理技術(shù)的水表自動(dòng)檢定及管理系統(tǒng)的設(shè)計(jì)[D];天津理工大學(xué);2015年
2 李永晨;基于DSP的多路圖像處理硬件系統(tǒng)研究[D];天津理工大學(xué);2015年
3 杜高峰;基于opencv圖像處理的列車(chē)受電弓動(dòng)態(tài)特性監(jiān)測(cè)方法研究[D];西南交通大學(xué);2015年
4 王世豪;基于小波及壓縮感知的圖像處理方法及應(yīng)用研究[D];燕山大學(xué);2015年
5 牛蕾;基于非線(xiàn)性動(dòng)力系統(tǒng)的圖像處理[D];東北林業(yè)大學(xué);2015年
6 宋君毅;基于圖像處理的魚(yú)群監(jiān)測(cè)技術(shù)研究[D];天津理工大學(xué);2015年
7 古偉楷;基于異構(gòu)計(jì)算技術(shù)的視頻與圖像處理研究[D];華南理工大學(xué);2015年
8 康睿;基于圖像處理的砂土顆粒細(xì)觀特性分析[D];寧夏大學(xué);2015年
9 趙杰;柴油噴霧粒子圖像處理及軟件的設(shè)計(jì)[D];長(zhǎng)安大學(xué);2015年
10 石璐;基于圖像處理的礦質(zhì)混合料級(jí)配檢測(cè)算法研究[D];長(zhǎng)安大學(xué);2015年
,本文編號(hào):1613759
本文鏈接:http://sikaile.net/kejilunwen/yiqiyibiao/1613759.html