Parallel Algorithm for Connected-Component Analysis Using CUDA
Open Access
- 1 February 2023
- journal article
- research article
- Published by MDPI AG in Algorithms
- Vol. 16 (2) , 80
Abstract
In this article, we introduce a parallel algorithm for connected-component analysis (CCA) on GPUs which drastically reduces the volume of data to transfer from GPU to the host. CCA algorithms targeting GPUs typically store the extracted features in arrays large enough to potentially hold the maximum possible number of objects for the given image size. Transferring these large arrays to the host requires large portions of the overall execution time. Therefore, we propose an algorithm which uses a CUDA kernel to merge trees of connected component feature structs. During the tree merging, various connected-component properties, such as total area, centroid and bounding box, are extracted and accumulated. The tree structure then enables us to only transfer features of valid objects to the host for further processing or storing. Our benchmarks show that this implementation significantly reduces memory transfer volume for processing results on the host whilst maintaining similar performance to state-of-the-art CCA algorithms.Keywords
Funding Information
- Deutsche Forschungsgemeinschaft (HA 3088/26-1)
This publication has 19 references indexed in Scilit:
- A New Algorithm for Parallel Connected-Component Labelling on GPUsIEEE Transactions on Parallel and Distributed Systems, 2018
- Rapid data processing for ultrafast X-ray computed tomography using scalable and modular CUDA based pipelinesComputer Physics Communications, 2017
- Real-time embedded system for traffic sign recognition based on ZedBoardJournal of Real-Time Image Processing, 2017
- Parallel Light Speed Labeling: an efficient connected component algorithm for labeling and analysis on multi-core processorsJournal of Real-Time Image Processing, 2016
- Automatic segmentation, counting, size determination and classification of white blood cellsMeasurement, 2014
- GPU accelerated one-pass algorithm for computing minimal rectangles of connected components2011
- Ultra fast electron beam X-ray computed tomography for two-phase flow measurementNuclear Engineering and Design, 2010
- Light speed labeling: efficient connected component labeling on RISC architecturesJournal of Real-Time Image Processing, 2009
- A sequential approach to the extraction of shape featuresComputer Graphics and Image Processing, 1977
- Sequential Operations in Digital Picture ProcessingJournal of the ACM, 1966