DOC PREVIEW
USC CSCI 599 - SpatialDataStructures

This preview shows page 1-2-16-17-18-33-34 out of 34 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 34 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 34 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 34 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 34 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 34 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 34 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 34 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 34 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

PowerPoint PresentationSpatial Data StructuresIntroductionSpatial IndexingR-treeR-Trees (Continued)R-trees (Continued)R+ - TreesR+ Trees (Continued)R+Trees(Continued)More Spatial IndexingRegion DataMore Region DataRegion QuadtreeRegion Quadtree (Continued)Variations of QuadtreeSlide 17More Variations of QuadtreeSearching with QuadtreeAlgorithms with QuadtreePoint DataPR-tree (Continued)Rectangle DataRectangle Data (Continued)Slide 25Slide 26MX-CIF QuadtreeLine DataPM1 Quadtree(Continued)Line Data (Continued)PMR QuadtreeSlide 32Slide 33ConclusionSnehal Thakkar 1Snehal ThakkarSpatial Data StructuresHanan SametComputer Science DepartmentUniversity of MarylandSnehal Thakkar 2Spatial Data Structures•Introduction•Spatial Indexing•Region Data•Point Data•Rectangle Data•Line Data•ConclusionSnehal Thakkar 3Introduction•Spatial Objects Points, Lines, Regions, Rectangles …..•Spatial Indexing Unlike conventional data sort has to be on space occupied by data•Hierarchical Data StructuresBased on recursive decomposition, similar to divide and conquer methodSnehal Thakkar 4Spatial Indexing•Mapping Spatial Data into Point- Same, Higher or Lower Dimension- Good storage purposes, queries like intersect- Problems with queries like nearest•Bucketing Methods- Grid file, BANG file, LSD trees, Buddy trees….- Buckets based on not the representative point, but based on actual space.Snehal Thakkar 5R-tree•Based on Minimum Bounding Rectangle R2R3 R4 R5 R6R1a b d g h c i e fSnehal Thakkar 6R-Trees (Continued)•Organize spatial objects into d-dimensional rectangles.•Each node in the tree corresponds to smallest d-dimensional rectangle that encloses child nodes.•If an object is spatially contained in several nodes, it is only stored in one node.•Tree parameters are adjusted so that small number of pages are visited during a spatial query•All leaf nodes appear at same level•Each leaf node is (R,O) where R is smallest rectangle containing O, e.g. R3,R4……Snehal Thakkar 7R-trees (Continued)•Each non-leaf node is (R,P) where R is smallest rectangle containing all child rectangles, e.g. R1,R2•R-tree of order (m,M) means that each node in the tree has between floor M/2 and M nodes, with exception of root node. Root node has two entries unless it is a leaf node.•R-tree is not unique, rectangles depend on how objects are inserted and deleted from the tree.•Problem is that to find some object you might have to go through several rectangles or whole database.Snehal Thakkar 8R+ - Trees•Decomposition of Space into Disjoint CellsR2R3 R4 R5 R6R1a bd g h c i e fh i c iSnehal Thakkar 9R+ Trees (Continued)•R+-tree and Cell Trees used approach of discomposing space into cells•R+-trees deals with collection of objects bounded by rectangles•Cell tree deals with collection of objects bounded by convex polyhedra•R+-trees is extension of k-d-B-tree. •Try not to overlap the rectangles.•If object is in multiple rectangles, it will appear multiple times.Snehal Thakkar 10R+Trees(Continued)•Multiple paths to object from the root•Height of the tree is increased•Retrieval times are smaller•When summing the objects, needs eliminate duplicates•It is not possible to guarantee that all properties of B-trees is fulfilled without going through difficult insert and deletion routines.•It is data-dependent, so depending on how you insert or delete records R+-tree will be different.Snehal Thakkar 11More Spatial Indexing•Uniform Grid- Ideal for uniformly distributed data- More data-independence then R+-trees- Space decomposed on blocks on uniform size- Higher overhead•Quadtree- Space is decomposed based on data points- Sensitive to positioning of the object- Width of the blocks is restricted to power of two- Good for Set-theory type operations, like composition of data.Snehal Thakkar 12Region Data•Focus on Interior Representation•Represented as Image array of pixels•Runlength Code- Break array into 1*m blocks, row representation•Metal Axis Transformation (MAT)- Union of Maximal Square blocks- Blocks may overlap- Block are specified by center and radiusSnehal Thakkar 13More Region Data•Region Quadtree- Is Metal Axis Transformation- Whose blocks are required to be disjoint- To have standard sizes(squares whose sides are power of two)- To be at standard locations- Based on successive subdivision of image array into four equal size quadrants.Snehal Thakkar 14Region Quadtree12 34 513 141911 1261518171671098AB C F213 4 5 6 11 12D13 14 19E15 16 17 187 8 9 10NWNESWSESnehal Thakkar 15Region Quadtree (Continued)•Each leaf node is either Black or White•All non-leaf nodes are Gray(Circle is previous example•You can also use it for non-binary images•Resolution of the decomposition may be governed by data or predetermined•Can be used for several object representations.Snehal Thakkar 16Variations of Quadtree•Point Quadtree- Quadtree with rectangular quadrants- Adoption of Binary Search Tree to two dimensions or more- Useful for location based queries like where is nearest theatre from the location.- Descending the tree till you find the node for location based queries.- For nearest neighbor, search is continued in the neighborhood of the node containing object.- Feature based queries tough because index is based on spatial occupancy not on features.Snehal Thakkar 17Variations of Quadtree•Pyramid- Exponentially tapering stack of arrays, each one quarter size of previous- Useful for feature based queries like where does wheat grow in California.- Nodes that are not at maximum level of resolution contain summary information•Octree- Three dimensional analog of quadtree- Recursively subdivide into eight octantsSnehal Thakkar 18More Variations of Quadtree•Locational Code Based Quadtree- Treats image as a collection of leaf nodes, each encoded by pair of numbers- First is base 4 number, sequence of directional codes that locates leaf from the root- Second depth at which node is found or size•DF-expression- Represents the image in form of traversal of nodes of its quadtree- Very Compact storage, each node type can be encoded with two bits.- Not easy to use when random access to nodes is required.Snehal Thakkar 19Searching with Quadtree•Useful for performing set operations•When performing intersection, it only returns black node when both quadtrees have black nodes. •Operation is performed using three


View Full Document

USC CSCI 599 - SpatialDataStructures

Documents in this Course
Week8_1

Week8_1

22 pages

Week2_b

Week2_b

10 pages

LECT6BW

LECT6BW

20 pages

LECT6BW

LECT6BW

20 pages

5

5

44 pages

12

12

15 pages

16

16

20 pages

Nima

Nima

8 pages

Week1

Week1

38 pages

Week11_c

Week11_c

30 pages

afsin

afsin

5 pages

October5b

October5b

43 pages

Week11_2

Week11_2

20 pages

final

final

2 pages

c-4

c-4

12 pages

0420

0420

3 pages

Week9_b

Week9_b

20 pages

S7Kriegel

S7Kriegel

21 pages

Week4_2

Week4_2

16 pages

sandpres

sandpres

21 pages

Week6_1

Week6_1

20 pages

4

4

33 pages

Week10_c

Week10_c

13 pages

fft

fft

18 pages

LECT7BW

LECT7BW

19 pages

24

24

15 pages

14

14

35 pages

Week9_c

Week9_c

24 pages

Week11_67

Week11_67

22 pages

Week1

Week1

37 pages

LECT3BW

LECT3BW

28 pages

Week8_c2

Week8_c2

19 pages

Week5_1

Week5_1

19 pages

LECT5BW

LECT5BW

24 pages

Week10_b

Week10_b

16 pages

Week11_1

Week11_1

43 pages

Week7_2

Week7_2

15 pages

Week5_b

Week5_b

19 pages

Week11_a

Week11_a

29 pages

LECT14BW

LECT14BW

24 pages

T7kriegel

T7kriegel

21 pages

0413

0413

2 pages

3

3

23 pages

C2-TSE

C2-TSE

16 pages

10_19_99

10_19_99

12 pages

s1and2-v2

s1and2-v2

37 pages

Week10_3

Week10_3

23 pages

jalal

jalal

6 pages

1

1

25 pages

T3Querys

T3Querys

47 pages

CS17

CS17

15 pages

porkaew

porkaew

20 pages

LECT4BW

LECT4BW

21 pages

Week10_1

Week10_1

25 pages

wavelet

wavelet

17 pages

October5a

October5a

22 pages

p289-korn

p289-korn

12 pages

2

2

33 pages

rose

rose

36 pages

9_7_99

9_7_99

18 pages

Week10_2

Week10_2

28 pages

Week7_3

Week7_3

37 pages

Load more
Download SpatialDataStructures
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view SpatialDataStructures and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view SpatialDataStructures 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?