The Journal of The Institute of Image Information and Television Engineers
Online ISSN : 1881-6908
Print ISSN : 1342-6907
ISSN-L : 1342-6907
A High-Speed Run-Based Two-Scan Labeling Algorithm
Lifeng HeYuyan ChaoKenji SuzukiTsuyosi NakamuraHidenori Itoh
Author information
JOURNAL FREE ACCESS

2008 Volume 62 Issue 9 Pages 1461-1465

Details
Abstract
This paper presents a run-based two-scan algorithm for labeling connected components in a binary image. Un-like conventional two-scan labeling algorithms which resolve label equivalences by processing pixels one by one, our algorithm resolves label equivalences by processing runs one by one. At any time, all provisional labels that are assigned to a connected component are combined in a set, and the smallest label is used as their representative label. The corresponding relation of a provisional label and its representative label are recorded in a table. Whenever different components are found to be connected, all provisional label sets related to these connected components are merged together, and the smallest provisional label is considered to be the representative label. When the first scan is finished, all provisional labels that were assigned to each connected component in the given image will have a unique representative label. During the second scan, we need only to replace each provisional label with its representative label. Experimental results on various types of images demonstrated that our algorithm outperforms all conventional labeling algorithms.
Content from these authors
© 2008 The Institute of Image Information and Television Engineers
Previous article Next article
feedback
Top