Shape Segmentation and Applications Shape Segmentation and - - PowerPoint PPT Presentation

shape segmentation and applications shape segmentation
SMART_READER_LITE
LIVE PREVIEW

Shape Segmentation and Applications Shape Segmentation and - - PowerPoint PPT Presentation

Shape Segmentation and Applications Shape Segmentation and Applications in Sensor Networks in Sensor Networks Xianjin Zhu Rik Sarkar Jie Gao INFOCOM 2007 1 Motivation Motivation Common assumption: sensors are deployed uniformly


slide-1
SLIDE 1

1

Shape Segmentation and Applications Shape Segmentation and Applications in Sensor Networks in Sensor Networks

Xianjin Zhu Rik Sarkar Jie Gao

INFOCOM 2007

slide-2
SLIDE 2

2

Motivation Motivation

  • Common assumption: sensors are deployed

uniformly randomly inside a simple region (e.g., square).

  • In practice, can be complex.

– Obstacles (lakes, buildings) – Terrain variation – Degradation over time

slide-3
SLIDE 3

3

Sensor Distribution in Practice Sensor Distribution in Practice

  • Nodes are distributed in a geometric

region with possible complex shape, with holes.

slide-4
SLIDE 4

4

With holes or a complex shape With holes or a complex shape… …

  • Some protocols may fail:

– Greedy forwarding: packets are greedily forward to the neighbor closest to the destination

May get stuck Works well Sparse, non-uniform Dense uniform

X

Stuck Destination

D

slide-5
SLIDE 5

5

With holes or a complex shape With holes or a complex shape… …

  • Some protocols have degraded performance

– Quad-tree type data storage hierarchy

  • Data is hashed uniformly to the quads

Empty Blocks Storage load

slide-6
SLIDE 6

6

w/o segmentation w/ segmentation

Quad Quad-

  • Tree Type Hierarchy

Tree Type Hierarchy

Storage load Storage load

slide-7
SLIDE 7

7

Lesson Learned Lesson Learned

  • Global geometric features affect many

aspects of sensor networks.

– Affect system performance. – Affect network design. Place base stations and avoid traffic bottleneck

slide-8
SLIDE 8

8

How to Handle Complex Shape? How to Handle Complex Shape?

  • Previous work

– Build problem specific virtual coordinate system (e.g., for routing) – Redevelop every algorithm on virtual coordinate system

  • Our approach: shape segmentation

– A unified approach to handle complex geometry – Make existing protocols reusable

slide-9
SLIDE 9

9

Sensor Field with Arbitrary Shape Sensor Field with Arbitrary Shape

  • Density ranges from 7-12 neighbors/node
slide-10
SLIDE 10

10

Simulation Results on Segmentation Simulation Results on Segmentation

  • Density ranges from 7-12 neighbors/node

Narrow necks

slide-11
SLIDE 11

11

Our Approach: Shape Segmentation Our Approach: Shape Segmentation

  • Segment the irregular field into “nice” pieces.

– Each piece has no holes, and has a relatively nice shape

  • Apply existing algorithms inside each piece.

– Existing protocols are reusable

  • Integrate the pieces together with

a problem-dependent structure.

slide-12
SLIDE 12

12

The rest of the talk The rest of the talk … …

  • Segmentation algorithm
  • Implementation issues
slide-13
SLIDE 13

13

Segmentation with Flow Complex Segmentation with Flow Complex

Reference: flow complex [Dey, Giesen, Goswami, WADS’03]

  • Flow Complex in continuous domain

– Distance function h(x)=min{||x-p||2: p on boundary} – Medial axis: a set of points with at least two closest points on the boundary

Local max p1 H(p1) s1 H(s1) s2 s3

slide-14
SLIDE 14

14

Segmentation with Flow Complex Segmentation with Flow Complex

  • Flow Complex in Continuous domain

– Flow direction: the direction that h(x) increases fastest – Sinks: local maximum, no flow direction (s1 & s3 here)

Local max

Reference: flow complex [Dey, Giesen, Goswami, WADS’03]

s1 s2 s3 p1 p2

slide-15
SLIDE 15

15

Segmentation with Flow Complex Segmentation with Flow Complex

  • Flow Complex in Continuous domain

– Flow direction: the direction that h(x) increases fastest – Sinks: local maximum, no flow direction (s1 & s3 here)

Local max

Reference: flow complex [Dey, Giesen, Goswami, WADS’03]

s1 s2 s3

slide-16
SLIDE 16

16

Segmentation with Flow Complex Segmentation with Flow Complex

  • Flow Complex in Continuous domain

– Flow direction: the direction that h(x) increases fastest – Sinks: local maximum, no flow direction (s1 & s3 here)

Local max

Reference: flow complex [Dey, Giesen, Goswami, WADS’03]

s1 s2 s3

slide-17
SLIDE 17

17

Segmentation with Flow Complex Segmentation with Flow Complex

  • Flow Complex in Continuous domain

– Flow direction: the direction that h(x) increases fastest – Sinks: local maximum, no flow direction (s1 & s3 here)

Local max

Reference: flow complex [Dey, Giesen, Goswami, WADS’03]

s1 s2 s3

slide-18
SLIDE 18

18

Segmentation with Flow Complex Segmentation with Flow Complex

  • Flow Complex in Continuous domain

– Flow direction: the direction that h(x) increases fastest – Sinks: local maximum, no flow direction (s1 & s3 here)

Local max

Reference: flow complex [Dey, Giesen, Goswami, WADS’03]

s1 s2 s3

slide-19
SLIDE 19

19

Segmentation with Flow Complex Segmentation with Flow Complex

  • Flow Complex in Continuous domain

– Flow direction: the direction that h(x) increases fastest – Sinks: local maximum, no flow direction (s1 & s3 here)

Local max

Reference: flow complex [Dey, Giesen, Goswami, WADS’03]

s1 s2 s3

slide-20
SLIDE 20

20

Segmentation with Flow Complex Segmentation with Flow Complex

  • Flow Complex in Continuous domain

– Flow direction: the direction that h(x) increases fastest – Sinks: local maximum, no flow direction (s1 & s3 here) – Segments: set of points flow to the same sink

Local max

Naturally partition along narrow necks

Reference: flow complex [Dey, Giesen, Goswami, WADS’03]

slide-21
SLIDE 21

21

  • No global view, no centralized authority
  • No location, only connectivity information

– Distances are approximated by hop count

  • Robust to inaccuracy, packet loss, etc.
  • Goal: a distributed and robust segmentation

algorithm.

Implementation Challenges Implementation Challenges

slide-22
SLIDE 22

22

Algorithm Outline Algorithm Outline

  • 1. Compute the medial axis
  • 2. Compute the flow
  • 3. Merge nearby sinks
  • 4. Final clean-up
slide-23
SLIDE 23

23

Step 1: Compute the medial axis Step 1: Compute the medial axis

  • Boundary nodes flood inward simultaneously.
  • Nodes record: minimum hop count &

closest intervals on the boundary

  • Medial axis: more than two closest intervals

Green: medial axis Red: sinks

Reference: Boundary Detection [Wang, Gao, Mitchell, MobiCom’06]

min_hop=2

slide-24
SLIDE 24

24

Step2: Compute the flow Step2: Compute the flow

  • Flow direction: a pointer to

a neighbor with a higher hop count from the same boundary

– Prefer neighbor with the most symmetric interval

  • Sinks must be on the

medial axis.

  • Network is organized into

forests, sinks are roots

  • Nodes are classified into

segments by their sinks. Too many segments!

a

slide-25
SLIDE 25

25

Example of Heavy Fragmentation Example of Heavy Fragmentation

  • Fragmentation problem becomes severe with

parallel boundaries.

slide-26
SLIDE 26

26

Step3: Merge nearby sinks Step3: Merge nearby sinks

  • Nearby sinks with similar hop count to the

boundaries are merged (together with their segments).

slide-27
SLIDE 27

27

Step3: Merge nearby sinks Step3: Merge nearby sinks

  • Nearby sinks with similar hop count to the

boundaries are merged (together with their segments).

– Segmentation granularity: |Hmax-Hmin|< t t=2 t=4

slide-28
SLIDE 28

28

Step4: Final clean Step4: Final clean-

  • up

up

  • Merge orphan nodes with nearby segments
  • Orphan nodes: local maximum and nodes that

flow into them

Noise, orphan nodes

slide-29
SLIDE 29

29

Final Result Final Result

slide-30
SLIDE 30

30

Properties of Segmentation Properties of Segmentation

  • A few “fat” segments
  • Further merging only hurts fatness

r R fatness = ____________________ min enclosing ball radius max inscribing ball radius = r R __ The bigger the fatter.

slide-31
SLIDE 31

31

Conclusion Conclusion

  • A unified approach handling complex

shape in sensor networks.

  • A good example to extract high-level

geometry from connectivity information.

  • Network self-organizes by local operations.
slide-32
SLIDE 32

32

Thank you! Thank you!

  • Questions ?

Email: {xjzhu, rik, jgao}@cs.sunysb.edu