Abstract
This article introduces two fast algorithms for connected component Labeling of binary images, a peculiar case of coloring. The first one, Selkow DT is pixel-based and a Selkow’s algorithm combined with the decision tree optimization technique. The second one called light speed labeling is segment-based line-relative labeling and was especially thought for commodity RISC architectures. An extensive benchmark on both structured and unstructured images substantiates that these two algorithms, the way they were designed, run faster than Wu’s algorithm claimed to be the world fastest in 2007. Also they both show greater data independency hence runtime predictability.
Similar content being viewed by others
References
Adam, P., Burg, B., Zavidovique, B.: Dynamic programming for region based pattern recognition, ICASSP, pp. 2075–2078 (1986)
Alnuweiri, H.M., Prasanna, V.K.: Parallel architecture and algorithms for image component labeling. IEEE Trans. Pattern Anal. Mach. Intell. 14, 10 (1992)
Bajon, J., Cattoen, M., Kim, S.D.: A concavity characterization method for digital objects. Signal Process. 9(3), 151–161 (1985)
Blelloch, G.E.: Vector Models for Data-Parallel Computing. MIT Press, Cambridge (1990)
Chang F., Chen, C.: A linear-time component-labeling algorithm using contour tracing technique. Comput. Vis. Image Underst. 93, 206–220 (2004)
Chassery, J.M., Montanvert, A.: Géometrie discrète en analyse d’image, Traité des Nouvelles technologies, Hermes, pp. 200–214 (1991). ISBN 2-86601-271-2.
Cormen, T.H., Leiseirson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms, Chap. #21, pp. 498-522. MIT Press, Cambridge (2001). ISBN 0-262-03293-7
Di Stefano, L.: A simple and efficient connected component labeling algorithm. In: ICIAP 1999, pp. 322–327 (1999)
Gouiffès, M., Zavidovique, B.: A color topographic map based on the dichromatic reflectance model. EURASIP J. Image Video Process. 2008(824195), 14. doi:10.1155/2008/824195
Guichard, F., Bouchafa, S., Aubert, D.: A change detector based on level sets. In: International Symposium on Mathematical Morphology ISMM 2000, Palo Alto, pp. 321–330 (2000)
Haralick, R.M., Shapiro, L.G.: Computer and Robot Vision, vol. 1, pp. 31–48. Addison-Wesley, Reading (1992). ISBN 0-201-56943-4
He, L., Chao, Y., Suzuki, K.: A run-based two-scan labeling algorithm. In: ICIAR 2007. LNCS, vol. 4633, pp. 131–142 (2007)
Lacassagne, L., Milgram, M., Garda, P.: Motion detection, labeling, data association and tracking in real-time on RISC computer. In: ICIAP 1999, pp. 520–525 (1999)
Lacassagne, L.: Détection de mouvement et suivi d’objets en temps réel, Paris6 University thesis, France (2000)
Images data base used for benchmarking: http://www.ief.u-psud.fr/~lacas/Download/LSL/LSL.html
Lamaty, P., Demigny, D.: Opérateur matériel d’étiquetage de régions temps reel et flot de données. GRETSI (1999). http://hdl.handle.net/2042/13059
Lumia, R., Shapiro, L., Zungia, O.: A new connected components algorithms for virtual memory computers. Comput. Vis. Graph. Image Process. 22(2), 287–300 (1983)
Paragios, N., Deriche, R.: Geodesic active regions and level set methods for motion estimation and tracking. Comput. Vis. Image Underst. 97(3), 259–282 (2005)
Perroton, L.: Segmentation parallèle d’image volumique, LIP thesis. ENS Lyon, France (1994)
Press, W.H., Teukolsky, S.A., Vetterling, W.T., Flannery, B.P.: Numerical Recipes in C. The Art of Scientific Computing, 2nd edn, Chap. 1, pp. 20–23. Cambridge Press, London
Otsu, N.: A threshold selection method from gray-level histograms. IEEE Trans. Syst. Man Cybern. 9, 62–66
Ronse, C., Dejvijver, P.A.: Connected Components in Binary Images: the Detection Problems. Research Studies Press, Letchworth (1984)
Rosenfeld, A., Platz, J.L.: Sequential operator in digital pictures processing, J. ACM 13(4), 471–494 (1966)
Selkow, S.M.: One pass complexity analysis of digital pictures properties. J. ACM 19(2), 283–295 (1972)
Shima, Y., Murakami, T., Koga, M., Yashiro, H., Fujisawa, H.: A high speed algorithm for propagation-type labeling based on block sorting of runs in binary images. In: ICPR 1990, pp. 655–658 (1990)
Soille, P.: Morphological Image Analysis Principles and applications, 2nd edn, p. 38. Springer, Berlin (1999). ISBN 3-540-42988-3
Suzuki, K., Horiba, I., Sugie, N.: Linear-time connected component labeling based on sequential local operations. Comput. Vis. Image Underst. 89(1), 1–23 (2003)
Wu, K., Otoo, E., Shoshani, A.: Optimizing connected component labeling algorithms. Pattern Anal. Appl. 11 (2008). doi:10.1007/s10044-008-0109-y
Yang, Y., Zhang, D.: A novel line scan clustering algorithm for identifying connected components in digital images. Image Vis. Comput. (2003). doi:10.1016/S0662-8856(03)00015-5:
Zavidovique, B., Sérot, J., Quénot, G.: Massively parallel dataflow computer dedicated to real time image processing. In: ICAE 1997, pp. 9–29 (1997)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Lacassagne, L., Zavidovique, B. Light speed labeling: efficient connected component labeling on RISC architectures. J Real-Time Image Proc 6, 117–135 (2011). https://doi.org/10.1007/s11554-009-0134-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11554-009-0134-0