簡易檢索 / 詳目顯示

研究生: 程上福
Shang-Fu Cheng
論文名稱: 以DSP實現人眼視覺之橢圓目標物量測系統
The Implementation of the Elliptical Object Estimating System Using the Binocular Stereo Vision Based on DSP
指導教授: 蔡超人
Chau-Ren Tsai
口試委員: 黃安橋
An-Chyau Huang
王文智
Wen-Jr Wang
郭景明
Jing-Ming Guo
陳建中
Jiann-Jone Chen
學位類別: 碩士
Master
系所名稱: 電資學院 - 電機工程系
Department of Electrical Engineering
論文出版年: 2008
畢業學年度: 96
語文別: 中文
論文頁數: 124
中文關鍵詞: 數位訊號處理器雙眼視覺眼珠轉動景深三維座標橢圓偵測
外文關鍵詞: DSP, Stereo Vision, Eye Movement, Depth, 3-D coordinate, Ellipse Detection
相關次數: 點閱:248下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 以往大部分的雙眼視覺系統,不管建構在自走車或機器人上,皆以頭部旋轉方式來達到雙眼視覺系統的轉動,且多是以個人電腦為基礎架構,而導致無法使雙眼視覺系統獨立運作,然而隨著數位訊號處理器(DSP:Digital Signal Processor)的效能及準確度漸漸提高,且體積小,因此能滿足大部分系統在「即時性」的需求,所以本論文利用德州儀器生產的數位訊號處理器TMS320DM642 EVM作為開發平台,建立一套人眼視覺之橢圓目標物量測系統。首先將擷取進來的連續影像利用移動邊緣偵測法來得到移動物體的邊緣,並透過橢圓偵測來得出橢圓目標物,將橢圓目標物之橢心位置來當作一組立體影像的對應點,透過眼珠子轉動模型搭配雙眼視覺的原理,推導出一通用的眼珠子轉動之三維空間座標轉換公式,以計算出三維空間座標與三維移動速率,最後透過RS-232將目標物三維資訊傳送至個人電腦的VB端,而VB端會在視窗介面上即時地顯示所接收到的資料及橢圓目標物之移動軌跡,並將三維資訊儲存成文字檔,以用來分析橢圓目標物之移動軌跡及誤差率。


    Formerly most of binocular vision systems are based on personal computer, the PC is high consuming power and lower efficiency of the system, so it’s not suitable for stand-alone systems. In recent years, the constant advancement in technology increased the processing speed of Digital Signal Processor (DSP), not only are DSP-based systems small size and suitable for stand-alone but also meet most systems’ requirement for real-time performance.We combine TI TMS320DM642 EVM and two PTZ (Pan, Tilt, Zoom) cameras to be the research developing platform for our binocular vision system. At first, the binocular PTZ camera intercept two stereo images, then the system get the motion object’s edge and elliptical object by using image processing methods, and then counts the center coordinate of each elliptical object images for stereo system. By using eye movement’s model and binocular vision principle, the system can calculate the distance from the two PTZ cameras base to the elliptical object, and so do the 3-D coordinate and the moving velocity of elliptical object, finally we transmit elliptical object information to VB through RS-232. After receiving the information, VB will display the information and elliptical object’s trajectory on the interface and save the information as a text file.

    摘要 I Abstract II 致謝 III 目錄 IV 圖索引 VIII 表索引 XII 第一章 緒論..................................1 1.1 研究動機與目的...........................1 1.2 研究方法.................................2 1.3 論文架構.................................3 第二章 系統架構..............................4 2.1 目標物偵測程序...........................5 2.2 目標物追蹤程序...........................6 2.3 三維座標量測程序.........................8 2.4 資料傳輸程序.............................9 2.5 硬體配置與規格..........................10 第三章 目標物偵測程序.......................14 3.1 影像前處理..............................14 3.1.1 連續影像相減法........................15 3.1.2 低通濾波器............................17 3.1.3 影像邊緣偵測..........................19 3.2 移動邊緣偵測............................22 3.3 橢圓目標物偵測..........................23 3.3.1 橢圓模組建立..........................24 3.3.2 橢圓模組搜尋法........................26 3.3.3 樣板建立..............................33 3.3.4 樣板比對..............................34 3.4 目標物偵測程序流程......................36 第四章 目標物追蹤程序.......................38 4.1 紅球追蹤程序............................38 4.1.1 動態搜尋範圍..........................40 4.1.2 紅球追蹤程序流程......................43 4.2 頭部追蹤程序............................45 4.2.1 動態搜尋範圍..........................45 4.2.2 混合式追蹤演算法......................47 4.2.3 頭部追蹤程序流程......................49 4.3 目標物追蹤程序流程......................50 第五章 雙眼視覺系統與三維座標量測程序.......52 5.1 雙眼視覺之特性..........................52 5.1.1 單眼視覺測量景深......................55 5.1.2 雙眼視覺測量景深......................55 5.2 攝影機架設與校正........................56 5.2.1 雙攝影機之架設........................57 5.2.2 雙攝影機之簡易影像校正................58 5.3 三維座標之演算方法......................60 5.3.1 透視投影..............................60 5.3.2 鏡頭焦距計算..........................62 5.3.3 對應點景深之計算......................64 5.3.4 三維座標點之計算......................68 5.4 移動速率之計算與計時器設定..............72 5.5 雙攝影機之轉動控制......................75 5.6 目標物量測之程序流程....................76 第六章 資料傳輸架構與程序...................78 6.1 DSP端之資料傳輸流程.....................79 6.1.1 資料之接收與傳送......................79 6.1.2 DSP之RS-232模組......................80 6.2 VB軟體介面端之資料傳輸流程..............81 6.2.1 資料之接收與傳送......................81 6.2.2 資料之即時顯示與儲存成文字檔案........84 6.3 傳輸架構與程序流程......................85 第七章 系統實現與效能測試...................87 7.1 系統實現................................87 7.2 系統效能測試............................92 7.3 誤差分析................................97 7.3.1 三維座標之誤差........................97 7.3.2 三維移動速率之誤差....................99 7.3.3 雙攝影機放置距離之誤差比較...........100 7.4 量測數據...............................101 7.4.1 定點量測.............................101 7.4.2 移動量測.............................110 第八章 結論與未來研究方向..................115 8.1 結論...................................115 8.2 未來研究方向...........................119 參考文獻...................................120

    [1]T. L. Hwang and J. J. Clark, “On Local Detection of Moving Edge,” Proceedings of IEEE International Conference on Pattern Recognition, Vol. 1, pp. 180-184, 1990.
    [2]Yalamanchili, W. N. Martin and J. K. Aggarwal, “Extraction of Moving Object Description Via Differencing,” CGIP, Vol. 18, pp. 188-201, 1982.
    [3]A. K. Jain, Fundamentals of Digital Image Process, Prentice-Hall, New York, pp. 62-77, 1989.
    [4]S. Birchfield, “An Elliptical Head Tracker,” Proc. of the 31st Asilomar Conf. on Signals, Systems and Computers, pp. 1710-1714, 1997.
    [5]S. Birchfield, “Elliptical Head Tracking Using Intensity Gradients and Color Histograms,” Proc. of the IEEE Computer Society Conf. on Computer Vision and Pattern Recognition, pp. 232-237, June 1998.
    [6]C. M. Huang, S. C. Wang, L. C. Fu, P. Y. Chen and Y. S. Cheng, “A Robust Visual Tracking of an Arbitrary-Shaped Object by a New Active Contour Method for a Virtual Reality Application,” IEEE Conference Proceedings on Networking, Sensing and Control, Vol. 1, pp. 64-69, March 2004.
    [7]R. Brunelli and T. Poggio, “Template Matching: Matched Spatial Filters and Beyond,” Pattern Recognition , Vol. 30, No. 5, pp. 751-768, 1997.
    [8]M. S. Lew, N. Sube and T. S. Huang, “Improving Visual Matching,” IEEE Conference on Computer Vision and Pattern Recognition, Vol. 2, pp. 58-65, 2000.
    [9]C. R. Wren, A. Azarbayejani, T. Darrell and A. Pentland, “Pfinder: Realtime Tracking of the Human Body,” IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 19, pp. 780-785, 1997.
    [10]I. Haritaoglu, D. Harwood and L. S. Davis, “Hydra: Multiple People Detection and Tracking Using Silhouettes,” Proceedings of the Second IEEE Workshop on Visual Surveillance, pp. 6-13, June 1999.
    [11]K. P. Horn and B. G. Schunck, “Determining Optical Flow,” Artificial Intelligence, Vol. 17, pp. 185-203, 1981.
    [12]C. C. Han, H. Y. M. Liao, G. J. Yu and L. H. Chen, “Fast Face Detection Via Morphology-Based Pre-Processing,” Pattern Recognition, Vol. 33, No. 10, pp. 1701-1712, 2000.
    [13]S. J. Ko and Y. H. Lee, “Center Weighted Median Filters and Their Applications to Image Enhancement,” IEEE transactions on circuits and systems, Vol. 38, No. 9, pp. 984-993, 1991.
    [14]T. Chen and H. R. Wu, “Adaptive Impulse Detection Using Center-Weighted Median Filters,” IEEE Signal Processing Letters, Vol. 8, No. 1, pp. 1-3, 2001.
    [15]N. Wanopoulos, N. Vasanthavada and R. L. Baker, “Design of an Image Edge Detection Filter Using the Sobel Operator,” IEEE Journal of Solid-State Circuits, Vol. 23, No. 2, pp. 358-367, April 1988.
    [16]R. A. Bioe and I. J. Cox, “An Analysis of Camera Noise,” IEEE Transactions Pattern Analysis Machine Intelligence, Vol. 14, No. 6, pp. 671-674, 1992.
    [17]D. Hearn and M. P. Baker, Computer Graphics, 2nd Edition, Prentice Hall, New York, pp. 49-81, 1994.
    [18]J. F. Canny, “A Computational Approach to Edge Detection,” IEEE Transactions Pattern Analysis Machine Intelligence, Vol. PAM-6, pp.679-698, November 1986.
    [19]P. J. Burt and E. H. Adelson, “The Laplacian Pyramid as a Compact Image Code,” IEEE Transactions Communications, Vol. COM-31, No. 4, pp. 532-540, 1983.
    [20]S. R. Gunn, “On the Discrete Representation of the Laplacian of a Guassian,” Pattern Recognition, Vol. 32, No. 8, pp. 1463-2472, 1999.
    [21]J. J. Clark, “Authenticating Edges Produced by Zero-Crossing Algorithms,” IEEE Transactions Pattern Analysis Machine Intelligence, Vol. 12, No. 8, pp. 830-831, 1989.
    [22]R. J. Qian and T. S. Huang, “Optical Edge Detection in Two-Dimensional Image,” IEEE Transactions Image Processing, Vol. 5, No. 7, pp. 1215-1220, 1996.
    [23]A. Rosenfield and M. Thurston, “Edge and Curve Detection for Visual Scene Analysis,” IEEE Transactions Computation, Vol. C-20, pp. 562-569, 1971.
    [24]R. O. Duda and P. E. Hart, “Use of the Hough Transformation to Detect Lines and Curves in Pictures,” Commun. ACM, Vol. 15, pp. 11-15, 1972.
    [25]J. Illingworth and J. Kittler, “Survey: A Survey of the Hough Transform,” Computer Vision, Graphics, and Image Processing, Vol. 44, pp. 87-116, 1988.
    [26]S. C. Zhang and Z. Q. Liu, “A Robust, Real-Time Ellipse Detector,” Pattern Recognition, Vol. 38, pp. 273-287, 2005.
    [27]A. M. Baumberg and D. C. Hogg, “An Efficient Method for Contour Tracking Using Active Shape Models,” Proceedings of the IEEE Workshop on Motion of Non-Rigid and Articulated Objects, pp. 194-199, 1994.
    [28]A. Blake, R. Curwen and A. Zisserman, “A Framework for Spatiotemporal Control in the Tracking of Visual Contours,” Journal of Computer Vision, Vol. 11, pp. 127-145, 1993.
    [29]D. M. Tsai and C. T. Lin, “Fast Normalized Cross Correlation for Defect Detection,” Pattern Recognition Letters, Vol. 24, pp. 2625-2631, 2003.
    [30]R. Li, B. Zeng and M. L. Liou, “A New Three-Step Search Algorithm for Block Motion Estimation,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 4, No. 4, pp. 438-442, 1994.
    [31]J. Hongiun and L. Zhang, “A New Cross Diamond Search Algorithm for Block Motion Estimation,” IEEE Int’l Conf. On Acoustics, Speech, and Signal Processing, Vol. 3, pp. 357-360, 2004.
    [32]D. Chai and K. N. Ngan, “Face Segmentation Using Skin-Color Map in Videophone Applications,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 9, No. 4, pp. 551-564, June 1999.
    [33]P. Y. Chen, C. M. Huang and L. C. Fu, “A Robust Visual Servo System for Tracking an Arbitrary-Shaped Object by a New Active Contour Method,” Proceeding of the 2004 American Control Conference, Vol. 2, pp. 1516-1521, July 2004.
    [34]L. D. Stefano, M. Marchionni and S. Mattoccia, “A Fast Area-Based Stereo Matching Algorithm,” Image and Vision Computing, Vol. 22, No. 12, pp. 983-1005, 2004.
    [35]D. Marr and T. Poggio, “Cooperative Computation of Stereo Disparity,” Science, Vol. 194, pp. 283-287, 1976.
    [36]R. I. Hartley, “In Defense of the Eight-Point Algorithm,” IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 19, No. 6, pp. 580-593, 1997.
    [37]R. I. Hartley, “Kruppa’s Equations Derived from the Fundamental Matrix,” IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 19, No. 2, pp. 133-135, 1997.
    [38]Y. T. Wang, “The Implementation of a Real-Time Object Estimating System Using the Binocular Stereo Vision Based on DSP,” Master Thesis, Dept. of Electrical Engineering, National Taiwan University of Science and Technology, 2007.
    [39]S. T. Barnard and W. B. Thompson, “Disparity Analysis of Images,” IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 2, pp. 330-340, 1980.
    [40]Texas Instruments Inc., TMS320C6000 DSP/BIOS User’s Guide, May 2000.
    [41]Texas Instruments Inc., TMS320C6000 DSP 32-Bit Timer Reference Guide, January 2005.
    [42]Texas Instruments Inc., TMS320C6000 Chip Support Library API User’s Guide, December 2002.
    [43]Texas Instruments Inc., TMS320C6000 DSP Interrupt Selector Reference Guide, January 2004.
    [44]Texas Instruments Inc., TL16C752B 3.3-V Dual UART with 64-byte FIFO, August 2000.

    無法下載圖示 全文公開日期 2013/07/10 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)
    全文公開日期 本全文未授權公開 (國家圖書館:臺灣博碩士論文系統)
    QR CODE