跳到主要內容

簡易檢索 / 詳目顯示

研究生: 郭旻灝
MIN-HAO GUO
論文名稱: 直線偵測硬體加速器設計與實作
Design and Implementation of Hardware Accelerator for Line Detection
指導教授: 陳慶瀚
口試委員:
學位類別: 碩士
Master
系所名稱: 資訊電機學院 - 資訊工程學系
Department of Computer Science & Information Engineering
論文出版年: 2016
畢業學年度: 104
語文別: 中文
論文頁數: 64
中文關鍵詞: 邊緣偵測硬體加速器直線偵測
外文關鍵詞: Hough Transform, Edge Detection, FPGA
相關次數: 點閱:10下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 由於直線偵測演算法需要一連串循序、復雜的影像處理流程,因此在軟體實現的時候需要利用高效能的處理器來降低計算的處理時間。本論文利用MIAT(本實驗室)系統方法論,設計一個平行化運算的直線偵測硬體加速器。此加速器架構包含一個上層的管線化控制器,用來控制底下Canny邊緣偵測模組以及Hough Transform模組的運作,利用邊緣偵測模組得到的影像邊緣資訊進行Hough Transform以提高直線偵測結果的準確度,再利用管線化控制的方式來提升各模組的效能。本研究根據Canny的流程使用高斯模糊處理降低雜訊造成的錯誤邊緣偵測,並且在不影響直線偵測結果的前提下,減少運算次數及資源使用量,用以提升系統效能,相較於Xu與Chen的方式分別降低了84%與74%的電路資源使用。利用方法論生成之硬體功能電路,具備好的分散式架構以及可擴充性,使其更容易應用在各式嵌入式系統中。


    Due to line detection algorithm require a series of sequential complex image processing. Therefore, implementing line detection algorithm with software usually needs high-efficiency processor to reduce the processing time. In this paper, MIAT system design methodology is used to design a parallel calculating line detection hardware accelerators. Architecture of the accelerator contains a top layer pipeline controller to control Canny edge detection module and Hough Transform module below. Hough Transform module use the information from edge detection module to enhance accuracy. And pipeline control is used to improve efficacy of each module. According to Canny’s method we used Gaussian blur processing to reduce wrong edge detection cause by noise. In the case does not affect the line detection result we reducing the number of operations and the amount of resources to Enhance system performance. Compared to Chen’s research and Xu’ research our method reduce 84% and 74% circuit resource. Hardware circuits generate by methodology, with good distributed architecture and scalability, making it easier to use in a variety of embedded systems.

    摘 要 I ABSTRACT II 誌謝 III 目錄 IV 圖目錄 VI 表目錄 X 第一章、緒論 1 1.1 研究背景 1 1.2 研究目的 3 1.3 論文架構 3 第二章、文獻回顧 4 2.1 邊緣偵測 4 2.2 Canny 邊緣偵測演算法 6 2.2.1 高斯濾波器 6 2.2.2 計算影像梯度強度與方向 8 2.2.3 非最大值抑制與Hysteresis thresholding 8 2.3 Canny邊緣偵測硬體架構 11 2.4 Hough Transform 13 2.5 Hough Transform 硬體加速架構 16 第三章、直線偵測硬體加速器設計 18 3.1 嵌入式系統設計方法論 18 3.1.1 IDEF0系統架構 19 3.1.2 Grafcet離散事件建模 21 3.2 系統架構 26 3.3 離散事件建模 28 3.4 邊緣偵測模組硬體合成 37 3.4.1 高斯濾波模組 38 3.4.2 梯度計算模組 39 3.4.3 非最大抑制模組 41 3.4.4 滯後閥值模組 42 3.5 Hough Transform模組 44 3.6 管線控制器設計 45 第四章、系統驗證與分析 49 4.1 實驗平台 49 4.2 CMOS取像控制 51 4.3 Canny邊緣偵測實驗 52 4.4 hough轉換偵測實驗 55 4.5 比較分析 57 第五章 結論與未來研究方向 59 5.1 結論 59 5.2 未來研究方向 60 參考文獻 61

    [1] W. Boyle, and G. Smith, "Buried channel charge coupled devices", US 3792322 A , February 1974
    [2] F. M. Wanlass, "Low stand-by power complementary field effect circuitry", US3356858 A , 1973
    [3] H.G. Barrow, and J.M. Tenenbaum, "Interpreting line drawings as three-dimensional surfaces", Artificial Intelligence, vol 17, issues 1-3, pages 75-116 ,1981
    [4] P.V.C. Hough, "Method and Means for Recognizing Complex Patterns", US Patent 3,069,654, December 1962
    [5] C.W. Lo, S.H. Lin, H.C. Wei , "Lane departure warning system" , US Patent 20100265325 , 2009
    [6] I. Sobel, and G. Feldman, "A 3x3 Isotropic Gradient Operator for Image Processing" , Presented at a talk at the Stanford Artificial Project. 1968
    [7] J.M.S. Prewitt, "Object Enhancement and Extraction " , Picture Processing and Psychopictorics, B. Lipkin and A. Rosenfeld, Eds. New York: Academic, pp. 75-149, 1970.
    [8] T. Lindeberg, "Scale-space for discrete signals," PAMI(12), No. 3, pp. 234-254, March 1990
    [9] J. Canny, "A Computational Approach To Edge Detection", IEEE Trans. Pattern Analysis and Machine Intelligence, vol 8, pages 679-714. , 1986

    [10] R. Deriche, “Using canny criteria to derive a recursively implemented optimal edge detector,” Int. J. Comput. Vis., vol. 1, no. 2, pp. 167–187, 1987.
    [11] L. Torres, M. Robert, E. Bourennane, and M. Paindavoine, “Implementation of a recursive real time edge detector using retiming technique,”in Proc. Asia South Pacific IFIP Int. Conf. Very Large Scale Integr., pp. 811–816,1995
    [12] A. H. Neoh, and A. Hazanchuck, “Adaptive edge detection for real-time video processing using FPGAs,” Altera Corp., San Jose, CA, USA, Application Note, 2005.
    [13] C. Gentsos, C. Sotiropoulou, S. Nikolaidis, and N. Vassiliadis, “Realtime canny edge detection parallel implementation for FPGAs,” in Proc. EEE ICECS, Dec. 2010, pp. 499–502.
    [14] Q. Xu, S. Varadarajan, C. Chakrabarti, and L.J. Karam “A distributed canny edge detector: algorithm and FPGA implementation”,IEEE Trans. Image Proc., VOL. 23, NO. 7, JULY 2014
    [15] R.O.Duda, and R.E.Hart. "Use of the Hough Transform to Detect Lines and Curves in Pictures", CACM(15). No. 1, pp. 11-15, January 1972
    [16] X. Lu, L. Song, S. Shen, K. He, S. Yu., N. Ling, “Parallel Hough Transform-based straight line detection and its FPGA implementation in embedded vision.”, Sensors 2013, vol.13, pp.9223–9247
    [17] X. Zhou, Y. Ito, and K. Nakano,” An FPGA Implementation of Hough Transform using DSP blocks and block RAMs”, Bulletin of Networking ,computing, Systems, and Software, vol .2, pp.18-24, Jan 2013
    [18] D.G. Bailey, ”Considerations for hardware hough transforms”, Image and Vision Computing, 2011
    [19] X. Zhou, N. Tomagou, and K. Nakano, “Efficient Hough Transform on the FPGA using DSP Slices and Block RAMs” IEEE Conference Publications ,Page(s): 771 – 778 ,2013
    [20] P. Pankiewicz, W. Powiertowski, and G. Roszak, "VHDL implementation of the lane detection algorithm,",Mixed Design of Integrated Circuits and Systems, 2008., pp. 581-584
    [21] Z. H. Chen, A. W. Y. Su, and M. T. Sun, "Resource-efficient FPGA architecture and implementation of hough transform," IEEE Trans. VLSI Syst., vol. 20, no. 8, pp. 1419-1428, Aug. 2012
    [22] C. H. Chen, T. K. Yao, J. H. Dai, and C. Y. Chen, “RETRACTED: A pipelined multiprocessor system-on-a-chip (SoC) design methodology for streaming signal processing”, Journal of Vibration and Control, vol. 20, no. 2, pp. 163-178, 2014.
    [23] J.E. Volder, “The CORDIC Trigonometric Computing Technique,” ,IRE Transactions on Electronic Computers, vol. EC-8,no. 3, 1959, pp. 330–334.
    [24] E. K. Jolly and M. Fleury, “Multi-sector algorithm for hardware acceleration of the general Hough transform,” Image Vis. Computing, vol.24, no. 9, pp. 970–976, 2006.
    [25] C. H. Chen, C. M. Kuo, C. Y. Chen, and J. H. Dai, ”The design and synthesis using hierarchical robotic discrete-event modeling”, Journal of Vibration and Control, vol. 19, no. 11, pp. 1603-1613, 2012
    [26] R. J. Mayer, "IDEF0 Function Modeling," Air force Systems Command, 1992.
    [27] [Online.] IEC website, " International Electrotechnical Commission," "http://www.iec.ch"
    [28] Omni Vision OV7725 datasheet
    [29] Altera, BeMicro Max10 User Manual
    [30] STMicroelectronics, STM32F429 User Manual

    QR CODE
    :::