A complete classification of spatial relations using the Voronoi-based 9-intersection model

Similar documents
Convex Hull-Based Metric Refinements for Topological Spatial Relations

Uncertainty of Spatial Metric Relations in GIs

Investigation on spatial relations in 3D GIS based on NIV

On minimal models of the Region Connection Calculus

arxiv: v1 [cs.ai] 1 Sep 2009

Chapter 9: Relations Relations

Every Binary Code Can Be Realized by Convex Sets

Math 541 Fall 2008 Connectivity Transition from Math 453/503 to Math 541 Ross E. Staffeldt-August 2008

Location Based Concierge Service with Spatially Extended Topology for Moving Objects

Rose-Hulman Undergraduate Mathematics Journal

Reasoning with Cardinal Directions: An Efficient Algorithm

Intelligent GIS: Automatic generation of qualitative spatial information

arxiv: v2 [cs.ai] 13 Feb 2015

Alexander Klippel and Chris Weaver. GeoVISTA Center, Department of Geography The Pennsylvania State University, PA, USA

Spatial Reasoning With A Hole

1 Sequences and Summation

Multivalued functions in digital topology

Euclidean Shortest Path Algorithm for Spherical Obstacles

arxiv: v3 [cs.dm] 18 Oct 2017

Part V. 17 Introduction: What are measures and why measurable sets. Lebesgue Integration Theory

Introduction to Real Analysis Alternative Chapter 1

Def. A topological space X is disconnected if it admits a non-trivial splitting: (We ll abbreviate disjoint union of two subsets A and B meaning A B =

Lecture 23: Hausdorff and Fréchet distance

Course 212: Academic Year Section 1: Metric Spaces

Interference-Constrained Wireless Coverage in a Protocol Model

CHAPTER 7. Connectedness

Enumeration Schemes for Words Avoiding Permutations

Topological properties

Exploring Spatial Relationships for Knowledge Discovery in Spatial Data

Sphere Packings, Coverings and Lattices

Granular Description of Qualitative Change

All Good (Bad) Words Consisting of 5 Blocks

Exercises. Template for Proofs by Mathematical Induction

Combining RCC5 Relations with Betweenness Information

Algorithms for Picture Analysis. Lecture 07: Metrics. Axioms of a Metric

Berge Trigraphs. Maria Chudnovsky 1 Princeton University, Princeton NJ March 15, 2004; revised December 2, Research Fellow.

Another algorithm for nonnegative matrices

Spatio-Temporal Relationships in a Primitive Space: an attempt to simplify spatio-temporal analysis

PETER A. CHOLAK, PETER GERDES, AND KAREN LANGE

After taking the square and expanding, we get x + y 2 = (x + y) (x + y) = x 2 + 2x y + y 2, inequality in analysis, we obtain.

The boundary of a shape and its classification

Only Intervals Preserve the Invertibility of Arithmetic Operations

Probabilistic Bisimilarity as Testing Equivalence

Lecture 9: Random sampling, ɛ-approximation and ɛ-nets

Introduction to Proofs in Analysis. updated December 5, By Edoh Y. Amiran Following the outline of notes by Donald Chalice INTRODUCTION

Bulletin of the Iranian Mathematical Society

Qualitative Spatial-Relation Reasoning for Design

Coalitionally strategyproof functions depend only on the most-preferred alternatives.

Topology, Math 581, Fall 2017 last updated: November 24, Topology 1, Math 581, Fall 2017: Notes and homework Krzysztof Chris Ciesielski

43400 Serdang Selangor, Malaysia Serdang Selangor, Malaysia 4

PETER A. CHOLAK, PETER GERDES, AND KAREN LANGE

Relative adjacencies in spatial pseudo-partitions

Metrics and topologies for geographic space

Fractional and circular 1-defective colorings of outerplanar graphs

HW Graph Theory SOLUTIONS (hbovik) - Q

Induced Subgraph Isomorphism on proper interval and bipartite permutation graphs

2.31 Definition By an open cover of a set E in a metric space X we mean a collection {G α } of open subsets of X such that E α G α.

Simplifying Section 13 By Joseph Pang

Some Nordhaus-Gaddum-type Results

ROUGH NEUTROSOPHIC SETS. Said Broumi. Florentin Smarandache. Mamoni Dhar. 1. Introduction

The Multi-Agent Rendezvous Problem - The Asynchronous Case

Theoretical Computer Science

Adding ternary complex roles to ALCRP(D)

Equitable Partitioning Policies for Robotic Networks

Basic Structure of Some Classes of Neutrosophic Crisp Nearly Open Sets & Possible Application to GIS Topology

Set, functions and Euclidean space. Seungjin Han

HOW IS A CHORDAL GRAPH LIKE A SUPERSOLVABLE BINARY MATROID?

Principles of Real Analysis I Fall I. The Real Number System

Upper Bounds on Expected Hitting Times in Mostly-Covered Delay-Tolerant Networks

(x x 0 ) 2 + (y y 0 ) 2 = ε 2, (2.11)

THE UNIQUE MINIMAL DUAL REPRESENTATION OF A CONVEX FUNCTION

2. The Concept of Convergence: Ultrafilters and Nets

Ceramic Processing Research

Notes for Functional Analysis

Math 341: Convex Geometry. Xi Chen

Relations Graphical View

Problem One: Order Relations i. What three properties does a binary relation have to have to be a partial order?

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

A LITTLE REAL ANALYSIS AND TOPOLOGY

Chapter 1 The Real Numbers

Reading 11 : Relations and Functions

Introduction to Kleene Algebras

Applied Cartography and Introduction to GIS GEOG 2017 EL. Lecture-2 Chapters 3 and 4

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University

Partial characterizations of clique-perfect graphs II: diamond-free and Helly circular-arc graphs

Theorems. Theorem 1.11: Greatest-Lower-Bound Property. Theorem 1.20: The Archimedean property of. Theorem 1.21: -th Root of Real Numbers

A Contrario Detection of False Matches in Iris Recognition

RECOVERY OF NON-LINEAR CONDUCTIVITIES FOR CIRCULAR PLANAR GRAPHS

Topological Logics over Euclidean Spaces

On Terminological Default Reasoning about Spatial Information: Extended Abstract

A Note on Perfect Partial Elimination

Math 730 Homework 6. Austin Mohr. October 14, 2009

Outlier Detection Using Rough Set Theory

Uncertain Quadratic Minimum Spanning Tree Problem

Fly Cheaply: On the Minimum Fuel Consumption Problem

The τ-skyline for Uncertain Data

SUB-EXPONENTIALLY MANY 3-COLORINGS OF TRIANGLE-FREE PLANAR GRAPHS

An Alternative Proof of Primitivity of Indecomposable Nonnegative Matrices with a Positive Trace

Green s Theorem in the Plane

Combinatorial Batch Codes and Transversal Matroids

Transcription:

A complete classification of spatial relations using the Voronoi-based 9-intersection model Zhiguo Long 1 and Sanjiang Li 1 1 QCIS, FEIT, University of Technology Sydney, Australia July 31, 2016 Abstract In this paper we show that the Voronoi-based 9-intersection model (V9I) proposed by Chen et al. (2001) is more expressive than what has been believed before. Given any two spatial entities A, B, the V9I relation between A and B is represented as a 3 3 Boolean matrix. For each pair of types of spatial entities points, lines, and regions, we first show that most Boolean matrices do not represent a V9I relation by using topological constraints and the definition of Voronoi regions, and then find illustrations for all the remaining matrices. This guarantees that our method is sound and complete. In particular, we show that there are 18 V9I relations between two areas with connected interior, while there are only nine 4- intersection relations. Our investigations also show that, unlike many other spatial relation models, V9I relations are context- or shape-sensitive. That is, the existence of other entities or the shape of the entities may affect the validity of certain relations. Keywords: Voronoi region; 9-intersection; topological relation; qualitative spatial reasoning 1 Introduction Construction of Voronoi diagrams of a finite system of points is very useful in computer graphics, geographical information systems, and many other research areas (Aurenhammer and Klein, 1996). Okabe et al. (2009) give a comprehensive introduction to various theories and applications of Voronoi diagrams. Since it is highly related to distance, Voronoi diagram has been used extensively in solving distance problems. For instance, Geng et al. (2011) and De Rezende and Westrupp (1999) discuss the Voronoi-based nearest neighbor problem, and Sud et al. (2006) study the fast This is a draft version from the authors. The published version is online at the website of IJGIS. See http://www.tandfonline.com/doi/abs/10.1080/13658816.2013.781607 Zhiguo.Long@student.uts.edu.au Corresponding author: Sanjiang.Li@uts.edu.au 1

Table 1: Numbers of V9I relations Type 4-Int. Relations V9I Relations V9I Relations identified in (Chen et al., 2001) (area, area) 9 18 13 (line, line) 16 17 8 (line, area) 11 16 13 (point, point) 2 3 3 (point, line) 3 4 4 (point, area) 3 6 5 proximity computation. Voronoi diagram has also been used as a better representation of space between obstacles for path planning (Takahashi and Schilling, 1989; Bhattacharya and Gavrilova, 2008; Foskey et al., 2001). Moreover, the distance under which Voronoi diagram is defined has been generalized in various ways. For example, the boat-sail distance is proposed and generalized in (Sugihara, 1990, 2011), which apply Voronoi diagram to an anisotropic and dynamic problem. Another example is the A-distance in ambulance facility location problem studied by Hsia et al. (2009). Nowadays, Voronoi diagram has been used to help make energy efficient network architecture (Nojeong and Varshney, 2005) and to compute and improve the coverage of sensors (Meguerdichian et al., 2001). Chen et al. (2001) propose a Voronoi-based 9-intersection (V9I) model for describing spatial relations between entities in the real plane. 1 The idea is similar to the influential 9-Intersection Model (9IM) of Egenhofer and Herring (1991), but the exteriors of the two spatial entities are replaced with their Voronoi regions. Three types of spatial entities are considered in their paper, viz. (simple) points, (simple) lines, and regions with connected interior (i.e. simple regions with holes). Chen et al. (2001) argue that the replacement of exterior with Voronoi region can circumvent two imperfections of 9IM, viz. the linear dependency between a region s interior, boundary, and exterior, and the inconsistency of a line s topological property in R and in R 2. The authors further give a classification for the relations between area/line/point and area/line/point, where an area is represented by a simple region with holes, which has a connected interior, and lines and points are all simple entities. The idea of replacing exterior with Voronoi region in 9IM is novel and brilliant, but the classification made in Chen et al. (2001) is informal, sometimes imprecise, and far from complete. In this paper, we revisit the V9I model proposed by Chen et al. (2001) and provide a formal and complete classification of spatial relations using the V9I model. Our results show (see Table 1) that there are more V9I relations than what have been identified by Chen et al. (2001). For each pair of types of spatial entities points, lines, and regions, we first show that most Boolean matrices do not represent a V9I relation by using topological constraints and the definition of Voronoi regions, and then provide illustrations for all the remaining matrices. This guarantees that our method is sound and complete. Both 9IM and the V9I refine the 4-Intersection Model (4IM) (Egenhofer and Franzosa, 1991). The 9IM splits one 4IM relation into several different topological relations, but the V9I splits a 1 According to Google Scholar, this work has been cited more than 100 times before December 20, 2012. 2

4IM relation in a different way. Very often, two different V9I relations that are contained in the same 4IM relation are topologically equivalent. This implies that these distinctions made by V9I cannot be obtained by 9IM. A closer examination shows that, unlike many other spatial relation models, V9I relations are context- or shape-sensitive. That is, the existence of other entities or the shape of the entities may affect the validity of certain relations. In the remainder of this paper, we first introduce basic notions that will be used later in Section 2. These include basic topological terminologies, definition of Voronoi regions, and the definition of 9IM relations and the V9I relations. In Section 3, we examine for each pair of types of spatial entities how many V9I relations are there and provide illustrations (i.e. realizations) for each realizable matrix. We also explain here how V9I splits 4IM relations. In Section 4 we analyse how different definitions of Voronoi regions affect the V9I relations between spatial entities. The last section concludes the paper. 2 Basic Notions In this paper, we are concerned with the two dimensional Euclidean plane R 2, with the usual distance and topology. For two points p, q, we write d(p, q) for the distance between p and q. The distance of p and a subset A of R 2 is defined as d(p, A) =inf{d(p, q) q A}. (1) For a point p and a positive real number ε, we write B(p, ε) for the closed disk centred at p with radius ε, and write B (p, ε) for the corresponding open disk. A set U in R 2 is said open if for any point p in U, there exists ε>0 such that B (p, ε) U. A set A in R 2 is said closed if its set complement in R 2 is open. For a set X in R 2, the interior of X, denoted as X, is defined as the largest open set contained in X; the closure of X, denoted as X, is defined as the smallest closed set that contains X; the boundary of X, denoted as X, is defined as the set difference of X and X. The exterior of X, denoted as X e, is defined as the interior of the set complement of X. Note that if X is a closed set, then X e is exactly the set complement of X. In real-world applications, spatial entities are often represented as points, lines, or areas. A point is interpreted, as usual, as an element of R 2.Aline is a simple curve, i.e. a set in the plane that is topological equivalent to the closed interval [0,1]. A simple area is a set in the plane that is topologically equivalent to a closed disk. A simple area is also known as a simple region in e.g. (Egenhofer and Herring, 1991). In this paper, following Chen et al. (2001), we use a more general notion of area. Let X be a set in R 2. Then X is an area if (i) X is bounded, i.e. it is contained in some closed disk; and (ii) X is regular closed, i.e. X = X is the closure of its interior; and (iii) X is connected, i.e. for any two disjoint open sets U, V, U V X. Therefore, an area is actually a simple region with holes in (Egenhofer and Herring, 1991). We next recall the 9-intersection model (9IM) of Egenhofer and Herring. Given two spatial entities A and B in the plane, the topological relation between A and B, written as R 9 (A, B), is 3

characterized by examining whether the nine intersections between the interiors, the boundaries, and the exteriors of A and B are empty or not. If an intersection is empty, then we put a 0 in the corresponding entry in the matrix, and a 1 otherwise. In this way, we represent the topological relation between A and B as a 3 3 Boolean matrix. R 9 (A, B) = A B A B A B e A B A B A B e A e B A e B A e B e (2) The 9IM relations can be defined for any pair of points/lines/areas. For points and areas, the topological notions of interior, boundary, and exterior are interpreted as in classical topology, but for a line L, we regard it as an embedding in the one-dimensional R. Therefore, each simple line L has two boundary points, viz. the two end points of L, and each non-boundary point of L is an interior point. Because A = A A, B = B B, and A A A e = B B B e = R 2, it is clear that not all 3 3 Boolean matrices are valid 9IM relations. We refer the reader to (Egenhofer et al., 1993) and (Li, 2006) for detailed discussion. A simplified version of 9IM is obtained by considering the top left 2 2 sub-matrix of the matrix R 9 (A, B) in (2). This is known as the 4-intersection model (Egenhofer and Franzosa, 1991), and such a relation will be addressed as a 4IM relation henceforth. Let A be an area. Note that the exterior of A is the same as its set complement. This linear dependency among the interior, the boundary, and the exterior of an area is regarded as one imperfection of the 9IM in (Chen et al., 2001). The use of the embedding topology of a line in R is regarded as another imperfection of the 9IM, as the interior and exterior of a line in the plane are connected to each other. Having observed these imperfections, Chen et al. (2001) suggest to replace the exterior with the corresponding Voronoi region of an entity. In this way, they show that the resulting V9I model is able to make more distinctions of spatial relations between spatial entities and the above two imperfections can be circumvented. The classification made in (Chen et al., 2001) is, however, informal and incomplete. It is the aim of this paper to examine the Voronoi-based 9-intersection (V9I) model proposed in (Chen et al., 2001) and make a complete classification of spatial relations using the V9I model. The notion of Voronoi regions is usually defined for points in a finite system of points in the plane. Intuitively, a Voronoi region is a region of influence of a particular point, and all these Voronoi regions together form a partition of the plane into convex polygons. This definition has been extended to entities other than points. We next present a formal definition of Voronoi regions. Definition 1. (Chen et al., 2001) Let Γ be a finite set of spatial entities (points/lines/areas) and E Γ be an arbitrary entity. The Voronoi region of E w.r.t. Γ, written as E v, is defined as E v = {p ( E Γ)d (p, E) d (p, E )}, (3) where d (p, X) =d(p, X) if X is a point or a line, and d (p, X) =d(p, X) if X is an area. Remark 1. Γ was not explicitly mentioned in (Chen et al., 2001). We think it is necessary to include Γ in the definition, because Voronoi regions may change if entities are added to or 4

deleted from Γ. We note that there are other interpretations of Voronoi regions. In particular, several authors define the Voronoi region of an entity E as the set of points which are closer to E than to any other entities E in Γ. Moreover, when E is an area, sometimes it is more desirable to define E v as the set of points that is close to E itself instead of to its boundary. In this paper, to facilitate the comparison, we adopt the interpretation used in (Chen et al., 2001). A detailed analysis will be given in Section 4. Having defined Voronoi region for each spatial entity in a finite system of spatial entities Γ, we are now ready to define the Voronoi-based 9-intersection relation of two entities in Γ. Let A, B be two entities in Γ. We define R v9 (A, B) = A B A B A B v A B A B A B v A v B A v B A v B v (4) As in 9IM, we represent the V9I relation between two spatial entities A, B by a 3 3 Boolean matrix R v9 (A, B), where an entry is 0 if the corresponding intersection is empty and 1 otherwise. Given a 3 3 Boolean matrix M, a natural question arises whether M represents a V9I relation between two spatial entities. In the following section, we will give a complete analysis to this question. The results show that there are more V9I relations than identified in (Chen et al., 2001). For ease of discussion, we assign a unique decimal integer d between 0 to 511 to each 3*3 Boolean matrix M as follows 2 d = M(1, 1) 2 8 + M(1, 2) 2 7 +... + M(3, 2) 2+M(3, 3), and call d the matrix identity of M. For example, matrix 1 0 1 1 1 0 has identity 371 = 1 2 8 +0 2 7 +1 2 6 +1 2 5 +1 2 4 +0 2 3 +0 2 2 +1 2 1 +1 2 0. There are 512 different Boolean matrices in total, but very few of them are realizable. Table 2 gives all matrixes that represent a realizable V9I relation in each case respectively. 3 V9I relations between spatial entities In this section, we give a complete classification of V9I relations between two spatial entities. According to whether these spatial entities are points, lines, or areas, there are nine cases to consider. Since the case (line, point) is the converse of the case (point, line), the case (area, point) is the converse of the case (point, area), and the case (area, line) is the converse of the case (line, area), we need only consider six cases. In the following, we will show, for each pair of types (Type-1,Type-2) of spatial entities and each 3 3 Boolean matrix M, whether there exist a finite system Γ of spatial entities and a Type-1 entity A Γ and a Type-2 entity B Γ such that M = R v9 (A, B). 2 We believe this or similar encoding has been used elsewhere before. 5

Table 2: Realizable Relations in V9I Type Corresponding Matrix Identities of Realizable Relations in V9I (area, area) M 0, M 1, M 27, M 31, M 91, M 95, M 351, M 292, M 293, M 319, M 383, M 448, M 449, M 475, M 479, M 484, M 485, M 511 (line, line) M 0, M 1, M 27, M 45, M 63, M 195, M 219, M 239, M 255, M 325, M 351, M 365, M 383, M 455, M 479, M 495, M 511 (line, area) M 0, M 1, M 27, M 31, M 195, M 199, M 219, M 223, M 287, M 455, M 479, M 292, M 293, M 319, M 487, M 511 (point, point) M 0, M 1, M 27 (point, line) M 0, M 1, M 45, M 27 (point, area) M 0, M 1, M 27, M 31, M 36, M 37 3.1 The V9I relation between two points Suppose M is a 3 3 Boolean matrix. We now determine when M represents the V9I relation between two points p, q. Note that for two points p, q, we have {p} = {q} =, and {p} = {p}, {q} = {q}. Moreover, we have p {p} v and q {q} v. Therefore, if M represents the V9I relation between p, q, then the first row and the first column of M are both (0, 0, 0). As a consequence, the V9I relation between two points p, q is represented by the following matrix: R v9 (p, q) = 0 {p} {q} {p} {q} v 0 {p} v {q} {p} v {q} v We will need the following result, which shows that, in particular, p is in {q} v iff p = q. Proposition 1. Let Γ be a finite set of spatial entities and p be a point in Γ. If X is a point or a line in Γ, then p X v iff p X; if X is an area in Γ, then p X v iff p X. Proof. Take the case when X is a line as an example. If p X, then d(p, X) =d(p, p) =0, and hence p X v. On the other hand, if p X, then d(p, p) =0<d(p, X) because X is a closed set. Hence p X v. Note that {p} {q} = iff p = q. By p {p} v and q {q} v, we know if {p} {q} is nonempty, then the other three intersections are all nonempty. On the other hand, if {p} {q} =, then by Proposition 1 we know p {q} v and q {p} v. So, in this case, {p} v {q} v is the only undetermined intersection. This suggests that there are at most three possible matrices. These are all realizable and their realizations are shown in Figure 1. We note that the first two relations are context-sensitive in the sense that existence of other entities in the finite system Γ will affect the validity of these relations. 6

Figure 1: V9I (point, point) relations between two points p and q, where L is an auxiliary line. Definition 2. We say a V9I relation α is context-sensitive if there exists an instance (A, B) of α such that the V9I relation between A, B changes if we add (or delete) a third entity C to Γ without changing all the other entities. Remark 2. Let A, B be two spatial entities that are related by a context-sensitive V9I relation α. Suppose the relation between A, B changes to another V9I relation α if we add or delete a third region C from Γ. Because A, B have not changed, it is clear that the topological relation between them does not change. Therefore, the V9I relations α and α are contained in the same 4IM relation. Moreover, these relations cannot be distinguished by 9IM. 3.2 The V9I relation between a point and a line Suppose M is a 3 3 Boolean matrix. We now determine when M represents the V9I relation between a point p and a line L. Note that {p} = and {p} = {p} {p} v. Therefore, the V9I relation between p and L is represented by the following matrix: R v9 (p, L) = {p} L {p} L {p} L v {p} v L {p} v L {p} v L v There are two subcases according to whether p is in L. First, suppose p is not in L. Then by Proposition 1 we know p L v, i.e. {p} L v =. Similarly, for any q L, we have d(q, L) =0<d(q, p), and hence q {p} v. We have {p} v L =. So there are only two possible matrices in this subcase: 0 0 1 Second, suppose p is a point of L. Then it is straightforward to show that {p} v L = {p} v L v = {p}. If p L, then we have {p} L = and {p} v L =. If p L, then 7

we have {p} L = and {p} v L =. Because {p} {p} v and L L v, there are only two possible matrices in this subcase: These four matrices are all realizable, and illustrations are given in Figure 2. We note that the first two relations are context-sensitive. Figure 2: V9I (point, line) relations between a point p and a line L, where K is an auxiliary line. 3.3 The V9I relation between a point and an area Suppose M is a 3 3 Boolean matrix. We now determine when M represents the V9I relation between a point p and an area A. Note that {p} =, {p} = {p} {p} v and A A v. The V9I relation between p and a is represented by the following matrix: R v9 (p, A) = {p} A {p} A {p} A v {p} v A {p} v A {p} v A v There are three subcases according to the topological relation between p and a. First, if p A, then {p} A, {p} v A, and {p} A = {p} v A = {p} A v =. Thus the only undetermined intersection is {p} v A v, and there are only two possible matrices: Second, if p A, then {p} A = and {p} A = {p} v A = {p} A v = {p} v A v. The only undetermined intersection is {p} v A. Thus there are also two 8

possible matrices in this subcase: Third, when p A, then {p} v A = and {p} A v =. The only undetermined intersection is {p} v A v. Thus we also get two possible matrices for this subcase: 0 0 1 These six matrices are all realizable, and illustrations are given in Figure 3. Note that relations M 0 and M 1 in Figure 3 are context-sensitive and split the 4IM (point, area) relation disjoint. They cannot be distinguished by 9IM. Similarly, the relations M 36 and M 37 are contextsensitive and split the 4IM (point, area) relation contained by. They cannot be distinguished by 9IM either. In addition, the V9I relations M 27 and M 31 3 split the 4IM (point, area) relation touch, and they could neither be distinguished by 9IM. These relations are, however, not context-sensitive. Figure 3: V9I (point, area) relations between a point p and an area A, where L is an auxiliary line and B is an auxiliary area. 3 This relation was not considered in (Chen et al., 2001). 9

Definition 3. We say a V9I (point, region) relation α is shape-sensitive if there exists an instance (p, A) of α such that the V9I relation between p and A changes if we replace a tiny part of the boundary of A around p with either a straight line segment or an angle centred at p. Remark 3. The V9I relations M 27 and M 31 are shape-sensitive (see Figure 3). In fact, M 27 occurs when the boundary of A around p is angled, while M 31 occurs when the boundary of A around p is straight. 3.4 The V9I relation between two lines Suppose M is a 3 3 Boolean matrix. We now determine when M represents the V9I relation between two lines L and K, i.e. when M = R v9 (L, K). R v9 (L, K) = L K L K L K v L K L K L K v L v K L v K L v K v Recall that L L v and K K v. We have the following proposition. Proposition 2. Let Γ be a finite set of spatial entities and L, K be two lines in Γ. Suppose X L and Y K. Then we have (i) If X Y, then L v Y, X K v, and L v K v. (ii) If X K = then X K v =. (iii) If L Y = then L v Y =. Proof. Item (i) follows directly from the fact that L L v and K K v. As for (ii), suppose X K =. Then for any point p in X, we have d(p, L) =0<d(p, K), i.e. p is not in K v. Therefore X K v =. Item (iii) is completely similar to (ii). We first consider the case when L K. By Proposition 2(i) we know L K v, L v K and L v K v. Therefore, the representation matrix becomes: R v9 (L, K) = 1 L K 1 L K L K L K v 1 L v K 1 Consider the intersection between L and K. By Proposition 2 we know L v K if L K, and L K v if L K, and L K = iff L K v =, and L K = iff L v K =. In addition, if L K, then we have L K v and L v K. Summing these up, we know that there are at most eight possible matrices with nonempty interior-interior intersection: 1 1 1. 10

We next consider the case when L K =. By Proposition 2, we know L K = iff L K v =, L K = iff L v K =, L K = iff L K v =, and L K = iff L v K =. Combing with the fact that K K v and L L v, we know there are only nine possible matrices when L K = : 0 0 1 0 1 1. Thus altogether we have 17 possible matrices. These matrices are all realizable and illustrations are given in Figure 4. Remark 4. The first pair of relations in Figure 4 are context-sensitive and split the 4IM relation disjoint. Again, these context-sensitive relations cannot be distinguished by 9IM. As there are sixteen (line, line) 4IM relations (Hadzilacos and Tryfona, 1992), the V9I model leaves all 4IM relations other than disjoint unchanged. We also note that only eight V9I (line, line) relations have been found in (Chen et al., 2001). 3.5 The V9I relation between a line and an area Suppose M is a 3 3 Boolean matrix. We now determine when M represents the V9I relation between a line L and an area A. The corresponding Voronoi-based 9-intersection model is: L A L A L A v R v9 (L, A) = L A L A L A v L v A L v A L v A v Recall that L L v and A A v. We have the following proposition. Proposition 3. Let Γ be a finite set of spatial entities and L be a line, and A be an area, both in Γ. Suppose X is a set. Then we have (i) If L X, then L v X ; if X A, then X A v. (ii) If L A = then L A v =. (iii) If L A = then L v A =. Proof. Items (i) follows directly from the fact that L L v and A A v. As for (ii), suppose L A is empty. Then for any point p in L, we know d(p, L) =0<d(p, A), hence p is in not in A v. For (iii), suppose L A is empty. Then for any point p in A we have d(p, A) =0<d(p, L), hence p is not in L v. Case 1. We begin by consider the case when L A is nonempty. By Proposition 3(i) we know L v A is also nonempty. Subcase 1.1. If L A, then by Proposition 3(i) we have L v A, L A v, and L v A v are all nonempty. Therefore the representation matrix becomes: R v9 (L, A) = L A L A L A v 11

Figure 4: V9I (line, line) relations between two lines L and K, where M is an auxiliary line. 12

Moreover, by Proposition 3(i) and (ii) we know L A = iff L A v =. Summing these up, we get four possible matrices for this subcase: 1 1 1 Subcase 1.2. If L A =, then by Proposition 3(i) we know L A v =. The representation matrix then becomes: R v9 (L, A) = L A L A L A v 1 L v A L v A v In addition, if the boundaries of L and A intersect, then by Proposition 3(i) we know L A v, L v A and L v A v. If, on the other hand, the boundaries of L and A do not intersect, then by Proposition 3(ii) we know L A v =. Since L A, we must have L A in this case. This is because, otherwise, boundary points of L are outside A but some interior points of L are interior points of A, and hence L should cross the boundary of A (i.e. L A ). A contradiction. Furthermore, by Proposition 3(iii) we have L v A = since L A =. Summing these results up, we get four possible matrices for this case: Case 2. The case when L A = is much like the previous case. In this case, we note that when L and A are separated (i.e. L A = ), then L v A =. This is because, for any interior point p of A, we have d(p, A) <d(p, L). In this case, we have eight possible matrices: 0 0 1 0 1 1 Therefore we have in total 16 possible matrices for a line and an area. These matrices are all realizable and illustrations are shown in Figure 5. Definition 4. We say a V9I (line, region) relation α is shape-sensitive if there exists an instance (L, A) of α such that the V9I relation between L and A changes if we replace a tiny part of the boundary of A and/or the line L around a point p with either a straight line segment or an angle centred at p, where p is a touching point of A and L, i.e. a 0-dimensional connected component of A L. Remark 5. Egenhofer et al. (1993) have shown that there are eleven 4IM relations between a simple line and an area. The V9I splits a 4IM (line, area) relation when the line is disjoint from, or is contained by, or touch the area. Note that there are three different (line, area) touch 4IM relations according to whether the line touches the region at an interior point or at a boundary 13

Figure 5: V9I (line, area) relations, where L is a line, A is an area, K is an auxiliary line, and B is an auxiliary area. 14

Table 3: 4-intersection (area, area) relations and their matrix representations. ( ) ( ) ( ) 0 0 A and B are 0 0 1 0 A and B touch A equals B ( 0 0 ) disjoint ( 0 1 ) ( 0 1 ) 1 1 A contains 1 1 1 0 A covers B A is contained by B 0 0 B 0 1 1 0 ( ) ( ) A and B overlap ( ) 1 0 A is covered 1 1 1 1 A and B overlap with with disjoint boundaries 1 1 by B 1 0 1 1 intersecting boundaries ( ) ( ) 0 0 0 1 point of the line, or both, viz. (touch boundary), (touch interior), and 0 1 0 0 ( ) 0 1 (touch both). The disjoint relation is split into M 0 1 0 and M 1, which are contextsensitive; and the contained by relation is split into M 292 and M 293, which are also contextsensitive. The touch boundary relation is split into M 27 and M 31, the touch interior relation is split into M 195 and M 199, and the touch both relation is split into M 219 and M 223. These six touch V9I relations are shape-sensitive. As before, these context- and shape-sensitive relations are not distinguishable by 9IM. 3.6 The V9I relation between two areas Suppose M is a 3 3 Boolean matrix. We now determine when M represents the V9I relation between two areas A and B. The corresponding Voronoi-based 9-intersection model is: R v9 (A, B) = A B A B A B v A B A B A B v A v B A v B A v B v Egenhofer and Franzosa (1991) have shown that there are nine topological relations (see Table 3) between two areas A and B, using the 4-intersection model. By the definition of Voronoi region, we have X X v for any area X. It is easy to conclude the following proposition: Proposition 4. Let Γ be a finite set of spatial entities and X, Y be two areas in Γ. Then we have (i) If X Y v then X v Y v. (ii) If X Y then X v Y. (iii) X Y iff X v Y. (iv) If X Y = then X Y v =. Proof. Items (i) and (ii) follow directly from the fact that X is a subset of X v. So does the only-if part of (iii). As for the if part of (iii), suppose X Y is empty. Then for any point 15

p in Y, we know d(p, Y )=0<d(p, X), hence p is in not in X v. For (iv), suppose X Y is empty. Then for any point p in X we have d(p, X) <d(p, Y ), because any path from p to any boundary point of Y crosses the boundary of X first. That is, no interior point of X is in the Voronoi region of Y. We next consider the V9I relation between A and B case by case. If A and B are disjoint, then by Proposition 4(iii), we know both A B v and A v B are empty. Similarly, by Proposition 4(iv), we know both A B v and A v B are empty. Hence the representation matrix becomes: R v9 (A, B) = 0 0 A v B v and there are only two possible matrices in this case: 0 0 0 0 0 1 If A and B touch, then by Proposition 4(iii) and (i), we know A B v, A v B, and A v B v are all nonempty. The representation matrix becomes: R v9 (A, B) =, 0 0 A B v A v B 1 1 and there are only four possible matrices for this case: 0 0 1 0 1 1, 0 0 1 If A equals B, the only relation is If A contains B, then A B v by Proposition 4(ii), and both A B v and A v B are empty by Proposition 4(iii), and A v B = by Proposition 4(iv) and A B =. Therefore, the representation matrix becomes: R v9 (A, B) = 0 0 A v B v, 16

and there are only two matrices for this case: 1 1 1 0 0 1 Symmetrically, for the case that B contains A, the only two matrices are 1 0 0 1 0 0 If A covers B, then we have A B v by Proposition 4(ii), and A B v, A v B, and A v B v are all nonempty by Proposition 4(iii) and (i). Therefore, the representation matrix becomes: 1 1 1 R v9 (A, B) = A v B 1 1 Thus the only two relations for this case are: 1 1 1 Symmetrically, for the case that B covers A, the only two matrices are 1 0 0 1 0 1 If A and B overlap with disjoint boundaries, then we have A B v and A v B are both nonempty by Proposition 4(ii), and both A v B and A B v are empty by Proposition 4(iii). Therefore the representation matrix becomes: R v9 (A, B) = and there are only two matrices in this case: 1 1 1 1 0 A v B v If A and B overlap with intersecting boundaries, then we have A B v and A v B are both nonempty by Proposition 4(ii), and A v B, A B v, and A v B v are all nonempty by Proposition 4(iii) and (i). Thus there is only one matrix in this case, i.e.: 17,

Summing these up, we get 18 possible matrices for (area, area) relations. These matrices are all realizable and illustrations are given in Figure 6. Definition 5. We say a V9I (region, region) relation α is shape-sensitive if there exists an instance (A, B) of α such that the V9I relation between A and B changes if we replace a tiny part of the boundary of A and/or the boundary of B around a point p with either a straight line segment or an angle centred at p, where p is a touching point of A and B, i.e. a 0-dimensional connected component of A B. Remark 6. The V9I splits each 4IM (area, area) relation except equal and overlap with intersecting boundaries. On one hand, disjoint is split into M 0 and M 1, contained by is split into M 292 and M 293, contain is split into M 448 and M 449, and overlap with disjoint boundaries is split into M 484 and M 485. These V9I relations are context-sensitive. On the other hand, touch is split into M 27, M 31, M 91, and M 95, covered by is split into M 319 and M 383, and covers is split into M 475 and M 479. These V9I relations are shape-sensitive. Finally, we note that all split V9I relations are not distinguishable by 9IM. Remark 7. Context-sensitive V9I relations are useful in, for instance, identifying safe evacuation route for people trapped in bushfire. To be specific, let area A and area B be two disjoint fire zones which are still spreading radially. Suppose there is a person P who is trapped at a point C near A and B and trying to go to a safe area D. Could P run from C to D before the fire from A and B blocks the way? Questions like this can be answered by using the V9I model. Assume that the running speed of P is the same as the spreading speed of the fire. If C and D are blocked by A and B in the V9I model (i.e. the Voronoi regions of C and D are disconnected because of the existence of A and B), then it is highly possible that P will be engulfed by fire when running to D. Note that the V9I model can also be generalised to take the spreading speed of fire and the running speed of P as weights of the distance. In this way, we can get more reliable suggestions that are critical in bushfire (or flood) evacuation route planning. Due to shape-sensitivity, V9I is able to distinguish four kinds of touch relation according to whether the boundaries around a touching point are angled or straight. For example, in Figure 6, M 27 is an angled angled touch, M 31 is an angled straight touch, M 91 is an straight angled touch, and M 95 is a combination of the latter two. In the same sense, V9I is also distinguishes between angled angled covered by (M 319 ) and angled straight covered by (M 383 ). These distinctions may enhance the recognition of objects or events in image processing. Take loading cubic boxes (e.g. containers) into a truck as an example. Using the V9I, we could differentiate between stable and unstable states. It is easy to see that straight straight touch represents a stable state, while the other three touch relations, i.e. angled angled, angled straight, and straight angled touch, all represent unstable states. When an unstable state detected, the monitor system can sound an alarm to avoid potential danger of overturning. The above distinctions of touch relations is also useful in monitoring changes of complex objects in GIS. For example, in (Jiang and Worboys, 2009, page 58), the authors remarked that their model cannot distinguish the two different splits of regions shown in Figure 11 of their paper (first proposed by Galton (1997)). This problem can be fixed by using the V9I model. Actually, the two different splits of regions involve, respectively, angled angled touch and 18

Figure 6: V9I (area, area) relations, where A and B are two areas, L is an auxiliary line, C and D are two auxiliary simple regions. 19

straight straight touch. In general, this distinguishing power of V9I is useful to the analysis of dynamic changes involving different touch relations, which are likely to result in different states or processes in real world. 4 Further discussions It is clear that the analysis in Section 3 heavily relies on the definition of Voronoi regions. There are two variant definitions of Voronoi regions. Let Γ be a finite system of spatial entities. The first variant defines the Voronoi region of a point or a line as in Definition 1, but defines the Voronoi region of an area A as A v = {p :( X Γ)d(p, A) d(p, X)}. (5) The second variant defines the Voronoi region of an entity E as E v = {p :( Y Γ)d (p, E) <d (p, Y )}. (6) Compared with Definition 1, these two variants are not desirable in modelling spatial relations. Take (area, area) relations as an example. If we adopt (5), then there are ten different V9I (area, area) relations. This is because, by (5), we have A A v and B B v, and A v B v is the only (possibly) undetermined entry in the V9I representation matrix if the 4-Intersection matrix is given. More specifically, only the disjoint relation splits because the existence of a third entity may block the connection between those two areas. On the other hand, if we adopt (6), then there are only nine different V9I (area, area) relations, i.e. the same as the nine 4-Intersection relations. This is because by (6) we have A B v = A v B = A v B v, and A B v iff A B, and, symmetrically, A v B iff A B. In other words, every V9I matrix entry is uniquely determined by if 4-Intersection matrix is given. This shows that the definition adopted in Definition 1 of this paper and in Chen et al. (2001) is the best choice if we want to make more distinctions. 5 Conclusion In this paper we have given a formal and complete classification for Voronoi-based nine intersection (V9I) relations between various types of spatial entities. Our results have shown that the V9I model is in fact more expressive than what has been believed before. A very interesting phenomenon we found in this paper is that some V9I relations are context- or shape-sensitive. This means that the existence of other entities or the shape of the entities may affect the validity of certain relations. These context- or shape-sensitive relations cannot be obtained by 9IM. Our future work will develop efficient algorithms for computing the Voronoi regions of a system of areas or lines, and develop algorithms for computing and/or detecting these sensitive relations. 20

Acknowledgements We thank the anonymous referees for their invaluable suggestions. This work was partially supported by Australian Research Council (FT0990811, DP120103758) and National Natural Science Foundation of China (61133011, 61228305). References Aurenhammer, F. and Klein, R., 1996. Voronoi diagrams. Karl-Franzens-Univ. Graz and Techn. Univ. Graz. Bhattacharya, P. and Gavrilova, M.L., 2008. Roadmap-based path planning Using the Voronoi diagram for a clearance-based shortest path. Robotics & Automation Magazine, IEEE, 15 (2), 58 66. Chen, J., et al., 2001. A Voronoi-based 9-intersection model for spatial relations. International Journal of Geographical Information Science, 15 (3), 201 220. De Rezende, P.J. and Westrupp, R.B., 1999. An optimal algorithm to construct all Voronoi diagrams for k nearest neighbor search in T 2. In: Proceedings of the 12th Brazilian Symposium on Computer Graphics and Image Processing (SIBGRAPI), October 17-20., Brazil, 7 15. Egenhofer, M.J. and Franzosa, R.D., 1991. Point set topological relations. International Journal of Geographical Information Systems, 5 (2), 161 174. Egenhofer, M. and Herring, J., 1991. Categorizing binary topological relations between regions, lines, and points in geographic databases. Technical Report, Department of Surveying Engineering, University of Maine. Egenhofer, M., Sharma, J., and Mark, D., 1993. A critical comparison of the 4-intersection and 9-intersection models for spatial relations: formal analysis. In: Proceedings of AutoCarto 11, October 30 - November 1. Minnesota, USA: American Society for Photogrammetry and Remote Sensing, 1 11. Foskey, M., et al., 2001. A Voronoi-based hybrid motion planner. In: Proceedings of IEEE/RSJ International Conference on Intelligent Robots and Systems, 2001, Vol. 1, October 29 - November 3., Maui, USA, 55 60. Galton, A., 1997. Continuous change in spatial regions. Spatial Information Theory A Theoretical Basis for GIS, 1329, 1 13. Geng, Z., et al., 2011. Voronoi-based continuous k-nearest neighbor search in mobile navigation. IEEE Transactions on Industrial Electronics, 58 (6), 2247 2257. Hadzilacos, T. and Tryfona, N., 1992. A model for expressing topological integrity constraints in geographic databases. In: A. Frank, I. Campari and U. Formentini, eds. Theories and Methods of Spatio-Temporal Reasoning in Geographic Space. Springer Berlin Heidelberg, 252 268. 21

Hsia, H., Ishii, H., and Yeh, K., 2009. Ambulance service facility location problem. Journal of the Operations Research, 52 (3), 339 354. Jiang, J. and Worboys, M., 2009. Event-based topology for dynamic planar areal objects. International Journal of Geographical Information Science, 23 (1), 33 60. Li, S., 2006. A complete classification of topological relations using the 9-intersection method. International Journal of Geographical Information Science, 20 (6), 589 610. Meguerdichian, S., et al., 2001. Coverage problems in wireless ad-hoc sensor networks. In: Proceedings of the 20th Annual Joint Conference of the IEEE Computer and Communications Societies, Vol. 3, April 22-26., Anchorage, Alaska, USA, 1380 1387. Nojeong, H. and Varshney, P.K., 2005. Energy-efficient deployment of intelligent mobile sensor networks. IEEE Transactions on Systems, Man, and Cybernetics, 35 (1), 78 92. Okabe, A., et al., 2009. Spatial tessellations: concepts and applications of Voronoi diagrams. Vol. 501. Wiley. Sud, A., et al., 2006. Fast proximity computation among deformable models using discrete Voronoi diagrams. ACM Trans. Graph., 25 (3), 1144 1153. Sugihara, K., 1990. Voronoi diagrams in a river. International Journal of Computatinal Geometry and Applications, 2, 29 48. Sugihara, K., 2011. Rescue boat Voronoi diagrams for inhomogeneous, anisotropic, and timevarying distances. In: Proceedings of the Eighth International Symposium on Voronoi Diagrams in Science and Engineering (ISVD), June 28-30., Qing Dao, China, 91 97. Takahashi, O. and Schilling, R.J., 1989. Motion planning in a plane using generalized Voronoi diagrams. IEEE Transactions on Robotics and Automation, 5 (2), 143 150. 22