Abstract
Rectangles in a plane provide a very useful abstraction for a number of problems in diverse fields. In this paper we consider the problem of computing geometric properties of a set of rectangles in the plane. We give parallel algorithms for a number of problems usingn processors wheren is the number of upright rectangles. Specifically, we present algorithms for computing the area, perimeter, eccentricity, and moment of inertia of the region covered by the rectangles inO(logn) time. We also present algorithms for computing the maximum clique and connected components of the rectangles inO(logn) time. Finally, we give algorithms for finding the entire contour of the rectangles and the medial axis representation of a givenn × n binary image inO(n) time. Our results are faster than previous results and optimal (to within a constant factor).
Similar content being viewed by others
References
A. Aggarwal, B. Chazelle, L. Guibas, C. Ó'Dúnlaing, and C. Yap. Parallel computational geometry.Algorithmica, 3:293–327, 1988.
M. Atallah, R. Cole, and M. Goodrich. Cascading divide-and-conquer: a technique for designing parallel algorithms.SIAM Journal on Computing, 18:499–532, 1989.
M. Atallah and M. Goodrich. Efficient plane sweeping in parallel. InProceedings of the Annual ACM Conference on Computational Geometry, pages 216–226, 1986.
J. Bentley and D. Wood. An optimal worst-case algorithm for reporting intersection of rectangles.IEEE Transactions on Computers, 29:571–577, 1980.
H. Blum. A transformation for extracting new descriptors ofshape. In W. Wathen-Dunn, editor,Models for the Perception of Speech and Visual Form, pages 362–370. MIT Press, Cambridge, MA, 1967.
Sharat Chandran. Merging in Parallel Computational Geometry. Ph.D. thesis, University of Maryland, 1989.
S. Chandran and D. Mount. Shared memory algorithms and the medial axis transform. InProceedings of the 1987 Workshop on Computer Architecture for Pattern Analysis and Machine Intelligence, pages 44–50, 1987.
R. Cole. Parallel merge sort. InProceedings of the IEEE Symposium on Foundations of Computer Science, pages 511–516, 1986.
R. Cole and U. Vishkin. Deterministic coin tossing and accelerating cascades. InProceedings of the Annual ACM Symposium on Theory of Computing, pages 206–219, 1986.
M. Fredman and B. Weide. On the complexity of computing the measure ∪ [a i ,b i ].Communications of the ACM, 21:271–291, 1978.
L. Guibas and B. Chazelle. Fractional cascading: I. A data structuring technique.Algorithmica, 1:133–162, 1986.
M. Goodrich. An output-sensitive algorithm for line segment intersection. InProceedings of the ACM Symposium on Parallel Algorithms and Architectures, pages 127–136, 1989.
L. Guibas and J. Saxe. Problem 80-15 and its solution.Journal of Algorithms, 4:177–181, 1983.
R. Güting. Optimal divide-and-conquer to compute the measure and contour for a set of iso-rectangles.Acta Informatica, 21:271–291, 1984.
H. Imai and T. Asano. Finding the connected components and a maximum clique of an intersection graph of rectangles in the plane.Journal of Algorithms, 4:310–323, 1983.
C. Kruskal, L. Rudolph, and M. Snir. The power of parallel prefix.IEEE Transactions on Computers, 34:965–968, 1985.
W. Lipski and F. Preparata. Finding the contour of a union of iso-oriented rectangles.Journal of Algorithms, 1:235–246, 1980.
D. Moitra. Finding a minimal cover for binary images: an optimal parallel algorithm. InProceedings of the Allerton Conference on Communications, Control and Computing, pages 303–313, 1988.
F. Preparata and M. Shamos.Computational Geometry: An Introduction. Springer-Verlag, New York, 1985.
A. Rosenfeld and A. Kak.Picture Processing by Computer, Volume 2. Academic Press, New York, 1982.
J. van Leeuwen and D. Wood. The measure problem for rectangular ranges ind-space.Journal of Algorithms, 2:282–300, 1981.
Kiem-Phong Vo. Problem 80-4.Journal of Algorithms, 4:366–367, 1982.
D. Wood. An isothetic view of computational geometry. In G. Toussaint, editor,Computational Geometry, pages 429–459, North-Holland, Amsterdam, 1985.
A. Wu, S. K. Bhaskar, and A. Rosenfeld. Parallel computation of geometric properties from the medial axis transform.Computer Vision, Graphics and Image Processing, 41:323–333, 1988.
M. Yannakakis, C. Papadimitriou, and H. Kung. Locking policies: safety and freedom from deadlock. InProceedings of the IEEE Symposium on Foundations of Computer Science, pages 286–297, 1979.
Author information
Authors and Affiliations
Additional information
Communicated by Alok Aggarwal.
The work of Sung Kwan Kim was supported by NSF Grant CCR-87-03196 and the work of D. M. Mount was partially supported by National Science Foundation Grant CCR-89-08901.
Rights and permissions
About this article
Cite this article
Chandran, S., Kim, S.K. & Mount, D.M. Parallel computational geometry of rectangles. Algorithmica 7, 25–49 (1992). https://doi.org/10.1007/BF01758750
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01758750