16.05.2015 Views

(a,b), a

(a,b), a

(a,b), a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Topological Relations<br />

between Convex Regions<br />

Sanjiang Li, Welming Liu<br />

Presented by<br />

Theodoros Chondrogiannis<br />

Advanced Artificial Intelligence<br />

Academic Year: 2010-11


Some Definitions<br />

• Qualitative Spatial Reasoning (QSR)<br />

The challenge of the AI approach to Spatial Reasoning<br />

• Spatial Relations & Calculus<br />

A calculus introduces a number of finite restrictions in<br />

order to represent spatial relations<br />

• The Region Connection Calculus(RCC) is<br />

the most well-know topological formalism<br />

(Randell, Cui & Cohn, 1992)<br />

2


Region Connection Calculus<br />

• RCC support the definition of two spatial<br />

Relation Algebras (RCC5 and RCC8, contain 5 and<br />

8 basic relations respectively)<br />

• RCC8 are the only atomic topological<br />

relations between closed disks but not for<br />

other objects.<br />

• Are RCC8 enough to represent all<br />

relations between spatial objects? NO<br />

• Introduction of semi-algebraic sets<br />

3


RCC8 Basic Relations<br />

• For two regions a, b we have:<br />

(a,b) ∈ DC if a ∩ b = ∅<br />

(a,b) ∈ EC if a° ∩ b° = ∅ but a ∩ b ≠ ∅<br />

(a,b) ∈ PO if a°∩ b° ≠ ∅ and a ⊈ b and b ⊈ a<br />

(a,b) ∈ TPP if a ⊆ b but a ⊈ b°<br />

(a,b) ∈ NTPP if a ⊆ b°<br />

(a,b) ∈ EQ if a = b<br />

• All relations along with the converses of<br />

TPP and NTPP are jointly exhaustive<br />

and pairwise disjoint.<br />

4


RCC8 Examples<br />

RCC8 - PO Relation<br />

RCC8 - PO Relation<br />

RCC8 - EC Relation<br />

5<br />

RCC8 - TPP Relation


Atomic Topological Relations<br />

• Hom is the set of all homeomorphisms of R 2<br />

• Let a, b be two plane regions. The relation:<br />

αa,b = { f(a) , f(b) : f ∈ Hom }<br />

is an atomic relation and is the smallest topological<br />

relation which contains (a,b)<br />

• An atomic topological relation is unique for any<br />

two regions.<br />

• There are uncountably many atomic topological<br />

relations<br />

6


Restriction to Convex Regions<br />

• The RCC8 relations DC, NTPP, EQ and NTPP~ are all<br />

atomic on convex regions.<br />

• The EC relation contains exactly two atomic<br />

topological relations<br />

• For a, b convex regions with a ≠ b, each maximally<br />

connected component (mcc):<br />

• If mcc ∈ (a°∩∂b) OR (∂a ∩ b°) is homeomorphic<br />

to (0,1)<br />

• If mcc ∈ (∂a ∩ ∂b) is a single point or<br />

homeomorhpic to [0,1]<br />

7


Relations for Convex Regions<br />

& String Representation<br />

• For a, b, a ≠ b, every subset of ∂(a ∩ b) is:<br />

- Type u - mcc of a° ∩ ∂b<br />

- Type v - mcc of ∂a ∩ b°<br />

- Type x - 0-D mcc of ∂a ∩ ∂b<br />

- Type y - 1-D mcc of ∂a ∩ ∂b<br />

• Every relation (a,b), a ≠ b, is represented by a<br />

circular string s which consist of {u , v , x , y}<br />

• If s represents (a,b) then if s’ is a circular rotation of<br />

s, s’ also represents (a,b)<br />

8


String Example - Triangles<br />

uxvy<br />

uxvxuxvx<br />

9


Convex Polygons Algorithm<br />

Require: Vertices of two convex polygons, clockwise, P1,...,Pm, Q1,...,Qn.<br />

Output: string representation s.<br />

O ← an interior point of both polygons;<br />

αi ← ∠P1OPi;<br />

βj ←∠P1OQj;<br />

For each αk, find jk such that βjk#≤ αk < βjk+1;<br />

For each βk, find ik such that αik#≤ βk < αik+1;<br />

for k = 1,2,··· ,m do<br />

Pk′ ← the intersection of ray OPk and Qjk Qjk+1;<br />

δk ←T(|OPk′|−|OPk|);<br />

for k = 1,2,··· ,n do<br />

Q′k ← the intersection of ray OQk and Pik Pik+1;<br />

θk ←T(|OQk||-|OQ′k||);<br />

Merge sort {αi} and {βj}, meanwhile compose the corresponding δi and θj into a<br />

circular string s;<br />

Replace consecutive uʼs (vʼs) in s with one u (v);<br />

Replace consecutive xʼs in s with one y;<br />

Insert an x between each pair of neighboring u (or v) in s;<br />

Output string representation s.<br />

10


Convex Polygons Algorithm<br />

• For a,b, a ≠ b, the string that represents<br />

(a,b) has length at most 2(m+n)<br />

• A common interior point can be found in<br />

O(log(m+n)) (Chazelle and Dolkin, 1987)<br />

• A first version of s is produced in O(m+n)<br />

and the post processing needs also O(m+n)<br />

• In conclusion, the time complexity of the<br />

algorithm os O(m+n), (linear).<br />

11


Paper Contribution &<br />

Further Research<br />

• A clear formulation of what is the topological<br />

relation between two regions and a string<br />

representation of that relation<br />

• Linear algorithms for computing and<br />

comparing relations between convex polygons<br />

• Extending the model to measure the similarity<br />

of arbitrary atomic topological relations<br />

• Relations between 3D convex objects<br />

12


Thank you!

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!