| Literature DB >> 28146101 |
Jungang Guan1, Fengwei An2, Xiangyu Zhang3, Lei Chen4, Hans Jürgen Mattausch5.
Abstract
The Hough Transform (HT) is a method for extracting straight lines from an edge image. The main limitations of the HT for usage in actual applications are computation time and storage requirements. This paper reports a hardware architecture for HT implementation on a Field Programmable Gate Array (FPGA) with parallelized voting procedure. The 2-dimensional accumulator array, namely the Hough space in parametric form (ρ, θ), for computing the strength of each line by a voting mechanism is mapped on a 1-dimensional array with regular increments of θ. Then, this Hough space is divided into a number of parallel parts. The computation of (ρ, θ) for the edge pixels and the voting procedure for straight-line determination are therefore executable in parallel. In addition, a synchronized initialization for the Hough space further increases the speed of straight-line detection, so that XGA video processing becomes possible. The designed prototype system has been synthesized on a DE4 platform with a Stratix-IV FPGA device. In the application of road-lane detection, the average processing speed of this HT implementation is 5.4ms per XGA-frame at 200 MHz working frequency.Entities:
Keywords: 1-dimensional Hough space; Hough Transform; synchronized initialization; video-based straight lines detection
Year: 2017 PMID: 28146101 PMCID: PMC5336043 DOI: 10.3390/s17020270
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Example of the look-up-table (LUT) for .
Figure 2Hardware implementation for ρ and θ computation with n-fold parallelism.
Figure 3One of the parallel modules for implementing the Hough space by dual-port memory with a pipelined voting procedure.
Figure 4Mapping of 2-dimensional Hough space with (ρ, θ) into 1-dimensional memories.
Figure 5Dual-clock scheme with dual-write processing mode.
Figure 6Prototype system for Hough transform (HT)-based straight-line detection.
Figure 7Prototype system for straight-line detection in video inputs.
Figure 8Analysis of the proportion of edge pixels in a highway video.
Comparison results for straight-line-detection speeds.
| [ | [ | This Work | |
|---|---|---|---|
| Working frequency | 200 MHz | 200 MHz | 200 MHz |
| Image resolution | 1024 × 768 | 512 × 512 | 1024 × 768 |
| Processing speed (ms/frame) | 15.59 | 2.07–3.61 | 5.4 |
| Normalized speed (ns/pixel) | 19.8 | 10.8 | 6.8 |
Hardware resource usage of each module in the prototype system for line detection.
| Pre-Processing | HT | Line Drawing | Clock | |
|---|---|---|---|---|
| Logic elements | 887 | 850 | 788 | 131 |
| Registers | 551 | 645 | 166 | 97 |
| Memory (bit) | 51,490 | 1,513,712 | 38,848 | 0 |
| DSP block | 24 | 8 | 16 | 0 |
| Total PLLs | 0 | 0 | 0 | 1 |
The Hough space occupies 1,267,200 bits; the LUT storage units for sin θ and cos θ take 5400 bits; the (x, y) coordinate FIFO spends 180,224 bits; the memory to store the (ρ, θ) pairs for line drawing uses 60,888 bits.
Comparison of hardware-resource usage to previous straight-line detection systems using the Hough Transform.
| [ | [ | This Work | |
|---|---|---|---|
| Combinational ALUTs | 15,704 | 855 | 2656 (850) |
| Registers | 13,727 | 421 | 1459 (645) |
| On-chip Memory (bit) | 3,052,544 | 233,360 | 1,604,050 |
| Off-chip Memory (bit) | 0 | 3,270,032 | 0 |
| Multiplier | 8 | 0 | 16 |