Optimizing two-pass connected-component labeling algorithms

被引:0
|
作者
Kesheng Wu
Ekow Otoo
Kenji Suzuki
机构
[1] University of California,Lawrence Berkeley National Laboratory
[2] The University of Chicago,Department of Radiology
来源
关键词
Connected-component labeling; Optimization; Union-find algorithm; Decision tree; Equivalence relation;
D O I
暂无
中图分类号
学科分类号
摘要
We present two optimization strategies to improve connected-component labeling algorithms. Taking together, they form an efficient two-pass labeling algorithm that is fast and theoretically optimal. The first optimization strategy reduces the number of neighboring pixels accessed through the use of a decision tree, and the second one streamlines the union-find algorithms used to track equivalent labels. We show that the first strategy reduces the average number of neighbors accessed by a factor of about 2. We prove our streamlined union-find algorithms have the same theoretical optimality as the more sophisticated ones in literature. This result generalizes an earlier one on using union-find in labeling algorithms by Fiorio and Gustedt (Theor Comput Sci 154(2):165–181, 1996). In tests, the new union-find algorithms improve a labeling algorithm by a factor of 4 or more. Through analyses and experiments, we demonstrate that our new two-pass labeling algorithm scales linearly with the number of pixels in the image, which is optimal in computational complexity theory. Furthermore, the new labeling algorithm outperforms the published labeling algorithms irrespective of test platforms. In comparing with the fastest known labeling algorithm for two-dimensional (2D) binary images called contour tracing algorithm, our new labeling algorithm is up to ten times faster than the contour tracing program distributed by the original authors.
引用
收藏
页码:117 / 135
页数:18
相关论文
共 50 条
  • [21] A fast algorithm for integrating connected-component labeling and euler number computation
    Lifeng He
    Bin Yao
    Xiao Zhao
    Yun Yang
    Zhenghao Shi
    Hideto Kasuya
    Yuyan Chao
    [J]. Journal of Real-Time Image Processing, 2018, 15 : 709 - 723
  • [22] A GENERAL-APPROACH TO CONNECTED-COMPONENT LABELING FOR ARBITRARY IMAGE REPRESENTATIONS
    DILLENCOURT, MB
    SAMET, H
    TAMMINEN, M
    [J]. JOURNAL OF THE ACM, 1992, 39 (02) : 253 - 280
  • [23] A fast algorithm for integrating connected-component labeling and euler number computation
    He, Lifeng
    Yao, Bin
    Zhao, Xiao
    Yang, Yun
    Shi, Zhenghao
    Kasuya, Hideto
    Chao, Yuyan
    [J]. JOURNAL OF REAL-TIME IMAGE PROCESSING, 2018, 15 (04) : 709 - 723
  • [24] An Efficient Connected-Component Labeling Algorithm for 3-D Binary Images
    Zhao, Xiao
    Chao, Yuyan
    Zhang, Hui
    Yao, Bin
    He, Lifeng
    [J]. IEEE OPEN JOURNAL OF THE COMPUTER SOCIETY, 2023, 4 : 1 - 12
  • [25] Connected-Component Stereo Aggregation
    Oon-Ee, Ng
    Ganapathy, Velappa
    Ponnambalam, S. G.
    [J]. PROCEEDINGS OF THE 2010 IEEE ASIA PACIFIC CONFERENCE ON CIRCUIT AND SYSTEM (APCCAS), 2010, : 348 - 351
  • [26] Parallel algorithms for connected-component problems of gray-scale images
    Fujiwara, Akihiro
    Masuzawa, Toshimitsu
    Fujiwara, Hideo
    [J]. Systems and Computers in Japan, 1997, 28 (01): : 74 - 86
  • [27] A Fast Connected-Component Labeling Algorithm for Robot Vision Based on Prior Knowledge
    Liu, Jun
    Lu, Guang
    Tao, Binbin
    Chen, Fang
    Gao, Haitao
    Zhang, Zhisheng
    [J]. INTELLIGENT ROBOTICS AND APPLICATIONS, PROCEEDINGS, 2009, 5928 : 856 - 865
  • [28] Linear-time connected-component labeling based on sequential local operations
    Suzuki, K
    Horiba, I
    Sugie, N
    [J]. COMPUTER VISION AND IMAGE UNDERSTANDING, 2003, 89 (01) : 1 - 23
  • [29] An Efficient Method for Connected-Component Labeling in 3D Binary Images
    Zhao Xiao
    He Lifeng
    Wang Yongchao
    Chao Yuyan
    Yao Bin
    Hideto, Kasuya
    Atsushi, Ohta
    [J]. 2018 INTERNATIONAL CONFERENCE ON ROBOTS & INTELLIGENT SYSTEM (ICRIS 2018), 2018, : 131 - 133
  • [30] Algorithms for Connected Component Labeling Based on Quadtrees
    Aizawa, Kunio
    Tanaka, Shojiro
    Motomura, Koyo
    Kadowaki, Ryosuke
    [J]. INTERNATIONAL JOURNAL OF IMAGING SYSTEMS AND TECHNOLOGY, 2009, 19 (02) : 158 - 166