| 研究生: |
葉晏廷 Ye, Yan-Ting |
|---|---|
| 論文名稱: |
一實現於FPGA的影像讀取與處理系統 An Image Access and Processing System with FPGA Implementation |
| 指導教授: |
陳進興
Chen, Chin-Hsing |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 電腦與通信工程研究所 Institute of Computer & Communication Engineering |
| 論文出版年: | 2021 |
| 畢業學年度: | 109 |
| 語文別: | 英文 |
| 論文頁數: | 58 |
| 中文關鍵詞: | 現場可程式化邏輯閘陣列(FPGA) 、SD記憶卡 、影像處理 、OV7670相機 、影像顯示 、控制器 、硬體描述語言 、RS232 |
| 外文關鍵詞: | FPGA, SD memory card, Image Processing, OV7670 camera, RS232, Image Display, Controllers, Verilog |
| 相關次數: | 點閱:360 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
本論文在FPGA上實現了一個影像存取和處理系統。所提的系統可以透過OV7670相機捕捉影像或透過SD記憶卡讀出影像,並將它們顯示在VGA的顯示器上。OV7670是一個小型的、低工作電壓的相機,每秒可以提供30幀640×480解析度的影像。SD記憶卡是一種廉價的、高容量的便攜式存儲設備。通過RS232接口,使用者可以從PC向FPGA發送信號以決定影像來源或影像處理的模式。
本系統的FPGA硬體實現由RS232模塊、輸入選擇模塊、SD記憶卡模塊、OV7670模塊和輸出選擇模塊組成。RS232模塊接收由PC傳輸的數據。輸入選擇模塊選擇影像來源或影像處理的模式。SD記憶卡模塊是從SD記憶卡中讀出圖像以及OV7670模塊是從OV7670相機中讀出圖像。輸出選擇模塊決定了影像輸出來源。實驗結果顯示我們的系統能於攝影機與SD記憶卡之間切換影像輸入模式並能成功執行影像的彩色-黑白轉換、二值化與反值運算。
This thesis implements an image access and processing system on FPGA. The proposed system can capture images either through the OV7670 camera or read out through the SD memory card and display them on a VGA monitor. The OV7670 is a small, low-voltage camera that provides images resolution 640×480 at 30 frames per second. The SD memory card is an inexpensive, high-capacity, portable storage device. Through the RS232 interface, a user can send signals from the PC to the FPGA to determine the image sources and the mode of image processing.
The FPGA implementation of our system consists of RS232 module, input selection module, SD memory card module, OV7670 module and output selection module. The RS232 module receives the data transmitted by the PC. The input selection module selects the image sources or the mode of image processing. The SD memory card module reads out the image from the SD memory card and the OV7670 module reads the image from the OV7670 camera. The output selection module determines image output sources. The experimental results show that our system can switch inputting images between camera and SD memory card and perform conversion between color and grayscale, thresholding and inversing for images successfully.
[1] D. G. Bailey, Design for Embedded Image Processing on FPGAs. Singapore, SG: John Wiley & Sons (Asia), 2011, pp. 21-25, 234-248, 352-359.
[2] U. Farooq, Z. Marrakchi, and H. Mehrez, "FPGA architectures: An overview," Tree-based heterogeneous FPGA architectures, pp. 7-48, 2012.
[3] N. Einspruch, Application specific integrated circuit (ASIC) technology. Academic Press, 2012.
[4] S. Zhang, "Real Time Image Processing on FPGAs," University of Liverpool, 2018.
[5] P. Wilson, Design recipes for FPGAs: using Verilog and VHDL. Newnes, 2015.
[6] OmniVision, OV7670 datasheet: OmniVision, 2005.
[7] S. C. Association, "SD Specifications Part 1 Physical Layer Simplified Specification, Version 8.00," 2020.
[8] G. M. Ujjan, A. Malik, S. Ahmed, and M. Z. Abdullah, "Implementation of 4-Bit Data Transmission for Accessing SD Card with FPGA Embedded Soft Processor," in Proceedings of the 2019 4th International Conference on Intelligent Information Technology, 2019, pp. 67-72.
[9] D. C. Costache, L. A. Perişoară, and A. Florescu, "FPGA Implementation of a SD Card Controller using SPI communication," in 2020 12th International Conference on Electronics, Computers and Artificial Intelligence (ECAI), 2020: IEEE, pp. 1-4.
[10] Terasic Technology Inc., "DE2-115 User Manual": Terasic Technology Inc., 2012.
[11] Alientek. "SD card picture display experiment (VGA display)." Alientek. https://www.amobbs.com/thread-5715729-1-1.html, 2019.
[12] G. Wang, Y. Guan, and Y. Zhang, "Designing of VGA character string display module based on FPGA," in 2009 International Symposium on Intelligent Ubiquitous Computing and Education, 2009: IEEE, pp. 499-502.
[13] MESS Lab. "OV7670 CMOS camera." MESS Lab. http://www.dejazzer.com/eigenpi/digital_camera/digital_camera.html, 2015.