Jan Terje Bj0rke The Norwegian Institute of Technology Department of Geodesy and Photogrammetry 1034-Trondheim Norway C omm iss ion no.

Similar documents
1. Meshes. D7013E Lecture 14

Mesh Generation. Quadtrees. Geometric Algorithms. Lecture 9: Quadtrees

Triangulation and Convex Hull. 8th November 2018

COMPARISON OF TWO METHODS FOR DERIVING SKELETON LINES OF TERRAIN

Organizing Spatial Data

DIGITAL TERRAIN MODELLING. Endre Katona University of Szeged Department of Informatics

Segmentation of point clouds

Foundations of Multidimensional and Metric Data Structures

TIMSS 2011 Fourth Grade Mathematics Item Descriptions developed during the TIMSS 2011 Benchmarking

Geometric Algorithms. Geometric search: overview. 1D Range Search. 1D Range Search Implementations

CMSC 425: Lecture 10 Geometric Data Structures for Games: Index Structures Tuesday, Feb 26, 2013

RECOMMENDATION ITU-R P DIGITAL TOPOGRAPHIC DATABASES FOR PROPAGATION STUDIES. (Question ITU-R 202/3)

UNIVERSITY OF WATERLOO Faculty of Mathematics

2003/2010 ACOS MATHEMATICS CONTENT CORRELATION GRADE ACOS 2010 ACOS

CSAP Achievement Levels Mathematics Grade 7 March, 2006

9. Three Dimensional Object Representations

Preferred directions for resolving the non-uniqueness of Delaunay triangulations

Common Core State Standards - Standards for Mathematical Practice

Mathematics Curriculum

Quadtrees and Meshing

Scope and Sequence for the New Jersey Core Curriculum Content Standards

Unit Maps: Grade 2 Math

Triangulation Based Volume Calculation Andrew Y.T Kudowor and George Taylor Department of Geomatics University of Newcastle

Introduction to Spatial Database Systems

Mapping Common Core State Standard Clusters and. Ohio Grade Level Indicator. Grade 5 Mathematics

Grade 6 Mathematics Item Specifications Florida Standards Assessments

ENTRY LEVEL. WJEC ENTRY LEVEL Certificate in MATHEMATICS - NUMERACY GUIDANCE FOR TEACHING

Consolidation of Grade 6 EQAO Questions Geometry and Spatial Sense

A triangle that has three acute angles Example:

Module: 2 Finite Element Formulation Techniques Lecture 3: Finite Element Method: Displacement Approach

Massive Data Algorithmics

EOC Review: Practice: 1. In the circle below, AB = 2BC. What is the probability of hitting the shaded region with a random dart?

Concept Fifth Grade: Third Nine Weeks Readiness Standards Time Key Content Key Vocabulary

Scene Management. Video Game Technologies 11498: MSc in Computer Science and Engineering 11156: MSc in Game Design and Development

Kate Collins Middle School Pre-Algebra Grade 6

Unit Map: Grade 3 Math

Surface Modeling With TINs

Key Ideas/ Vocabulary

POSITION, DIRECTION AND MOVEMENT Year 1 Year 2 Year 3 Year 4 Year 5 Year 6 Use mathematical

Ganado Unified School District 7 th Grade Mathematics

Geometric Structures 2. Quadtree, k-d stromy

Presents. The Common Core State Standards Checklist Grades 3-5

Maths Year 11 Mock Revision list

Resampling Scattered Data into a Regular Grid

APS Sixth Grade Math District Benchmark Assessment NM Math Standards Alignment

Grade 6: PA Academic Eligible Content and PA Common Core Crosswalk

Maths Levels Criteria

Integrating the Generations, FIG Working Week 2008,Stockholm, Sweden June 2008

Alternate Angles. Clip 67. Mathswatch

UNIT 11 VOLUME AND THE PYTHAGOREAN THEOREM

6 Mathematics Curriculum

Transformations in the Plane - Activity 1 Reflections in axes and an oblique line.

Code Transformation of DF-Expression between Bintree and Quadtree

2 nd Grade Math Learning Targets. Algebra:

Unit Maps: Grade 1 Math

K-5 Mathematics Missouri Learning Standards: Grade-Level Expectations

GMS 10.0 Tutorial Stratigraphy Modeling TIN Surfaces Introduction to the TIN (Triangulated Irregular Network) surface object

UNIT PLAN. Big Idea/Theme: Polygons can be identified, classified, and described.

INSTRUCTIONS FOR THE USE OF THE SUPER RULE TM

General Pyramids. General Cone. Right Circular Cone = "Cone"

Level 3 will generally

Properties of a Circle Diagram Source:

Grade 7 Mathematics STAAR/TEKS 2014

Computational Geometry

Angle, symmetry and transformation

acute angle An angle with a measure less than that of a right angle. Houghton Mifflin Co. 2 Grade 5 Unit 6

Countdown to your final Maths exam Part 13 (2018)

0815geo. Geometry CCSS Regents Exam In the diagram below, a square is graphed in the coordinate plane.

GMS 8.2 Tutorial Stratigraphy Modeling TIN Surfaces Introduction to the TIN (triangulated irregular network) surface object

Engineering Geology. Engineering Geology is backbone of civil engineering. Topographic Maps. Eng. Iqbal Marie

Scope and Sequence: National Curriculum Mathematics from Haese Mathematics (4 7)

Grade 4 Math Proficiency Scales-T1

Prentice Hall Mathematics: Course Correlated to: Colorado Model Content Standards and Grade Level Expectations (Grade 6)

Computational Geometry

Module 8: Range-Searching in Dictionaries for Points

DIOCESE OF HARRISBURG MATHEMATICS CURRICULUM GRADE 5

TIPS4Math Grades 4 to 6 Overview Grade 4 Grade 5 Grade 6 Collect, Organize, and Display Primary Data (4+ days)

Image Rotation Using Quad Tree

Course Outlines. Elementary Mathematics (Grades K-5) Kids and Numbers (Recommended for K-1 students)

Students will understand 1. that numerical expressions can be written and evaluated using whole number exponents

AEC Logic. AEC Terrain. A program to manage earth works in a construction project. Yudhishtirudu Gaddipati 29-Jun-13

CS 532: 3D Computer Vision 14 th Set of Notes

Module 4. Stereographic projection: concept and application. Lecture 4. Stereographic projection: concept and application

Statistical surfaces and interpolation. This is lecture ten

TTUSD Math Essential Standards Matrix 4/16/10 NUMBER SENSE

Section A Solids Grade E

This strand involves properties of the physical world that can be measured, the units used to measure them and the process of measurement.

INTERPRETATION OF CROP CIRCLE PATTERNS

CSE 5311 Notes 13: Computational Geometry

N. Hitschfeld. Blanco Encalada 2120, Santiago, CHILE.

January 10-12, NIT Surathkal Introduction to Graph and Geometric Algorithms

North Thurston Public Schools Sixth Grade Math Power Standard 1 Unit Assessment #1 and #3

Voronoi Diagrams and Delaunay Triangulation slides by Andy Mirzaian (a subset of the original slides are used here)

CPSC / Sonny Chan - University of Calgary. Collision Detection II

GEOGRAPHIC INFORMATION SYSTEMS Lecture 25: 3D Analyst

Let be a function. We say, is a plane curve given by the. Let a curve be given by function where is differentiable with continuous.

Coatbridge High School Mathematics Department. Homework Booklet. CfE Level 4

SECOND GRADE Mathematic Standards for the Archdiocese of Detroit

An O(n) Approximation for the Double Bounding Box Problem

Name: Period: 2018 Geometry Spring Final Exam Review

Transcription:

ND TRNGULTON Jan Terje j0rke The Norwegian nstitute of Technology Department of Geodesy and Photogrammetry 1034-Trondheim Norway C omm iss ion no.: V bstract This paper is a report on the design and the implementation of a program system for the construction of digital elevation models from arbitrarily distributed elevation points. The point-quadtree is used as a tool to answer the query: find all points inside a given area. Since the search properties of the point-quadtree are strongly dependent on the shape of the tree an algorithm to balance the pointquad tree is implemented. The time complexity of this algorithm gives the program the running time O(n.log(n») where n is the number of points in the point-quadtree. The triangulation known as Delaunay triangulation is used for the triangular decomposition of the surface of the terrain to be mapped. Experiences arising from the application of the program system in some mapping projects are reported. ntroduction. There are several ways of generating a triangular mesh from random data. Elfick (1979) mentions four different methods. However. the time complexity of computer algorithms is important and should be considered when the method of triangulation is selected. The method selected in our program system is based on the Delaunay triangulation. Delaunay triangulation has been applied for example by Mclain(1975) Elfick (1979) McCullagh and Ross (1980' and lowden (1985). The Delaunay triangulation requires an algorithm for fast access to geometric data in order to answer queries such as how to find all points inside a given area. There are several algorithms for this purpose. Some of these algorithms are based on grouping the data points into buckets as in the Excell method (Tamminen 1981) and Grid file method (Hinrichs 1985) for example. Our algorithm however applies the point- quadtree (Samet 1984). t should be stressed that search algorithms based on the point quadtree assume that the search can be done in core. The triangulatiq.d. The third point of a triangle is defined by the circumscribing circle passing through the base line and the third point. The 38

rightmost/leftmost neighbour of a base line is found when the right/left part of the circumscribing circle contains within it no other data points see Fig. 1. n order to simplify the calculations the coordinates of the candidates are transformed to a local coordinate system with the X-axis along the base line and the origin at one of the end points of the base line. y c Fig. 1. Search for the third point of a triangle. The search for the third point is a critical step for the efficiency of the algorithm. f for example all the n points in the overall set are checked for every triangle to be formed. the program will require a running time 0(n 2 ). better strategy therefore is to select the most probable subset of data points. This subset can be defined by a circle located on the relevant side of the base line. The initial diameter of the circle is set equal the length of the base line. f the circle contains no data points within it its size can be increased and a new search performed as in McCullagh and Ross (1980) This stepwise growth of the circle or the window goes on until an appropriate candidate is found or the window reaches a maximum value. Since the coordinates of the points are expressed in the given local coordinate system the appropriate third point of a triangle belongs to the circumscribing circle whose centre point has the lowest V-value. The X-values of the centre points are of course equal for all the circumscribing circles belonging to the same base line. The data structure selected for the triangulation is shown in Fig.2. Two tables the E-table and the T-table define the edges and their associated triangles. Eft and Est hold pointers to the first triangle and the second triangle of the edges and Tfe Tse Tte hold pointers to the three edges of the triangles. f an edge is a part of one triangle only the edge is located at the perimeter of the network and its pointer to the T-table is set to nil. 39

d E-table T-table Entry Eft Est Efrom Eto Entry Tfe Tse Tte 1 2 a b 1 2 3 2 4 a c 2 1 4 5 3 3 c d 3 3 6 1 4 4 2 a 9 Fig.2. Data structure for the triangulation. The E-table is initialized by entering the first triangle side of the network and marking its two associated triangles unvisited that is Eft(1)=unvisited and Est(1)=unvisited. Then a search for the third point of triangle Eft(1) is started. When this point is found the two new triangle sides are stored in the E-table and their associated triangle is stored in the T-table. Then a new search is performed for the second triangle Est(l) and the tables are updated in the same way as for the first triangle. Thereafter the procedure continues with edge 2 edge 3 and so on until all triangles are constructed. s soon as a data point is used in the formation of a triangle. it is flagged because the triangulation algorithm has to know if a point has been used before or not. Some special cases may occur in the triangulation. One of them is shown in Fig.3. This case can be termed the regular grid case since the data points are distributed in the same way as points in a regular rectangular grid. The circumscribing circle therefore passes through four points as shown in Fig. 3. n additional test has to be introduced. but if this test is not carefully designed overlapping triangles may be formed. There are at least two possible formulations for this test. One method is to add small values to the coordinates. nother method is to define nearest neighbours on the basis of the angular distance from the base line. The rotational direction however. is defined clockwise 40

or anticlockwise dependent on the direction of the base line. y nticlockwise Clockwise Overlapping triangles o C o c X --------~ Fig. 3. The regular grid case. alancing the point guadtree point quadtree (p-q-tree) and its partition of the XY-plane is shown in Fig. 4. (0100 (1001001 )( r (545) C (2535) E 135~) 0 (SO101 G 16075) (85151 F (80651 (90 511 H (001 r 1000) _v Fig. 4. point quadtree and its partition of the XY-plane. ssume a well~balanced p-q tree and an exact match query. The answer can be given in O(h) time; where h= the height of the tree. n the Oelaunay triangulation region queries are given. f the window however is relatively small the answer can be found in approximately the same time as in the exact match case. The shape of the p-q tree is strongly dependent on the succession of the points to be inserted. Therefore it is appropriate to implement a procedure to balance the tree The basic idea of this algorithm is to find the most suitable split points. There may be several ways to select these points. One method is to calculate the mean point of the current interval as XC=[X/n ; YC=[Y/n and select as split point the data point nearest to (XCYC). This 41

method is applied by Midtb0 (1987). This point then splits the interval into four subsets. Thereafter the procedure can be repeated recursively for each of those subsets. This procedure cannot. of course guarantee a well-balanced p-q tree for all possible distributions of the data points. f. for example the data points are distributed along a straight line the split point will partition the data set into two subsets only. The balancing procedure is illustrated in Fig. 5. n array P holds the coordinates of the data points one record for each pair of coordinates. and are pointers to the start and end of an interval of P. ~ ~ P-array of (x.r)coordinates ~ 1 1! NW NE SW SE The initial interval of P. Search for the split point. Swap the first point and the split point. Move one step in the direction of. Sort the intervall S according to the split point. Repeat the procedure recursively for the four quadrants NWNESWSE. Fig. 5. The balancing procedure. f the data points can fit into a well-balanced p-q tree the running time of the given balancing routine is O(nlog(n)). Experiences The program system at hand has been used in several mapping projects. Fig. 6 shows the network of triangles and isolines generated from 1000 data points. The points in this case are measured by use of digital land surveying equipment. Since the progam system allows the land surveyor to measure the data points in an arbitrary sequence. he can do his field work in the most convenient way. 42

Fig. 6. Triangles and isolines. n another project the part above the sea level of some icebergs were mapped and their volume above this level computed. linear interpolation and triangular meshes were very useful in this project. because the surface of the icebergs has sharp breaklines like a surface composed of inclined planes. The volume in this case is easily computed by summing the volume of the prisms as V= [ (F/3)(H 1 +H 2 +H 3 ). Conclusion When the time complexity of the algorithms and the size of the required storage space are considered. the Delaunay triangulation and the balanced point Quadtree are good bases for the implementation of digital elevation models. From a land surveyor's point of view. the triangular mesh is a natural way of thinking. Therefore he can recognize intuitively the consequenses of adding new data points to his set of collected data points. References Elfick M. H. 1979. Contouring by Use of a Triangular Mesh. The Cartographic Journal vol. 16 no. 1 pp. 24-29. Hinrichs K. H. 1985. The grid file system: mplementation and case studies of application. Dissertation nstitut fur nformatik ETH Zurich 112 p. 43

lowden. 1985. Storage-Efficient Method for Producing Smooth Contour Maps. nfor vol. 23 no. 4 pp. 441-468. Mclain D.H. 1975. Two-dimensional interpolation from random data. The Computer Journal vol. 19 no. 2. pp. 118-181. McCullagh M. J. Ross C. G. 1980. Delaunay Triangulation of a Random Data Set for sarithmic Mapping. The Cartographic Journal vol. 17 no. 2 pp. 93-99. Midtb0 T. 1981. Oigitale terrengmodellar. Hovedoppgave The Norwegian nstitute of Technology Department of Geodesy and Photogrammetry Trondheim 124 p. Samet H. 1984. The Quadtree and Related Hierarchical Data Structures. Computing Surveys vol. 16 no. 2. pp. 187-260. Tamminen M. 1981. cta Polytechnica Scandinavica Mathematics and Computer Science Series no.34 Helsinki University of Technology 51 p. 44