Abstract.
Decomposing a two-dimensional window (i.e., the region specified by the cross product of two closed intervals over a given two-dimensional space) into its maximal quadtree blocks means to find the set of black quadrants that would be obtained by representing the region covered by the window using a quadtree. In this paper we propose an optimal O(n) time algorithm for decomposing a square window of size \(n \times n\) embedded in an image space of \(T \times T\) pixel elements, thus improving the O(n log log T) time algorithm of Aref and Samet [2]. As a direct consequence of this new faster algorithm, classical window operations on main memory quadtree based data structures can be solved more efficiently. In particular, we show that the exist and report queries on the incomplete pyramid [1] and on the up-down pyramid [8] can be solved in O(n) time, which is optimal.
Similar content being viewed by others
Author information
Authors and Affiliations
Additional information
Received: 1 September 1997 / 28 October 1998
Rights and permissions
About this article
Cite this article
Proietti, G. An optimal algorithm for decomposing a window into maximal quadtree blocks. Acta Informatica 36, 257–266 (1999). https://doi.org/10.1007/s002360050160
Issue Date:
DOI: https://doi.org/10.1007/s002360050160