Connected component labeling techniques on modern architectures