Skip to main content
Log in

Optimal visibility algorithms for binary images on the hypercube

  • Published:
International Journal of Parallel Programming Aims and scope Submit manuscript

Abstract

Consider an×n binary image. Given a directionD, the parallel visibility problem consists of determining for each pixel of the image the portion that is visible (i.e., not obstructed by any other black pixel of the image) in directionD from infinity. A related problem, referred to as point visibility, is to compute for each pixel the portion that is visible from a given pointp. In this paper, we deriveO(logn) time SIMD algorithms for each of these two problems on the hypercube, where one processor is assigned to every pixel of the image. Since the worst case communication distance of two processors in an 2-processor hypercube is 2 logn, it follows that both of the above algorithms are asymptotically optimal.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. F. Dehne and Q. T. Pham, Visibility algorithms for binary images on the hypercube and the perfect-shuffle computer,Proc. IFIP WG 10.3 Working Conf. on Parallel Processing, Pisa (Italy), North-Holland, pp. 117–124 (1968).

    Google Scholar 

  2. F. Dehne, Q. T. Pham, and I. Stojmenovic, Optimal visibility algorithms for binary images on the hypercube-preliminary version,Proc. Allerton Conference on Communication, Control and Computing, Monticello, Illinois, pp. 1035–1036 (1988).

  3. D. Nassimi and S. Sahni, Data broadcasting in SIMD computers,IEEE Transactions on Computers,C-30 (2):101–106 (1981).

    Google Scholar 

  4. C. L. Seitz, The cosmic cube,Comm. of the ACM,28:22–23 (1985).

    Google Scholar 

  5. R. Miller and S. E. Miller, Using hypercube multiprocessors to determine geometric properties of digitized pictures,Proc. IEEE Conf. on Parallel Processing pp. 638–640 (1987).

  6. R. Miller and Q. F. Stout, Some graph and image processing algorithms on the hypercube,Proc. Second Conf. on Hypercube Multiprocessors, pp. 418–425 (1986).

  7. Q. T. Pham, Parallel algorithm and architecture for binary image component labeling, Technical Report, Department of Computer Science, University of California, Los Angeles, California (1987).

    Google Scholar 

  8. H. ElGindy and D. Avis, A linear algorithm for computing the visibility polygon from a point,Journal of Algorithms 2:186–197 (1981).

    Google Scholar 

  9. D. T. Lee, Visibility of a simple polygon,Computer Vision Graphics and Image Processing 22:207–221 (1986).

    Google Scholar 

  10. H. Freeman and P. P. Loutrel, An algorithm for the two-dimensional “hidden line” problem,IEEE Trans. Electron. Comput.,EC16 (6):784–790 (1967).

    Google Scholar 

  11. T. Asano, T. Asano, L. Guibas, J. Hersberger, and H. Imai, Visibility polygon search and Euclidean shortest paths,Proc. of the IEEE Symp. on FOCS, pp. 154–164 (1985).

  12. F. Dehne and J.-R. Sack, Translation separability of sets of polygons, to appear inThe Visual computer, Vol. 3, No. 4 (1987).

  13. J.-R. Sack and G. T. Toussaint, Translating polygons in the plane,Proc. STACS '85, Saarbrücken, Federal Republic of Germany, pp. 310–321 (1985).

  14. G. T. Toussaint, Movable separability of sets,Computational Geometry, G. T. Toussaint (ed.), North Holland, Amsterdam, New York, Oxford, Tokyo, pp. 335–376 (1985).

    Google Scholar 

  15. F. Dehne, A. Hassenklover, J.-R. Sack, and N. Santoro, Computational geometry on a systolic screen, to appear in F. Dehne (ed.), Parallel algorithms for geometric problems on digitized pictures, special issue ofAlgorithmica.

  16. S. L. Johnson, Communication efficient basic linear algebra computations on hypercube architectures,J. on Parallel and Distributed Computing,4:133–172 (1987).

    Google Scholar 

  17. I. Stojmenovic, Computational geometry on the hypercube Technical Report TR-CS-87-100, Computer Science Department, Washington State University, Pullman, Washington (1987).

    Google Scholar 

  18. C. P. Kruskal, L. Rudolph, and M. Snir, The power of parallel prefix,Proc. IEEE Conference on Parallel Processing, pp. 180–185 (1985).

  19. R. E. Tarjan and U. Vishkin, Finding biconnected components and computing tree functions in logarithmic parallel time,Proc. 25th IEEE Symp. on Foundations of Computer Science, pp. 12–20 (1984).

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Dehne, F., Pham, Q.T. & Stojmenović, I. Optimal visibility algorithms for binary images on the hypercube. Int J Parallel Prog 19, 213–224 (1990). https://doi.org/10.1007/BF01407955

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01407955

Key Words

Navigation