Picture Segmentation by a Tree Traversal Algorithm (Journal of the ACM, 1976)