Ulisses M. Braga-Neto, John K. Goutsias: Grayscale level connectivity: theory and applications. IEEE Trans. Image Process. 13(12): 1567-1580 (2004)