On computing the exact Euclidean distance transform on rectangular and hexagonal grids

被引:14
作者
Mehnert, AJH [1 ]
Jackway, PT [1 ]
机构
[1] Univ Queensland, Dept Comp Sci & Elect Engn, Cooperat Res Ctr Sensor Signal & Informat Proc, Brisbane, Qld 4072, Australia
关键词
digital grid; distance function; distance transform; elliptic poweroid; Euclidean distance; hexagonal grid; rectangular grid; square grid;
D O I
10.1023/A:1008352402867
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In this paper we prove an equivalence relation between the distance transform of a binary image, where the underlying distance is based on a positive definite quadratic form, and the erosion of its characteristic function by an elliptic poweroid structuring element. The algorithms devised by Shih and Mitchell [18] and Huang and Mitchell [7], for calculating the exact Euclidean distance transform (EDT) of a binary digital image manifested on a square grid, are particular cases of this result. The former algorithm uses erosion by a circular cone to calculate the EDT whilst the latter uses erosion by an elliptic paraboloid (which allows for pixel aspect ratio correction) to calculate the square of the EDT. Huang and Mitchell's algorithm [7] is arguably the better of the two because: (i) the structuring element can be decomposed into a sequence of dilations by 3 x 3 structuring elements (a similar decomposition is not possible for the circular cone) thus reducing the complexity of the erosion, and (ii) the algorithm only requires integer arithmetic (it produces squared distance). The algorithm is amenable to both hardware implementation using a pipeline architecture and efficient implementation on serial machines. Unfortunately the algorithm does not directly transpose to, nor has a corresponding analogue on, the hexagonal grid (the same is also true for Shih and Mitchell's algorithm [7]). In this paper, however, we show that if the hexagonal grid image is embedded in a rectangular grid then Huang and Mitchell's algorithm [7] can be applied, with aspect ratio correction, to obtain the exact EDT on the hexagonal grid.
引用
收藏
页码:223 / 230
页数:8
相关论文
共 20 条
[1]  
[Anonymous], INTRO REAL ANAL
[2]   DISTANCE TRANSFORMATIONS IN DIGITAL IMAGES [J].
BORGEFORS, G .
COMPUTER VISION GRAPHICS AND IMAGE PROCESSING, 1986, 34 (03) :344-371
[3]   LINEAR-TIME EUCLIDEAN DISTANCE TRANSFORM ALGORITHMS [J].
BREU, H ;
GIL, J ;
KIRKPATRICK, D ;
WERMAN, M .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 1995, 17 (05) :529-533
[4]   A FAST ALGORITHM FOR EUCLIDEAN DISTANCE MAPS OF A 2-D BINARY IMAGE [J].
CHEN, L ;
CHUANG, HYH .
INFORMATION PROCESSING LETTERS, 1994, 51 (01) :25-29
[5]  
FRANDSEN A, 1992, MOL NEUROPHARMACOL, V2, P197
[6]  
HENK JAM, 1994, ADV ELECT ELECT PHYS
[7]   A unified linear-time algorithm for computing distance maps [J].
Hirata, T .
INFORMATION PROCESSING LETTERS, 1996, 58 (03) :129-133
[8]   A EUCLIDEAN DISTANCE TRANSFORM USING GRAYSCALE MORPHOLOGY DECOMPOSITION [J].
HUANG, CT ;
MITCHELL, OR .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 1994, 16 (04) :443-448
[9]  
JOHNSON R.A., 1988, APPL MULTIVARIATE ST
[10]   FAST COMPUTATION OF THE EUCLIDEAN DISTANCE MAPS FOR BINARY IMAGES [J].
KOLOUNTZAKIS, MN ;
KUTULAKOS, KN .
INFORMATION PROCESSING LETTERS, 1992, 43 (04) :181-184