skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Two Strategies to Speed up Connected Component LabelingAlgorithms

Journal Article · · Pattern Analysis Application
OSTI ID:929013

This paper presents two new strategies to speed up connectedcomponent labeling algorithms. The first strategy employs a decisiontreeto minimize the work performed in the scanning phase of connectedcomponent labeling algorithms. The second strategy uses a simplifiedunion-find data structure to represent the equivalence information amongthe labels. For 8-connected components in atwo-dimensional (2D) image,the first strategy reduces the number of neighboring pixels visited from4 to7/3 on average. In various tests, using a decision tree decreases thescanning time by a factor of about 2. The second strategy uses a compactrepresentation of the union-find data structure. This strategysignificantly speeds up the labeling algorithms. We prove analyticallythat a labeling algorithm with our simplified union-find structure hasthe same optimal theoretical time complexity as do the best labelingalgorithms. By extensive experimental measurements, we confirm theexpected performance characteristics of the new labeling algorithms anddemonstrate that they are faster than other optimal labelingalgorithms.

Research Organization:
Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)
Sponsoring Organization:
USDOE Director. Office of Science. Advanced ScientificComputing Research
DOE Contract Number:
DE-AC02-05CH11231
OSTI ID:
929013
Report Number(s):
LBNL-59102; R&D Project: 429201; BnR: KJ0101030; TRN: US200811%%475
Journal Information:
Pattern Analysis Application, Vol. 0, Issue 0; Related Information: Journal Publication Date: 12/23/2007
Country of Publication:
United States
Language:
English