Lasse Deleuran 1/37 Homotopic Polygonal Line Simplification Lasse Deleuran PhD student.

Slides:



Advertisements
Similar presentations
Representation of spatial data
Advertisements

Computational Movement Analysis Lecture 3:
Surface Simplification Using Quadric Error Metrics Speaker: Fengwei Zhang September
Approximations of points and polygonal chains
Polygon overlay in double precision arithmetic One example of why robust geometric code is hard to write Jack Snoeyink & Andrea Mantler Computer Science,
Lars Arge 1/43 Big Terrain Data Analysis Algorithms in the Field Workshop SoCG June 19, 2012 Lars Arge.
Lars Arge 1/13 Efficient Handling of Massive (Terrain) Datasets Lars Arge A A R H U S U N I V E R S I T E T Department of Computer Science.
CSE 380 – Computer Game Programming Pathfinding AI
. Computing Contour Maps & Answering Contour Queries Pankaj K. Agarwal Joint work with Lars Arge ThomasMolhave Thomas Molhave Bardia Sadri.
Query Processing in Databases Dr. M. Gavrilova.  Introduction  I/O algorithms for large databases  Complex geometric operations in graphical querying.
K-structure, Separating Chain, Gap Tree, and Layered DAG Presented by Dave Tahmoush.
I/O-Algorithms Lars Arge January 31, Lars Arge I/O-algorithms 2 Random Access Machine Model Standard theoretical model of computation: –Infinite.
I/O-Efficient Batched Union-Find and Its Applications to Terrain Analysis Pankaj K. Agarwal, Lars Arge, Ke Yi Duke University University of Aarhus.
High-Quality Simplification with Generalized Pair Contractions Pavel Borodin,* Stefan Gumhold, # Michael Guthe,* Reinhard Klein* *University of Bonn, Germany.
Stefan Gumhold,* Pavel Borodin, # Reinhard Klein # *University of Tuebingen, Germany # University of Bonn, Germany Intersection Free Simplification.
I/O-Efficient Construction of Constrained Delaunay Triangulations Pankaj K. Agarwal, Lars Arge, and Ke Yi Duke University.
Data Transmission and Base Station Placement for Optimizing Network Lifetime. E. Arkin, V. Polishchuk, A. Efrat, S. Ramasubramanian,V. PolishchukA. EfratS.
Streaming Computation of Delaunay Triangulations Jack Snoeyink UNC Chapel Hill Jonathan Shewchuk UC Berkeley Yuanxin Liu UNC Chapel Hill Martin Isenburg.
I/O-Algorithms Lars Arge Spring 2007 January 30, 2007.
Lars Arge1, Mark de Berg2, Herman Haverkort3 and Ke Yi1
Jean-Charles REGIN Michel RUEHER ILOG Sophia Antipolis Université de Nice – Sophia Antipolis A global constraint combining.
I/O-Efficient Batched Union-Find and Its Applications to Terrain Analysis Pankaj K. Agarwal, Lars Arge, and Ke Yi Duke University University of Aarhus.
reconstruction process, RANSAC, primitive shapes, alpha-shapes
From Elevation Data to Watershed Hierarchies Pankaj K. Agarwal Duke University Supported by ARO W911NF
L o g o Jieyi Long, Hai Zhou, and Seda Ogrenci Memik Dept. of EECS, Northwestern Univ. An O(nlogn) Edge-Based Algorithm for Obstacle- Avoiding Rectilinear.
Visualization 2000 Tutorial Mesh-Based Methods for Multiresolution Representations Instructor: Ken Joy Center for Image Processing and Integrated Computing.
Visualization and graphics research group CIPIC January 21, 2003Multiresolution (ECS 289L) - Winter Surface Simplification Using Quadric Error Metrics.
ECS 289L A Survey of Mesh-Based Multiresolution Representations Ken Joy Center for Image Processing and Integrated Computing Computer Science Department.
Geometric Probing with Light Beacons on Multiple Mobile Robots Sarah Bergbreiter CS287 Project Presentation May 1, 2002.
TerraStream: From Elevation Data to Watershed Hierarchies Thursday, 08 November 2007 Andrew Danner (Swarthmore), T. Moelhave (Aarhus), K. Yi (HKUST), P.
Multi-Layered Navigation Meshes Wouter G. van Toll, Atlas F. Cook IV, Roland Geraerts ICT.OPEN 2011.
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
Bin Yao Spring 2014 (Slides were made available by Feifei Li) Advanced Topics in Data Management.
Algorithms for Triangulations of a 3D Point Set Géza Kós Computer and Automation Research Institute Hungarian Academy of Sciences Budapest, Kende u
Presented By Greg Gire Advised By Zoë Wood California Polytechnic State University.
Low-Power Gated Bus Synthesis for 3D IC via Rectilinear Shortest-Path Steiner Graph Chung-Kuan Cheng, Peng Du, Andrew B. Kahng, and Shih-Hung Weng UC San.
DPL10/16/2015 CS 551/651: Simplification Continued David Luebke
Path Planning for a Point Robot
1 Dr. Scott Schaefer Surface Simplification. 2/32 Surface Simplification Given a closed polygon model, reduce the number of polygons and maintain appearance.
1 Efficient Obstacle-Avoiding Rectilinear Steiner Tree Construction Chung-Wei Lin, Szu-Yu Chen, Chi-Feng Li, Yao-Wen Chang, Chia-Lin Yang National Taiwan.
I/O-Efficient Batched Union-Find and Its Applications to Terrain Analysis Pankaj K. Agarwal, Lars Arge, Ke Yi Duke University University of Aarhus.
An Efficient Linear Time Triple Patterning Solver Haitong Tian Hongbo Zhang Zigang Xiao Martin D.F. Wong ASP-DAC’15.
Mesh Coarsening zhenyu shu Mesh Coarsening Large meshes are commonly used in numerous application area Modern range scanning devices are used.
References [1] Pankaj Agarwal, Lars Arge and Andrew Danner. From Point Cloud to Grid DEM: A Scalable Approach. In Proc. 12th Intl. Symp. on Spatial Data.
Level of Detail: Generating LODs David Luebke University of Virginia.
Headlines - Font: Ariel, Size:32, white Breadtext: Font: Ariel, Size: 22, color white This is a table cell with color RGB 96,96,96 Headline Running text.
IntroductionReduction to Arrangements of Hyperplanes We keep the canonical triangulation (bottom, left corner triangulation) of each convex cell of the.
Mesh Resampling Wolfgang Knoll, Reinhard Russ, Cornelia Hasil 1 Institute of Computer Graphics and Algorithms Vienna University of Technology.
Rendering Large Models (in real time)
1 Schematization of Networks Rida Sadek. 2 This talk discusses: An algorithm that is studied in the following papers:  S. Cabello, M. de Berg, and M.
Curve Simplification under the L 2 -Norm Ben Berg Advisor: Pankaj Agarwal Mentor: Swaminathan Sankararaman.
Efficient Placement and Dispatch of Sensors in a Wireless Sensor Network You-Chiun Wang, Chun-Chi Hu, and Yu-Chee Tseng IEEE Transactions on Mobile Computing.
Beard & McLain, “Small Unmanned Aircraft,” Princeton University Press, 2012, Chapter 12: Slide 1 Chapter 12 Path Planning.
1 Double-Patterning Aware DSA Template Guided Cut Redistribution for Advanced 1-D Gridded Designs Zhi-Wen Lin and Yao-Wen Chang National Taiwan University.
TerraSTREAM: Terrain Processing Pipeline MADALGO – Center for Massive Data Algorithmics, a Center of the Danish National Research Foundation What TerraSTREAM.
Beth Tsai Jennifer E. Walter Nancy M. Amato Department of Computer Science Texas A&M University, College Station Distributed Reconfiguration of Metamorphic.
Digital Elevation Models (DEMs)Constructing Grid DEMConstructing Contour Map Constructing TIN DEM Grid DEM Quality Metric A Digital Elevation Model (DEM)
2IMA20 Algorithms for Geographic Data Spring 2016 Lecture 5: Simplification.
User-Guided Simplification
Polygonal Curve Simplification
You can check broken videos in this slide here :
Query Processing in Databases Dr. M. Gavrilova
Advanced Topics in Data Management
2IMG15 Algorithms for Geographic Data
Quickest Visibility Queries in Polygonal Domains
On the Geodesic Centers of Polygonal Domains
Joseph S.B. Mitchell, Stony Brook University
Haitao Wang Utah State University SoCG 2017, Brisbane, Australia
L1 Shortest Path Queries among Polygonal Obstacles in the Plane
Presentation transcript:

Lasse Deleuran 1/37 Homotopic Polygonal Line Simplification Lasse Deleuran PhD student

Lasse Deleuran 2/37 Content  Motivation  Our Results  Restricted simplification  Unrestricted simplification  Simplifying massive data

Lasse Deleuran 3/37 Motivation – Contour Lines

Lasse Deleuran 4/37 Motivation – Contour Lines

Lasse Deleuran 5/37 Motivation – Contour Lines

Lasse Deleuran 6/37 Motivation – Contour Lines

Lasse Deleuran 7/37 Our Results  “Improving Homotopic Shortest Paths Using Homotopic X-Shortest Paths”, M. Abam and L. Deleuran, TBS  “Computing Homotopic Line Simplification in a Plane”, M. Abam, S. Daneshpajouh, L. Deleuran, S. Ehsani and M. Ghodsi, EuroCG 2011, Submitted to CGTA 2012  “Simplifying Massive Contour Maps”, L. Arge, L. Deleuran, T. Mølhave, M. Revsbæk, and J. Truelsen, ESA, 2012

Lasse Deleuran 8/37 Definitions  Polygonal line: P=p 1, p 2, …,p n |P| = n-1  Homotopic poly. lines:

Lasse Deleuran 9/37 Homotopic X-Shortest Paths  n polygonal paths of combined size m  Endpoints are the obstacles  Compute x-shortest path while maintaining homotopy

Lasse Deleuran 10/37 Shortest Paths – Previous Work  Efrat et al. ’06: expected time O(nlog ε+1 n+mlogn)  Bespamyathnikh ’03: O(nlog ε+1 n+mlogn)  2-part approach:1) Compute homotopic x-shortest paths 2) Compute homotopic shortest paths  Use their 2. part to achieve O(nlog ε+1 n+m)

Lasse Deleuran 11/37 Restricted - Problem Definition  Given a path of size n, compute the paths with fewest points while  Only using original points  Maintaining some error constraint  Maintaining homotopy to m obstacle points  Strong vs weak homotopy:

Lasse Deleuran 12/37 Restricted - Previous Results Previous Results  Imai & Iri ‘88: Framework for the problem  Hausdorff: Chan & Chin ’92 O(n 2 )  Frechét Distance: Alt & Goday ’95 O(n 3 )  L 1 and Uniform metric: Agarwal & Varadarajan ’00 O(n 4/3+ ε ) Our Results  Compute strongly homotopic ”links”  X-monotone path in O(mlog(nm) + nlogn log(nm) + k)  Any path in O(n(m + n)log(nm))  Compute homotopic shortest path in O(n 6 m 2 )

Lasse Deleuran 13/37  Previous Results  Problems  Our Algorithm  Experimental Results Simplifying a Massive Ammount of Polygons

Lasse Deleuran 14/37 Previous Results: Terrain vs Polygons Simplifying terrain  Agarwal, et. al. ’98 (I/O efficient contour generation)  Agarwal, et. al. ’08 (I/O efficient map generation)  Carr, et. al. ’10 (DEM Simplification)  Garland & Heckbert ’97 (Surface Simplification)  Agarwal, et. al. ’06 (I/O efficient conditioning) Simplifying polygons  See surveys by Mitchell ‘97, ‘98

Lasse Deleuran 15/37 Challenges when Simplifying  Too many details  Massive data  Maintain precision  Maintain topology  Prevent intersections

Lasse Deleuran 16/37 Challenges – Too Many Details

Lasse Deleuran 17/37 Challenges - Massive Data  Denmark: 26B LIDAR points 12.4B grid cells

Lasse Deleuran 18/37 Challenges - Massive Data: I/O Model  RAM/internal memory size M  Unbounded disk/external memory  Transfer in blocks of size B  CPU only works on internal memory M B CPU Disk RAM

Lasse Deleuran 19/37 Massive Data - Practical Assumptions  Any polygon fits in memory (smaller than M)  Segments intersecting any vertical line is < M

Lasse Deleuran 20/37 Challenges - Maintain Precision  Simplification algorithms typically only consider movement in the plane (x and y)

Lasse Deleuran 21/37 Challenges - Maintain Topology  Topology: Parent / child relationships  Maintain topology through homotopy

Lasse Deleuran 22/37 Problems – Prevent Intersections  Intersections with other polygons / self intersections

Lasse Deleuran 23/37 Algorithm Overview  1: Collect polygons (I/O-efficient)  2: I/O efficient polygon visiting (I/O-efficient)  3: Simplify polygons (internal)

Lasse Deleuran 24/37 1/3 - Collect Polygons

Lasse Deleuran 25/37  Polygons are neighbors if no other poly. divides them  A polygon must be considered together w. neighbors 2/3 - I/O Efficient Polygon Visiting

Lasse Deleuran 26/37 3/3 Simplify Polygons  Basic Algorithm: Douglas Peucker

Lasse Deleuran 27/37 Problems with Douglass Peucker  Running time O(n 2 ), but O(nlogn) in practice  No z-constraint / not constrained by other polygons  Introduces self intersections, no homotopy

Lasse Deleuran 28/37 Simplifying – Adding Boundaries  Construct Trapezoidal decomposition O(nlogn)  Continue DP until inside of decomposition O(n 2 logn)  Add contraint for z

Lasse Deleuran 29/37 Simplifying – Removing Intersections  Sweep to find intersections O(nlogn)  Continue DP on intersecting segments  Repeat => O(n 2 logn)

Lasse Deleuran 30/37 Simplifying – Maintain Homotopy  Trapezoidal sequence: ABCDCFCDEDE  Contract XYX -> X  Canonical Sequence: ABCDE

Lasse Deleuran 31/37 Simplifying – Maintain Homotopy  Check segment for homotopy: O(n)  => O(n 2 logn)

Lasse Deleuran 32/37 Practical Optimizations

Lasse Deleuran 33/37 Optimization 1 - Conditioning the Terrain  Fill up all holes with depth of less than 0.5m  Do so for small hills too.

Lasse Deleuran 34/37 Optimization 2 - Exploit Bounding Boxes

Lasse Deleuran 35/37 Optimization 3 - Minimal Decompositions  Too much time will be spent constructing decompositions  Only use edges that intersect bounding box

Lasse Deleuran 36/37 Setup  Code in C++ using TPIE and TerraSTREAM  Machine:  8-core Intel Xenon 3.2GHz  12GB of RAM  disk speed: 400MB/s

Lasse Deleuran 37/37 Results  Results for Denmark dataset (12B points):  49 hours to simplify 4B segments on 7M contours  Z-diff: 0.5m (Border contours: 0.2m)  DP-error: 5m  self intersections  8.2% of the points remained after simplifying Thank You