A Fast Labeling Algorithm of Connected Components Applicable for Hardware Implementation

被引:2
|
作者
Zhang G. [1 ]
Xu K. [1 ]
Duan G. [1 ]
Zhao C. [1 ]
Liang F. [1 ]
机构
[1] School of Electronic and Information Engineering, Xi'an Jiaotong University, Xi'an
来源
Zhang, Guohe | 2018年 / Xi'an Jiaotong University卷 / 52期
关键词
Binary image; Connected components labeling; Hardware; Image processing;
D O I
10.7652/xjtuxb201808015
中图分类号
学科分类号
摘要
A fast labeling algorithm of connected components applicable for hardware implementation is proposed for feature extraction and selection that are commonly used in pattern recognition, computer vision and image processing. First, row scanning is performed to determine consecutive foreground pixels in the same row, i.e., runs, and to record the start and end coordinates of the runs. Then, the run labels and the equivalent run pairs are merged, and temporary values are assigned to these labeled runs according to the connection conditions. Finally, runs of the last row is scanned to determine whether the run of the last row is really over by detecting the corresponding flag bit if it is really finished, and the information of finished region is output, otherwise the next row is scanned. Experiments using different binary images and comparisons with the performance of existing algorithms show that the proposed algorithm has obvious advantages in speed and resource requirements. The average frame rate of image processing speed reaches up to 20 frames/s, and the algorithm requires about 3.45 Mbit on-chip memory resource for an image with a resolution of 2 048×1 536 pixels, which is only 21.9% and 7.6% of the requirements of the block based decision table algorithm and the He algorithm, respectively. © 2018, Editorial Office of Journal of Xi'an Jiaotong University. All right reserved.
引用
收藏
页码:95 / 101
页数:6
相关论文
共 19 条
  • [1] Hugo H., Fredrik K., Viktor O., Implementation of a labeling algorithm based on contour tracing with feature extraction, Proceedings of IEEE International Symposium on Circuits and Systems, pp. 1101-1104, (2007)
  • [2] Ayman A., Rami Q., Stan I., Et al., One scan connected component labeling technique, Proceedings of 2007 IEEE International Conference on Signal Processing and Communications, pp. 1283-1286, (2007)
  • [3] Wang K., Shi L., Design and implementation of fast connected region marking algorithm based on FPGA, Computer Engineering and Applications, 52, 18, pp. 192-198, (2016)
  • [4] Rosenfeld A., Sequential operations in digital picture processing, Journal of the ACM, 13, 4, pp. 471-494, (1966)
  • [5] Chang F., Chen C., Lu C., A linear-time component-labeling algorithm using contour tracing technique, Computer Vision and Image Understanding, 93, 2, pp. 741-745, (2004)
  • [6] He L., Chao Y., Suzuki K., A run-based two-scan labeling algorithm, IEEE Transactions on Image Processing, 17, 5, pp. 749-756, (2008)
  • [7] He L., Chao Y., Suzuki K., Et al., Linear-time two-scan labeling algorithm, Proceedings of the IEEE International Conference on Image Processing, pp. 241-244, (2007)
  • [8] He L., Chao Y., Suzuki K., Et al., Fast connected-component labeling, Pattern Recognition, 42, 9, pp. 1977-1987, (2009)
  • [9] Costantino G., Daniele B., Rita C., Optimized block-based connected components labeling with decision trees, IEEE Transactions on Image Processing, 19, 6, pp. 1596-1609, (2010)
  • [10] Kofi A., Andrew H., Patrick D., Et al., A run-length based connected component algorithm for FPGA implementation, Proceedings of the International Conference on Field-Programmable Technology, pp. 177-184, (2008)