Distances with neighbourhood sequences in cubic and triangular grids

In this paper we compute distances with neighbourhood sequences in the cubic and in the triangular grids. First we give a formula which computes the distance with arbitrary neighbourhood sequence in the three-dimensional digital space. After this, using the injection of the triangular grid to the cubic grid, we modify the formula for Z^3 to the triangular plane. The distances in the triangular grid have some properties which are not present on the square and cubic grids. It may be non-symmetric, and it is possible that the distance depends on the ordering of elements of the initial part of the neighbourhood sequence. The distance depends on the ordering of the initial part (up to the kth element) of the neighbourhood sequence if and only if there is a permutation of these elements such that the distance (up to value k) is non-symmetric using the elements in this new order. This dependence means somehow more flexibility of the distances based on neighbourhood sequences on the triangular grid than in Z^n.

[1]  Benedek Nagy GENERALISED TRIANGULAR GRIDS IN DIGITAL GEOMETRY , 2004 .

[2]  P. P. Das,et al.  Lattice of octagonal distances in digital geometry , 1990, Pattern Recognit. Lett..

[3]  Benedek Nagy Metrics based on neighbourhood sequences in triangular grids , 2002 .

[4]  Partha Pratim Das,et al.  Distance functions in digital geometry , 1987, Inf. Sci..

[5]  A. ROSENFELD,et al.  Distance functions on digital pictures , 1968, Pattern Recognit..

[6]  Benedek Nagy Characterization of digital circles in triangular grid , 2004, Pattern Recognit. Lett..

[7]  Walter Schnyder,et al.  Embedding planar graphs on the grid , 1990, SODA '90.

[8]  Partha Pratim Das,et al.  Generalized distances in digital geometry , 1987, Inf. Sci..

[9]  Toshihide Ibaraki,et al.  Distances defined by neighborhood sequences , 1986, Pattern Recognit..

[10]  Benedek Nagy,et al.  Shortest Paths in Triangular Grids with Neighbourhood Sequences , 2003 .

[11]  L. Hajdu,et al.  Lattice of generalized neighbourhood sequences in nD , 2003, 3rd International Symposium on Image and Signal Processing and Analysis, 2003. ISPA 2003. Proceedings of the.

[12]  HERBERT FREEMAN Algorithm for Generating a Digital Straight Line on a Triangular Grid , 1979, IEEE Transactions on Computers.

[13]  Gunilla Borgefors,et al.  Distance transformations in digital images , 1986, Comput. Vis. Graph. Image Process..

[14]  Partha Pratim Das,et al.  On approximating Euclidean metrics by digital distances in 2D and 3D , 2000, Pattern Recognit. Lett..

[15]  Kensuke Shimizu Algorithm for generating a digital circle on a triangulargrid , 1981 .

[16]  S. L. Tanimoto,et al.  A hexagonal pyramid data structure for image processing , 1984, IEEE Transactions on Systems, Man, and Cybernetics.

[17]  Edward S. Deutsch,et al.  Thinning algorithms on rectangular, hexagonal, and triangular arrays , 1972, Commun. ACM.