簡易檢索 / 詳目顯示

研究生: 林奕諴
Yi-hsien Lin
論文名稱: 文件斜角偵測演算處理器之軟/硬整合設計與實現
Hardware/Software Co-design and Implementation of an Algorithmic Processor for Document Skew Detection
指導教授: 吳乾彌
Chen-Mie Mu
口試委員: 陳省隆
Hsing-Lung Chen
陳郁堂
Yie-Tarng Chen
陳漢宗
Hann-Trong Chen
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2010
畢業學年度: 98
語文別: 中文
論文頁數: 110
中文關鍵詞: 傾斜角度偵測
外文關鍵詞: Skew Detection
相關次數: 點閱:139下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本論文係有關角度偵測演算處理器之軟/硬體整合設計與驗證,相關研究工作包含四大部分:
    第一部份為各類型二値化文件影像角度偵測演算法之軟體設計,並在分析其優缺點後,為了改善角度偵測之正確性而發展出MICC-Projection演算法。
    第二部份為設計與實現MICC-Projection演算法之演算處理器,此處理器的設計包含MICC副處理器與Projection副處理器,並將其整合於SOPC系統中,再以Altera FPGA開發板實現之。
    第三部份是撰寫演算處理器之相關驅動程式,再使用RPC-based驗證系統來驗證其功能。
    第四部份是演算處理器之驗證、效能評估與執行效能。

    整體而言,本論文係以研究二値化文件影像角度偵測演算法與其硬體處理器之設計為目標,並將其實作於FPGA開發板上。經由各種不同的二値化文件影像實驗,證實本論文所發展的演算法有極佳的角度偵測效果;同時,其相關之軟/硬整合設計方法,亦可以改善演算處理器設計與驗證流程之效率。


    This thesis is related to the hardware/software co-design and verification of an algorithmic processor for skew detection. The research work includes four parts.
    The first part is about software design of the various skew detection algorithms for binary document images. After analyzing the advantages and disadvantages of these algorithms, the MICC-Projection algorithm is developed to improve the correctness of skew detection.
    The second part is to design and implement an algorithmic processor for the MICC-Projection algorithm which consists of MICC and projection sub-processors. The processor is integrated into an SOPC-based system and implemented on an Altera FPGA development board.
    The third part is to write the related drivers for the algorithmic processor. Then the function of the algorithmic processor is verified through using a RPC-based verification system.
    The fourth part is about the verification and evaluation of the run-time performance of the algorithmic processor.
    On the whole, the goal of this thesis is to do researches on the development of a skew detection algorithm for binary document images. Then the related algorithmic processor is developed and implemented on the FPGA development board. After being verified by using various binary document images, the algorithm developed in this thesis has shown very good performance for skew detection. Meanwhile, it also shows that the hardware/software co-design method presented can improve the efficiency of both the design and verification flows.

    第1章 緒論 1.1 研究背景與動機 1.2 研究內容相關架構 1.3 論文組織及概觀 第2章 文件斜角偵測演算處理器軟/硬整合設計之發展環境與驗證流程 2.1 SOPC-based軟/硬整合設計簡介 2.2 SOPC-based軟體發展環境 2.2.1 Linux 2.2.2 Cygwin 2.2.3 IDE 2.2.4 SDK Shell 2.3 SOPC-based 硬體發展環境 2.3.1 NIOS II 嵌入式系統 2.3.2 Quartus II SOPC發展系統 2.3.3 Altera Stratix II FPGA研發板 2.4 SOPC-based文件斜角偵測演算處理器驗證架構與開發流程 2.4.1 RPC-based文件斜角偵測演算處理器軟體驗證架構 2.4.2 RPC-based文件斜角偵測演算處理器硬體開發流程 第3章 文件斜角偵測演算法與Linux-based軟體設計 3.1 文件斜角偵測演算法之原理簡介 3.2 Linux-based文件斜角偵測演算法相關軟體設計 3.2.1 圖形資料儲存方式與資料格式 3.2.2 Linux-based軟體設計、結構與實現 3.3 文件斜角偵測演算法原理與軟體設計分析 3.3.1 Interline Cross-correlation演算法 3.3.2 Modified Interline Cross-correlation演算法 3.3.3 Projection Profile演算法 3.3.4 MICC-Projection演算法 3.4 圖形測試樣本簡介 3.5 文件斜角偵測演算法之實驗結果與比較 第4章 文件斜角偵測演算處理器硬體與NIOS II端驅動程式之設計 4.1 演算處理器硬體設計簡介 4.2 基本乘、除之硬體設計 4.2.1 Baugh-Wooley陣列乘法器 4.2.2 非回存式陣列除法器 4.3 內部記憶體之硬體設計 4.3.1 資料之儲存格式 4.3.2 記憶體之硬體設計 4.4 文件斜角偵測演算處理器硬體設計 4.4.1 管線式與非管線式處理器結構簡介 4.4.2 控制單元之硬體設計 4.4.3 MICC副處理器硬體設計 4.4.4 Projection副處理器硬體設計 4.5 文件斜角偵測演算處理器之軟/硬體介面設計 4.5.1 文件斜角偵測演算處理器控制/狀態暫存器之資料格式 4.5.2 NIOS II端驅動程式設計 第5章 文件斜角偵測演算處理器之驗證、效能評估與執行效能 5.1 驗證與測試環境簡介 5.2 圖形處理之驗證 5.2.1 文件斜角偵測演算處理器之軟/硬整合驗證 5.3 文件斜角偵測演算處理器之軟/硬體效能評估與測試 5.3.1 軟/硬體效能測試簡介 5.3.2 Linux端軟體執行效能 5.3.3 文件斜角偵測演算處理器之處理單元效能評估 5.3.4 軟/硬體執行效能之比較 第6章 結論 參考文獻

    [1] 陳鶴仁, SOPC-based演算處理器驗證系統之硬體設計, 國立台灣
    科技大學碩士學位論文, 民國九十五年。

    [2] 吳家豪, RPC-based演算處理器驗證系統之Linux端相關軟體設計, 國立台灣科技大學碩士學位論文, 民國九十五年。

    [3] 吳家豪, RPC-based演算處理器驗證系統之NIOS II 相關軟體設計, 國立台灣科技大學碩士學位論文, 民國九十五年。

    [4] 翁智賢,影像處理演算處理器之軟/硬體整合設計與實現,國立台灣科技大學碩士學位論文, 民國九十六年。

    [5] 黃寅修,邊界與邊角偵測演算處理器之軟/硬整合設計與實現,國立台灣科技大學碩士學位論文, 民國九十六年。

    [6] 許志豪,影像二值化演算處理器之軟/硬整合設計與實現,國立台
    灣科技大學碩士學位論文,民國九十八年。

    [7] Altera Corporation, Quartus II Handbook, 2005.

    [8] Altera Corporation, Avalon Bus Specification Reference Manual,2005.

    [9] A. Amin and S. Fischer, “A document skew detection method using
    the Hough transform,” Pattern Analysis & Applications, Volume 3, Number 3, September 2000.

    [10] Boiangiu Costin-Anton, Bogdan Raducanu, and Andrei-Cristian
    Spataru, “High-precision orientation and skew detection for texts in scanned documents,” ICCP 2009. Aug. 2009, pp.145-148.

    [11] C. R. Baugh and B. A. Wooley, “A two’s complement parallel array
    multiplication algorithm,” IEEE Trans. Comp., vol. C-22, no. 12,
    1973, pp. 1045–1047.

    [12] Ming Chen and Xiaoqing Ding,“ A robust skew detection algorithm
    for grayscale document image,” Document Analysis and Recogn-
    ition, ICDAR'99, 1999.

    [13]Michael D. Ciletti, Advanced Digital Design with the Verilog HDL,
    Prentice-Hall, 2003.

    [14]M. Hatamian and G. Cash, “A 70-MHz 8-bit x 8-bit parallel pipelin-
    ed multiplier in 2.5-um CMOS,” IEEE Journal of Solid-State Circuits,
    August 1986.

    [15]IEEE Standard 1364.1TM-2002, IEEE Standard for Verilog Register
    Transfer Level Synthesis.

    [16]Y. Ishitani, “Document skew detection based on local region comple-
    xity,” Document Analysis and Recognition, ICDAR ,1993, pp.49-52.

    [17]Zhiyong Ju and Guoqing Gu, "Algorithm of document skew detecti-
    on based on character vertices," Intelligent Information Technology
    Application, vol. 2, 2009, pp.23-26.

    [18]J. C. Majithia, “Nonrestoring binary division using a cellular array,”
    Electronics Letters, vol. 6, no. 10, May 1970, pp.303-304.

    [19]K. Jha. Niraj and Atul Ahuja, ”Easily testable nonrestoring and resto-
    ring gate-level cellular array dividers,” IEEE, 1993.
    [20]David A. Patterson and John L. Hennessy, Computer Organization &
    Design: the Hardware/Software Interface, 2nd ed., Morgan Kauf-
    mann, 2003.

    [21]Milan Sonka, Vaclav Hlavac, and Roger Boyle, Image Processing,A-
    nalysis, and Machine Vision, 2nd ed., PWS Publishing,1999.

    [22]Hong Yan, “Skew correction of document images using interline
    cross-correlation,” Graphical Models and Image Processing, vol.55, Nov. 1993, pp.538-543.

    QR CODE