Algorithms for Labeling Focus Regions Martin Fink Lehrstuhl f ur - - PowerPoint PPT Presentation

algorithms for labeling focus regions
SMART_READER_LITE
LIVE PREVIEW

Algorithms for Labeling Focus Regions Martin Fink Lehrstuhl f ur - - PowerPoint PPT Presentation

Algorithms for Labeling Focus Regions Martin Fink Lehrstuhl f ur Informatik I Universit at W urzburg Joint work with Jan-Henrik Haunert, Andr e Schulz, Joachim Spoerhase, and Alexander Wolff 1 /14 2 /14 Paragon Restaurant &


slide-1
SLIDE 1

/14 1

Algorithms for Labeling Focus Regions

Martin Fink Lehrstuhl f¨ ur Informatik I Universit¨ at W¨ urzburg

Joint work with Jan-Henrik Haunert, Andr´ e Schulz, Joachim Spoerhase, and Alexander Wolff

slide-2
SLIDE 2

/14 2

slide-3
SLIDE 3

/14 2

Tulio Daniel’s Broiler Vios Cafe Metropolitan Grill Sodo Deli Top Pot Doughnuts I Queen City Grill Paragon Restaurant & Bar Lola Maximilien Circa Waterfront Seafood Grill

slide-4
SLIDE 4

/14 2

Tulio Waterfront Seafood Grill Daniel’s Broiler Vios Cafe Lola Metropolitan Grill Circa Sodo Deli Maximilien Top Pot Doughnuts I Paragon Restaurant & Bar Top Pot Doughnuts II Cascadia Restaurant Mama’s Mexican Kitchen Etta’s Queen City Grill

slide-5
SLIDE 5

/14 3

Our models

free leaders

slide-6
SLIDE 6

/14 3

Our models

radial leaders free leaders

slide-7
SLIDE 7

/14 4

Previous Work

Excentric Labeling [Fekete and Plaisant, 1999]

slide-8
SLIDE 8

/14 4

Previous Work

Excentric Labeling [Fekete and Plaisant, 1999] Boundary Labeling [Bekos et al., 2007]

slide-9
SLIDE 9

/14 4

Previous Work

Excentric Labeling [Fekete and Plaisant, 1999] Necklace Maps [Speckmann and Verbeek, 2010] Boundary Labeling [Bekos et al., 2007]

slide-10
SLIDE 10

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions

slide-11
SLIDE 11

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions maximize number of visible labels by a dynamic program

slide-12
SLIDE 12

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions maximize number of visible labels by a dynamic program ≥ α c s1 s2 s3 s4 s5 s6 s7

slide-13
SLIDE 13

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions maximize number of visible labels by a dynamic program c s1 s2 s3 s4 s5 s6 s7

slide-14
SLIDE 14

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions maximize number of visible labels by a dynamic program c s1 s2 s3 s4 s5 s6 s7

slide-15
SLIDE 15

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions maximize number of visible labels by a dynamic program c s1 s2 s3 s4 s5 s6 s7

slide-16
SLIDE 16

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions maximize number of visible labels by a dynamic program c s1 s2 s3 s4 s5 s6 s7

slide-17
SLIDE 17

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions maximize number of visible labels by a dynamic program c s1 s2 s3 s4 s5 s6 s7

slide-18
SLIDE 18

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions maximize number of visible labels by a dynamic program O(n log n) time c s1 s2 s3 s4 s5 s6 s7

slide-19
SLIDE 19

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions maximize number of visible labels by a dynamic program weighted version: prefer higher rated points O(n log n) time c s1 s2 s3 s4 s5 s6 s7

slide-20
SLIDE 20

/14 5

The Radial Leader Model

minimum allowed angle to avoid label collisions maximize number of visible labels by a dynamic program weighted version: prefer higher rated points O(n log n) time O(n2) time c s1 s2 s3 s4 s5 s6 s7

slide-21
SLIDE 21

/14 6

The Radial Leader Model with Flexible Center Position

find disk that respects minimum angle α α

slide-22
SLIDE 22

/14 6

The Radial Leader Model with Flexible Center Position

find disk that respects minimum angle α α consider double disk D(p, q) of minimum angle α formed with p and q α p q D(p, q)

slide-23
SLIDE 23

/14 6

The Radial Leader Model with Flexible Center Position

find disk that respects minimum angle α consider double disk D(p, q) of minimum angle α formed with p and q build arrangement of all D(·, ·) α

slide-24
SLIDE 24

/14 6

The Radial Leader Model with Flexible Center Position

find disk that respects minimum angle α consider double disk D(p, q) of minimum angle α formed with p and q build arrangement of all D(·, ·) check for intersection (cell of depht n

2

  • )

α

slide-25
SLIDE 25

/14 6

The Radial Leader Model with Flexible Center Position

find disk that respects minimum angle α consider double disk D(p, q) of minimum angle α formed with p and q build arrangement of all D(·, ·) check for intersection (cell of depht n

2

  • )

α choose center in intersection O(n4 log n) time

slide-26
SLIDE 26

/14 6

The Radial Leader Model with Flexible Center Position

find disk that respects minimum angle α consider double disk D(p, q) of minimum angle α formed with p and q build arrangement of all D(·, ·) check for intersection (cell of depht n

2

  • )

α choose center in intersection O(n4 log n) time Variants maximize labels O(n5) time

slide-27
SLIDE 27

/14 6

The Radial Leader Model with Flexible Center Position

find disk that respects minimum angle α consider double disk D(p, q) of minimum angle α formed with p and q build arrangement of all D(·, ·) check for intersection (cell of depht n

2

  • )

α choose center in intersection O(n4 log n) time Variants maximize labels O(n5) time maximize angle O(n6) time

slide-28
SLIDE 28

/14 7

The free leader model

labels vertically distributed with unit distances

slide-29
SLIDE 29

/14 7

The free leader model

labels vertically distributed with unit distances compute non-crossing leaders

slide-30
SLIDE 30

/14 7

The free leader model

labels vertically distributed with unit distances compute non-crossing leaders minimize total leader length: weighted bipartite matching [Bekos et al., 2007]

slide-31
SLIDE 31

/14 7

The free leader model

labels vertically distributed with unit distances compute non-crossing leaders minimize total leader length: weighted bipartite matching no crossings

slide-32
SLIDE 32

/14 7

The free leader model

labels vertically distributed with unit distances compute non-crossing leaders minimize total leader length: weighted bipartite matching no crossings

slide-33
SLIDE 33

/14 7

The free leader model

labels vertically distributed with unit distances compute non-crossing leaders minimize total leader length: weighted bipartite matching no crossings fast

  • O(n2+ε)
slide-34
SLIDE 34

/14 8

Selecting labeled sites

Tulio Daniel’s Broiler Vios Cafe Metropolitan Grill Sodo Deli Top Pot Doughnuts I Queen City Grill Paragon Restaurant & Bar Lola Maximilien Circa Waterfront Seafood Grill

not all sites can be labeled

slide-35
SLIDE 35

/14 8

Selecting labeled sites

Tulio Daniel’s Broiler Vios Cafe Metropolitan Grill Sodo Deli Top Pot Doughnuts I Queen City Grill Paragon Restaurant & Bar Lola Maximilien Circa Waterfront Seafood Grill

not all sites can be labeled label good subset

slide-36
SLIDE 36

/14 8

Selecting labeled sites

Tulio Daniel’s Broiler Vios Cafe Metropolitan Grill Sodo Deli Top Pot Doughnuts I Queen City Grill Paragon Restaurant & Bar Lola Maximilien Circa Waterfront Seafood Grill

not all sites can be labeled label good subset short leaders

slide-37
SLIDE 37

/14 8

Selecting labeled sites

Tulio Daniel’s Broiler Vios Cafe Metropolitan Grill Sodo Deli Top Pot Doughnuts I Queen City Grill Paragon Restaurant & Bar Lola Maximilien Circa Waterfront Seafood Grill

not all sites can be labeled label good subset high weight

slide-38
SLIDE 38

/14 8

Selecting labeled sites

Tulio Daniel’s Broiler Vios Cafe Metropolitan Grill Sodo Deli Top Pot Doughnuts I Queen City Grill Paragon Restaurant & Bar Lola Maximilien Circa Waterfront Seafood Grill

not all sites can be labeled label good subset – nice distribution – represent all sites

slide-39
SLIDE 39

/14 9

Clustered Labeling

1 labeled site k unlabeled sites

Tulio Waterfront Seafood Grill Daniel’s Broiler Vios Cafe Lola Metropolitan Grill Circa Sodo Deli Maximilien Top Pot Doughnuts I Paragon Restaurant & Bar Top Pot Doughnuts II Cascadia Restaurant Mama’s Mexican Kitchen Etta’s Queen City Grill

slide-40
SLIDE 40

/14 9

Clustered Labeling

1 labeled site k unlabeled sites

Tulio Waterfront Seafood Grill Daniel’s Broiler Vios Cafe Lola Metropolitan Grill Circa Sodo Deli Maximilien Top Pot Doughnuts I Paragon Restaurant & Bar Top Pot Doughnuts II Cascadia Restaurant Mama’s Mexican Kitchen Etta’s

minimize leader length + distance to attached sites

Queen City Grill

slide-41
SLIDE 41

/14 9

Clustered Labeling

1 labeled site k unlabeled sites

Tulio Waterfront Seafood Grill Daniel’s Broiler Vios Cafe Lola Metropolitan Grill Circa Sodo Deli Maximilien Top Pot Doughnuts I Paragon Restaurant & Bar Top Pot Doughnuts II Cascadia Restaurant Mama’s Mexican Kitchen Etta’s

minimize leader length + distance to attached sites

Queen City Grill

Facility Location model: solved by ILP

slide-42
SLIDE 42

/14 9

Clustered Labeling

1 labeled site k unlabeled sites

Tulio Waterfront Seafood Grill Daniel’s Broiler Vios Cafe Lola Metropolitan Grill Circa Sodo Deli Maximilien Top Pot Doughnuts I Paragon Restaurant & Bar Top Pot Doughnuts II Cascadia Restaurant Mama’s Mexican Kitchen Etta’s

minimize leader length + distance to attached sites

Queen City Grill

Facility Location model: solved by ILP 95 sites, 20 labels: 124s

slide-43
SLIDE 43

/14 10

A Heuristic for Clustered Labeling

Randomized initialization heuristic for k-median/k-means [Arthur and Vassilvitski, 2007]

slide-44
SLIDE 44

/14 10

A Heuristic for Clustered Labeling

Randomized initialization heuristic for k-median/k-means [Arthur and Vassilvitski, 2007]

slide-45
SLIDE 45

/14 10

A Heuristic for Clustered Labeling

Randomized initialization heuristic for k-median/k-means [Arthur and Vassilvitski, 2007]

slide-46
SLIDE 46

/14 10

A Heuristic for Clustered Labeling

Randomized initialization heuristic for k-median/k-means [Arthur and Vassilvitski, 2007]

slide-47
SLIDE 47

/14 10

A Heuristic for Clustered Labeling

Randomized initialization heuristic for k-median/k-means [Arthur and Vassilvitski, 2007] probability ≈ distanced

slide-48
SLIDE 48

/14 10

A Heuristic for Clustered Labeling

Randomized initialization heuristic for k-median/k-means [Arthur and Vassilvitski, 2007] probability ≈ distanced Clustering: assign to closest labeled site

slide-49
SLIDE 49

/14 10

A Heuristic for Clustered Labeling

Randomized initialization heuristic for k-median/k-means [Arthur and Vassilvitski, 2007] probability ≈ distanced Clustering: assign to closest labeled site – much better than uniform random selection – fast

slide-50
SLIDE 50

/14 11

B´ ezier Curves as Leaders

slide-51
SLIDE 51

/14 11

B´ ezier Curves as Leaders

post-processing:

slide-52
SLIDE 52

/14 11

B´ ezier Curves as Leaders

post-processing: leader enters label horizontally

slide-53
SLIDE 53

/14 11

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves

slide-54
SLIDE 54

/14 11

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach

slide-55
SLIDE 55

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-56
SLIDE 56

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-57
SLIDE 57

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-58
SLIDE 58

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-59
SLIDE 59

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-60
SLIDE 60

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-61
SLIDE 61

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-62
SLIDE 62

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-63
SLIDE 63

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-64
SLIDE 64

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-65
SLIDE 65

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-66
SLIDE 66

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces)

slide-67
SLIDE 67

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces) – move towards desired shape Label ri 2ri

slide-68
SLIDE 68

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces) – move towards desired shape Label ri 2ri – avoid other leaders

slide-69
SLIDE 69

/14 12

B´ ezier Curves as Leaders

post-processing: – (cubic) B´ ezier curves – force-directed approach gradually improve drawing according to desired changes (forces) – move towards desired shape Label ri 2ri – avoid other leaders

slide-70
SLIDE 70

/14 13

Curvy Leaders in the Radial Model

slide-71
SLIDE 71

/14 13

Curvy Leaders in the Radial Model

slide-72
SLIDE 72

/14 13

Curvy Leaders in the Radial Model

enter radially enter radially

slide-73
SLIDE 73

/14 13

Curvy Leaders in the Radial Model

move label positions on boundary improve angle

slide-74
SLIDE 74

/14 14

Conclusion and Open Problems

Free leader model prefered for smaller numbers of labeled sites Radial model for many short labels

slide-75
SLIDE 75

/14 14

Conclusion and Open Problems

Free leader model prefered for smaller numbers of labeled sites Radial model for many short labels Faster algorithms for finding a good center in the radial leader model?

slide-76
SLIDE 76

/14 14

Conclusion and Open Problems

Free leader model prefered for smaller numbers of labeled sites Radial model for many short labels Faster algorithms for finding a good center in the radial leader model? Make interactive methods more stable during mouse movement.

slide-77
SLIDE 77

/14 14

Conclusion and Open Problems

Free leader model prefered for smaller numbers of labeled sites Radial model for many short labels Faster algorithms for finding a good center in the radial leader model? Make interactive methods more stable during mouse movement. Idea: Weights changing over time