對我國滿箱檢測設(shè)備大部分依賴進(jìn)口-畢業(yè)論文.doc
約88頁DOC格式手機(jī)打開展開
對我國滿箱檢測設(shè)備大部分依賴進(jìn)口-畢業(yè)論文,摘要針對我國滿箱檢測設(shè)備大部分依賴進(jìn)口、自主設(shè)備較少的弊端,以visual c++6.0開發(fā)環(huán)境為平臺,利用sherlock自身封裝的圖像處理算法,配合sherlock函數(shù),開發(fā)了滿箱檢測系統(tǒng)?! ”菊n題主要是將機(jī)器視覺應(yīng)用于滿箱檢測,采用ccd相機(jī)及圖像采集軟件采集圖像,將采集的圖像通過sherlock進(jìn)行處理,然...
內(nèi)容介紹
此文檔由會(huì)員 秋風(fēng)2013 發(fā)布
摘 要
針對我國滿箱檢測設(shè)備大部分依賴進(jìn)口、自主設(shè)備較少的弊端,以Visual C++6.0開發(fā)環(huán)境為平臺,利用Sherlock自身封裝的圖像處理算法,配合Sherlock函數(shù),開發(fā)了滿箱檢測系統(tǒng)。
本課題主要是將機(jī)器視覺應(yīng)用于滿箱檢測,采用CCD相機(jī)及圖像采集軟件采集圖像,將采集的圖像通過Sherlock進(jìn)行處理,然后將圖像處理的結(jié)果通過人機(jī)界面顯示出來。
人機(jī)界面主要是為操作人員提供一個(gè)對話平臺,本系統(tǒng)的人機(jī)界面包含用戶管理的設(shè)置,如用戶的添加、刪除、修改及權(quán)限管理,為用戶設(shè)置不同登錄權(quán)限,只有管理員具有完全操作的權(quán)利,普通用戶只能完成一些相對簡單的操作,建立Access數(shù)據(jù)庫,為用戶信息、歷史數(shù)據(jù)建立完備的數(shù)據(jù)表。最為重要的是檢測功能單元——滿箱檢測,完成VC++ 與Sherlock連接,實(shí)時(shí)顯示圖像,將Sherlock中檢測的數(shù)據(jù)通過界面顯示出來,并提供各種不同的選擇,實(shí)現(xiàn)模塊化設(shè)計(jì),可以根據(jù)需要選擇不同模塊,有利于系統(tǒng)功能的擴(kuò)展。
本文首先是對課題的應(yīng)用背景及機(jī)器視覺的相關(guān)知識的簡介,然后介紹了系統(tǒng)總體方案,由于本系統(tǒng)需要圖像處理軟件,因此接下來深入研究了圖像處理算法及圖像處理模塊的設(shè)計(jì),基于以上知識系統(tǒng)地介紹了滿箱檢測的軟件設(shè)計(jì)過程,包括:數(shù)據(jù)庫的建立與SQL查詢語句,人機(jī)界面與數(shù)據(jù)庫、Sherlock數(shù)據(jù)通訊的實(shí)現(xiàn)方法。對課題研究過程中出現(xiàn)的問題進(jìn)行了原因分析并結(jié)合實(shí)際情況給出了具體的解決方案。
關(guān)鍵詞:人機(jī)界面;機(jī)器視覺;滿箱檢測;圖像處理;Sherlock
ABSTRACT
In view of our country full case check-out facility majority of dependence import, the independent equipment few malpractices, take Visual the C++6.0 development environment as the platforms, uses Sherlock own seal the imagery processing algorithm, coordinates the Sherlock function, developed full case to examine the system.
This topic is mainly applies the machine vision in full case inspecting, uses the CCD camera and the image gathering software gathering image, will gather the image carries on processing through Sherlock.Then demonstrates imagery processing's result through the human machine interface.
The human machine interface is mainly provides a dialog platform for the operators.This system's human machine interface contains the user management the establishment, like user's increase, the deletion, the revision and the jurisdiction management, register the jurisdiction differently as the user establishment, only then the manager has completely the operation right.The average consumer can only complete some relatively simple operation, establishes the Access database,for user information, historical data establishment complete data sheet. Measuring ability unit - - full case inspecting most more importantly, completes VC++ and the Sherlock connection, the real time display image, the data which examines Sherlock in through the contact surface demonstrated that and provides each kind of different choice, realizes the modular design, may according to need to choose the different module, is advantageous in the system function expansion.
This article first is to the topic application background and the machine vision related knowledge synopsis, then introduced the system overall concept, because this system needs the imagery processing software.Therefore the following deep research imagery processing algorithm and the imagery processing module's design, introduced systematically based on the above knowledge full case inspecting software design process, including: The database establishment and the SQL inquiry sentence.The human machine interface and the database.The Sherlock data communication realize the method. The question which appears to the topic research process in carried on the reason to analyze and unifies the actual situation to give the concrete solution.
Keywords: human machine interface; machine vision; full case inspecting; image processing; Sherlock
目 錄
1 緒論 1
1.1 課題的應(yīng)用背景 1
1.2 機(jī)器視覺概述 2
1.3 本文的主要工作 7
2 滿箱檢測系統(tǒng)總體方案 9
2.1 總體方案選擇與對比 9
2.2 系統(tǒng)框架 11
2.3 系統(tǒng)主要部分 11
3 圖像處理算法的研究 14
3.1 數(shù)字圖像處理的概述 14
3.2 圖像預(yù)處理 16
3.3 圖像分割處理 22
3.4 模板匹配 26
3.5 圖像識別 32
4 圖像處理模塊的詳細(xì)設(shè)計(jì) 34
4.1 圖像處理模塊總體結(jié)構(gòu) 34
4.2 圖像處理各模塊設(shè)計(jì)的實(shí)現(xiàn) 36
5 人機(jī)界面與圖像處理程序的通訊 41
5.1 創(chuàng)建Sherlock對象 42
5.2 顯示Sherlock圖像 43
6 滿箱檢測系統(tǒng)的軟件設(shè)計(jì) 44
6.1 系統(tǒng)總體框圖 44
6.2 軟件開發(fā)工具的選擇 44
6.3 系統(tǒng)人機(jī)界面的主要功能模塊 46
6.4 系統(tǒng)數(shù)據(jù)庫的設(shè)計(jì) 49
結(jié)束語 52
參考文獻(xiàn) 54
致 謝 55
附 錄 56
A 主要源程序 56
B 用戶手冊 70
C 軟件光盤 74
D 科技譯文 75
針對我國滿箱檢測設(shè)備大部分依賴進(jìn)口、自主設(shè)備較少的弊端,以Visual C++6.0開發(fā)環(huán)境為平臺,利用Sherlock自身封裝的圖像處理算法,配合Sherlock函數(shù),開發(fā)了滿箱檢測系統(tǒng)。
本課題主要是將機(jī)器視覺應(yīng)用于滿箱檢測,采用CCD相機(jī)及圖像采集軟件采集圖像,將采集的圖像通過Sherlock進(jìn)行處理,然后將圖像處理的結(jié)果通過人機(jī)界面顯示出來。
人機(jī)界面主要是為操作人員提供一個(gè)對話平臺,本系統(tǒng)的人機(jī)界面包含用戶管理的設(shè)置,如用戶的添加、刪除、修改及權(quán)限管理,為用戶設(shè)置不同登錄權(quán)限,只有管理員具有完全操作的權(quán)利,普通用戶只能完成一些相對簡單的操作,建立Access數(shù)據(jù)庫,為用戶信息、歷史數(shù)據(jù)建立完備的數(shù)據(jù)表。最為重要的是檢測功能單元——滿箱檢測,完成VC++ 與Sherlock連接,實(shí)時(shí)顯示圖像,將Sherlock中檢測的數(shù)據(jù)通過界面顯示出來,并提供各種不同的選擇,實(shí)現(xiàn)模塊化設(shè)計(jì),可以根據(jù)需要選擇不同模塊,有利于系統(tǒng)功能的擴(kuò)展。
本文首先是對課題的應(yīng)用背景及機(jī)器視覺的相關(guān)知識的簡介,然后介紹了系統(tǒng)總體方案,由于本系統(tǒng)需要圖像處理軟件,因此接下來深入研究了圖像處理算法及圖像處理模塊的設(shè)計(jì),基于以上知識系統(tǒng)地介紹了滿箱檢測的軟件設(shè)計(jì)過程,包括:數(shù)據(jù)庫的建立與SQL查詢語句,人機(jī)界面與數(shù)據(jù)庫、Sherlock數(shù)據(jù)通訊的實(shí)現(xiàn)方法。對課題研究過程中出現(xiàn)的問題進(jìn)行了原因分析并結(jié)合實(shí)際情況給出了具體的解決方案。
關(guān)鍵詞:人機(jī)界面;機(jī)器視覺;滿箱檢測;圖像處理;Sherlock
ABSTRACT
In view of our country full case check-out facility majority of dependence import, the independent equipment few malpractices, take Visual the C++6.0 development environment as the platforms, uses Sherlock own seal the imagery processing algorithm, coordinates the Sherlock function, developed full case to examine the system.
This topic is mainly applies the machine vision in full case inspecting, uses the CCD camera and the image gathering software gathering image, will gather the image carries on processing through Sherlock.Then demonstrates imagery processing's result through the human machine interface.
The human machine interface is mainly provides a dialog platform for the operators.This system's human machine interface contains the user management the establishment, like user's increase, the deletion, the revision and the jurisdiction management, register the jurisdiction differently as the user establishment, only then the manager has completely the operation right.The average consumer can only complete some relatively simple operation, establishes the Access database,for user information, historical data establishment complete data sheet. Measuring ability unit - - full case inspecting most more importantly, completes VC++ and the Sherlock connection, the real time display image, the data which examines Sherlock in through the contact surface demonstrated that and provides each kind of different choice, realizes the modular design, may according to need to choose the different module, is advantageous in the system function expansion.
This article first is to the topic application background and the machine vision related knowledge synopsis, then introduced the system overall concept, because this system needs the imagery processing software.Therefore the following deep research imagery processing algorithm and the imagery processing module's design, introduced systematically based on the above knowledge full case inspecting software design process, including: The database establishment and the SQL inquiry sentence.The human machine interface and the database.The Sherlock data communication realize the method. The question which appears to the topic research process in carried on the reason to analyze and unifies the actual situation to give the concrete solution.
Keywords: human machine interface; machine vision; full case inspecting; image processing; Sherlock
目 錄
1 緒論 1
1.1 課題的應(yīng)用背景 1
1.2 機(jī)器視覺概述 2
1.3 本文的主要工作 7
2 滿箱檢測系統(tǒng)總體方案 9
2.1 總體方案選擇與對比 9
2.2 系統(tǒng)框架 11
2.3 系統(tǒng)主要部分 11
3 圖像處理算法的研究 14
3.1 數(shù)字圖像處理的概述 14
3.2 圖像預(yù)處理 16
3.3 圖像分割處理 22
3.4 模板匹配 26
3.5 圖像識別 32
4 圖像處理模塊的詳細(xì)設(shè)計(jì) 34
4.1 圖像處理模塊總體結(jié)構(gòu) 34
4.2 圖像處理各模塊設(shè)計(jì)的實(shí)現(xiàn) 36
5 人機(jī)界面與圖像處理程序的通訊 41
5.1 創(chuàng)建Sherlock對象 42
5.2 顯示Sherlock圖像 43
6 滿箱檢測系統(tǒng)的軟件設(shè)計(jì) 44
6.1 系統(tǒng)總體框圖 44
6.2 軟件開發(fā)工具的選擇 44
6.3 系統(tǒng)人機(jī)界面的主要功能模塊 46
6.4 系統(tǒng)數(shù)據(jù)庫的設(shè)計(jì) 49
結(jié)束語 52
參考文獻(xiàn) 54
致 謝 55
附 錄 56
A 主要源程序 56
B 用戶手冊 70
C 軟件光盤 74
D 科技譯文 75