Field Trees and Loose Quadtrees Kenny Weiss CMSC828S Spring 2005.

Slides:



Advertisements
Similar presentations
1 DATA STRUCTURES USED IN SPATIAL DATA MINING. 2 What is Spatial data ? broadly be defined as data which covers multidimensional points, lines, rectangles,
Advertisements

Hierarchical Cellular Tree: An Efficient Indexing Scheme for Content-Based Retrieval on Multimedia Databases Serkan Kiranyaz and Moncef Gabbouj.
Clustering.
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Spatial Data Structures Hanan Samet Computer Science Department
Informed Search Methods How can we improve searching strategy by using intelligence? Map example: Heuristic: Expand those nodes closest in “as the crow.
Chapter 4: Trees Part II - AVL Tree
CSE 681 Bounding Volumes. CSE 681 Bounding Volumes Use simple volume enclose object(s) tradeoff for rays where there is extra intersection test for object.
Collision Detection and Resolution Zhi Yuan Course: Introduction to Game Development 11/28/
Computer graphics & visualization Collisions. computer graphics & visualization Simulation and Animation – SS07 Jens Krüger – Computer Graphics and Visualization.
Ray Tracing CMSC 635. Basic idea How many intersections?  Pixels  ~10 3 to ~10 7  Rays per Pixel  1 to ~10  Primitives  ~10 to ~10 7  Every ray.
Data Mining Cluster Analysis: Advanced Concepts and Algorithms
Searching on Multi-Dimensional Data
CSE 381 – Advanced Game Programming Scene Management
Generated Waypoint Efficiency: The efficiency considered here is defined as follows: As can be seen from the graph, for the obstruction radius values (200,
Computer Graphics1 Quadtrees & Octrees. Computer Graphics2 Quadtrees n A hierarchical data structure often used for image representation. n Quadtrees.
Spatial Mining.
Mining for High Complexity Regions Using Entropy and Box Counting Dimension Quad-Trees Rosanne Vetro, Wei Ding, Dan A. Simovici Computer Science Department.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
1 CSIS 7101: CSIS 7101: Spatial Data (Part 2) Efficient Processing of Spatial Joins Using R-trees Rollo Chan Chu Chung Man Mak Wai Yip Vivian Lee Eric.
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Multiple-key indexes Index on one attribute provides pointer to an index on the other. If V is a value of the first attribute, then the index we reach.
Bounding Volume Hierarchy “Efficient Distance Computation Between Non-Convex Objects” Sean Quinlan Stanford, 1994 Presented by Mathieu Brédif.
CSE351/ IT351 Modeling And Simulation Choosing a Mesh Model Dr. Jim Holten.
Data Mining Cluster Analysis: Advanced Concepts and Algorithms Lecture Notes for Chapter 9 Introduction to Data Mining by Tan, Steinbach, Kumar © Tan,Steinbach,
Fractal Image Compression
Spatial Indexing SAMs.
Spatial Information Systems (SIS) COMP Spatial access methods: Indexing.
Spatial Information Systems (SIS) COMP Raster-based structures (1)
Visual Querying By Color Perceptive Regions Alberto del Bimbo, M. Mugnaini, P. Pala, and F. Turco University of Florence, Italy Pattern Recognition, 1998.
Spatial Indexing I Point Access Methods.
OBBTree: A Hierarchical Structure for Rapid Interference Detection Gottschalk, M. C. Lin and D. ManochaM. C. LinD. Manocha Department of Computer Science,
Techniques and Data Structures for Efficient Multimedia Similarity Search.
Bounding Volume Hierarchies and Spatial Partitioning Kenneth E. Hoff III COMP-236 lecture Spring 2000.
Spatial Information Systems (SIS) COMP Spatial access methods: Indexing (part 2)
Fractal Image Compression By Cabel Sholdt and Paul Zeman.
Spatial data models (types)
Spatial Data Structures Jason Goffeney, 4/26/2006 from Real Time Rendering.
1 Speeding Up Ray Tracing Images from Virtual Light Field Project ©Slides Anthony Steed 1999 & Mel Slater 2004.
Shape Matching for Model Alignment 3D Scan Matching and Registration, Part I ICCV 2005 Short Course Michael Kazhdan Johns Hopkins University.
Digital Image Processing Lecture 20: Representation & Description
Modul 7: Association Analysis. 2 Association Rule Mining  Given a set of transactions, find rules that will predict the occurrence of an item based on.
1 CSE 980: Data Mining Lecture 17: Density-based and Other Clustering Algorithms.
M- tree: an efficient access method for similarity search in metric spaces Reporter : Ximeng Liu Supervisor: Rongxing Lu School of EEE, NTU
PRESENTED BY – GAURANGI TILAK SHASHANK AGARWAL Collision Detection.
Answering Similar Region Search Queries Chang Sheng, Yu Zheng.
Spatial Database 2/5/2011 Reference – Ramakrishna Gerhke and Silbershatz.
Spatial Indexing Techniques Introduction to Spatial Computing CSE 5ISC Some slides adapted from Spatial Databases: A Tour by Shashi Shekhar Prentice Hall.
Maths & Technologies for Games Spatial Partitioning 2
Spatial Databases - Indexing
1 CSIS 7101: CSIS 7101: Spatial Data (Part 1) The R*-tree : An Efficient and Robust Access Method for Points and Rectangles Rollo Chan Chu Chung Man Mak.
1 Overview (Part 1) Background notions A reference framework for multiresolution meshes Classification of multiresolution meshes An introduction to LOD.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Ray Tracing Acceleration (5). Ray Tracing Acceleration Techniques Too Slow! Uniform grids Spatial hierarchies K-D Octtree BSP Hierarchical grids Hierarchical.
May 2003 SUT Color image segmentation – an innovative approach Amin Fazel May 2003 Sharif University of Technology Course Presentation base on a paper.
Ray Tracing Acceleration (3)
UNC Chapel Hill David A. O’Brien Automatic Simplification of Particle System Dynamics David O’Brien Susan Fisher Ming C. Lin Department of Computer Science.
Jeremy Iverson & Zhang Yun 1.  Chapter 6 Key Concepts ◦ Structures and access methods ◦ R-Tree  R*-Tree  Mobile Object Indexing  Questions 2.
Hierarchical Data Structure in Game Programming Yanci Zhang Game Programming Practice.
CS552: Computer Graphics Lecture 28: Solid Modeling.
Bounding Volume Hierarchies and Spatial Partitioning
Data Mining Soongsil University
Bounding Volume Hierarchies and Spatial Partitioning
Mean Shift Segmentation
Path Planning in Discrete Sampled Space
Quadtrees 1.
Spatial Indexing I R-trees
Covering Uncertain Points in a Tree
Representation and Description
Donghui Zhang, Tian Xia Northeastern University
Presentation transcript:

Field Trees and Loose Quadtrees Kenny Weiss CMSC828S Spring 2005

Images vs. Objects Image Based –Given a cell (location) find the object(s) of which it is a member –What features are at a location? Object Based –Given an object, find its constituent cells (locations) –Where is an object located?

Loosen Quadtree Restrictions Up until now… –Each cell only contained one object and objects cannot overlap Loosen this restriction –Cell need not be entirely covered by and object –Several objects may occupy a single cell may also overlap –Arbitrary shapes allowed

Limits to decomposition Arbitrary shape may be decomposed infinitely If placed in certain locations –Use Min Bounding Box to simplify representation Coverage based –Restrict number of blocks that can cover an object Density based –Restrict number of objects that can be covered by a block We will focus on Coverage based limits on image based representation

Quadtree Space Partition Motivation Store the bounding box of objects in hierarchy –Must check every match (at all levels) to see if point is in object Goal: try to put objects in block at lowest possible level to minimize unnecessary computation –Prune as much as possible

MX-CIF Quadtree Object must be covered by at most ONE block –Minimum enclosing quadtree block –Resolve collisions Use two 1-dim MX-CIF structures F A E G B D C {A,E} {B,C,D} {G} {F} Key:

Problems Large blocks “Orphan” nodes –Small nodes covering several blocks –Artifacts of (arbitrary) choice of origin –Every query will include x in its results {A,E,X} {B,C,D} {G} {F} F A E G B D C X Key:

Loose Quadtree/Cover Fieldtree Frank and Barrera, Ulrich Problem: For object o, the min bounding box is not related to size of o Uniformly expand size of space spanned by each block, b, of width, w, by a positive factor, p –Object associated with the min. enclosing expanded block –Expanded width of block, b = (1+p)*w Each object still covered by only one block –Similar to QMAT (quadtree medial axis transform) Key result  radius of min bounding box of object in b is larger than p*w/4

MX-CIF vs. Loose Quadtree F A E G B D C {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

MX-CIF vs. Loose Quadtree F A E G B D C {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key: B is completely enclosed by this block

MX-CIF vs. Loose Quadtree F A E G B D C {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key: C and D are contained at this level

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF {A} {C,D} {G} {E} {B} Key: ? F = {(31,15), (35,19)} Window = {(27.5, 12.5), (37.5,22.5)} {F}

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key: A fits into the top hierarchy

F A E G B D C MX-CIF vs. Loose Quadtree {A,E} {B,C,D} {G} {F} MX-CIF Loose Quadtree p=1, width = (1+p)w = 2w {A} {C,D} {G} {F} {E} {B} Key:

Partition Fieldtree Hierarchy of grids whose registration are shifted –Each cell is called a field –Each level forms a non-overlapping partitioning of the space –For each block, b, of width, w, that is being subdivided origins are shifted by w/2 A new node is stored in the smallest field in which it completely fits –Object never has to be stored more than three levels above its proper size

Partition Fieldtree Properties Source: Boundaries of blocks at different levels will never coincide Grids at different levels have a different origin Blocks at different levels do not form a refinement of those at a previous level

Bound on size of enclosure Partition –Always bounded by three levels 8x object size Cover –Radius must be larger than p*w/4 As p decreases, the minimum radius decreases –p = 1/2, ratio is at most 4 –p = 1/4, ratio is at most 8 –P = 1/8, ratio is at most 16  tighter than partition

Comparison Goal of both –Expand the area spanned by the subblocks to reduce size of minimum enclosing quadtree block When an object overlaps the axes that pass through the center of the block Cover –Area spanned by four subblocks is expanded Partition –Number of subblocks is enlarged by offsetting their position while retaining their size

Comparison (2) Subblocks span an area that overlaps the partition lines –Always for partition fieldtree –Not always for Cover fieldtree some values of p will have partition lines coincide –i.e. p =1, powers of 2 –Differs from regular quadtree, where successive levels are collinear

References Foundations of Multidimensional and Metric Data Structures Samet, Hanan to appear in A Survey Of Hierarchical Partitioning Methods For Vector Images, Noronha, Valerian T dgrc.ca/publicns/syd8808/syd8808.pdf The Spatial Location Code van Oosterom, Peter