a linear - time component - labeling algorithm using contour tracing technique .
Sequential Operations in Digital Picture Processing