簡易檢索 / 詳目顯示

研究生: 陳韋金
Wei-Chin Chen
論文名稱: 以SOPC為基礎架構發展聰明型攝影機—影像擷取,形態運算
Developing Smart Cameras Based on SOPC Infrastructure—Image Acquisition, and Morphological Operations
指導教授: 黃文吉
Hwang, Wen-Jyi
賴飛羆
Lai, Fei-Pei
學位類別: 碩士
Master
系所名稱: 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2005
畢業學年度: 93
語文別: 中文
論文頁數: 76
中文關鍵詞: 攝影機可程式規劃型態運算硬體描述語言
英文關鍵詞: CMOS camera, programmable, morphological, SOPC
論文種類: 學術論文
相關次數: 點閱:446下載:19
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 目前的監視系統大都使用攝影機來做為監視的工具,然而此類的攝影機是將影像擷取後送至主控室,由監視人員透過監視人員透過螢幕來做監視,如此對監視人員的精神實在是一大負荷。較先進的監視系統會先將攝影機所擷取的影像透過電腦系統加以分析,以達到自動監視的目的,然而此種監視系統需要大量的電腦設備。

    本論文的目的是想發展一種聰明型攝影機,希望此類聰明型攝影機能夠自己去分析、偵測可疑的目標物,最後再將此目標物的特徵及位置傳回電腦端。如此監視系統即不用監視人員緊盯著螢幕監視,也無須龐大的電腦設備即可達到自動監視的目的。

    本論文中我們以硬體設計了一個CMOS攝影機的控制界面電路,可以直接讀取攝影機所拍攝到的影像。另外也設計了一個可程式規劃(programmable)的型態運算(morphological operation)電路,可以對所擷取的影像做處理。為了驗證所提出的架構可以即時的處理,我們也設計了一個VGA顯示器控制界面,可將運算後的結果以灰階影像直接顯示在螢幕上。整個系統的發展是以SOPC (System On Programmable Chip)為平台,利用硬體描述語言(Hardware Description Language)所發展而成。

    Presently, most cameras are used to supervise as a monitor system. As the camera captures the images, it transmits the images to spotters as soon as possible. However, it is neither smart nor efficient to supervise the images by supervisors. In order to supervise automatically, an advanced monitor system can analyze the obtained images through the monitor system itself. At the same time, a large number of computer devices are required in such a monitor system.
    The main idea for this thesis is to develop a smart camera. The camera is capable of detecting the wanted objects and analyzing. Then transmit the related information of the objects like features and position to the receiver without delay. Without staring the monitor screen all the time by the supervisors, the smart camera achieves supervising automatically. Obviously, the cost is reduced due to the less devices.
    In this thesis, we design a camera controller of the CMOS camera by hardware. The controller reads the images directly. Besides, we add a programmable morphological operation to process images. For verifying the real-time processing system, the Lancelot VGA controller is improved to display the result in grayscale image through the monitor screen. The platform is based on SOPC (System On Programmable Chip) with using hardware description language to develop the system.

    附表目錄……………………………………..………………………………IV 附圖目錄………………………………………………..…………….……….V 第一章 緒論………………………………………….………….……………1 1.1 研究背景與動機…….……………….…………………..…………….1 1.2全文架構…….………………………………………………………….3 第二章 基本系統週邊介紹…….………………..…………….……….…….5 2.1 SOPC系統設計………………………………………………….……..5 2.2 Nios嵌入式處理器系統發展………………….….…………………….9 2.3 CMOS攝影機規格……………………………………….……………14 2.4 Lancelot VGA controller………………………………….……………19 第三章 聰明型攝影機系統…………………………..………..……………20 3.1 聰明型攝影機系統概觀……………………………..…..……………20 3.2 Camera Controller………………………………………….…………..23 3.3 物件偵測器………………………………………………….…………33 3.4 VGA Controller Interface……………………...………….……………42 第四章 聰明型攝影機之系統整合…………………………………………48 4.1 聰明型攝影機系統外觀……………...………………………………48 4.2 SOPC Builder設計…………………………..………………………..49 4.3 Block Design File設計…………….………………………………….51 4.4 聰明型攝影機系統之合成結果……………………...………………53 4.5 同步及驅動程式…………………………….………………………..53 第5章 實驗結果與討論……………………………………………………56 5.1 物件偵測程序……………………………………….………………..56 5.2 物件偵測結果……………………………...…………………………57 5.3 結果討論……………………………………………….……………..60 5.4 視訊串流…………………….………………………………………..60 第六章 結論與未來展望……………………………………………………62 附錄A CMOS攝影機詳細規格…………………………………………64 附錄B Camera Controller腳位說明…………………...………………70 附錄C VGA Controller Interface腳位說明……………………………73 參考文獻……………………………………………………….……………75

    [1] A. Ben Atitallah, P. Kadionik, F. Ghozzi, P.Nouel, N.Masmoudi, Ph.Marchegay, “Hardware Platform Design for Real-Time Video Applications,” IEEE ICM Proceedings, 2004.
    [2] J. Velten, A. Kummert, “FPGA-based Implementation of variable sized structuring elements for 2D binary morphological operations,” IEEE Electronic Design, Test and Applications, 2002.
    [3] Scott Hemmert, Brad Hutchings and Anshul Malvi, “An Application-Specific Compiler for High-Speed Binary Image Morphology,” IEEE Field-Programmable Custom Computing Machines, 2001.
    [4] Alexey Lukin, Denis Kubasov, “An improved Demosaicing Algorithm,” Graphicon’2004 conference proceedings.
    [5] Fei Sun, S. Ravi, A. Raghunathan and N.K. Jha, “Custom-Instruction Synthesis for Extensible-Processor Platforms,” IEEE Trans. Computer-Aided Design of Integrated Circuits and Systems, pp.216-228, Feb. 2004.
    [6] B. Dalay, “Accelerating System Performance using SOPC Builder,” SOC International Symposium, pp.3-5, Nov. 2003.
    [7] M. Finc and A. Zemva, “Rapid HW/SW Co-design of Softcore Processor Systems,” IEEE Region 8 Computer as a Tool, vol.1, pp.104-108, Sept. 2003.
    [8] Takashi Komuro, Idaku Ishii, Masatoshi Ishikawa, and Atsushi Yoshida, “A Digital Vision Chip Specialized for High-Speed Target Tracking,” Electron Devices, IEEE Transactions on Volume 50, issue 1, Jan. 2003 Page(s):919-199.
    [9] Altera Corporation. http://www.altera.com, 2005.
    [10] Altera Nios Development Kit 3.10 Documentations, 2004.
    [11] Tasc Corporation. http://www.tascorp.com.tw
    [12] TAS5130D1B/TAS5030D1B VGA CMOS Image Sensor Technical Specification. Initial Version 0.05, 2004.
    [13] http://www.fpga.nl
    [14] Michael D. Ciletti . 2003. Advanced Digital Design with the VERILOG HDL.
    [15] 蕭如宣,SOPC系統設計,儒林,2003.
    [16] 鄭信源,VHDL數位電路設計(基礎篇),儒林,2003.
    [17] 鄭信源,VHDL數位電路設計(進階篇),儒林,2003.
    [18] 鄭信源,verilog 硬體描述語言數位電路設計實務,全華,2002.
    [19] 盧毅,VHDL與數位電路設計,文魁資訊,2000.
    [20] 洪錦魁,Turbo C 入門與應用徹底剖析,文魁資訊,1998,
    [21] 古頤榛,VISUAL C++ 6 教學範本,碁峰資訊,2000.
    [22] 李宜達,動態模擬與繪圖:使用MATLAB/SIMULINK,全華,1998.

    QR CODE