spatial1 ,y referenced methods of processing raster and

10
Spatial1 ,y referenced of processing methods raster and vector data S B M Bell, B M Diaz”, F Holroydt and M J Jackson The authors consider a general method of constructing addressing and arithmetic systems for two-dimensional image data using the hierarchy of ‘molecular’ tilings based on an original isohedral ‘atomic’ tiling. (Each molecular title at level k isformed from a constant number of tiles at level k - 1; this is termed the ‘aperture property of the hierarchy.) In addition they present 11 objective criteria (which are of sigmficance in cartographic image processing), by which these hierarchies and tilings may be described and compared. Of the 11 topologically distinct types of isohedral tiling, three ([3’], [44] and J ~5~1) are composed of regular polygons, and two of these ([ ] and[44]) satisfy the condition that all tiles have the same ‘orientation’. In general, although each level in a hierarchy is topologically equivalent, the tiles may differ in shape at different levels and only[6% [44], [4.82] and [4.6.12] are capable of giving tie to hierarchies in which the tiles at all levels are the same shape. The possible apertures of hierarchies obeying thb condition are r% Cfor any n > 1) in the cases of (6’1 and [44]; r? or 272 in the case of [4.g2]; and 2 or 3& in the case of [4.6.12]. In contrast the only tiling exhibiting the urnform ‘adjacency’ criterion is [36]. However, hierarchies based on this atomic tiling generate molecular tiles with different shapes at every level. If these disadvantages are accepted, hierarchies based on first-level molecular tiles referred to as the 4-shape, J’-shape, 7-shape and 9-shape are generated. Of these the I-shape and the 9-shape appear to satisfy many of the cartographically desirable properties in addition to having an atomic tiling which exhibits umfonn adjacency. In recentyears thegeneralized balanced temaryaddress- ing system has been developed to exploit the image process- ingpower of the 7-shape. i’?ze authors havegeneralized and extended this system as ‘tesseral addressing and arithmetic’, showing how it can be used to render a 4-shape into a spatially correct linear quadtree. Keywords: cartography, molecular tiling, tesseral address- ing and arithmetic Natural Environment Research Council Thematic Information Service, Holbrook House, Station Road, Swindon SNl lDE, UK *Natural Environment Research Council Computing Service, Holbrook House, Station Road, Swindon SNI lDE, UK (address for correspon- dence) tFaculty of Mathematics, The Open University, Walton Hall, Milton Keynes MK7 6AA, UK The Thematic Information Service (TIS) of the Natural Environment Research Council undertakes research and development in the fields of digital cartography (within the well established experimental cartography unit (ECU)) and more recently spatial analysis and image analysis’. A major area of development within the TIS has resulted from the need to handle not only the conventional vector digitized field survey and map data (approximately 300 Mbytes) belonging to the ECU but also raster digitized satellite data. An initial solution was to provide vector-to-raster conversion software which enables these cartographic datasets to be converted from one form into the other. It is recognized that this solution is far from optimal and that much basic research is necessary if the desired aim of providing smooth and sophisticated data processing and an integrated geo-information system is to be achieved. DEFINITIONS A tiling of the plane (or tessellation) is termed isohedral if all the tiles are equivalent under the symmetry group of the tiling and is said to be regular if, in addition, each tile is a regular polygon. If we classify the isohedral tilings according to the action of their symmetry groups, then 81 types are obtained2, whereas ifwe classify them merely by their adjacency structures there are 11 types. Iffor each of these 11 types we select a representative with the highest possible symmetry for that type, and consider these rep resentatives as nets (th_eir one-skeleton or Y obtain the 11 regular, Subnikov3 or Laves aph form) we nets. Figure 1 presents the Laves nets and for completeness the (older) ‘dual’ or archimedean tilings5, identifying them by sym- bols based on the valencies of the vertices of a given tile (for the Laves nets) or the orders of the polygons meeting at a given vertex (for the archimedean tilings). Although in this paper we consider only tilings where the edges are straight lines, most of the 81 isohedral types consist of tiles some or all of whose edges can be curves. Numerous authors (eg Klinger and Dye@, Hunter and Steiglitz7 and Rosenfeld and Same?) have considered how amalgamations of the square tiling [47 may be used for storing and processing image data. The hexa [36] has also received some similar attention P onal tiling and forms the basis of one of the systems which are commercially available”. Moreover, [3 ] is seen not only as an efficient vol 1 no 4 november 1983 0262-8856/83/040211-10503.00 0 1983 Butterworth & Co (Publishers) Ltd. 211

Upload: others

Post on 21-Jul-2022

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Spatial1 ,y referenced methods of processing raster and

Spatial1 ,y referenced of processing methods

raster and vector data S B M Bell, B M Diaz”, F Holroydt and M J Jackson

The authors consider a general method of constructing addressing and arithmetic systems for two-dimensional image data using the hierarchy of ‘molecular’ tilings based on an original isohedral ‘atomic’ tiling. (Each molecular title at level k is formed from a constant number of tiles at level k - 1; this is termed the ‘aperture property of the hierarchy.) In addition they present 11 objective criteria (which are of sigmficance in cartographic image processing), by which these hierarchies and tilings may be described and compared.

Of the 11 topologically distinct types of isohedral tiling, three ([3’], [44] and

J ~5~1) are composed of regular polygons,

and two of these ([ ] and[44]) satisfy the condition that all tiles have the same ‘orientation’. In general, although each level in a hierarchy is topologically equivalent, the tiles may differ in shape at different levels and only[6% [44], [4.82] and [4.6.12] are capable of giving tie to hierarchies in which the tiles at all levels are the same shape. The possible apertures of hierarchies obeying thb condition are r% Cfor any n > 1) in the cases of (6’1 and [44]; r? or 272 in the case of [4.g2]; and 2 or 3& in the case of [4.6.12].

In contrast the only tiling exhibiting the urnform ‘adjacency’ criterion is [36]. However, hierarchies based on this atomic tiling generate molecular tiles with different shapes at every level. If these disadvantages are accepted, hierarchies based on first-level molecular tiles referred to as the 4-shape, J’-shape, 7-shape and 9-shape are generated. Of these the I-shape and the 9-shape appear to satisfy many of the cartographically desirable properties in addition to having an atomic tiling which exhibits umfonn adjacency.

In recentyears thegeneralized balanced temaryaddress- ing system has been developed to exploit the image process- ingpower of the 7-shape. i’?ze authors havegeneralized and extended this system as ‘tesseral addressing and arithmetic’, showing how it can be used to render a 4-shape into a spatially correct linear quadtree.

Keywords: cartography, molecular tiling, tesseral address- ing and arithmetic

Natural Environment Research Council Thematic Information Service, Holbrook House, Station Road, Swindon SNl lDE, UK *Natural Environment Research Council Computing Service, Holbrook House, Station Road, Swindon SNI lDE, UK (address for correspon- dence) tFaculty of Mathematics, The Open University, Walton Hall, Milton Keynes MK7 6AA, UK

The Thematic Information Service (TIS) of the Natural Environment Research Council undertakes research and development in the fields of digital cartography (within the well established experimental cartography unit (ECU)) and more recently spatial analysis and image analysis’. A major area of development within the TIS has resulted from the need to handle not only the conventional vector digitized field survey and map data (approximately 300 Mbytes) belonging to the ECU but also raster digitized satellite data. An initial solution was to provide vector-to-raster conversion software which enables these cartographic datasets to be converted from one form into the other. It is recognized that this solution is far from optimal and that much basic research is necessary if the desired aim of providing smooth and sophisticated data processing and an integrated geo-information system is to be achieved.

DEFINITIONS

A tiling of the plane (or tessellation) is termed isohedral if all the tiles are equivalent under the symmetry group of the tiling and is said to be regular if, in addition, each tile is a regular polygon. If we classify the isohedral tilings according to the action of their symmetry groups, then 81 types are obtained2, whereas ifwe classify them merely by their adjacency structures there are 11 types. Iffor each of these 11 types we select a representative with the highest possible symmetry for that type, and consider these rep resentatives as nets (th_eir one-skeleton or

Y obtain the 11 regular, Subnikov3 or Laves aph form) we nets. Figure 1

presents the Laves nets and for completeness the (older) ‘dual’ or archimedean tilings5, identifying them by sym- bols based on the valencies of the vertices of a given tile (for the Laves nets) or the orders of the polygons meeting at a given vertex (for the archimedean tilings). Although in this paper we consider only tilings where the edges are straight lines, most of the 81 isohedral types consist of tiles some or all of whose edges can be curves.

Numerous authors (eg Klinger and Dye@, Hunter and Steiglitz7 and Rosenfeld and Same?) have considered how amalgamations of the square tiling [47 may be used for storing and processing image data. The hexa [36] has also received some similar attention P

onal tiling and forms

the basis of one of the systems which are commercially available”. Moreover, [3 ] is seen not only as an efficient

vol 1 no 4 november 1983 0262-8856/83/040211-10503.00 0 1983 Butterworth & Co (Publishers) Ltd. 211

Page 2: Spatial1 ,y referenced methods of processing raster and

C 34.61 ( 34.6)

c3.4 641 (34.64)

c363.61 (3636)

[3 1221 (3.122)

[4 6 121 (4.6 12)

x5x!

ES31 (67

F&o-e 1. The 11 Laves nets (tn square brackets) and their vertex transitive duals. The nomenclaturefor the Laves nets is based on the number of edges coming to a vertex taken in order around the basic polygon. Thus for [3’.4.3.4] the first two vertices have three edges, the next vertex hasfour edges, the next has three and the last has four. The nomenclature for the archimedean tilings is based on the number of n-gons around a vertex taken in order; thusfor (32.4.3.4) there are five polygons around any vertex, two 3-gons followed by one I-gon, another 3-gon then one last I-gon.

image processing arrangement but also as the possible basis for an array processor” which can perform image processing operations. It seems surprising that similar interest has not been taken in the triangular tilings [63], [4.8’] or [4.6.12]. Further, we note an absence in the litera- ture of consideration of the more complex tilings or the highly provocative and mathematically interesting tiling [3.6.3.6].

The allocation of data to a tiling may be based on equal data content12 or equal area1 cover as in the common methods of holding raster data. Rosenfeldt3 has shown how, with an unlimited tiling (see below), it is possible to subdivide a heterogeneous plane until only homogeneous subplanes exist. He also showed that this pyramidal struc- ture may be represented in a number of computationally isomorphic ways. It is now well established that this may be generalized to allow hashingt2, indexing14 and tree structures*. Similar work on hierarchies based on other ‘atomic tilings’ is hampered by the complexity of what may be termed ‘molecular tiles’ formed by these strategies and the difhculties of generating and using the addressing mechanisms which result from such work.

Although much attention has been given to com- putationally efficient means of addressing raster data, usually with reference to the [44] tiling (eg by Woodward” and Gargantini14), little work appears to have been done to see ifthese methods are ‘spatially correct’ in the sense that they can address the entire plane. For example, addressing a square above and to the left of the ‘Gargantini addressing space’ can be dithcult and involves either ‘negative or recurring digit addresses’, rotation of the addressing sys- tem or a complete respecitication of the space when required (see the second-last section below). These more ‘cartoyaphic concerns’ have been better examined by Lucas 6 who with the generalized balanced ternary (GBT) addressing structure, for the [36] tiling, provided an addressing mechanism that was both spatially correct and computationally efficient. GBT addressing is based on the observation that the regular hexagonal tiling may be superimposed on the complex plane such that the cen- troids oftwo adjacent hexagons occupy the positions 0 and 1. When this is the case the set of all centroids occupy the set of all complex numbers of the form a + b(-‘/2 + i3”/2), where a and b are integers. Further the sum or product of any two such complex numbers is another complex num- ber of the same form, ie

at+bl(--k+$) -I- az+b2(-:+:)

= al + a2 + (bl + b2)

[al+b,(-i+fi] [az+bz (-:+:)I

= ata2 - blb2 + (a& + aA - btb2)

GBT arithmetic simply translates these operations into the symbolism of the addressing structure”. We have observed that many similar tiling hierarchies may be generated” and that ifthe atomic tiling is [44] or [37, with the centroids oftwo edge-adjacent tiles occupying the posi- tions 0 and 1, then the set of all tile centroids will be closed under complex addition and multiplication. These opera-

212 image and vision computing

Page 3: Spatial1 ,y referenced methods of processing raster and

tions, translated into the symbolism of the addressing structure, will (like GBT) obey rules analogous to the ‘carry digit’ rules of ordinary decimal arithmetic. We pro- pose the terms tesseral addressing and arithmetic to refer to these s

R atially valid methods of addressing tiles in a

hierarchy , and in the second-last section below we pre- sent examples of the generation of addressing structures and arithmetic tables for such tiling hierarchies.

It is an advantage for all points on the boundary of a tile to be equidistant from the centroid of the tile, thus reduc- ing the number of different algorithms required to process these points.

Convexity

The convexity of a tile is the difference in area between the tile and its closed convex hull, exnressed as a fraction ofthe

PROPERTIES OF ATOMIC AND MOLECULAR TILINGS

To ascertain how satisfactory a tiling is for the image pro- cessing and databasing environments we conceive a tax- onomy of more or less measurable criteria. These criteria can confer both advantages and disadvantages and in the sections which follow we attempt to name and define these criteria. (It is assumed that the tilings referred to may be either atomic or molecular but that the atomic tiling in each case is one of the 11 in Figure 1.)

Adjacency

Two tiles are considered to be neighbours if they are adja- cent either along an edge or at a vertex. A tiling is uni- formly adjacent if the distances between the centroid of one tile and the centroids ofall its neighbours are the same. More generally the adjacency number of a tiling is the number of different intercentroid distances between any one tile and its neighbours. (If we consider tiles to be neighbours only ifthey are adjacent along an edge, then an analogous definition can be made.)

fn image processing terms, the lower the adjacency number the easier it is to identitj those tiles which con- stitute the same logical object.

Rotation

area of the tile. , .

It is an advantage for the points furthest from a tile cen- troid not to be closer to another tile centroid. (Since all the atomic tiles considered in this paper are convex, the advantage is relevant only for the molecular tiles.)

Orientation

Tiles with the same orientation can be mapped onto each other by translations of the plane which involve no rota- tion or reflection. The tiling is said to have uniform orien- tation ifall tiles have identical orientation. More generally the orientation number of a tiling is the number of distinct tile orientations which are possible.

If two tiles do not have the same orientation, integer addressing of the tiles will not be possible.

Limit

If a tiling hierarchy has tiles at level K t 1 which are not ‘similar’ (see below) to those at level R then that hierarchy is said to be limited. Unlimited tilings do not have a defin- able atomic tiling because every atomic tile can be sub- divided into smaller tiles which then become the atomic tiles of a new hierarchy.

If a tiling is limited no change of scale lower than the limit atomic tiling can be envisaged without difficulty.

The rotation number of a tiling is the largest order of a rotational symmetry ofthe tiling(where a rotation oforder

Similarity

n is a rotation by 3‘SO”in). It is an advantage to avoid floating point arithmetic and

the larger the rotation number the more likely it is that this will be possible.

The tiles at levels K and 1 are ‘similar’ ifthey have identical shape, ie the tiles at level 1 are scaled images of those at level k.

Aperture Regularity

The aperture of a level k tile is the number of level K - 1 tiles needed to construct it.

The higher the aperture the easier it is to generalize the ‘pattern t

% es’ which may be generated for any level in the

hierarchy . Depending on application this may or may not be an advantage.

Circularity

The circularity of a tile is the difference in area between the smallest circumscribed and the largest inscribed circle which can be drawn, expressed as a fraction of the area of the tile.

A tiling is regular if the atomic tiles are composed of regular polygons.

Isohedrality

An isohedral hierarchy is one where all the molecular tilings are isohedral. Clearly all unlimited tilings are isohedral. Further, Holroydi7 has shown that if the first three levels of molecular tiling are isohedral then all subsequent levels will also be isohedral.

It is a disadvantage to have separate algorithms to deal with differing tile types as would occur if the hierarchy were not isohedral.

VOE 1 no 4 novembc?r 1983 213

Page 4: Spatial1 ,y referenced methods of processing raster and

Democracy

Democracy among level K tiles exists when in the level K + 1 tile it is impossible to differentiate between the level k tiles.

This is a property which may or may not be an advan- tage depending on the application. Thus the polygonal coherence afforded to ‘pattern types’ obtained by having a clear central tile is an advantage of undemocratic molecular tiles (c$ aperture); however, it is an advantage to be able to treat all democratic tiles with the same algorithms. Finally, it is better to avoid the complicated addressing structures which democratic tiles often produce.

UNLIMITED TILING HIERARCHIES

In a tiling hierarchy, each edge of a molecular tile is formed from several atomic tile edges. It follows that an atomic til- ing is capable of generating unlimited hierarchies only if each edge of each tile lies on an intinite straight line com- posed entirely ofedges. Thus only [44], [4.6.12], [4.8*] and [63] are capable of generating unlimited hierarchies.

Assuming that the relationship between levels k and k + m (form any positive integer) is independent ofk with regard to rotation andfor reflection of tile shapes, hier- archies of the types indicated in Figure 2 are the only unlimited hierarchies which can be constructed. We note that in all four cases there exists a hierarchy which does not require a reflection or rotation on changing levels (Figures 2a, 2b, 2ct and 2dt). However, two tilings ([4.6.12] and [4.82]) can generate additional hierarchies if these operations are permitted. In the case of [4.6.12] the operation required is a reflection of the basic tile between levels (Figure 2d2), whereas [4.S2J requires a rotation of 135” between levels (Figure 2~). (However, it is impor- tant to note that the ability to generate a hierarchy does not imply that the tiling so produced will cover the entire plane.) Where there is no reflection or rotation between levels the numbers ofatomic tiles in the first molecular tile iss = a* (n > 1). In the reflection hierarchy of [4.6.12] the number of atomic tiles in the first molecular tile is s = 3n2 (n > 1) and in the rotation hierarchy of [4.8*] .s = 2n2 (n > 1). In all cases the number t of tiles at any level k is t = Sk which implies a constant aperture.

The major property which these four tilings do not exhibit is that of uniform adjacency. In the case of [44] there are two adjacency distances; [4.6.12] has 16 adjacency distances and [4.82] and [63] have eight and three adjacency distances respectively. The tilings [44] and [63] display regularity; however, only [44] displays uniform orientation. Therefore, ordering these filings in terms of their usefulness we get the series [44], [63], [4.S2] and finally [4.6.12].

LIMITED TILING HIERARCHIES BASED ON HEXAGONAL TILES

Only the hexagonal tiling [36] displays the uniform adjacency property and therefore despite being limited is worthy of special attention. However, the hexagonal tiling does give rise to a rich and intriguing collection of hierarchies which do not appear to have been exploited (eg by games programmers) although in the limit the

I 4 16 I 4 16 (I b

I 4 I6 I24

Cl Q?

I 4 I6 I 3 9

di d2

Figure 2. The six unlimited tiling hierarchies, showing the ex

3 ected tile sizes at the first three levels of the hierarchy: a,

[6 1; b, [44]; c, [4. 82]; d, [4.6.12], Tiling [4. 82] has a rota- tion hierarchy of 135q while [4.6.12] has a reflection hierarchy.

perimeter of such a molecular tile is a fractal curve19. To distinguish these tiling hierarchies we classi@ the shape of the first-level molecular tile on the basis of the number of hexagons it contains and then identify the rotation required to ascend the hierarchy (there are no reflection hierarchies because of the regularity of the atomic tiling).

Figure 3 presents six of these hierarchies grouped according to their shape classification. Four of them are based on first-level molecular tiles composed of four atomic tiles in two shape classifications: a ‘regular’ Cshape and a 4’-shape. The two hierarchies based on the Cshape (Figures 3a3 and 3~) are of interest and are discussed below. In contrast the two hierarchies based on the 4’- shape (Figures 3at and 3a& although pretty, are of little interest because of the complex tile shapes they generate at higher levels. Figures 3b and 3c contain the 7-hierarchy and zero-rotation 9-hierarchy, which because of their large aperture are drawn at a different scale.

It can be seen that the hierarchies based on the 4- and 9- shapes may be treated similarly. However, unlike the 7- shape these tiles are not symmetric under 60” and 120”

214 image and vision computing

Page 5: Spatial1 ,y referenced methods of processing raster and

rotation although they are symmetric under 180” rotation (thus 60” rotation one way has the same effect as 120” rota- tion the other way).This feature means that there are three ways to build up a hierarchy based on either of these tile shapes

o no rotation between levels 0 60” anticl~~ise rotation (or 120” clockwise rotation)

between levels 0 120” anticlockwise rotation (or 60” clockwise rotation)

between levels

b Figure 3. Tiling hierarchies based on different shape configurations of the first level tile, with in a4 a 1.20” rotation between levels

vol 1 no 4 ~i~ve~ber 1983 215

Page 6: Spatial1 ,y referenced methods of processing raster and

The second and third of these are mirror images of each other and so only the first two need be considered (the 4- hierarchy is Figure 3as, the 4(120)-hierarchy is Figure 3% and the 9hierarchy is Figure 3~). The similarity of the molecular “lozenge-shaped’ tiles of the 4- and 9hierarchy remain fairly constant on ascending the hierarchy. However, the degree of adjacency is peculiar in that, no matter how large the lozenge tile becomes, two such tiles (one above the other) are in contact along only a single edge of a hexagonal atomic tile, while contact in the other two directions is along nearly a quarter of the perimeter of the corresponding molecular tiles and treats the hexagonal pattern as though it were a ‘skewed square’ pattern. In con- trast the 4(120)-hierarchy (Figure 3as) and 9(120)- hierarchy (not illustrated) generate tiles which are more awkwardly shaped but which exhibit better adjacency pro- perties (eg the 4(lZO~~era~hy). The 7- and 9hierarchies s&r in that there is a clear ‘inside’ and ‘periphery’ to the first-level molecular tile which results in poor democracy although as outlined earlier this need not be a disadvan- tage. The circularity and convexity of the 4hierarchy and 9hierarchy molecular tiles is better than that for the 7- hierarchy, which in turn is better than that for the 4’- hierarchies. Furthermore, as the ‘I-hierarchy is ascended, the distance between points on the boundary of a tile and a regular hexagon fitted as closely as possible to the tile edge becomes larger and larger. However, it must be noted that the essential tile shape resembles the hexagon more closely than the lozenge does and therefore exhibits better similarity. Finally, we observe that the rotational hier- archies in general exhibit worse convexity than the unrotated forms,

To place these hierarchies in an order of preference is difficult because of the need to compare properties. However, in general it is possible to dismiss the 4’- hierarchies and to place the 7hierarchy slightly ahead of the zero-rotation 4- and 9-hierarchies.

TESSERAL ADDRESSING AND NOETIC

To simplify further discussion we present in ‘colouring book style’ the generation of a ‘spatially correct’ or tesseral addressing system and arithmetic for a molecular 9-shape tile based on the [44] tiling.

0 The first step is to examine the atomic tiles of the molecular shape to ascertain if they are democratic. If they are, any tile can be labelled 0. In our example (Figure 4a) the tiling is undemocratic and there is a clear middle tile, which is labelled 0 acccordingly.

0 ‘Label the remaining tiles Corn 1 to n, where each label

Fipre 4. Example of an undemocratic molecular tile

appears only once as in Figure 4b and where label 1 must be on a tile which is the minimum distance from the tile labelled 0. If the centroids of these tiles are joined to the centroid of the tile labelled 0 a series of m vectors is generated. In our example these are 01, 02, 03,04,05,06,07 and OS.

0 Generation of the hierarchy is achieved by nominating the molecular tile generated above, with a label from the seriesO,I,. ..m,. . . rz. Thus the atomic tiles of the mth molecular tile will have new labels of the form m0, ml, . . . mm, . . . mn. This is illustrated in Figure 5. It may be seen that this example uses a hierarchy which is unrotated. If we had decided to use some rotation, then it would have been necessary to maintain the rotation when ascending every level of the hierarchy.

l Generation of the addition arithmetic begins with the assumption that addition to 0 maps into the number added, ie

o+s --+5

It may be seen that this corresponds to the vector 05 or a move down one square from tile 0 to tile 5. By analogy the addition of 5 to 2 results in moving down one square from tile 2, ie to tile 3 as in Figure 6. Thus

2+5--+3 3+5-+4

Similarly, addition of 2 to 0 results in a move in a direc- tion identical to the vector 02 and thus

5+2--+3

6$2~0

8n In 27 20 23

26 25 24

08 01 02

7n 07 00 03 3n

06 05 04

I 6n I 5n I 4n I L I I I

Fipre 5.. Generation of the hierarchy

Figure 6. Addition of 5 corresponds to u move in the direc- tion of the vector 05 because of the assumption 0 + 5 -, 5. i’lus the addition of 5 to 2 is a move downwards to 3, ie 2 t 5 - 3. Similarly, the addition of 2 to 0 results in a move identical with the vector 02 and thus 5 + 2 - 3 and6+2 -0.

216 image and vision computing

Page 7: Spatial1 ,y referenced methods of processing raster and

This procedure is repeated until all the positions in the addition table are taken as in Figure 7b. To generate the multiplication table begin as before by assuming that multiplication of a number by 1 maps into the number multiplied, eg

1*3 -3

In the tiling example shown in Figure 8, multiplication by 3 results in a clockwise rotation of the vector 01 by 45” resulting in the vector 03. Thus by analogy

5*3 -7

Similarly it may be seen that

1*2 -2

This is a rotation of45” and a scaling of the vector by 2” (Figure 8). Thus

6~2 - 73

(a rotation of 45” and generation of a vector length of2). The other entries in the multip~cation table may be filled in a similar manner (Figure 7~). It should be noted

a

b

7 0 7 8 I2 3 4 5 6

8 I 0 I e I 15 I 2 I 37 I 4 I 51 I 6 I73

C

d

Figure 7. The tesseral addressing structure and an’thmetic tables for a 9-shape molecular tile, based on the [4] tiling with zero rotation between ievels

t t t I I

Figure 8. Multiplication by 2 is a rotation of the vector by 45” and a scaling of the vector Iength by 2” because of the ~s~mption 1 + 2 - 2, The mult~p~iGatio~ of 6 by 2 is a rota- tion of vector 06 by 45” and the scaling2’ * 2” = 2, result- ing in 6 * 2 - 73.

that multiplication always results in a rotation by a fixed angle and scaling of the vector length.

* The inverse vector may be generated by moving one square to the r&h& eg

0+3-3

The inverse operation, moving one square to the left, gives

0+7 -7

and therefore the inverse of 7 is 3. We can think of 7 as -3 (Figure 7d).

Each of the topological types, with the exception of [3.122], admits tiling hierarchiest7. For any tiling hierarchy a tesseral addressing structure can be formed by following the first three steps above. If the centroids of the atomic tiles form a subring of the complex numbers (ie a set closed under addition and complex multiplication), then the fourth, fifth and sixth steps can also be followed and a tesseral arithmetic constructed, this is true if the atomic tiling is [4’] or [367 and the centroids of two edge-adjacent atomic tiles are located at 0 and 1 respectively in the com- plex planes. However, it is important to note that the arithmetic tables based on one labelling strategy may be different from those based on another; this is illustrated in Figure 9. (The difference is only in the labels, ofcourse; the arithmetic itself is always that of complex addition and multiplication.) Extension of the addressing structure and arithmetic to every point in the plane will be discussed in a subsequent paper.

Addition and multiplication tables exist for the Gargantini addressing sytem. In Figure 10, the Gargantini addressing space is in the lower right-hand quadrant and an address here can be constructed in the usual way. Thus the address of tile QO is 332; however, in reality its address should be 0 recurring 332 where the zeros are ‘under- stood’. By analogy tile Ql has the address 332 preceded by 1 recurring. The 1 recurring arises because tile x is left of tile 0 and our arithmetic rules require: that

x+1 -0

The only possible x which qualifies is 1 recurring, giving the result

I . ..lllll 1+

. ..ooooo 0

In a similar manner it may be seen that the arithmetic table requires all addresses in the quadrant above tile 0 to

vol I no 4 november 1983 217

Page 8: Spatial1 ,y referenced methods of processing raster and

be preceded by 2 recurring and all addresses above and to the left of tile 0 to be preceded by 3 recurring

1 . ..22222 2 -t

. ..22222 3

This results in the generation and rationale of the addition and multiplication tables given in Figures 1 lb and 1 lc, although here the zero quadrant is the upper right-hand one (Figure lla).

The mechanism is of considerable interest because of the parallels which may be drawn between 1 recurring and a negative number stored in twos complement form in computers, The extension to handle 2 and 3 recurring depends on the width of the storage field and the number of bits required to store the number which is recurring - 2 bits in this case.

Several points of interest follow from this discovery. The first is that the hierarchy has affinities to the 180” rotation hierarchy (Figure 9b) because of the similar addressing in the leftmost quadrant. (It should be noted that this 180” rotation also generates a spatially correct addressing mechanism as do any similar rotational addressing mechanisms.) Secondly, all the properties des- cribed by Cargantini remain true for all the quadrants. Finally, the strncture is intuitive (if the diagram and the explanation above are used), although it would be better to

a

Figacre 9. TessmaE addressing and an’t~~etic~~r $-shapes based on the [36] tihg with (a) 120” and (b) 180” rotation between levels

have the upper quadrant populated as the zero quadrant as illustrated in Figure lla.

It is our beliefthat tesseral addressing and arithmetic as outlined above will have a wide application especially when the storage and processing of recurring digits is solved in a generalized way, preferably in hardware.

SU-Y AND GENERAL DISCUSSION

We have proposed a series of cartographically important criteria for assessing the usefulness of the 11 regular tilings and have concluded that no tiling satisfies all the criteria. The tiling [44] displays most ofthe desirable properties but fails to exhibit utiorm adjacency, in that there are two intercentroid distances to contend with, one through any vertex and the other through any side. In contrast the til- ing [36] displays uniform adjacency at the atomic tile level but has unfavourable hierarchical properties and more importantly is limited. It is our impression that the two unexplored tilings [6’] and [3.6.3.6] may yet prove to be valuable.

We have found that many limited tiling hierarchies can be generated. However, our tentative conclusion is that those based on the tiling [36] are potentially the most use- ful when examined in the light of their cartographic pro- perties. We observe that molecular tiles composed of hexagonal atomic tiles may be generated in many ways and some have interesting properties. For example, in the

Page 9: Spatial1 ,y referenced methods of processing raster and

limit, certain molecular tile edges of the 4-shape approach zero length when compared with others and these small edges may then exhibit the properties of a vertex. We have also noted that the 4(O)-hierarchy could be treated like a skewed square and could in consequence inherit many of the advantageous properties of the [44] tiling, including being amenable to quadtree storage and manipulation techniques, while retaining the power of spatially correct or tesseral addressing and arithmetic. In addition, if we adopt the Ga~antini method of holding a quadtree as a sorted set of addresses it is clear that her algorithms for Cartesian coordinate conversion can also be used. Similarly the 9(O)-hierarchy can be mapped into a skewed square shape which also has a spatially valid addressing structure and arithmetic (Figure 7) and in addition has good aperture properties.

Examination of the tiling hierarchies based on un- limited atomic tilings suggests that it is difficult to improve on [44]. A tesseral addressing mechanism for this may be based either on the modification of the Gargantini struc- ture using ‘recurring digit’ addressing as shown in Figure 11 or on a rotating addressing structure. A com- putationally efficient arithmetic may be conceived for either structure.

Although it is difficult to chart a course for future research and implementa~on it seems likely that the advantages of quadtree mechanisms must be used, while leaving open the possibility of using the hexagonal tiling for geometrical operations. We believe that the use of recurring digit addressing structures, or of a 180” rotation hierarchy with Gargantini addressing which is overlaid on a hexagonal pixellation, offers the most flexible future

Address of 90 is 6 331 I Address of 91 IS I 331 I Address of 92 is 2 331 I Address of Q3 is j 3311

Figure 10. A v~ua~~ation of kcurring digit’ addressing for the[4’] tiling. The ‘understood’0 recurring ‘Gargantini addressing space’ is quadrant 0. Thus any address in quad- rant 0 is formed by placing 0 recurring before the normal address. Similarly, in quadrant 1, the address would be 1 recurring followed by a normal address.

a

, + 0 I 2 3

/

0 O!I 12/s

1 l I j IO I

3 c---- I 12 I

2 zi3 20 21 !

3 3 / I2 21 30 I I

b

x Cl’1 2 3

0 0 / 0 O I o . -j-_ .._ .-.

~~

-y i.....’ 3 2

.$e I II i 13

3 Cl / 3 i 13 20

E

1

F@re 11. Tesseral addressing and arithmetic using the ‘recurring digit’ construct over the zero-rotation [4”r tiling. Quadrant 0 has been transposed to the upper right, to mirror more closely an ‘ordinary’ Cartesian coordinate system.

especially if implemented in hardware and especially if extended to all points in the plane although we accept that this may need fractional addresses if it is to remain truly tesseral. We intend to prototype this approach in software using Landsat 4 data while simultaneously investigating the parallelism afforded by using array processing hardware.

ACKNOWLEDGEMENTS

We thank the Natural Environment Research Council for making available the facilities and resources for this work. We are also grate&l to David Norris and Graham Cooke for their work in preparing the illustrarjons for this paper and to Ron Linton for his suggestions as to their realiza- tion.

REFERENCES

1 Jackson, M J, Bell, S B M and Diaz, B M ‘Data- base developments in the experimental cartography unit NERC’ Remote Sensing Society Semin. on Geo- graphical Information Systems and Remote Sensing (November 1981)

vol 1 no 4 november 1983 219

Page 10: Spatial1 ,y referenced methods of processing raster and

9

10

Grunbaum, B and Shephard, G C ‘The eighty- one types of isohedral tilings in the plane’ Proc. Cam- @idge Philos, Sot. Vol82 (1977) pp 177-196 Subnikov, A V ‘K voprosu o stroenii kristallov’ BuZL f;;fj.;p. Sci. St. Petersbourg Ser. 6 Vol 10 (1916) pp

Laves, F ‘Ebenenteilung und Koordinationszahl’ 2. rGzktuzrogr. vo15 (1931) pp 68-105 Grunbaum, B and Shephard, G C ‘The geometry of planar graphs’ Proc, 8th British Combinatorial Co@ (1981) pp 124-150 Klinger, A and Dyer, C R ‘Experiments on picture representation using regular decomposition’ Comput. Graphics Image Process. Vol 5 (1976) pp 68-105 Hunter, G M and Steiglitz, K ‘Operations on images using quadtrees’ IEEE Trans. Pattern Anal. Mach. InteZZ. Vol 1 No 2 (1979) pp 145-153 Rosenfeld, A and Samet, H ‘Tree structures for region representation’ Proc. 4th Int. Symp. on Com- ~~~~~~~ted Carto~ap~y canto-Carto Iv) (1979) pp

Burt, P J ‘Tree and pyramid structures for coding hexagonally sampled binary images’ Comput. Graphics Image Process. Vd 14 (1980) pp 271-280 Gibson, L and Lucas, D ‘Vectorisation of raster

11

12

13

14

15

16

17

18

19

images using hierarchical methods’ Comput. Graphics Image Process. Vol20 (1982) pp 82-89 Golay, M J E ‘Hexagonal parallel pattern transfor- mations’ IEEE Trans. Comput. Vo118 No 8 (1969) pp 733 -740 Tamminen, M ‘The EXCELL method for efficient geometric access to data’ Actu Polytech. &and. Math. Comp~t. Mach. Sci. No 34, Helsinki (1981) Rosenfeld, A ‘Quadtrees and pyramids for pattern recognition and image processing’ Proc. 5th Int, ConJ: on Pattern Rec~itio~ (1980) pp 802-811 Gargantiui, I ‘An effective way to represent quad- trees’ Commun. ACM Vol25 No 12 (1983) pp 905- 910 Woodward, J R ‘The explicit quadtree as a structure for computer graphics’ Cornput, ‘J Vo125 No 2 (1982) pp 235-238 Lucas, D “A multiplication in N-space’ Proc. Am. Mat/z. Sot. Vo174 No 1 (1979) pp l-8 Holroyd, F ‘The geometry of tiling hierarchies’ Proc. 9th British Combinatorial Conf: 1983, to be published Bell, S B M, Diaz, B M and Holroyd, F ‘Tesseral addressing and arithmetic’ (1983) to be published Mandelbrot, B B The fractal geometry of nature Freeman, San Francisco, CA, USA (1982)

220 image and vision computing