Comparative study on connected component labeling algorithms for embedded video processing systems.
a linear - time component - labeling algorithm using contour tracing technique .