skip to main content
article
Free access

Data structures for quadtree approximation and compression

Published: 01 September 1985 Publication History

Abstract

A number of data structures for representing images by quadtrees without pointers are discussed. The image is treated as a collection of leaf nodes. Each leaf node is represented by use of a locational code corresponding to a sequence of directional codes that locate the leaf along a path from the root of the tree. Somewhat related is the concept of a forest which is a representation that consists of a collection of maximal blocks. It is reviewed and refined to enable the representation of a quadtree as a sequence of approximations. In essence, all BLACK and WHITE nodes are said to be of type GB and GW, respectively. GRAY nodes are of type GB if at least two of their sons are of type GB; otherwise, they are of type GW. Sequences of approximations using various combinations of locational codes of GB and GW nodes are proposed and shown to be superior to approximation methods based on truncation of nodes below a certain level in the tree. These approximations have two important properties. First, they are progressive in the sense that as more of the image is transmitted, the receiving device can construct a better approximation (contrast with facsimile methods which transmit the image one line at a time). Second, they are proved to lead to compression in the sense that they never require more than MIN(B, W) nodes where B and W correspond to the number of BLACK and WHITE nodes in the original quadtree. Algorithms are given for constructing the approximation sequences as well as decoding them to rebuild the original quadtree.

References

[1]
Abel, D.J. and Smith, J.L. A data structure and algorithm based on a linear key for a rectangle retrieval problem. Comput. Vision, Graphics, and tnrage Process. 24, 1 (Oct. 1983). 1-13.
[2]
Burton, F.W. and Kollias, J.G. Comment on the explicit quadtree as a structure for computer graphics. Comput. 1. 26. 2 (May 1983). 188.
[3]
Cook, B.C. The structural and algorithmic basis of a geographic data base. In Proceedings of fhe first International Advanced Study Symposium on Topological Data Structures for Geographic Information Systems. G. Dutton. Ed., Harvard Papers on Geographic Information Systems, 1978.
[4]
Dyer, C.R. Rosenfeld. A. and Sam&, H. Region representation: Boundary codes from quadtrees. Commun. ACM 23, 3 (Mar. 1980), 171-179.
[5]
Gargantini. 1. An effective way to represent quadtrees. Commun. ACM 25,lZ (Dec. 1982). 905-910.
[6]
Hunter, GM. Efficient computation and data structures for graphics. Ph.D. dissertation, Dept. of Electrical Engineering and Computer Science, Princeton Univ., N.J. 1978.
[7]
Hunter, G.M. and Steiglitz. K. Operations on images using quad trees. IEEE Trans. Patfern Anal. Machine Intell. I, 2 (Apr. 1979), 145- 153.
[8]
Hunter, G.M., and Steiglitz. K. Linear transformation of pictures represented by quad trees. Comput. Graphics and Image Process. IO, 3 (July 1979). 289-296.
[9]
Jackins. C.L., and Tanimoto, S.L. Ott-trees and their use in representing three-dimensional objects. Comput. Graphics and Image Process. 14, 3 (Nov. 1980), 249-270.
[10]
Jones, L., and Iyengar, S.S. Representation of regions as a forest of quadtrees. In Proceedings of the IEEE Conference on Pattern Recognition and Image Processing, Dallas, Tex., 1981, pp. 57-59.
[11]
Kawaguchi, E., and Endo. T. On a method of binary picture representation and its application to data compression. IEEE Trans. Pattern Anal. Machine Intell. 2, 1 (Jan. 1980). 27-35.
[12]
Klinger, A. Patterns and search statistics. In Optimizing Methods in Stafistics. J.S. Rustagi, Ed., Academic Press, NY, 1971. pp. 303-337.
[13]
Klinger. A., and Rhodes, M.L. Organization and access of image data by areas. IEEE Trans. Paftern Anal. Machine Intell. 1. 1 (Jan. 1979). 50-60.
[14]
Knowlton, K. Progressive transmission of grey-scale and binary pictures by simple, efficient, and lossless encoding schemes. In Proceedings of the IEEE 68, 7 (July 19801, pp. 885-896.
[15]
Meagher, D. Geometric modeling using octree encoding. Compvf. Graphics and image Process. 19, 2 (June 1982), 129-147.
[16]
Morton, G.M. A computer oriented geodetic data base and a new technique in file sequencing, IBM Canada, 1966.
[17]
Oliver. M.A. and Wiseman, N.E. Operations on quadtree-encoded images, Conrput. J. 26, 1 (Feb. 1983). 83-91.
[18]
Ranade. S., Rosenfeld. A., and Sam&, H. Shape approximation using quadtrees. Paftern Recognifion 15, 1 (1982), 31-40.
[19]
Samet, H. Region representation: Quadtrees from boundary codes. Conmur~. ACM 23, 3 (Mar. 19801, 163-170.
[20]
Samet. H. An algorithm for converting rasters to quadtrees. IEEE Trans. Pattern Anal. Machine Intell. 3, 1 (Jan. 1981). 93-95.
[21]
Sam&, H. Connected component labeling using quadtrees. I, ACM 28,3 (July1981) 487-501.
[22]
Sam&, H. Neighbor finding techniques for images represented by quadtrees. Comput. Graphics and Image Process. 18, 1 (Jan. 1982), 37-57.
[23]
Samet. H. A quadtree medial axis transform. Commun. ACM 26, 9 (Sept. 1983). 680-693.
[24]
Samet, H. The quadtree and related hierarchical data structures. ACM Comput. Sure. 162 (June 1984), 187-260.
[25]
Sam&. H. Rosenfeld, A., Shaffer. C., and Webber, R.E. Quadtree region representation in cartography: Experimental results. IEEE Trans. Syst., Man, Cybern. 13, 6 (Nov./Dee. 1983). 1148-1154.
[26]
Sloan, K.R. Jr., and Tanimoto, S.L. Progressive refinement of raster images. IEEE Trans. Comput. 28, 11 (Nov. 1979), 871-874.
[27]
Tanimoto, S., and Pavlidis, T. A hierarchical data structure for picture processing. Comput. Graphics and Image Process. 4. 2 (June 1975). 104-119.
[28]
Weber, W. Three types of map data structures, their ANDs and NOTs, and a possible OR. In Proceedings of the First International Advartced Study Symposium on Topological Dafa Structures for Geographic hformtion Systems, G. Dutton. Ed., Harvard Papers on Geographic Information Systems, 1978.
[29]
Woodwark, J.R. The explicit quadtree as a structure for computer graphics. Comput. 1. 25, 2 (May 1982). 235-238.
[30]
Yau. M. and Srihari. S.N. A hierarchical data structure for multidimensional digital images. Commun. ACM 26, 7 (July 1983), 504-515.

Cited By

View all

Recommendations

Reviews

Sally L. Harris

This paper presents a thorough explanation of many pointerless quadtree representations for black and white images. The pointerless approach is chosen because pointers cause an inherently high overhead. A quadtree is constructed by repeatedly dividing an image into four quadrants, then into subquadrants, until blocks of a single value (gray level) are obtained. Terminal nodes are those blocks which require no further subdivision. Terminal nodes can be either black or white. Parental (gray) nodes are called black if at least two sons are black; otherwise they are white. In the pointerless representation, each terminal node is represented by use of a locational code corresponding to a sequence of directions that indicate a path from the root. The smallest terminal nodes are at level k and are of size (2 2* 2* k×2 2* 2* k). The root node is at level 0. An approximation is obtained by representing the tree only to the required level, which corresponds to the clarity of the resulting image. The concept of a forest is introduced as a method of approximation. A forest is a collection of black parental nodes and black terminal nodes having no black parent. This is referred to as the “minimal set of maximal blocks” of a certain node type. Two distinct advantages of this method over facsimile encoding are that this is a progressive image representation (i.e., as more of an image is transmitted, clarity increases), and that this method never requires more than MIN(black,white) nodes to represent the image. Even further compression is obtained by alternating between black and white forests. After a black recording is obtained, the next recording will have fewer white than black maximal blocks. This paper is quite thorough, but somewhat lacking in clarity and simplicity. Definitions should have been emphasized. Both the Abstract and Introduction are not well organized. However, it is very helpful that the author uses a single example throughout much of the paper.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image Communications of the ACM
Communications of the ACM  Volume 28, Issue 9
Sept. 1985
118 pages
ISSN:0001-0782
EISSN:1557-7317
DOI:10.1145/4284
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 1985
Published in CACM Volume 28, Issue 9

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)197
  • Downloads (Last 6 weeks)26
Reflects downloads up to 24 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media