马毅超, 陶亚凡, 吴龙胜, 洪鑫扬, 李寻, 何立风. 基于FPGA的二值图片连通区域标记算法[J]. 微电子学与计算机, 2017, 34(1): 119-122.
引用本文: 马毅超, 陶亚凡, 吴龙胜, 洪鑫扬, 李寻, 何立风. 基于FPGA的二值图片连通区域标记算法[J]. 微电子学与计算机, 2017, 34(1): 119-122.
MA Yi-chao, TAO Ya-fan, WU Long-sheng, HONG Xin-yang, LI Xun, HE Li-feng. FPGA-Based Binary Connected Component Detection and Labeling Algorithm[J]. Microelectronics & Computer, 2017, 34(1): 119-122.
Citation: MA Yi-chao, TAO Ya-fan, WU Long-sheng, HONG Xin-yang, LI Xun, HE Li-feng. FPGA-Based Binary Connected Component Detection and Labeling Algorithm[J]. Microelectronics & Computer, 2017, 34(1): 119-122.

基于FPGA的二值图片连通区域标记算法

FPGA-Based Binary Connected Component Detection and Labeling Algorithm

  • 摘要: 提出一种基于FPGA的二值图片连通区域标记算法, 每次提取9个像素信息, 充分利用FPGA的并行处理能力, 在一个时钟周期内完成9个像素的处理, 在对图像进行遍历的同时进行快速标记.最后搭成简单测试电路.在PC上将二值图片通过USB传输给FPGA, 然后FPGA将图片进行标记, 标记完成后将标记的图片和所用的时间返回PC.将实验结果与现有几种图像处理方式进行比较, 发现FPGA在处理图片能力与软件处理方式能力相当时, 主频、功耗远低于软件处理设备, 且成本低, 可以作为专用图像处理设备.

     

    Abstract: A FPGA-based binary connected component detection and labeling algorithm is proposed, which Extracting 9pixel information at one time, it makes full use of the parallel processing ability of FPGA, Complete 9pixel processing in one clock cycle and quickly marks the image while scans.Finally, build a simple test circuit, transmit the two values image to FPGA from PC, and then FPGA will mark the image.When the mark is finished, FPGA will return the marked image and the time it is used to PC.Comparing the experimental results with the existing image processing methods, it is found that the FPGA can be used as a special image processing equipment for it's low cost and main frequency, power consumption is much lower than Software processing equipment when the speed that FPGA processes images is equivalent with Software processing method.

     

/

返回文章
返回