Optimized Block-Based Algorithms to Label Connected Components on GPUs

被引:31
|
作者
Allegretti, Stefano [1 ]
Bolelli, Federico [1 ]
Grana, Costantino [1 ]
机构
[1] Univ Modena & Reggio Emilia, Dipartimento Ingn Enzo Ferrari, I-41121 Modena, MO, Italy
关键词
Parallel processing; connected components labeling; GPU; CUDA;
D O I
10.1109/TPDS.2019.2934683
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Connected Components Labeling (CCL) is a crucial step of several image processing and computer vision pipelines. Many efficient sequential strategies exist, among which one of the most effective is the use of a block-based mask to drastically cut the number of memory accesses. In the last decade, aided by the fast development of Graphics Processing Units (GPUs), a lot of data parallel CCL algorithms have been proposed along with sequential ones. Applications that entirely run in GPU can benefit from parallel implementations of CCL that allow to avoid expensive memory transfers between host and device. In this paper, two new eight-connectivity CCL algorithms are proposed, namely Block-based Union Find (BUF) and Block-based Komura Equivalence (BKE). These algorithms optimize existing GPU solutions introducing a block-based approach. Extensions for three-dimensional datasets are also discussed. In order to produce a fair comparison with previously proposed alternatives, YACCLAB, a public CCL benchmarking framework, has been extended and made suitable for evaluating also GPU algorithms. Moreover, three-dimensional datasets have been added to its collection. Experimental results on real cases and synthetically generated datasets demonstrate the superiority of the new proposals with respect to state-of-the-art, both on 2D and 3D scenarios.
引用
收藏
页码:423 / 438
页数:16
相关论文
共 43 条
  • [1] A Block-Based Union-Find Algorithm to Label Connected Components on GPUs
    Allegretti, Stefano
    Bolelli, Federico
    Cancilla, Michele
    Grana, Costantino
    IMAGE ANALYSIS AND PROCESSING - ICIAP 2019, PT II, 2019, 11752 : 271 - 281
  • [2] FAST BLOCK-BASED ALGORITHMS FOR CONNECTED COMPONENTS LABELING
    Santiago, Diego J. C.
    Ren, Tsang Ing
    Cavalcanti, George D. C.
    Jyh, Tsang Ing
    2013 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2013, : 2084 - 2088
  • [3] Optimized Block-Based Connected Components Labeling With Decision Trees
    Grana, Costantino
    Borghesani, Daniele
    Cucchiara, Rita
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2010, 19 (06) : 1596 - 1609
  • [4] EFFICIENT 2x2 BLOCK-BASED CONNECTED COMPONENTS LABELING ALGORITHMS
    Santiago, Diego J. C.
    Ren, Tsang Ing
    Cavalcanti, George D. C.
    Jyh, Tsang Ing
    2015 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2015, : 4818 - 4822
  • [5] Fast Parallel Connected Components Algorithms on GPUs
    Cong, Guojing
    Muzio, Paul
    EURO-PAR 2014: PARALLEL PROCESSING WORKSHOPS, PT I, 2014, 8805 : 153 - 164
  • [6] Spaghetti Labeling: Directed Acyclic Graphs for Block-Based Connected Components Labeling
    Bolelli, Federico
    Allegretti, Stefano
    Baraldi, Lorenzo
    Grana, Costantino
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2020, 29 (01) : 1999 - 2012
  • [7] Optimizing GPU-Based Connected Components Labeling Algorithms
    Allegretti, Stefano
    Bolelli, Federico
    Cancilla, Michele
    Grana, Costantino
    2018 IEEE THIRD INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, APPLICATIONS AND SYSTEMS (IPAS), 2018, : 175 - 180
  • [8] Locality optimized unstructured mesh algorithms on GPUs
    Sulyok, Andras Attila
    Balogh, Gabor Daniel
    Reguly, Istvan Z.
    Mudalige, Gihan R.
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2019, 134 : 50 - 64
  • [9] Efficient decomposition of strongly connected components on GPUs
    Li, Guohui
    Zhu, Zhe
    Cong, Zhang
    Yang, Fumin
    JOURNAL OF SYSTEMS ARCHITECTURE, 2014, 60 (01) : 1 - 10
  • [10] TAMING VOTING ALGORITHMS ON GPUS FOR AN EFFICIENT CONNECTED COMPONENT ANALYSIS ALGORITHM
    Lemaitre, Florian
    Hennequin, Arthur
    Lacassagne, Lionel
    2021 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP 2021), 2021, : 7903 - 7907