An Improved Hybrid Approach to Parallel Connected Component Labeling using CUDA

  • Received : 2014.12.29
  • Accepted : 2015.02.02
  • Published : 2015.01.30

Abstract

In many image processing tasks, connected component labeling (CCL) is performed to extract regions of interest. CCL was usually done in a sequential fashion when image resolution was relatively low and there are small number of input channels. As image resolution gets higher up to HD or Full HD and as the number of input channels increases, sequential CCL is too time-consuming to be used in real time applications. To cope with this situation, parallel CCL framework was introduced where multiple cores are utilized simultaneously. Several parallel CCL methods have been proposed in the literature. Among them are NSZ label equivalence (NSZ-LE) method[1], modified 8 directional label selection (M8DLS) method[2], and HYBRID1 method[3]. Soh [3] showed that HYBRID1 outperforms NSZ-LE and M8DLS, and argued that HYBRID1 is by far the best. In this paper we propose an improved hybrid parallel CCL algorithm termed as HYBRID2 that hybridizes M8DLS with label backtracking (LB) and show that it runs around 20% faster than HYBRID1 for various kinds of images.

Keywords

References

  1. O. Kalentev, A. Rai, S. Kemnitz, and R. Schneider, "Connected component labeling on a 2D grid using CUDA", J. Parallel Distributed Computing vol. 71, pp. 615-620, 2011 https://doi.org/10.1016/j.jpdc.2010.10.012
  2. Y. Soh, H. Ashraf, Y. Hae and I. Kim, "Fast Parallel Connected component labeling Algorithm in CUDA based on 8-Directional Label Selection", International Journal of Latest Research in Science and Technology, pp. 187-190, 2014
  3. Y. Soh, H. Ashraf, Y. Hae and I. Kim, "A Hybrid Approach to Parallel Connected Component Labeling Using CUDA," International Journal of Signal Processing Systems, Vol. 1, No. 2, pp. 130-135, 2013
  4. A. Rosenfeld and A. Kak, Digital Picture Processing, Orlando: Academic Press, 1982
  5. R. Farber, CUDA Application Design and Development, Waltham: Elsevier, 2011
  6. F. Chang, C. Chen, and C. Lu, "A linear-time Component-labeling algorithm using contour tracing technique", Computer Vision and Image Understanding vol. 93 issue 2, pp. 206-220, 2004 https://doi.org/10.1016/j.cviu.2003.09.002
  7. K. Hawick, A. Leist, and D. Playne, "Parallel graph component labeling with GPUs and CUDA", Parallel Computing vol. 36 issue 12, 2010
  8. Y. Soh, H. Ashraf, Y. Hae and I. Kim," A Simple and Fast parallel Connected Component Labeling using CUDA", in Proceedings of International Conference on Computer Applications and Information Processing Technology, pp. 61-64, 2013.
  9. K. Wu, E. Otoo, and K. Suzuki, "Optimizing two-pass connected-component labeling algorithms", Pattern Analysis & Applications vol. 12 issue 2, pp. 117-135, 2009 https://doi.org/10.1007/s10044-008-0109-y
  10. K. Suzuki, I. Horiba, and N. Sugie, "Linear-time connected-component labeling based on sequential local operations", Computer Vision and Image Understanding vol. 89 issue 1, pp. 1-23, 2003 https://doi.org/10.1016/S1077-3142(02)00030-9