An optimal algorithm for decomposing a window into maximal quadtree blocks (Q1306567)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | An optimal algorithm for decomposing a window into maximal quadtree blocks |
scientific article |
Statements
An optimal algorithm for decomposing a window into maximal quadtree blocks (English)
0 references
9 November 1999
0 references
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. 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 and on the up-down pyramid can be solved in \(O(n)\) time, which is optimal.
0 references
quadtree based data structures
0 references