Abstract
We describe a fast connected components labeling algorithm using a region coloring approach. It computes region attributes such as size, moments, and bounding boxes in a single pass through the image. Working in the context of real-time pupil detection for an eye tracking system, we compare the time performance of our algorithm with a contour tracing-based labeling approach and a region coloring method developed for a hardware eye detection system. We find that region attribute extraction performance exceeds that of these comparison methods. Further, labeling each pixel, which requires a second pass through the image, has comparable performance.
Similar content being viewed by others
References
Amir A., Zimet L., Sangiovanni-Vincentelli A., Kao S.: An embedded system for an eye-detection sensor. Comput. Vis. Image Underst. 98(1), 104–123 (2005)
Ballard D.H., Brown C.M.: Computer Vision. Prentice Hall, NJ (1982)
Chang F., Chen C.J., Lu C.J.: A linear-time component-labeling algorithm using contour tracing technique. Comput. Vis. Image Underst. 93(2), 206–220 (2004)
Dillencourt M.B., Samet H., Tamminen M.: A general approach to connected-component labeling for arbitrary image representations. J. ACM 39(2), 253–280 (1992)
Doyle J., Rivest R.L.: Linear expected time of a simple union-find algorithm. Inf. Proc. Lett. 5(5), 146–148 (1976)
Duchowski A.T.: Eye Tracking Methodology: Theory and Practice. Springer, New York (2001)
Ebisawa Y.: Improved video-based eye-gaze detection method. IEEE Trans. Inst. Meas. 47(4), 948–955 (1998)
Haralick R.M.: Real-Time Parallel Computing Image Analysis, chap. Some Neighborhood Operators, pp. 11–35. Plenum Press, New York (1981)
Hua H., Krishnaswamy P., Rolland J.P.: Video-based eyetracking methods and algorithms in head-mounted displays. Opt. Express 14(10), 4328–4350 (2006)
Hua H., Pansing C., Rolland J.P.: Modeling of an eye-imaging system for optimizing illumination schemes in an eye-tracked head-mounted display. Appl. Opt. 46(32), 1–14 (2007)
Hutchinson T.E., White K.P., Martin W.N., Reichert K.C., Frey L.A.: Human–computer interaction using eye-gaze input. IEEE Trans. Syst. Man. Cybern. 19(6), 1527–1534 (1989)
Kapoor, A., Picard, R.W.: A real-time head nod and shake detector. In: PUI ’01: Proceedings of the 2001 Workshop on Perceptive User interfaces, pp. 1–5 (2001)
Lumia R., Shapiro L., Zuniga O.A.: A new connected components algorithm for virtual memory computers. Comput. Vis. Graph. Image Proc. 22(2), 287–300 (1983)
Morimoto C., Koons D., Amir A., Flickner M.: Pupil detection and tracking using multiple light sources. Image Vis. Comput. 18(4), 331–335 (2000)
Rosenfeld A., Pfaltz J.L.: Sequential operations in digital picture processing. J. ACM 13(4), 471–494 (1966)
Samal A., Iyengar P.A.: Automatic recognition and analysis of human faces and facial expressions: a survey. Pattern Recogn. 25(1), 65–77 (1992)
Schwiegerling J.: Field Guide to Visual and Ophthalmic Optics. SPIE Press, Bellingham (2004)
di Stefano, L., Bulgarelli, A.: A simple and efficient connected components labeling algorithm. In: Proc. 10th Intl. Conf. Image Anal. Proc., pp. 322–327 (1999)
Suzuki, K., Horiba, I., Sugie, N.: Fast connected-component labeling based on sequential local operations in the course of forward raster scan followed by backward raster scan. In: IEEE Intl. Conf. Pattern Recog., vol. 2, pp. 434–437 (2000)
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)
Tarjan R.E.: Efficiency of a good but not linear set union algorithm. J. ACM 22(2), 215–225 (1975)
Wu, K., Otoo, E., Suzuki, K.: Two strategies to speed up connected component labeling algorithms. Tech. Rep. 59102, Lawrence Berkeley National Lab (2005)
Zhao, S., Grigat, R.R.: Robust eye detection under active infrared illumination. In: IEEE Intl. Conf. Pattern Recogn., pp. 481–484 (2006)
Zhu D., Moore S.T., Raphan T.: Robust pupil center detection using a curvature algorithm. Comput. Methods Programs Biomed. 59(3), 145–157 (1999)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Gabbur, P., Hua, H. & Barnard, K. A fast connected components labeling algorithm and its application to real-time pupil detection. Machine Vision and Applications 21, 779–787 (2010). https://doi.org/10.1007/s00138-009-0183-1
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00138-009-0183-1