Skip to main content
Log in

An optimal algorithm for decomposing a window into maximal quadtree blocks

  • Published:
Acta Informatica Aims and scope Submit manuscript

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.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received: 1 September 1997 / 28 October 1998

Rights and permissions

Reprints 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

Download citation

  • Issue Date:

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

Keywords