Efficient algorithms for polygonal approximation

Slides:



Advertisements
Similar presentations
Algorithm Design Methods (I) Fall 2003 CSE, POSTECH.
Advertisements

Local Search Algorithms Chapter 4. Outline Hill-climbing search Simulated annealing search Local beam search Genetic algorithms Ant Colony Optimization.
ECE 667 Synthesis and Verification of Digital Circuits
~1~ Infocom’04 Mar. 10th On Finding Disjoint Paths in Single and Dual Link Cost Networks Chunming Qiao* LANDER, CSE Department SUNY at Buffalo *Collaborators:
Approximations of points and polygonal chains
Advanced Topics in Algorithms and Data Structures Lecture 7.2, page 1 Merging two upper hulls Suppose, UH ( S 2 ) has s points given in an array according.
Multi-Objective Optimization NP-Hard Conflicting objectives – Flow shop with both minimum makespan and tardiness objective – TSP problem with minimum distance,
VEHICLE ROUTING PROBLEM
1 Appendix B: Solving TSP by Dynamic Programming Course: Algorithm Design and Analysis.
S. J. Shyu Chap. 1 Introduction 1 The Design and Analysis of Algorithms Chapter 1 Introduction S. J. Shyu.
Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
Da Yan, Zhou Zhao and Wilfred Ng The Hong Kong University of Science and Technology.
1 EL736 Communications Networks II: Design and Algorithms Class8: Networks with Shortest-Path Routing Yong Liu 10/31/2007.
Minimizing Multi-Hop Wireless Routing State under Application- based Accuracy Constraints Mustafa Kilavuz & Murat Yuksel University of Nevada, Reno.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
1 Processing & Analysis of Geometric Shapes Shortest path problems Shortest path problems The discrete way © Alexander & Michael Bronstein, ©
EMBIO – Cambridge Particle Swarm Optimization applied to Automated Docking Automated docking of a ligand to a macromolecule Particle Swarm Optimization.
Numerical geometry of non-rigid shapes
1 Internet Networking Spring 2006 Tutorial 6 Network Cost of Minimum Spanning Tree.
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
Recovering Articulated Object Models from 3D Range Data Dragomir Anguelov Daphne Koller Hoi-Cheung Pang Praveen Srinivasan Sebastian Thrun Computer Science.
1 Internet Networking Spring 2004 Tutorial 6 Network Cost of Minimum Spanning Tree.
A TABU SEARCH APPROACH TO POLYGONAL APPROXIMATION OF DIGITAL CURVES.
1 University of Denver Department of Mathematics Department of Computer Science.
Ant Colony Optimization to Resource Allocation Problems Peng-Yeng Yin and Ching-Yu Wang Department of Information Management National Chi Nan University.
September 12, 2006IEEE PIMRC 2006, Helsinki, Finland1 On the Packet Header Size and Network State Tradeoff for Trajectory-Based Routing in Wireless Networks.
Resource Allocation Problem Reporter: Wang Ching Yu Date: 2005/04/07.
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
Elements of the Heuristic Approach
Lecture: 5 Optimization Methods & Heuristic Strategies Ajmal Muhammad, Robert Forchheimer Information Coding Group ISY Department.
Design and Analysis of Algorithms Lecture Dynamic programming Alexander Kolesnikov DEPARTMENT OF COMPUTER SCIENCE UNIVERSITY OF JOENSUU JOENSUU,
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
CSM6120 Introduction to Intelligent Systems Other evolutionary algorithms.
Exposure In Wireless Ad-Hoc Sensor Networks Seapahn Meguerdichian Computer Science Department University of California, Los Angeles Farinaz Koushanfar.
Finding a Hausdorff Core of a Polygon: On Convex Polygon Containment with Bounded Hausdorff Distance Reza Dorrigiv, Stephane Durocher, Arash Farzan, Robert.
Optimum Design of Steel Space Frames by Hybrid Teaching-Learning Based Optimization and Harmony Search Algorithms & Dr.Alper AKIN Dr. IbrahIm AYDOGDU Dear.
DEPARTMENT OF COMPUTER SCIENCE UNIVERSITY OF JOENSUU JOENSUU, FINLAND Image Compression Lecture 9 Optimal Scalar Quantization Alexander Kolesnikov.
Cut-based & divisive clustering Clustering algorithms: Part 2b Pasi Fränti Speech & Image Processing Unit School of Computing University of Eastern.
Swarm Intelligence 虞台文.
© J. Christopher Beck Lecture 5: Project Planning 2.
RANI NALAMARU DEPARTMENT OF COMPUTER SCIENCE BALL STATE UNIVERSITY RANI NALAMARU DEPARTMENT OF COMPUTER SCIENCE BALL STATE UNIVERSITY Efficient Transmission.
CSCI 256 Data Structures and Algorithm Analysis Lecture 14 Some slides by Kevin Wayne copyright 2005, Pearson Addison Wesley all rights reserved, and some.
The problem of the shortest path The classic Dijkstra algorithm solution to this problem The adaptation of this solution to the problem of robot motion.
Linear Programming Chapter 6. Large Scale Optimization.
Genetic Algorithm Using Iterative Shrinking for Solving Clustering Problems UNIVERSITY OF JOENSUU DEPARTMENT OF COMPUTER SCIENCE FINLAND Pasi Fränti and.
FAST DYNAMIC QUANTIZATION ALGORITHM FOR VECTOR MAP COMPRESSION Minjie Chen, Mantao Xu and Pasi Fränti University of Eastern Finland.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Reference line approach in vector data compression Alexander Akimov, Alexander Kolesnikov and Pasi Fränti UNIVERSITY OF JOENSUU DEPARTMENT OF COMPUTER.
Ant Algorithm and its Applications for Solving Large Scale Optimization Problems on Parallel Computers Stefka Fidanova Institute for Information and Communication.
About Me Swaroop Butala  MSCS – graduating in Dec 09  Specialization: Systems and Databases  Interests:  Learning new technologies  Application of.
Trajectory Simplification: On Minimizing the Direction-based Error
1 Random Disambiguation Paths Al Aksakalli In Collaboration with Carey Priebe & Donniell Fishkind Department of Applied Mathematics and Statistics Johns.
Ferdowsi University of Mashhad 1 Automatic Semantic Web Service Composition based on owl-s Research Proposal presented by : Toktam ghafarian.
Ramakrishna Lecture#2 CAD for VLSI Ramakrishna
Dynamic Programming (DP), Shortest Paths (SP)
Rigid Needles, Steerable Needles, and Optimal Beam Algorithms Ovidiu Daescu Bio-Medical Computing Laboratory Department of Computer Science University.
Timetable Problem solving using Graph Coloring
Swarm Intelligence. Content Overview Swarm Particle Optimization (PSO) – Example Ant Colony Optimization (ACO)
Department of Computer Science
Digital Optimization Martynas Vaidelys.
Analytics and OR DP- summary.
Polygonal Curve Simplification
Introduction to Algorithms
Unweighted Shortest Path Neil Tang 3/11/2010
Chapter 6. Large Scale Optimization
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Multi-Objective Optimization
All Pairs Shortest Path Examples While the illustrations which follow only show solutions from vertex A (or 1) for simplicity, students should note that.
Area Coverage Problem Optimization by (local) Search
Multiobjective Optimization
Presentation transcript:

Efficient algorithms for polygonal approximation DEPARTMENT OF COMPUTER SCIENCE UNIVERSITY OF JOENSUU JOENSUU, FINLAND Efficient algorithms for polygonal approximation Alexander Kolesnikov

Polygonal approximation of discrete curves qr+1 Q qr P q1 qM Given the N-vertex polygonal curve P. a) Min-e problem: Given the number of line segments M, approximate the curve P by polygonal curve Q with minimum error E(P). b) Min-# problem: given bound on approximation error, approximate curve P by polygonal curve Q with minimum number of line segments.

Examples of polygonal approximation Vectorization Image analysis Digital cartography 3-D paths

Optimal vs. Heuristic algorithms Heuristic approaches 1) Sequential tracing approach 2) Split method 3) Merge method 4) Split-and-Merge method 5) Dominant point detection 6) Relaxation labeling 7) K-means method 8) Genetic algorithm 9) Ant colony optimization method 10) Tabu search 11) Discrete particle swarm algorithm 12) Vertex adjustment method Optimal methods 1) Min-# problem: Shortest path in graph 2) Min- problem: K-link shortest path in graph

Min- problem: Optimal vs. Heuristic Heuristic algorithms Non-optimal: F<100% Fast: O(N)O(N2) (seconds and less) Optimal algorithm Optimal: F=100% Slow: O(N2)O(N3) (minutes and more)

Heuristic  Efficient  Optimal Heuristic algorithms Non-optimal: F<100% Fast: O(N)O(N2) (seconds and less) Optimal algorithm Optimal: F=100% Slow: O(N2)O(N3) (minutes and more) Efficent algorithm Fast: O(N)O(N2) Close to optimal: F100%

Contents A) Min- problem for open curves B) Min- problem for closed curves C) Min- problem for multiple-objects

A) Min- problem for open curve qr+1 qr q1 qM Approximate the given open N-vertex polygonal curve P by another one Q consisting of at most M line segments with minimum error E(P):

A) L2-approximation error for a segment Approximation error for curve segment (pi,...,pj) :

A) Full search in state space Goal state: D(N,M) M b State space  m D(n,m) D(j,m-1) e2(j,n) 1 Start state 1 j n N Complexity: O(MN2)

A) Reduced search in state space The reference solution. The bounding corridor.

A) Iterative reduced search DP algorithm W=10 M=300 Time complexity: O(W2N2/M) Spce complexity: O(WN)

A) Iterative reduced search DP algorithm W=10 M=300 a) Fidelity: F  100% b) Complexity: O(W2N2/M) =O(N)-O(N2) c) Time reducing: (W/M)2 The trade-off between the run time and optimality is regulated by the corridor width and the number of iterations.

B) Min- problem for closed curve p1=pN Approximate the given closed N-vertex polygonal curve P by another one Q consisting of at most M line segments with minimum error E(P). Full search DP algorithm complexity: O(MN3)

B) State space for wrapped DP search

B) Closed curves: Analysis of state space G HG(m) - optimal path for G Conjugate states: HG(m-M) = HG(m) – (N-1); nstart=arg min {D(HG(m),m)  D(HG(m-M), m-M)} –(N-1); Mm2M

B) Min- path with conjugate states is old start point is new start point

B) Closed curves: Results Heuristic algorithm: Fidelity F=88-100% T=100 s Proposed algorithm: Fidelity F=100% T=10.4 s.

C) Multi-object min- problem Given K polygonal curves P1, P2, …,PK, approximate it by set of K another polygonal curves Q1, Q2 ,…, QK with a given total number of segments M.

C) Multi-object min- problem (cont’d) Given K polygonal curves P1, P2, …,PK, approximate it by set of K another polygonal curves Q1, Q2 ,…, QK with a given total number of segments M so that the total approximation error with measure L2 is minimized. subject to:

C) Full-search DP algorithm Step 1: Solve optimal approximation problem for every object by DP to obtain the Rate-Distortion functions {gk(m)}; Step 2: Solve problem of the optimal allocation of the number of segments among objects by DP using the Rate-Distortion functions {gk(m)}; Step 3: Re-solve the optimal approximation problem of every object using the found optimal number of segments. Time complexity: O(N3) Space complexity: O(N2) Vector map: N = 10,000-100,000

Iterative reduced search for multi-object min- problem Step 1: Find preliminary approximation of every object for an initial number of segments. Step 2: Iterate the following: a) Apply multiple-goal reduced search DP to define the Rate-Distortion functions. b) Solve the optimal allocation of the found number of the segments among the objects using the Rate-Distortion functions.

C) Full vs. Iterative reduced DP search Reduced Full Search Fidelity F  100% 100% Time complexity O(N)-O(N2) O(N3) Space complexity O(NW) O(N2) The trade-off between the run time and optimality is regulated by the corridor width W and the number of iterations.

Summary A) Iterative Reduced search DP algorithm for min- problem open curve B) DP algorithm for min- problem for closed curve C) DP algorithm for min- problem fom multiple-objects