Quadtree

Quadtree
Quadtree: Die Farbe eines Quadranten in der grafischen Darstellung (links) entspricht der Farbe des zugehörigen Blatts im Baum (rechts).
Ein Quadtree, der aus Konturdaten erstellt wurde.

Ein Quadtree ist in der Informatik eine spezielle Baum-Struktur, in der jeder innere Knoten genau vier Kinder hat. Das Wort Quadtree leitet sich von der Zahl der Kinder eines inneren Knotens ab (quad (vier) + tree (Baum) = Quadtree).

Diese Struktur wird hauptsächlich zur Organisation zweidimensionaler Daten im Bereich der Computergrafik eingesetzt. Die Wurzel des Baumes repräsentiert dabei eine quadratische Fläche. Diese wird rekursiv in je vier gleich große Quadranten zerlegt bis die gewünschte Auflösung erreicht ist und die Rekursion in einem Blatt endet. Durch rekursive Anwendung dieser Zerteilung kann die vom Wurzelknoten repräsentierte Fläche beliebig fein aufgelöst werden. Für dreidimensionale Daten verwendet man gewöhnlich Octrees.

Da ein Blatt unter Umständen eine verhältnismäßig große Fläche abdecken kann, ist die Datenstruktur relativ speichersparend und schnell nach einem Blatt, das einen bestimmten Punkt beinhaltet, zu durchsuchen.

Allgemeine Anwendungsgebiete für Quadtrees sind:

  • Bildrepräsentation
  • Flächenindizierung (zum Beispiel in GIS-Programmen)
  • Effiziente Kollisionserkennung (Collision Detection) im Zweidimensionalen
  • Hidden Surface Removal von Terraindaten.
  • Bei der Gittererzeugung werden Quadtrees für die Generierung der 2D-Triangulierung verwendet.

Literatur

  • Hanan Samet, The Design and Analysis of Spatial Data Structures. Addison-Wesley, Reading, MA, 1990. ISBN 0-201-50255-0.
  • Hanan Samet, Applications of Spatial Data Structures: Computer Graphics, Image Processing, and GIS. Addison-Wesley, Reading, MA, 1990. ISBN 978-0201503005.

Weblinks


Wikimedia Foundation.

Игры ⚽ Поможем решить контрольную работу

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Quadtree — Saltar a navegación, búsqueda El termino Quadtree es utilizado para describir clases de estructuras de datos jerárquicas cuya propiedad común es que están basados en el principio de descomposición recursiva del espacio. En un QuadTree de puntos,… …   Wikipedia Español

  • Quadtree — A quadtree is a tree data structure in which each internal node has up to four children. Quadtrees are most often used to partition a two dimensional space by recursively subdividing it into four quadrants or regions. The regions may be square or …   Wikipedia

  • Quadtree — Un Quadtree Un quadtree est une structure de données de type arbre dans laquelle chaque nœud peut compter jusqu à quatre fils. Les quadtrees sont le plus souvent utilisés pour partitionner un espace bidimensionnel en le subdivisant récursivement… …   Wikipédia en Français

  • quadtree — noun A treelike data structure each of whose nodes has up to four children, most often used to partition a two dimensional space by recursively subdividing it …   Wiktionary

  • QSDPCM — Quadtree Structured Differential Pulse Code Modulation …   Acronyms

  • QSDPCM — Quadtree Structured Differential Pulse Code Modulation …   Acronyms von A bis Z

  • Дерево квадрантов — Разбитая с помощью дерева квадрантов плоскость Дерево квадрантов (также квадродерево, 4 дерево, англ. quadtree) дере …   Википедия

  • Z-order curve — Not to be confused with Z curve or Z order. Four iterations of the Z order curve …   Wikipedia

  • Hashlife — is an algorithm for computing the long term fate of a given starting configuration in various Life rules. The algorithm was invented by Bill Gosper in the early 1980s while he was engaged in research at the Xerox Palo Alto research center.… …   Wikipedia

  • List of terms relating to algorithms and data structures — The [http://www.nist.gov/dads/ NIST Dictionary of Algorithms and Data Structures] is a reference work maintained by the U.S. National Institute of Standards and Technology. It defines a large number of terms relating to algorithms and data… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”