Intersection of Nonconvex Polygons Using the Alternate Hierarchical Decomposition, AHD by Rizwan Bulbul, and Andrew U. Frank Department of Geoinformation.

Slides:



Advertisements
Similar presentations
TEL-AVIV UNIVERSITY FACULTY OF EXACT SCIENCES SCHOOL OF MATHEMATICAL SCIENCES An Algorithm for the Computation of the Metric Average of Two Simple Polygons.
Advertisements

Map-making as Graph Drawing Alan Saalfeld Mathematical Cartographer.
Complete Motion Planning
SPATIO-TEMPORAL DATABASES
Introduction to Spatial Database System Presented by Xiaozhi Yu.
Informationsteknologi Wednesday, November 7, 2007Computer Graphics - Class 51 Today’s class Geometric objects and transformations.
5/17/2015 1:32 AMConvex Hull1 obstacle start end.
Advanced Computer Graphics Spring 2014
Introduction to Scientific Computing ICE / ICE 508 Prof. Hyuckjae Lee KAIST- ICC
Surface Reconstruction from 3D Volume Data. Problem Definition Construct polyhedral surfaces from regularly-sampled 3D digital volumes.
Geometric Reasoning About Mechanical Assembly By Randall H. Wilson and Jean-Claude Latombe Presented by Salik Syed and Denise Jones.
1 “Spatial Object Representation: Some Issues” Rod Thompson Department of Natural Resources, Mines and Water, Queensland Australia, Delft University Of.
Modelling. Outline  Modelling methods  Editing models – adding detail  Polygonal models  Representing curves  Patched surfaces.
Mark Waitser Computational Geometry Seminar December Iterated Snap Rounding.
Chapter 3 2D AND 3D SPATIAL DATA REPRESENTATIONS 김 정 준.
OBBTree: A Hierarchical Structure for Rapid Interference Detection Gottschalk, M. C. Lin and D. ManochaM. C. LinD. Manocha Department of Computer Science,
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2004 Chapter 4: 3D Convex Hulls Monday, 2/23/04.
The Design and Analysis of Algorithms
1 Single Robot Motion Planning Liang-Jun Zhang COMP Sep 22, 2008.
1 What is Computational Geometry Ref: Godfried T. Toussaint.
Geometric Objects and Transformations Geometric Entities Representation vs. Reference System Geometric ADT (Abstract Data Types)
MA5209 Algebraic Topology Wayne Lawton Department of Mathematics National University of Singapore S ,
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
CS 450: Computer Graphics REVIEW: OVERVIEW OF POLYGONS
JTS Topology Suite JTS Topology Suite An API for Processing Linear Geometry Martin Davis, Senior Technical Architect
Orthogonal moments Motivation for using OG moments Stable calculation by recurrent relations Easier and stable image reconstruction - set of orthogonal.
ADA: 14. Intro to CG1 Objective o give a non-technical overview of Computational geometry, concentrating on its main application areas Algorithm.
COMPUTER AIDED DESIGN -(CAD)-3
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
PRE-TRIANGULATIONS Generalized Delaunay Triangulations and Flips Franz Aurenhammer Institute for Theoretical Computer Science Graz University of Technology,
6. Simple Features Specification Background information UML overview Simple features geometry.
Accelerating Ray Tracing using Constrained Tetrahedralizations Ares Lagae & Philip Dutré 19 th Eurographics Symposium on Rendering EGSR 2008Wednesday,
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
Introduction to Computational Geometry Hackson
Robustness in Numerical Computation I Root Finding Kwanghee Ko School of Mechatronics Gwnagju Institute of Science and Technology.
TEL-AVIV UNIVERSITY RAYMOND AND BEVERLY SACKLER FACULTY OF EXACT SCIENCES SCHOOL OF MATHEMATICAL SCIENCES An Algorithm for the Computation of the Metric.
Approximate Convex Decomposition of Polygons Reporter: Hong guang Zhou Math Dept. ZJU May 17th, 2007 Jyh-Ming Lien Nancy M. Amato Computational Geometry:
CIS 350 – I Game Programming Instructor: Rolf Lakaemper.
Images Similarity by Relative Dynamic Programming M. Sc. thesis by Ady Ecker Supervisor: prof. Shimon Ullman.
Visual Computing Geometric Modelling 1 INFO410 & INFO350 S2 2015
1 Multi-resolution Tetrahedral Meshes Leila De Floriani Department of Computer and Information Sciences University of Genova, Genova (Italy)
Arrangements Efi Fogel Tel Aviv University. Outline Arrangements Algorithms based on Arrangements Boolean Set Operations Minkowski Sums and Polygon Offset.
Temporal Topological Relationships of Convex Spaces in Space Syntax Theory a Hani Rezayan, b Andrew U. Frank, a Farid Karimipour, a Mahmoud R. Delavar.
CS654: Digital Image Analysis
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Subdivision Surfaces Greg Humphreys University of Virginia CS 445, Fall 2003.
Riccardo Fellegara University of Genova Genova, Italy
IT / API 1 CERN 1-Feb-16 GBLIB: classes to deal with geometrical data Evgueni Tcherniaev IT / API CLHEP workshop, January.
Point in Polygon Analysis for Moving Objects Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan University of Tehran, Iran Technical University.
1 Overview (Part 1) Background notions A reference framework for multiresolution meshes Classification of multiresolution meshes An introduction to LOD.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Topics  Direct Predicate Characterization as an evaluation method.  Implementation and Testing of the Approach.  Conclusions and Future Work.
CS552: Computer Graphics Lecture 28: Solid Modeling.
AHD: Alternate Hierarchical Decomposition Convex decomposition of nonconvex objects into their convex hull components, represented in hierarchical tree.
Catalogs contain hundreds of millions of objects
Bounding Volume Hierarchies and Spatial Partitioning
The Design and Analysis of Algorithms
2018/6/11 Intersection of Nonconvex Polygons Using the Alternate Hierarchical Decomposition, AHD by Rizwan Bulbul, and Andrew U. Frank Department of Geoinformation.
Geographical Information Systems
Bounding Volume Hierarchies and Spatial Partitioning
Parts of these slides are based on
Algorithm design techniques Dr. M. Gavrilova
3.1 Clustering Finding a good clustering of the points is a fundamental issue in computing a representative simplicial complex. Mapper does not place any.
Grids Geometry Computational Geometry
Grids Geometry Computational Geometry
Principles of GIS Geocomputation – Part II Shaowen Wang
Craig Schroeder October 26, 2004
3D Topography A simplicial Complex-based Solution in a Spatial DBMS
JTS Topology Suite An API for Processing Linear Geometry
Geometric Reasoning About Mechanical Assembly
Overview of Modeling 김성남.
Presentation transcript:

Intersection of Nonconvex Polygons Using the Alternate Hierarchical Decomposition, AHD by Rizwan Bulbul, and Andrew U. Frank Department of Geoinformation and Cartography Vienna University of Technology Vienna, Austria AGILE 2010 May 12, 2010

Representation of Geometry is still Difficult Observe not what we can do, but what application problems are not yet approached: 3D geometry Geometry with Movement

Regular Geometry needs Real Numbers Computers do REALs, which are approximations only: a/b * b <> a <> (a*b)/b Example problems: Test for point in polygon depends on order. Topology becomes not invariant under rotation!

Current solution (theoretically correct): Approximate coordinates with REALs Explicit representation of topology Avoid testing the same property twice, because it could produce inconsistencies. Theory of simplicial complex; base of ISO standard (OGC simple features)

Practice Subdivision in simplices produces too much data. Usually, the current 2D algorithm work ok using double precision REALs. No solution for 3D, 2D + time, 3D + time...

New Approach (after 20 years!): Approximation → big rationals Subdivisions in triangles → convex polytopes as base geometric element Big rationals: rationals (exactly homogenous coordinates) represented with big integers (i.e. integers which grow in size, limited only by size of memory)

Big Rationals Precise representation of straight line geometry. a/b * b = a (still not invariant under rotation) Contrary to (old) published reports, comparable speed to DOUBLE up to 100 digits length.

Convex polytopes Fundamental geometric operations on geometric figures: Intersection Union Intersection of convex polytope is convex! Union – Intersection are dual!

Representation of Convex Polytopes Represented as collection of points (in any dimension) Other representations (e.g. faces, edges) follow with convex hull algorithm (efficient, well known) Algorithm for n-D (using category theory and functional programming language)

Not all objects are convex! Geometries with holes, non-convex figures: Take convex hull. Too much: subtract convex hull of what is too much. Too little now: add convex hull of what has been subtracted too much...

Level of detail (LoD) Representation Representation can be used for a gradual (level of detail) rendering: Stop when enough detail is found.

INTRODUCTION  Intersection computation – a fundamental operation Given two polygons (convex/nonconvex, with or without holes) compute the intersection region;  Intersection Problem  Intersection computation  Intersection detection 12/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

AHD Alternate Hierarchical Decomposition Approach  Recursive  Convex hull tree, CHT Dimension Independence  Convex hull computation  Use any existing algorithm  Delta region extraction  Symmetric difference  Split connected regions 13/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

AHD Alternate Hierarchical Decomposition- Example Hole Convex Hull Tree, CHT 14/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Assumptions  Simple  Intersection detection – not addressed  May contain holes or nested holes  “Left handed rule” for edge representations – counterclockwise orientation  Demonstrated here for a pair of polygons- extendible for multiple polygons  Flat objects 15/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Our Approach 16/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Convex 17/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Convex-convex : Algorithm 18/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Convex Nonconvex a1 b1 a1 b2 19/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Convex-nonconvex: Algorithm 20/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Nonconvex 21/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Generic Intersection - Algorithm 22/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Our Approach - Example r1 r2 23/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Our Approach - Example Result: set of disjoint regions 24/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Special Cases Complete overlapNo One is inside otherNo Edges overlapNo Points overlapNo Intersection is a lineYes Intersection is a pointYes 25/17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION Conclusion  Based on basic intersection operation between two convex hulls Improvements and Future Work  Multiple polygons  Non simple polygons  Other Boolean operations – Union, Symmetric difference, Point in a polygon  City modelling 26/17  Dimension independent  Ease of implementation – Haskell  Numerical robustness  Hierarchical tree data structure, CHT  CHT allows reduced number of computations  Deals most special cases  Useful for applications where decomposed output is needed INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES

INTERSECTION References Chazelle, B. and D. P. Dobkin "Intersection of convex objects in two and three dimensions." Journal of the ACM (JACM) 34(1):1-27. David, M. Mount "Geometric intersection." In Handbook of discrete and computational geometry: CRC Press, Inc. Bulbul, Rizwan and Andrew U. Frank "AHD: The Alternate Hierarchical Decomposition of Nonconvex Polytopes (Generalization of a Convex Polytope Based Spatial Data Model)." In 17th International Conference on Geoinformatics. Fairfax, USA. Shamos, Michael Ian and Dan Hoey "Geometric intersection problems." In Proceedings of the 17th Annual Symposium on Foundations of Computer Science: IEEE Computer Society. O'Rourke, Joseph Computational Geometry in C (Cambridge Tracts in Theoretical Computer Science): Cambridge University Press. Jones, Simon Haskell 98 Language and Libraries: The Revised Report: {Cambridge University Press}. Bulbul, Rizwan, Farid Karimipour and Andrew Frank "A Simplex based Dimension Independent Approach for Convex Decomposition of Nonconvex polytopes." In 10th lnternational Conference on GeoComputation (GeoComputation 2009). UNSW, Sydney, Australia. Vatti, Bala R "A Generic Solution to Polygon Clipping." Communications of the ACM 35(7): /17 INTRODUCTION AHDASSUMPTIONS SPECIAL CASESOUR APPROACHCONCLUSION REFERENCES