A Hardware Algorithm for Euclidean Distance Transform Based on Binary Images

Author
WuSong
Advisor
ZengPeiFeng
School
Donghua University
Major
Control Theory and Control Engineering
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2004
Downloads
94
Citations
0

Request the full text

Abstract

Distance transform can find many applications in the research of image processing, pattern recognition, robotics and morphologic etc. Euclidean distance transform is one of most useful distance transform algorithms. It defines the distance of the line between two points in the space. The fast progress of multimedia technology and image processing pushes the research in algorithms for distance transform into a further level.In this paper, the principle of Euclidean distance transform based on binary images was demonstrated in detail, and it also introduced the implementation schemes and calculation capabilities of those algorithms for Euclidean distance transform which are known. With focus on the practical application, we took some reforms in this paper to implement the distance transform algorithm based on the advantages of previous researches.Firstly, we changed the implementation scheme, which is oriented on software for Euclidean distance transform, to an easy design of hardware with the calculationcomplexity of o(n2). Secondly, in our design, by using "in-place" calculation, theintermediate data and the result output can use the same memory.This reduces the number of memory in order to improve the scale of the circuit. Also, we use fast and small size components such as adders and comparators to implement the function of multipliers so as to speed up the calculation. Finally, with the step-by-step scheme, we implemented the fast hardware algorithm for Euclidean distance transform based on two-dimension images.Our design, compared with previous schemes, has these following advantages: (1) the calculation speed was accelerated from o(n3) to o(n2) , this make theimplementation of Euclidean distance transform possible. (2) by using the "in-place" calculation and replacing the complex components, the size of the circuit was greatlyreduced, these reforms also optimized the algorithm and added its possibilities for practical application.As a research trial for this thesis, we designed a real circuit based on CPLD (Complex Programmable Logic Device) by VHDL (Very high speed integrated circuit Hardware Description L anguage) for the hardware algorithm for Euclidean distance transform with multilayer design method, called top-to-down. In order to examine the feasibility and practicality of this algorithm, we use the EDA implement "MAX + Plusl0.0" of Altera Company to execute the logic compiling, time analyzing and simulating for the designed circuit.

Table of contents

Introduction 12-14 a distance conversion Overview 14-21 1.1 Overview 14 1.2 distance definition 14-17 1.2.1 Euclidean distance is defined 14-15 1.2.2 from the definition 15-17 130 binary images of the basis of knowledge 17-19 1.3.1 threshold binarization 17-18 1.3.2 Neighborhood and distance chart 18-19 1.4 based on the binary image, Euclidean distance 19-20 1.5 Summary 20-21 Chapter 2 Euclidean distance conversion hardware realization of the principle 21-30 2.1 based on the binary image, Euclidean distance transform, 21-22 2.2 linear step-by-step calculation program 22-24 2.3 one-dimensional column distance calculation 24-25 2.4 two-dimensional Euclidean distance calculation 25-26 2.5 two-dimensional distance calculation method improvements 26-29 2.6 Summary 29-30 Chapter 3 of the Euclidean distance transform hardware implementations analysis 30-48 3.1 T1 implementations analysis 30-36 3.1.1 forward scanning 30-32 3.1.2 reverse scan 32-33 3.1.3 Data input unit 33-34 3.1.4 address control unit 34-35 3.1.5 Data storage unit 35-36 3.2 the T2 implementation analysis 36-46 3.2.1 intersection stack method 37-39 3.2.1.1 intersection stack France is principle 37-39 <br / > 3.2.1.2 Performance Analysis of the intersection of the stack method 39 3.2.2 contraction queue France 39-43 3.2.2.1 contraction of the principle of the law of the queue is 39 -42 3.2.2.2 contraction of the performance analysis of the queue law 42-43 3.2.3 Addition recursive method 43-46 3.2.3.1 adder recursion is law principle 43-45 3.2.3.2 additive performance analysis of the recursive method is 45-46 3.3 circuit overall program 46-47 <br / > 3.4 Summary 47-48 Chapter 4 of the Euclidean distance conversion hardware to achieve 48-55 4.1 T1 circuits constitute 48-49 < br /> 4.1.1 circuit schematic 48-49 4.1.2 circuits is description 49 4.2 T1 circuit calculation 49-51 <br / 4.2.1 forward scanning process 49-50 4.2.2 reverse the scanning process 50-51 4.3 the T2 circuit constitutes a 51-53 < br /> 4.3.1 circuit schematic 52 4.3.2 circuit description 52-53 4.4 T2 circuit calculation process 53-54 <br / 4.5 Summary 54-55 Chapter 5, the circuit scale and computational complexity analysis 55-61 5.1 circuit scale 55-57 5.1.1 T1 circuit components and the number of 55-56 5.1.2 the T2 circuit components and the number of 56 5.1.3 circuits is the total size of 56-57 5.2 computational complexity analysis 57-60 5.2.1 T1 circuits computing time 57-58 5.2.2 the T2 circuit computing time 58-59 5.2.3 circuits is the total computing time 59-60 5.3 Summary 60-61 Chapter 6, circuit simulation and The results 61-72 6.1 Overview 61 6.2 Hardware Description Language Profile 61-63 6.2.1 Hardware Description Language Features 61-62 6.2.2 VHDL language and its development environment 62-63 6.3 T1 circuit design and simulation 63-67 6.3.1 T1 circuit design 63-65 6.3.2 T1 circuit logic synthesis and timing verification 65-67 6.3.3 T1 circuits delay analysis 67 6.4 T2 circuit design and simulation 67-71 6.4.1 T2 circuit design 68 6.4.2 T2 circuit logic synthesis and timing verification 68-70 6.4.3 T2 circuit delay analysis 70-71 6.5 Summary 71-72 Chapter 7 Conclusions 72-74 References 74-77 Appendix A 77-89 Appendix B 89-92 graduate students during the study period Papers published table of 92-93 thank 93

Related dissertations

  1. The research and design of CAN bus controller based on FPGA
    ZhaoCheng ·Yangzhou University ·2013 ·Master's thesis
  2. The Research of Scence Matching Algorithm Based on Visible Light Image and Infrared Image
    MaLiLi ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. The Research on Techniques of Feature Extraction for Hepatic CT Images and Its Application in Retrieval
    YuMei ·Southern Medical University, ·2012 ·Doctoral dissertation
  4. Research on Color Enhancement of the Low-contrast Microscopic Image
    ZhuMeiJiao ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  5. Parallel Compile Analysis of Ladder Diagram and It’s Implementation on FPGA Platform
  6. Chaotic Encryption System Research Based on FPGA
    CaiPengFei ·Tianjin University of Technology ·2013 ·Master's thesis
  7. The Design and Implementation of Data Collection System Based on Flash Array
    WangXiaoSheng ·University of North ·2014 ·Master's thesis
  8. Sensitivity Analysis for Processor Based on VHDL Fault Injection
    WuZhenPing ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Design and Implementation of32-bit RISC Microprocessor Based on FPGA
    ZhengYongGui ·Hebei University of Technology ·2012 ·Master's thesis
  10. Research on a Doppler Weather Radar Signal Processing
    LuXiaoJia ·Anhui University ·2014 ·Master's thesis
  11. Design and Research Of Digital Audio Processing System Based on NiosⅡ
    SongNing ·Lanzhou Jiaotong University ·2013 ·Master's thesis
  12. A Based on the Maximum Likelihood Algorithm of Symbol Synchronization and Demoduation of CPM Singal
  13. High Frequency High Precision Digital Phase Shifting Generator Based on FPGA
    HuangJun ·Zhejiang Normal University ·2013 ·Master's thesis
  14. Design of Metro Automatic Ticket Machine System Based on FPGA
  15. Neural Network Algorithm to Implement Based on FPGA
  16. Research on Quasi-circular Color Image Segmentation Technology
    LiZhiWei ·Nanchang University ·2012 ·Master's thesis
  17. The Research of the Detection System of the Three Linear Image Sensorn Based on the FPGA
    FanPing ·Wuhan University of Technology ·2012 ·Master's thesis
  18. The Design and Implementation of Lung Parenchyma Segmentation and Tube Path Extraction Algorithms
    WangZhenDong ·Northeastern University ·2010 ·Master's thesis
  19. Analysis of Composite Material Image Using Varying-weight Distance
    ZhangYu ·Ocean University of China ·2012 ·Master's thesis
  20. Study on Segmentation of Clustering Cell Image Based on Contour Tracing
    ZhouPeng ·Hunan Normal University ·2012 ·Master's thesis