1. A method for assigning one or more region labels for connected component labeling, the method comprising: a. assigning the one or more region labels as a function of label demand; and b. providing an index for the one or more region labels, the index assigned independent of the one or more region labels, the independence of the index and the region labels enabling one or more line buffer segmentation processes in the memory array.