Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

Optimal Computing the Chessboard Distance Transform on Parallel Processing Systems

Published: 01 March 1999 Publication History

Abstract

Thedistance transform(DT) is an image computation tool which can be used to extract the information about the shape and the position of the foreground pixels relative to each other. It converts a binary image into a grey-level image, where each pixel has a value corresponding to the distance to the nearest foreground pixel. The time complexity for computing the distance transform is fully dependent on the different distance metrics. Especially, the more exact the distance transform is, the worse execution time reached will be. Nowadays, quite often thousands of images are processed in a limited time. It seems quite impossible for a sequential computer to do such a computation for the distance transform in real time. In order to provide efficient distance transform computation, it is considerably desirable to develop a parallel algorithm for this operation. In this paper, based on the diagonal propagation approach, we first provide anO(N2) time sequential algorithm to compute thechessboard distance transform(CDT) of anN Nimage, which is a DT using the chessboard distance metrics. Based on the proposed sequential algorithm, the CDT of a 2D binary image array of sizeN Ncan be computed inO(logN) time on the EREW PRAM model usingO(N2/logN) processors,O(log logN) time on the CRCW PRAM model usingO(N2/log logN) processors, andO(logN) time on the hypercube computer usingO(N2/logN) processors. Following the mapping as proposed by Lee and Horng, the algorithm for the medial axis transform is also efficiently derived. The medial axis transform of a 2D binary image array of sizeN Ncan be computed inO(logN) time on the EREW PRAM model usingO(N2/logN) processors,O(log logN) time on the CRCW PRAM model usingO(N2/log logN) processors, andO(logN) time on the hypercube computer usingO(N2/logN) processors. The proposed parallel algorithms are composed of a set of prefix operations. In each prefix operation phase, only increase (add-one) operation and minimum operation are employed. So, the algorithms are especially efficient in practical applications.

References

[1]
Y. H. Lee, S. J. Horng, The chessboard distance transform and the medial axis transform are interchangeable, Proc. 10th International Parallel Processing Symposium, 1996, 424, 428
[2]
A. Rosenfeld, J.L. Pfalz, Sequential operations in digital picture processing, J. Assoc. Comput. Mach., 13 (1996) 471-494.
[3]
H. Blum, A transformation for extracting new descriptors of shape, Models for the Perception of Speech and Visual Form (1967) 362-380.
[4]
G. Borgefors, Distance transformations in arbitrary dimensions, Comput. Vision Graphics Image Process., 27 (1984) 321-345.
[5]
G. Borgefors, Distance transformations in digital images, Comput. Vision Graphics Image Process., 34 (1986) 344-371.
[6]
L. Chen, H.Y.H. Chuang, A fast algorithm for Euclidean distance maps of a 2-D binary image, Inform. Process. Lett., 51 (1994) 25-29.
[7]
P.E. Danielsson, Euclidean distance mapping, Comput. Vision Graphics Image Process., 14 (1980) 227-248.
[8]
P.P. Das, B.N. Chatterji, Comput. Vision Graphics Image Process., 43 (1988) 368-385.
[9]
J.F. Jenq, S. Sahni, Serial and parallel algorithms for the medial axis transform, IEEE Trans. Pattern Anal. Mach. Intell., 14 (1992) 1218-1224.
[10]
M.N. Kolountzakis, K.N. Kutulakos, Fast computation of the Euclidean distance maps for binary images, Inform. Process. Lett., 43 (1992) 181-184.
[11]
D.T. Lee, Medial axis transformation of a planar shape, IEEE Trans. Pattern Anal. Mach. Intell., 4 (1982) 363-369.
[12]
O. Schwarzkopf, Parallel computation of distance transforms, Algorithmica, 6 (1991) 685-697.
[13]
K.P. Vo, J. Algorithms, 4 (1982) 366-368.
[14]
H. Yamada, Complete Euclidean distance transformation by parallel operation, Proc. of the 7th International Conference on Pattern Recognition, 1984, 1, 69, 71
[15]
I. Ragnemalm, Fast erosion and dilation by contour processing and thresholding of distance maps, Pattern Recognit. Lett., 13 (1992) 161-166.
[16]
M.A. Fischler, P. Barrett, An iconic transform for sketch completion and shape abstraction, Comput. Vision Graphics Image Process., 13 (1980) 334-360.
[17]
C. Arcelli, G.Sanniti di Baja, Ridge points in Euclidean distance maps, Pattern Recognit. Lett., 13 (1992) 237-243.
[18]
C. Arcelli, G.Sanniti di Baja, Computing Voronoi diagrams in digital pictures, Pattern Recognit. Lett., 4 (1986) 383-389.
[19]
Q. Z. Ye, The signed Euclidean distance transform and its applications, Proc. of the 9th International Conference on Pattern Recognition, 1988, 495, 499
[20]
A. Fujiwara, T. Masuzawa, H. Fujiwara, An optimal parallel algorithm for the Euclidean distance maps of 2-D binary images, Inform. Process. Lett., 54 (1995) 295-300.
[21]
A. Fujiwara, M. Inoue, T. Masuzawa, H. Fujiwara, A simple parallel algorithm for the medial axis transform of binary images, Proc. IEEE Second International Conference on Algorithms and Architectures for Parallel Processing, 1996, 1, 8
[22]
A. Fujiwara, M. Inoue, T. Masuzawa, H. Fujiwara, A simple parallel algorithm for the medial axis transform, IEICE Trans. Inform. Systems, E79-D (1996) 1038-1045.
[23]
A. Fujiwara, M. Inoue, T. Masuzawa, H. Fujiwara, A parallel algorithm for weighted distance transforms, Proc. 11th International Parallel Processing Symposium, 1997, 407, 412
[24]
T. Hirata, T. Kato, A unified linear-time algorithm for computing distant maps, Inform. Process. Lett., 58 (1996) 129-133.
[25]
Y. H. Lee, S. J. Horng, T. W. Kao, Y. J. Chen, Parallel computing Euclidean distance transform on the mesh of trees and hypercube computer, Comput. Vision Image Understanding, 1996
[26]
Y.H. Lee, S.J. Horng, T.W. Kao, F.S. Jaung, Y.J. Chen, H.R. Tsai, Parallel computation of exact Euclidean distance transform, Parallel Comput., 22 (1996) 311-325.
[27]
Y. H. Lee, S. J. Horng, Fast parallel chessboard distance transform algorithm, Proc. International Conference on Parallel and Distributed Systems, 1996, 488, 493
[28]
F.Thomson Leighton, Introduction to Parallel Algorithms and Architectures: Arrays, Trees, Hypercubes (1992).
[29]
O. Berkman, B. Schieber, U. Vishkin, Optimal doubly logarithmic parallel algorithms based on finding all nearest smaller values, J. Algorithms, 14 (1993) 344-370.
[30]
R. Cole, U. Vishkin, Faster optimal parallel prefix sums and list ranking, Inform. Control, 81 (1989) 334-352.
[31]
S. Ranka, S. Sahni, Odd even shifts in SIMD hypercubes, IEEE Trans. Parallel Distrib. Systems, 1 (1990) 77-82.
[32]
S. Chandran, S.Kwon Kim, D.M. Mount, Parallel computational geometry of rectangles, Algorithmica, 7 (1992) 25-49.
[33]
A. Ferreira, S. Ubéda, Parallel complexity of the medial axis computation, Proc. IEEE Int. Conf. on Image Process. 1995, 2, 105, 108
[34]
R.E. Ladner, M.J. Fischer, Parallel prefix computation, J. Assoc. Comput. Mach., 27 (1980) 831-838.
[35]
M. Lu, P. Varman, Optimal algorithms for rectangle problems on a mesh-connected computer, J. Parallel Distrib. Comput., 5 (1988) 154-171.
[36]
A. Rosenfeld, A.C. Kak, Digital Picture Processing (1982).
[37]
A.Y. Wu, S.K. Bhaskar, A. Rosenfeld, Computation of geometric properties from the medial axis transform inON, Comput. Vision Graphics Image Process., 34 (1986) 76-92.
[38]
A.Y. Wu, S.K. Bhaskar, A. Rosenfeld, Parallel computation of geometric properties from the medial axis transform, Comput. Vision Graphics Image Process., 41 (1988) 323-332.

Cited By

View all
  • (2009)Parallel Algorithms for the Weighted Distance Transform on Linear Arrays with a Reconfigurable Pipelined Bus SystemProceedings of the 9th International Conference on Algorithms and Architectures for Parallel Processing10.1007/978-3-642-03095-6_46(478-489)Online publication date: 30-Jul-2009
  • (2003)Parallel Computation of the Euclidean Distance Transform on a Three-Dimensional Image ArrayIEEE Transactions on Parallel and Distributed Systems10.1109/TPDS.2003.118957914:3(203-212)Online publication date: 1-Mar-2003

Index Terms

  1. Optimal Computing the Chessboard Distance Transform on Parallel Processing Systems

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image Computer Vision and Image Understanding
      Computer Vision and Image Understanding  Volume 73, Issue 3
      March 1999
      147 pages
      ISSN:1077-3142
      Issue’s Table of Contents

      Publisher

      Elsevier Science Inc.

      United States

      Publication History

      Published: 01 March 1999

      Author Tags

      1. CRCW PRAM model
      2. EREW PRAM model
      3. chessboard distance
      4. computer vision
      5. distance transform
      6. hypercube computer
      7. image processing
      8. medial axis transform
      9. parallel algorithm

      Qualifiers

      • Research-article

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)0
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 31 Dec 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2009)Parallel Algorithms for the Weighted Distance Transform on Linear Arrays with a Reconfigurable Pipelined Bus SystemProceedings of the 9th International Conference on Algorithms and Architectures for Parallel Processing10.1007/978-3-642-03095-6_46(478-489)Online publication date: 30-Jul-2009
      • (2003)Parallel Computation of the Euclidean Distance Transform on a Three-Dimensional Image ArrayIEEE Transactions on Parallel and Distributed Systems10.1109/TPDS.2003.118957914:3(203-212)Online publication date: 1-Mar-2003

      View Options

      View options

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media