Point Feature Label Placement Bert Spaan. Overview  Introduction  Types of point labeling problems  Good and bad labeling  Complexity of point labeling.

Slides:



Advertisements
Similar presentations
IGLS/1 © P. Pongcharoen Using Genetic Algorithms for Scheduling the Production of Capital Goods P. Pongcharoen, C. Hicks, P.M. Braiden, A.V. Metcalfe,
Advertisements

Down in the Trenches Automating Label Placement in Dense Utility Maps Jill Phelps Kern Cynthia Brewer.
Thematic Map Design Thematic Map: Map that represents a particular theme or topic. Population Density, Literacy Rate, Temperature, etc. >>>> A limited.
Label Placement and graph drawing Imo Lieberwerth.
NUS CS5247 Motion Planning for Camera Movements in Virtual Environments By Dennis Nieuwenhuisen and Mark H. Overmars In Proc. IEEE Int. Conf. on Robotics.
Label placement Rules, techniques. Labels on a map Text, name of map features No fixed geographical position Labels of point features (0-dim), line features.
Applying Machine Learning to Circuit Design David Hettlinger Amy Kerr Todd Neller.
Force directed graph drawing Thomas van Dijk. The problem Given a set of vertices and edges, compute positions for the vertices. If the edges don’t have.
Active Contours / Planes Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision Some slides.
Clustering and greedy algorithms — Part 2 Prof. Noah Snavely CS1114
A New Force-Directed Graph Drawing Method Based on Edge- Edge Repulsion Chun-Cheng Lin and Hsu-Chen Yen Department of Electrical Engineering, National.
Optimization via Search CPSC 315 – Programming Studio Spring 2009 Project 2, Lecture 4 Adapted from slides of Yoonsuck Choe.
MAE 552 – Heuristic Optimization Lecture 6 February 6, 2002.
Nature’s Algorithms David C. Uhrig Tiffany Sharrard CS 477R – Fall 2007 Dr. George Bebis.
Placement 1 Outline Goal What is Placement? Why Placement?
Generating Supply Voltage Islands In Core-based System-on-Chip Designs Final Presentation Steven Beigelmacher Gall Gotfried 04/26/2005.
Simulated Annealing 10/7/2005.
Code and Decoder Design of LDPC Codes for Gbps Systems Jeremy Thorpe Presented to: Microsoft Research
Label placement Rules, techniques. Labels on a map Text, name of map features No fixed geographical position Labels of point features (0-dim), line features.
A TABU SEARCH APPROACH TO POLYGONAL APPROXIMATION OF DIGITAL CURVES.
Simulated Annealing Van Laarhoven, Aarts Version 1, October 2000.
MAE 552 – Heuristic Optimization Lecture 10 February 13, 2002.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 25 Instructor: Paul Beame.
Clustering with Bregman Divergences Arindam Banerjee, Srujana Merugu, Inderjit S. Dhillon, Joydeep Ghosh Presented by Rohit Gupta CSci 8980: Machine Learning.
Optimization via Search CPSC 315 – Programming Studio Spring 2008 Project 2, Lecture 4 Adapted from slides of Yoonsuck Choe.
Elements of the Heuristic Approach
Network Aware Resource Allocation in Distributed Clouds.
Heuristic Optimization Methods
CSC321: Neural Networks Lecture 12: Clustering Geoffrey Hinton.
Down in the Trenches Automating Label Placement in Dense Utility Maps Jill Phelps Kern.
Simulated Annealing.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
D. M. J. Tax and R. P. W. Duin. Presented by Mihajlo Grbovic Support Vector Data Description.
Lecture 19: Solving the Correspondence Problem with Graph Cuts CAP 5415 Fall 2006.
UNC Chapel Hill M. C. Lin Introduction to Motion Planning Applications Overview of the Problem Basics – Planning for Point Robot –Visibility Graphs –Roadmap.
Probabilistic Algorithms Evolutionary Algorithms Simulated Annealing.
CS270 Project Overview Maximum Planar Subgraph Danyel Fisher Jason Hong Greg Lawrence Jimmy Lin.
1 Algorithms and Networks Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij.
Optimization Problems
L10 – Map labeling algorithms NGEN06(TEK230) – Algorithms in Geographical Information Systems L10- Map labeling algorithms by: Sadegh Jamali (source: Lecture.
Copyright © Cengage Learning. All rights reserved. Functions.
Chapter 4: Linear Programming Lesson Plan Mixture Problems  Combining Resources to Maximize Profit Finding the Optimal Production Policy Why the Corner.
Ramakrishna Lecture#2 CAD for VLSI Ramakrishna
An Introduction to Simulated Annealing Kevin Cannons November 24, 2005.
Functions 2 Copyright © Cengage Learning. All rights reserved.
Learning A Better Compiler Predicting Unroll Factors using Supervised Classification And Integrating CPU and L2 Cache Voltage Scaling using Machine Learning.
Written By: Presented By: Swarup Acharya,Amr Elkhatib Phillip B. Gibbons, Viswanath Poosala, Sridhar Ramaswamy Join Synopses for Approximate Query Answering.
2IMA20 Algorithms for Geographic Data Spring 2016 Lecture 7: Labeling.
Optimization Problems
Optimization via Search
Heuristic Optimization Methods
Van Laarhoven, Aarts Version 1, October 2000
Chapter 4: Linear Programming Lesson Plan
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Copyright © Cengage Learning. All rights reserved.
Optimization Problems
NIM - a two person game n objects are in one pile
by Xiang Mao and Qin Chen
Temperature Parallel Simulated Annealing with Adaptive Neighborhood for Continuous Optimization problem Mitsunori MIKI Tomoyuki HIROYASU Masayuki KASAI.
5.2.3 Optimization, Search and
More on Search: A* and Optimization
Xin-She Yang, Nature-Inspired Optimization Algorithms, Elsevier, 2014
Lecture 9 Administration Heuristic search, continued
Md. Tanveer Anwar University of Arkansas
Greg Knowles ECE Fall 2004 Professor Yu Hu Hen
Vehicle Routing John H. Vande Vate Fall,
Area Coverage Problem Optimization by (local) Search
Maximum Flow Problems in 2005.
Presentation transcript:

Point Feature Label Placement Bert Spaan

Overview  Introduction  Types of point labeling problems  Good and bad labeling  Complexity of point labeling problem  Algorithms and their characteristics  Results of algorithms  Demo application

What are Point Features?  Cities, mountain tops in geographical maps  Values in plots with statistical data  Nodes in graphs

Map without labeling  Maps without labels give little information  The same holds for charts and graphs

Examples Point Feature Labeling

Why automated labeling?  Label placement contributes up to half of the time needed for producing high-quality maps 1  Cartographers place 20 to 30 labels per hour 1  For some very large technical diagrams, labeling by hand is nearly impossible 1 Cook & Jones, 1990, A Prolog rule-bases system for cartographic name placement

Example Automated Labeling

Labeling Example

Labeling graphs is easy!

Good labeling is not so easy...

Two possibilities  Label Size Maximization Maximize the size of the placed labels The labeling has to be complete  Label Number Maximization Maximize the number of placed labels Labels have fixed size  Most literature focuses on Label Number Maximization, so will this presentation

Label Quality  Basic Rules 1.The placement of labels is as unambiguous as possible. Place labels close to the point features they belong to. 2.The information of the labels is legible. No or only a few labels overlap. 3.The number of omitted labels is low.  Some label position are preferred above others

Example Basic Rule 1  Avoid ambiguity

Example Basic Rule 2  Avoid overlapping labels

Example Basic Rule 3  Avoid unlabeled points

Possible Label Positions  There are lots of ways to label point features  None of them is always the best  Good labeled maps use a mixture  We focus on iso- oriented axis-parallel rectangles

Label Position Models  iso-oriented axis-parallel rectangles  Fewer possible positions lead to Easier computability Fewer solutions  The following six position models have been extensively studied:

Four-slider Model  Label has to always touch its corresponding point feature With one of its four corners Along one of its four edges Labeltje

Preferred Label Positions  Studies have shown that people tend to prefer certain label positions in favour of others

Complexity ModelDecision problemLabel number max. problem One-positionO(n log n)NP-hard Two-positionO(n log n)NP-hard Four-positionNP-completeNP-hard One-sliderO(n log n)NP-hard Two-sliderNP-completeNP-hard Four-sliderNP-completeNP-hard

Complexity  Label maximization problem is NP-hard  A heuristical approach is needed  Not always an optimal labeling Time is important, calculating an optimal labeling can take days (or years) Leaving some point features unlabeled is not always too big a problem Human cartographers can make adjustments to algorithm output

Point feature density  The density of the point features to be labeled is important  Low density Few labels will overlap Overlaps are easily resolved Optimal solution is easy to calculate  High density A lot of labels will overlap No space for moving labels around Optimal solution is difficult to calculate

Complexity (contd.)  NP-hardness isn’t always a problem When the point feature density is not too high When number of point features is not too high  Real-world problems often meet the above criteria

Simple Labeling  Random Labeling Label points in randomly, if possible  One-position Labeling  Simple & Fast  Works fine for graphs or maps with very low density

Existing Algorithms  Hirsh An Algorithm for Automatic Placement Around Point Data 1982  Christensen, Marks & Shieber An Empirical Study of Algorithms for Point-Feature Label Placement 1995  Van Kreveld, Strijk & Wolff Point Labeling with Sliding Labels 1999  Klau & Mutzel Optimal Labeling of Point Features in Rectangular Labeling Models 2003  Ebner, Klau & Weiskircher Label Number Maximization in the Slider Model 2004

Force System  Repulsive forces between labels  Method that seeks equilibrium of minumum energy  Low eqiulibrium corresponds to pleasing labeling

Local Minima  “Force has no place where there is need of skill” – Herodotus  Force systems tend to get stuck in local minima  Optimalizations and constraints are therefore needed

Example Local Minimum Blablablabla Bloblobloblo Bleblebleble Bliblibliblibli Blublublu

Simulated Annealing  Very flexible optimization method  Analogy: annealing in metallurgy Fast cooling leaves energy in material Slow cooling leaves less energy  Accepts worse intermediate configurations  Temparature Decreases Controls how the rise and fall of energy  Probability

Computational Results  Random benchmark set From: Ebner, Klau, Weiskircher, 2005, Proc. 12th Internat. Symp. On Graph Drawing, pages

Computational Results  Random benchmark set From: Ebner, Klau, Weiskircher, 2005, Proc. 12th Internat. Symp. On Graph Drawing, pages

Computational Results  Real-world benchmark set From: Ebner, Klau, Weiskircher, 2005, Proc. 12th Internat. Symp. On Graph Drawing, pages

Computational Results  Real-world benchmark set From: Ebner, Klau, Weiskircher, 2005, Proc. 12th Internat. Symp. On Graph Drawing, pages

Output of Algorithms  Java Application Ebner, Klau & Weiskircher Implements important algorithms

Questions? ?