跳到主要內容

臺灣博碩士論文加值系統

(18.97.14.91) 您好!臺灣時間:2025/01/19 22:08
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:傅祺峰
研究生(外文):Chi-Feng Fu
論文名稱:以SoPC實現方向碼匹配系統
論文名稱(外文):SoPC Implementation of an Orientation Code Matching System
指導教授:徐元寶徐元寶引用關係
指導教授(外文):Yuan-Pao Hsu
學位類別:碩士
校院名稱:國立虎尾科技大學
系所名稱:光電與材料科技研究所
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2012
畢業學年度:100
語文別:中文
論文頁數:73
中文關鍵詞:FPGA影像處理方向碼匹配
外文關鍵詞:FPGAImage ProcessingOrientation Code Matching
相關次數:
  • 被引用被引用:0
  • 點閱點閱:331
  • 評分評分:
  • 下載下載:3
  • 收藏至我的研究室書目清單書目收藏:0
本文主要研究以方向碼匹配(OCM, Orientation Code Matching)影像辨識技術,在FPGA (Field Programmable Gate Array)實現一個抗旋轉的影像辨識系統並應用在象棋辨識。為了實現象棋文字在旋轉後仍能辨識,首先將影像劃分為90個區塊,並將彩色影像由RGB轉換為HSV格式,以克服棋盤亮度不平均的問題。藉由HSV色彩判斷取得各區塊的影像二值化門檻值,再針對每枚棋子所在區塊影像進行OCM演算法辨識。OCM演算法會對區塊影像進行索貝爾(Sobel)邊緣偵測,由影像梯度角度轉換成16等分方向碼,再進行兩步驟的運算:(1)方向碼直方圖計算及方向碼匹配;(2)根據匹配結果判斷象棋旋轉角度並正確辨識出象棋角色。
本研究使用SoPC (System on a Programmable Chip)做為硬體平台,其上配置有FPGA晶片,在軟硬體協同設計的概念下,將上述方法予以實現。系統主要包含的硬體電路為影像處理電路、硬體周邊電路及OCM演算法電路;軟體部分主要由Nios II 處理器控制Flash存取模板影像,並使用液晶螢幕顯示辨識結果。完成之系統經實際測試證實,能達到影像辨識與抗旋轉的設計目標。

This thesis focuses on the realization of an orientation code matching technique upon a FPGA (Field Programmable Gate Array) for the identification of Chinese chess games. Firstly, an input image is divided into 90 image blocks and each image block is then transformed from RGB format to HSV format to determine its binarization threshold, in order to overcome the illumination varying problem on the chess board. Secondly, the OCM algorithm performs the Sobel edge detection for each image block and the resulting gradient is categorized into one of sixteen sectors. There are sixteen sectors, each with 22.5°, evenly distributed in a circle. Then a two-stage process is executed to realize the rotation-invariant template matching. First, the histogram of the input chess image is compared with the reference histogram. The second is to determine the rotation angle of the chess image and to recognize the chess correctly.
This research utilizes a SoPC (System on a Programmable Chip) as the development platform. By following the hardware and software co-design concept the entire system is implemented and accommodated in the FPGA of the SoPC. The resulting system includes an image processing circuit, a peripheral circuit, and orientation code matching algorithm circuit, in software part, the Nios II processor uses a Flash memory to access the template images and uses a LCD screen to display the recognition results. It has experimentally been proven that the system satisfies the goal of image recognition and rotation-invariance.

摘要.......................................................i
Abstract.................................................ii
誌謝.....................................................iii
目錄......................................................iv
表目錄.....................................................vi
圖目錄....................................................vii
第一章 緒論.................................................1
1.1 研究背景與動機 ..........................................1
1.2 文獻探討................................................1
1.3 研究方法................................................2
1.4 論文架構................................................2
第二章 系統原理..............................................3
2.1 系統架構................................................3
2.2 開發平台DE2-70..........................................4
2.3 數位影像攝影機...........................................5
2.4 基本影像處理步驟..........................................8
2.4.1 色彩空間..............................................9
2.4.2 區塊化...............................................11
2.4.3 二值化...............................................12
2.4.4 影像定位.............................................13
2.5 邊緣偵測...............................................14
2.6 方向碼匹配.............................................15
2.6.1 方向碼...............................................16
2.6.2 方向碼直方圖匹配.......................................16
2.6.3 方向碼匹配...........................................22
第三章 電路硬體設計..........................................24
3.1 CMOS攝影機擷取影像......................................25
3.2 影像處理...............................................26
3.2.1 RGB轉HSV............................................27
3.2.2 中心定位.............................................27
3.2.3區塊定位..............................................28
3.2.4 二值化...............................................29
3.3 OCM演算法電路..........................................30
3.3.1 Sobel邊緣偵測........................................31
3.3.2 初始化...............................................33
3.3.3 演算法控制...........................................34
3.3.4 方向碼直方圖計算......................................36
3.3.5 方向碼匹配...........................................37
3.3.6 移動偵測.............................................38
3.7 影像顯示...............................................39
3.8 硬體整合架構............................................40
第四章 軟體系統設計..........................................42
4.1 SoPC Builder..........................................42
4.2 Niso II處理器 ..........................................43
4.3 軟體控制...............................................45
4.4 影像呈現辨識結果.........................................46
第五章 實驗結果.............................................49
5.1 實驗場地介紹............................................49
5.2 實驗方法...............................................51
第六章 討論與結論............................................63
6.1 討論..................................................63
6.2結論...................................................64
6.3未來展望................................................65
參考文獻...................................................66
Extended Abstract.........................................68
簡歷......................................................73

[1].中國象棋簡史
http://www.chesstrip.org/chessblog/040%20ChineseChessSimpleHistory.htm
[2].2010 Altera亞洲創新設計大賽複賽報告
http://www.innovateasia.com/tw/2010_win/TW035.htm
[3].S. Hutchinson, G. Hager, and P. Corke, “A Tutorial on Visual Servo Control,” IEEE Transactions on Robotics and Automation, Vol 12,No 5 ,pp.651–670,October 1996.
[4].N. Papanikolopoulos, P. Khosla, and T. Kanade, “Visual Tracking of a Moving Target by a Camera Mounted on a Robot: a Combination of Control and Vision,” IEEE Transactions on Robotics and Automation, Vol. 9, No. 1, pp. 14-35,February 1993.
[5].E. Bardinet, L. Cohen, and N. Ayache, “Tracking Medical 3D Data with a Parametric Deformable Model,” Proc. European Conference on Computer Vision 2,pp.299-304, November 1995.
[6].P. Anandan, “A Computational Framework and an Algorithm for the Measurement of Visual Motion,” Int. J. Comput. Vision 2 ,pp 283–310, 1989.
[7].D. Ballard, “Generalizing the Hough Transform to Detect Arbitrary Shapes,” IEEE Trans, Pattern Anal. Machine Intell, pp. 111–122 ,1981.
[8].M. Swain, and D. Ballard, “Color Indexing,” International Journal of Computer Vision 7, pp.11–32, November 1991.
[9].J. Huang, S. Kumar, M. Mitra, W. Zhu, and R. Zabih, “Image Indexing using Color Correlograms,” Proceedings of IEEE CVPR, Sun Juan, pp. 762–768, June 1997.
[10].P. Chang, and J. Krumm, “Object Recognition with Color Cooccurrence Histograms,” Proceedings of IEEE CVPR, Sun Juan, pp. 1063–1069, June 1999.
[11].M. Gorkani, and R. Picard, “Texture Orientation for Sorting Photos at a Glance,” Proceedings of the 12th ICPR , Jerusalem, Vol. 1, pp. 459–464, October 1994.
[12].W. Freeman, and M. Roth, “Orientation Histograms for Hand Gesture Recognition,” IEEE International Workshop on Automatic Face and Gesture Recognition, December 1994.
[13].F. Ullah, S. Kaneko, and S. Igarahi, “Object Search using Orientation Histogram Intersection,” Proceedings of Japan–Korea Joint Workshop on Frontiers of Computer Vision, Seoul, pp. 110–115, November 2000.
[14].S. W. Lee, and W. Y. Kim, “Rotation-invariant Template Matching Using Projection Method,” Proc. of KITE, 19(1) pp. 475-476, 1996.
[15].D. M. Tsai, and C. H. Chiang, “Rotation-invariant Pattern Matching Using Wavelet Decomposition,” Pattern Recognition Letters, pp.191-201, November 2001.
[16].F. Ullah, and S. Kaneko, “Using Orientation Codes for Rotation-invariant Template Matching,” Pattern Recognition, pp. 201-209, January 2004.
[17].DE2-70 User manual, Version 109
http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=Taiwan&CategoryNo=58&No=230&PartNo=4
[18].TRDB D5M User Guide
http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=Taiwan&CategoryNo=85&No=282&PartNo=3
[19].“1/3-Inch Megapixel CMOS Active-Pixel Digital Image Sensor, ”Datasheet, Micron Technology, 2004.
[20].吳上力、林洪墩,C語言數位影像處理,全華圖書,pp. 2 - 9、64 - 65,2008。
[21].繆孝君,以FPGA實現動態物體追蹤系統,國立虎尾科技大學/資訊工程系, 碩士論文,2010。
[22].Sobel Edge Detector
http://homepages.inf.ed.ac.uk/rbf/HIPR2/sobel.htm
[23].真OO無雙 – 博客園
http://www.cnblogs.com/oomusou/
[24].C. LI, “Design of Image Acquisition and Processing Based on FPGA,” IEEE Transactions on Information Technology and Applications, 2009, pp.113-115.
[25].廖裕評、陸瑞強,系統晶片設計-使用Nios II,pp. 2-11,2008。


QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top
無相關期刊