<<

INFORMATION TO USERS

This material was produced from a microfilm copy of the original document. While the most advanced technological means to photograph and reproduce this document have been used, the quality is heavily dependent upon the quality of the original submitted.

The following explanation of techniques is provided to help you understand markings or patterns which may appear on this reproduction.

1. The sign or "target" for pages apparently lacking from the document photographed is "Missing Page(s)". If it was possible to obtain the missing page(s) or section, they are spliced into the film along with adjacent pages. This may have necessitated cutting thru an image and duplicating adjacent pages to insure you complete continuity.

2. When an image on the film is obliterated with a large round black mark, it is an indication that the photographer suspected that the copy may have moved during exposure and thus cause a blurred image. You will find a good image of the page in the adjacent frame.

3. When a map, drawing or chart, etc., was part of the material being photographed the photographer followed a definite method in "sectioning" the material. It is customary to begin photoing at the upper left hand corner of a large sheet and to continue photoing from left to right in equal sections with a small overlap. If necessary, sectioning is continued again — beginning below the first row and continuing on until complete.

4. The majority of users indicate that the textual content is of greatest value, however, a somewhat higher quality reproduction could be made from "photographs" if essential to the understanding of the dissertation. Silver prints of "photographs" may be ordered at additional charge by writing the Order Department, giving the catalog number, title, author and specific pages you wish reproduced.

5. PLEASE NOTE: Some pages may have indistinct print. Filmed as received.

Xerox University Microfilms 300 North Zeeb Road Ann Arbor, Michigan 48106 76-24,552 AYENI, Olubodun Olarewaju, 1941- CONSIDERATIONS FOR AUTOMATED DIGITAL TERRAIN MODaS WITH APPLICATIONS IN DIFFERENTIAL PHOTO MAPPING. The Ohio State University, Ph.D., 1976 Geodesy

Xerox University Microfilms r Ann Arbor, Michigan 48106 CONSIDERATIONS FOR AUTOMATED DIGITAL TERRAIN MODELS WITH APPLICATIONS IN DIFFERENTIAL PHOTO MAPPING

-DISSERTATION

Presented In Partial Fulfillment of the Requirements for

the Degree Doctor of Philosophy In the Graduate

School of The Ohio State University

By

Olubodun Olarewaju Ayenl, B.A., M.Sc., M.S.

* Vc * *

•The Ohio State University

1976

Reading Committee: Approved By

Professor S. K. Ghosh (Adviser) Professor D. C. Merchant Professor J. S. Rustagi Adviser Department of Geodetic Science Dedicated to the Blessed Memory

of my Beloved Father

ZACCHEUS OGUNLADE AINA AYENI

To whom I owe so much not only as

a Father hut also as a Teacher ACKNOWLEDGEMENTS

I wish to acknowledge the invaluable support provided by my academic adviser, Prof. S. K. Ghosh, throughout my academic career at Ohio State.

In particular, I am grateful to him for his prompt guidance and unfailing technical advice at every stage of this research. I also wish to express my gratitude to the other members of the reading committee, Prof. D.C.

Merchant and Prof. J.S. Rustagi for their instructive corrections and suggestions. I .received initial inspiration for this research through the

Master's theses of Messrs. Jiwalai and El-Ghazali. I am therefore grate­ ful to them. The assistance received from Prof. Rayner on Spectral Ana­ lysis in 2 dimensions is also gratefully acknowledged.

I would like to acknowledge with gratitude the financial support pro­ vided by the Nigerian Federal Government and Prof. Uotila, Chairman, Geo- detrlc Science Department, without which the successful completion of my studies would have been impossible. I also gratefully acknowledge exten­ sive use of the facilities of the Instruction and Research Computer Center of the Ohio State University.

Last, but by no means least, I wish to express my profound gratitude to my beloved wife, Aduke and to my lovely sons Tayo and Kunle for their patience and endurance when I had to devote inordinate amounts of time to this research at their expense. ______

i VITA

Dec. 31, 1 9 4 1 ...... Born, Ikole-Ekfiti, Nigeria.

1968 ...... B.A. (Honors) Geography, University of Ibadan, Ibadan, Nigeria.

1968-70 ...... Senior Mathematics and Geography Teacher, St. Mary's Girls' High School, Ikole-Ekiti, Nigeria.

1972 ...... M.Sc. Engineering Surveying, University of Lagos, Lagos, Nigeria.

1972 ...... Assistant Lecturer, Univeristy of Lagos, Lagos, Nigeria.

1974 ...... Graduate Research Associate, Ohio State University, Columbus, Ohio.

1975 ...... M.Sc. Geodetic Science, Ohio State University, Columbus, Ohio

1975-76 , ...... Graduate Research/Teaching Associate, Ohio State University, Columbus, Ohio.

PUBLICATIONS

1. Ayeni 0. 0. "A Nigerian Grid System in 2° T.M. Zones". M. Sc. Thesis, University of Lagos, Lagos, Nigeria, 1972.

2. Ayeni 0. 0. "Computer-Assisted Close-range Photogrammetrlc Mapping of Cows". M.Sc. Thesis, Ohio State University, Columbus, Ohio, 1975.

3. Ayeni 0.. 0. "Computer-Assisted Close-range Photogrammetrlc Mapping of Cows for Genetic Studies", Instrumentation Society of America Award, 1975.

4. Prof. Ghosh S. and Ayeni 0. "Procedures for Computer-Assisted Close- range Photogrammetrlc Mapping", I.S.P./A.S.P. Symposium, July/Aug. 1975, Illinois.

5. Ayeni 0. 0. "Objective Terrain Description and Classification for Digital Terrain Models". Presented paper XIII I.S.P. Congress, Helsinki, Finland, 1976.

ii PUBLICATIONS (Continued)

6. Ayeni 0. 0. "Optimum Sampling for Digital Terrain Models; A trend towards automation", XIII I.S.P. Congress, Helsinki, Finland, 1976.

* * * *

FIELDS OF STUDY

Major Field: Geodetic Science

Studies in General Photogrammetry Professor Sanjib K. Ghosh

Studies in Analytical Photogrammetry Professor Dean C. Merchant

Studies in Adjustment Computation Professor Urho A. Uotila

Studies in General Geodesy and Geodetic Astronomy Professor Ivan I. Mueller

Studies in Physciaal Geodesy and Surveying Professor Gabriel F. Obenson

Studies in Mathematics and Mathematical Projections Professor Richard H. Rapp

Studies in Statistics Professor J. S. Rustagi

iii TABLE OF CONTENTS

Page ACKNOWLEDGMENTS ...... i

VITA ...... ii

LIST OF TABLES...... vii

LIST OF FIGURES ...... viii

Chapter

I. SCOPE AND OBJECTIVE...... 1

1.1 Introduction...... 1 1.2 Scope and Objective ...... 5

II. TERRAIN DESCRIPTION AND CLASSIFICATION ...... 10

2.1 Introduction...... 10 2.2 Parameters of Surface Roughness ...... H 2.21 Slope, Gradient, and Curvature...... H 2.22 Direction Cosine and Eigen Vector Method. . . 12 2.23 Bump Frequency Distribution ...... 14 2.24 Distribution of Planes...... 14 2.25 Surface Area...... 17 2.26 Breaklines...... 18 2.27 The Harmonic Vector Magnitude ...... 19 2.28 Amplitude Power Spectrum...... , 22 2.281 Spectial Analysis in 2-Dimension...... 24 2.3 Parameters for Describing Spatial Distribution of Surface Irregularities. . . 27 2.31 Autocorrelation in one-dimension...... 27 2.32 Autocorrelation in two-dimension...... 29 2.4 Computer Program for Terrain Analysis .... 30 2.5 Terrain Classification...... 34 2.51 Statistical Method Used for Terrain Classification...... 36 2.52 Computer Program for Evaluation and Improvement of Classification ...... 38

III OPTIMUM TERRAIN SAMPLING FOR DIGITAL TERRAIN MODELS 41

3.1 Introduction...... 41 3.2 Optimum Sample Size ...... 42 3.21 Harmonic Vector Magnitude Method...... 42

iv 3.22 Multiple Linear Regression Equation Method...... 46 3.3 Optimum Sample Type ...... 59 3.31 Major Sampling Patterns ...... 60 3.32 Das' Theorems for Relative Efficiency of Sampling Patterns ...... 64 3.33 Theoretical Expectation and Emperical Result of the Relative Efficiency of Sampling Patterns 66 3.4 Automatic Optimum Sampling for D.T.M...... 71

IV INTERPOLATION PROCEDURES FOR DIGITAL TERRAIN MODELS. . . 74

4.1 Definition of Basic Terminologies ...... 74 4.2 Interpolation Formulas...... 75 4.21 Numerical Polynomial Interpolation Formulas .. . 75 4.211 Newton’s Forward Interpolation Formula...... 77 4.212 Spline Interpolation Formula...... 77 4.213 Aitken-Neville Formula...... 78 4.214 Stirling's Interpolation Formula...... 79 4.215 Lagrange Formula ...... 80 4.216 Divided Difference Formula...... 80 4.22 Polynomial Interpolation Formulas ...... 8 1 4.23 Logarithmic Formulas...... 82 4.24 Exponential Formulas...... 82 4.25 Fourier Series Formulas ...... 83 4.26 Multiguadric Formulas ...... 83 4.3 Optimum Interpolation and Least Squares Method. . 84 4.31 Stepwise Regression Procedures for Optimum Interpolation ...... 87 4.32 Least Squares Collocation for Interpolation .. . 96 4.33 Patchwise Interpolation ...... -101 4.4 Interpolation, Sampling Pattern, Samping Error, and Accuracy...... 101 4.41 Interpolation and Sampling P a t t e r n ...... 101 4.42 Interpolation and Sampling Error...... 103 4.43 Interpolation and Accuracy Considerations . . . .103 4.5 Concept of Automated D.T.M...... 105

V DIFFERENTIAL PHOTO APPLICATIONS...... 110

5.1 Introduction...... 110 5.2 Differential Mapping Procedures ...... Ill 5.21 Procedures for Constructing the Map of a Cow. . .111 5.21 Procedures for Constructing the Map of an Average C o w ...... 117 5.3 Interpolation and Volume Computations ...... 123 5.4 Comparisons between two Objects ...... 126

VI 6.1 Conclusions ...... 131 6.2 Recommendations...... 134

v APPENCIDES Page

A Surfaces for Classification ...... 137 B Sampling Patterns ...... 148 C Computer Programs for ATODTM...... 158

BIBLIOGRAPHY ...... 193

vi LIST OF FIGURES

Figures Page

1.1 Interaction between D.T.M. Components...... 8

2.1 Bump Frequency ...... 15

2.2 Distribution of Planes ...... 16

2.3 Breaklines ...... 19

3.1 Seven Sampling Patterns...... 63

4.1 Least Squares Collocation Quantities ...... 97

4.2 ATODTM Flow Chart...... 109

5.1 Set up of Photograph ...... 112

5.2 Mapping Procedures ...... 113

5.3 Map of Cow #50 ...... 116

5.4 Map of Cow #51 ...... 121

5.5 Map of Average Co w ...... 122

5.6 Multi-Dimensional Plot of Cows 50,51 and 50/51...... 130

Al-15 Terrains for Classification...... 137

vii LIST OF TABLES

Digital Terrain Model Systems ...... 2

Quantitative Characteristics of Fifteen Terrains...... 32 Terrain Classification...... 40

Optimum Sample Size using HVM Criteria...... 45 Dependent and Independent Variables for Regression Equations...... 47 Difference Between Optimum Sample Size by HMV and Regression Equations...... 57

Predictor Variables for Optimum Sample Size ...... 58 Theoretical Expectation and Emperical Results of the Relative Efficiency of Sampling Patterns...... 70

Forward Difference Table...... 76 Stepwise Regression: Composite Modes . . . 94 Interpolation and Sampling Patterns ...... 102 Interpolation and Sampling Errors ...... 105 Interpolation Accuracy...... 106 Classification of Interpolation Methods ...... 107

Interpolation Results ...... 122 Volume Computation...... 126 Table for Comparison...... 128

Empirical Relative Efficiency of 7 Sample Patterns for Interpolation ...... 148

viii CHAPTER I

SCOPE AND OBJECTIVE

1.1 INTRODUCTION

In his pioneering work at the Massachusetts Insititute of

Technology, C. L. Miller [5] in 1958 defines Digital Terrain Model

(D.T.M.) as "A statistical representation of a continuous surface of

the ground by a large number of selected pointes with known X, Y, Z

coordinates." Miller developed D.T.M. techniques as a response to a wide variety of terrain problems in civil engineering notably the eval­

uation of an unlimited number of alternative routes and volume of earth

computations for highway designs and construction. As a result of this

pioneering work, the following decade (1959-69) ushered in a new era

for photogrammetry; an era in. which D.T.M. concepts, were successfully

employed to achieve automatic road location and design systems. Table

1.1 shows the summary of the salient features of the various D.T.M.

systems developed in Europe and U.S.A. during the first decade of its

existence (see [17], [1], and [18] for details). The most significant

characteristic of all these systems is that elevations are measured at

some significant points on the terrain and stored in the computer and

and the elevation of new points needed for design work are interpolated

thus eliminating the necessity to remeasure. TABLE 1.1 DIGITAL TERRAIN MODEL SYSTEM 1959-69 TYPE OF METHOD OF YEAR/TYPE OF Marne COUNTRYINSTITUTION SAMPLING INTERPOLATION COMPUTERAPPLICATION

MIT-Model U.S.A Mass. Constant or 3rd degree 1961 Road Design Institute of Variable Polynomial IBM No Automatic Technology spacing along Road Alignment X or Y scan- lines EGI - France Service Purposeful Cubic Parabola 1965 Automatic System Speciale des Sampling for group of IBM 7094 Road Location Aucoroutes 10 or more and Design SSAR/BCOM Pan's Reference Points Card- Great Paris 1965 Road Design System Britain Elliot Auto­ Elliot 803 without mation Company Elliot 503 Automatic Align­ Bf>ehanwood ment Variation Terra- Great Scott, Wilson & Random 1966 Automatic Road System Britain Kirkpatrick & Sampling Remington R Location and Partners Con­ AO points per UNIVAC 1107 Design sulting Co. acre typical London VIATEK- Finland Viatek-Con- Regular Bilinear 1966 Automatic Road Model sulting Co. Grid Pattern Interpolation IBM 360-50 Location and Helsinli 20-400p/10ha Design Volume Comp. W- Sweden National Rd. Combination Moving Average 1967 Automatic Road Model Administration of Rand, and or by Second SAAB Location Stockholm Breakline pts. Function 100-150/ DTM- German Technische Purposeful Linear 1967 Automatic Stuttgact Hochschule Sampling Interpolation Teletunken Road Location Stuttgart along TR 4 "terrain lines" TABLE 1.1 (Cont'd) DIGITAL TERRAIN MODEL SYSTEMS 1959-69 TYPE OF YEAR/TYPE OF NAME COUNTRY INSTITUTION SAMPLING INTERPOLATION COMPUTER APPLICATION

Nakamira Japan University of Grid Pattern Patchwise 1968 Models Tokyo Interpolation TS-1 with 3rd degree polynomial

TS-2 Japan University of Sampling Fourier Tokyo along Series Contours

CS-Model Czechos­ Czecho Research Regular Grid 2nd Degree 1969 lovakian Institute of and Break- polynomial Geodesy line Topography Sampling and Photo'gram- metry

DELFT The Ministry of Patchwise with 1969 Models Netherlands Public Work one or 3rd Degree poly or Bilinear Interpolation The second decade (1969-79) of the existence of D.T.M. has

so far witnessed substantial progress in two major areas. The first

area is the extension of D.T.M. applications to some new terrain

problems other than highway constructions. The reason for this is not difficult to realize. Once the digital data have been generated by (i) digitizing a stereo-model in a stereo-plotting instrument, (il) measuring photo-image coordinates in a fully-analytical solution and

(iii) by digitizing existing topo-maps, the photogrammetrist is pro­

vided with a data-bank which has unlimited flexibility and from where

further numerical, statistical, and graphical analyses can be made

through the use of the highspeed computer. For example, computation

of surface area, volume of earthwork, slope, curvature, distances,

angles, planes, velocity, perimeter, center of gravity, and graphical

outputs such as contours cross-sections and perspective drawings, can be easily derived from D.T.M. data bank. It is, therefore, not sur­

prising that D.T.M. concepts have found ready applications in geology, metallurgy, animal science, and biometrical studies. Such applications are exemplified par excellence by the research efforts of Duncan et al

[11] and Kratky [6] on limbs replica in orthopaedics, Goulet et al [10] and Takasaki [7] on measurements of the human body; Uppert et al [12] on studies in musculaskeletal systems, Karara [13] on aortic heart valve geometry, Ayeni [57] on measurements on the body of a cow, Jancaitis et al [44] on contouring, Bradenberger [45] on the deformation of dams and

Hardy [22] on the earth's topography. The other area in which the second decade has witnessed development has to do with research into the efficiency of D.T.M. It is, however, surprising that detailed research is sparse in this direction. For example, the only research attempt on terrain classi­ fication was done by Silar [15] in 1969 in which he identified four major classes of terrains by using both subjective and objective methods of classification. In most D.T.M. studies researchers often describe the terrains of their investigation with subjective terms such as "flat," "undulating," and "mountainous" thus, precluding adequate evaluation of the optimum number of data points and their associated distribution (scatter) as well as the reactions of various interpolation techniques to different classes of terrains. The only detailed research on adequate sampling for D.T.M. is credited to

Makarovic [3] and Ghazali [2] in 1973 and 1974 respectively working at I.T.C. On the efficiency of interpolation on a square grid data, the work of Jiwalai [1] 1972 and Leberl [4] 1973 also at I.T.C. constitute a notable contribution to attaining an efficient D.T.M.

1.2 SCOPE AND OBJECTIVE

The apparent apathy towards detailed research into various components of D.T.M. may be explained by the inadequate view expressed by photogrammetrists of what constitute Digital Terrain Models.

Contrary to Miller's view [5] D.T.M. is much more than a "statis­ tical representation of a continuous surface — by a large number of points." Linkwitz's definition [14] of D.T.M. as "the analytical numerical description of an irregular surface based on the measurement of discrete points on this surface,” hardly provides an

improvement over that of his predecessor. Jiwalai [1] 1972 considers

D.T.M. as "the terra used to describe a geometric representation of a part of the earth’s surface which can be stored in the memory of a computer in such a way that the height of any point on that surface can be automatically derived provided its planimetric coordinates are

given." These definitions although good in themselves, are considered inadequate because they tend to ignore the problem areas of D.T.M.

The only definition in literature which accords a fairly good recog­ nition to these problem areas was given by Blaschke [17] who defines

D.T.M. as "the term for the representation of TERRAIN SECTION for

PLANNING and DESIGN purposes, by means of storing measured coordinates,

X, Y, Z of CHARACTERISTIC POINTS, in a computer in SUFFICIENT QUANTITY and SIGNIFICANCE so that by AUTOMATIC INTERPOLATION the elevation of any point determined by its coordinates X, Y can be obtained with

NECESSARY ACCURACY and GOOD ADAPTATION to the NATURAL TERRAIN

SURFACE." (Capitals give by this author). A more precise definition may be given as this: Digital Terrain Model is the NUMERICAL (or digi­ tal) and MATHEMATICAL REPRESENTATION of a TERRAIN by making use of

ADEQUATE ELEVATION and PLANIMETRIC MEASUREMENTS, COMPATIBLE in NUMBER and DISTRIBUTION with that terrain, so that one dimension of any other point of known other dimensions can be AUTOMATICALLY INTERPOLATED with

REQUIRED or SPECIFIED ACCURACY for any given APPLICATION.

From such a comprehensive definition as this we can identify certain characteristics of an efficient D.T.M. viz: 1. An efficient D.T.M. should faithfully represent the

terrain numerically as well as mathematically.

2. Acquisition of terrain data should satisfy the condition

that the digital terrain's data should adequately repre­

sent the terrain both in number and spatial distribution.

3. The mathematical representation should be such that it

approximates the terrain with sufficiently high accuracy

commensurate with the accuracy required for any given

application. The numerical or digital representation

constitutes a bridge between the terrain and the math­

ematical representation which is also a bridge between

the numerical representation and the terrain (see

Figure 1.1). It should be clear that the efficiency of

D.T.M. depends on five factors viz:

(a) the type of terrain

(b) the density of sample terrain data

(c) the distribution of sample data,

(d) the desired and obtainable accuracy, and

(e) the type of interpolation method.

The interactions between these five factors are depicted by arrows in Figure (1.1) where double arrows indicate mutual interactions.

Accordingly, the first part of this research will be geared toward find­ ing solutions to the following D.T.M. problems:

1. The problem of quantitatively describing a terrain

• as well as objectively classifying terrain types

2. The problem of finding the optimum sample size of

data for any given terrain type 3. The problem of determining the optimum distribution of

sample data compatible with any given terrain

4. The problem of finding the optimum interpolation formula

that will meet the requirements and limitations imposed

by 2 and 3 above

5. The possibility of automating the procedures involved

in 1, 2, 3, and 4 above so that the stereo-plotter

operator could generate and analyze D.T.M. data with

maximum efficiency and minimum effort.

FIG. 1.1 Interraction Between D.T.M. Components

REAL WORLD

Terrain

Computer World (Medium 2) Interpolation „ Procedure Sample Size

Sample ACCURACY Pattern

Photogrammetric World (medium 1) 9

The second part of this research will focus attention on

applications which are many and varied. However, the particular application of interest here relates to differential mapping with close-range photogrammetry. The problem of mapping an object relative

to another of the same kind will be Investigated and application of automated D.T.M. will be exemplified therefrom. CHAPTER II

TERRAIN DESCRIPTION AND CLASSIFICATION

2.1 INTRODUCTION

There are many quantitative parameters which could be used to describe a terrain since the terrain itself is a complex entity with multivariate characteristics. Any parameter used to describe the terrain must, however, satisfy certain conditions some of which were recognized by Hubson [26]:

(i) The parameter should be conceptually descriptive. That is

it should conjure a mental image of the physical

characteristics of the terrain as much as possible.

(ii) The parameter should be easily measurably in digital form.

(iii) The parameter should be suitable for further numerical and

statistical analyses.

(iv) The parameter should be comparable at different scales.

Quantitative parameters for terrain description may be

classified into two major categories:

(a) those which describe surface "roughness" and

(b) those which describe the spatial distribution of surface

terrain irregularities. Because of the complex

character of the terrain its "roughness" should be

10 11

regarded as a vector in multi-dimensional space.

This makes it almost impossible to give a single concise

definition of surface roughness. The statement that

this surface is rougher than the other is only true in

respect of the roughness parameter being considered.

In general one may assert that roughness parameters

depict the degree and magnitude of surface irregular­

ities and they are not related to the spatial

distribution of surface irregularities.

2.2 PARAMETERS OF SURFACE ROUGHNESS

2.21 SLOPE, GRADIENT, AND CURVATURE

Slope is defined mathematically as the angle which a line on a surface makes with the horizontal and gradient is the tangent of that angle. This means that the gradient of a surface at any point ranges from zero (flat surface) to infinity (precipitous surface). If the gradient is computed at various points on a surface, it may indi­ cate ’the variability of slope all over the surface.

The gradient of a surface is a good measure of surface roughness although it is difficult to compute because the topographic surface Is not easily represented by a mathematical function.

However, the spatial derivative of a surface may be computed by the formula

S ax 12

Where S = magnitude of the gradient obtained as a resultant

of a pair of orthogonal partial derivatives of Z. The above expression

can be approximated by finite difference formulas as demonstrated by

Tobler [39] and McCormick et al [58].

The curvature which is the rate of change of gradient with

respect to distance may be obtained by differentiating the above

expression (eqn (2.1))

Again we appeal to finite difference formula for obtaining

C. Theoretical curvature indicates convexity of slope. The parameters

of surface roughness are then the means and variances of gradient and

curvature. One obvious disadvantage of the above formula is that gradi­

ent and curvature are always positive which implies that no distinction

is made between negative and positive slopes and also between convex and

concave slopes.

2.22 DIRECTION COSINE AND EIGENVECTOR METHOD

The use of direction cosine in conjunction with eigenvectors

and eigen values are first proposed by Loudon [27] for describing a

surface. Whitten [25] made use of Loudon’s concept of direction

cosines to analyze subsurface fold geometry in geology. The method

used here is a slight modification of Loudon's concept which is briefly described below. 13

First the direction cosines between any two points are computed in X, Y, and Z directions. This forms a Matrix A (Nx3) where

N is the number of points measured on the terrain with known X, Y, Z.

The covariance Matrix B (3x3) of direction cosines is obtained from

A as

£piqi £piri N N

B = £qiri (2.3) N ~N~ N

Sr? Lrlpl ^rlqi N N N

Where p^, q^, r^ are the direction cosines of the ith point referred to X, Y, and Z axes. In order to provide suitable internal reference axes which can be used for comparing other surfaces the original Matrix A is transformed to refer to the principal axes by multiplying the eigen vector Matrix R of Matrix B with Matrix A as follows:

C = AR (2.4) R 11 R 12 R13 where R = = eigen vector Matrix of B so ro R 21 U) R23

R 31 R32 R 33

The eigen values of the resultant Matrix C are the variances of the transformed direction cosines and they constitute a measure of the variation of slope on a surface. According to Loudon [27] the 3rd 14

moment (skewness) measures the degree of symmetry of slope about an

axis while the 4th moment (Kurtosis) indicates the relative abundance

of steep or gentle slopes. In other words, a low value of Kurtosis

suggests that there is no wide variety of slopes on the surface.

2.23 "BUMP FREQUENCY" DISTRIBUTION

The method of "bump frequency" as a measure of surface

roughness was proposed by Hobson [26] who suggested three ways

of computing bump frequency of a surface. One way is to compute the vertical distance of measured elevation points from a horizontal

surface (see Figure 2.1). The second way is to compute the distances

from elevation points on the terrain to best-fit planar surface in a

direction normal to the latter (see Figure 2.1). The third way is to

compute the vertical distances from the elevation points to the best-

fit planar surface (see Figure 2.1). The bump frequency parameters

are then the mean and variance statistics which are good indicators

of surface irregularities. The data required for computing bump

frequency statistics are the X, Y, Z readings on the surface.

2.24 DISTRIBUTION OF PLANES

Hobson [26] has described how distribution of planes

can be used to determine surface roughness. First a set of triangular

intersecting planes are fitted to adjacent groups of three elevation

readings (see Figure 2.2A). Normals to these planes and their

corresponding unit vectors are then computed (see Figure 2.2B). Vector Figure 2.1 A) Three possible orientations of Bumb Frequency; B) Array of elevation readings and their geographic coordinates for Bump Frequency; After Hobson [26] 16

Figure 2.2 A) Intersecting planar surfaces defined by adjacent groups of three elevation readings; B) Area with similar elevations producing high vector strength and low vector dispersion; C) Nonsystematic elevation changes yielding low vector strength and high vector dispersion; After Hobson [26] 17

strength (which is the square root of the sum of squares of the

direction cosines divided by the number of unit vectors), vector

dispersion (which is the variance of the unit vectors) and mean and variance of dip of the triangular planes are computed. According to

Hubson [26], Vector Strength is usually high and vector dispersion

low in areas characterized by similar elevation or equal rates of elevation changes, whereas non-systematic elevation changes yield low vector strength and high vector dispersion (see Figure 2.2C). The

data required for computing these parameters consists of elevation

readings at regularly spaced points.

2.25 SURFACE AREA

The idea of using surface area as a measure of surface

roughness is based on the hypothesis that surface area increases with surface irregularities. Hobson [26] has proposed the use of the ratio

(A1/A) where A* represents the surface area and A the corresponding planar area. The computation of A is obtained simply by the product of length and breadth while the A' can be obtained by a number of methods the most popular being that of partitioning the area concerned into small rectangular or square segments whose area can be easily computed.

The number of such segments will depend on the degree of roughness of the surface. Other methods of finding surface area are discussed in

Section 5.3 of this dissertation. 18

2.26 BREAKLINES

A Terrain Breakline has been defined as a line where there

is a sudden or abrupt change in slope. Breaklines represent, mathemat­

ically, lines where the spatial derivatives are discontinuous.

Physically they are identified with the edges of ditches, dikes,

cliffs, and ridge lines. On a stereo-model they are not easy to

recognize although breaklines can be used as a roughness parameter.

In contrast to contour lines which are dimensional curvillinear rep­ resentation of a 3-dimensional topography, breaklines are strictly spatial curves which are difficult to trace with a floating mark on a stereo-plotting instrument and are equally difficult to represent mathematically. The problem is then to find an objective means of

detecting breaklines. The method used in this research is based on

the concept of slope profile analysis by fitting polynomials to various sections of the profile progressively. For example, if a parabolic curve

Z = a + bX + cX2 (2.5) is fitted by least squares method progressively to portions between

A and D, B and E, C and F, D and G, E and H and then F and I (see

Figure 2.3) it will be discovered that there is significant change in the coefficients of the parabola between F and I. This will correspond

to the change in the form of the profile at H. This method, however, assumes that the surface is covered with sufficient density of points along Y-on X-scanlines as to include breaklines. One other method which could be used, is to set up a slope difference criterion for 19 detecting the presence of a breakline. For example, the criterion might be that where the slope of two successive sections of the profile differs by more than 10° indicates a breakline. Extreme breaklines can also be detected by recording points where the components of spatial derivatives along X and Y change from positive to negative or vice versa.

FIGURE 2.3 BREAKLINES

r" "' ' ' '

PROFILE

2.27 HARMONIC VECTOR MAGNITUDE

The method of using the Harmonic Vector Magnitude to describe the roughness of the terrain is based on the following assumptions:

(i) The total variability of a surface can be separated into

two major components: (a) the systematic trend and

(b) the noise and other random components in the digital

data representing the surface.

(il) If the method of least squares Is used in surface fitting

of a mathematical function (polynomials, double fourier

function, etc.) in two Independent directions to the surface 20

data, the resulting trend surface, which is a generalization

of the original surface, is adequately described by co­

efficients of the mathematical function.

(iii) Data which contain a linear trend distorts the character of

the coefficients which describe the trend surface. It

should be evident that the first assumption is taken for

granted each time a mathematical function is fitted to a

surface by least squares method. The second assumption

echoes the concept of "coefficient space" used by Krumbein

[32] as a method of map generalization. The validity of the

third assumption has been demonstrated by Pierson [46] and

others like Preston [64], Hardy [22], and Hubson [26]. The

mathematical function whose coefficients is used to describe

a topographic surface is given by

Z = a0 + a^x + a2y + f (x,,y) (2.6)

m n

,m. n.

C C . . CS.. SC.., and S., are the coefficients of the i j » i j » ij ij double Fourier Series, and the data is such that 21

1 = 0, 1, 2,...... ,m;

j = 0* 1> 2, >nj

xQ= -M and xm = +M

yQ= -N and Yn = +N

M = fundamental wave-length in x- direction

N = fundamental wave-length in y- direction

m = maximum harmonic in x- direction

n = maximum harmonic in y- direction

It has been shown by Tolstov [65] that

1/A for i=j=o

> i j =

A least squares fit of eqn (2.7) requires at least A [ (m + 1)

(n + 1)] - [ (m + 1) + ( n + 1) ] observations. In using eqn (2.6) for at least squares surface fitting we are merely trying to approximate the deviations of the surface from a plane defined as Z, = a + a, x + a- y., c 1 o 1 2 J by a double fourier series. The fourler coefficients according to assump­ tion (ii) provides a direct measure of the configuration of the topographic t surface. Furthermore, the fourier coefficients provide a special meaning in that the global fit assumes that the surface oscillates harmonically in two mutually perpendicular directions. The fourier coefficients are, therefore, the amplitudes of the oscillations* The harmonic vector magni­ tude is defined as the square root of the sums of the squares of fourier coefficients for terms of specified m and n harmonic. The harmonic vector magnitude then represents the contribution of the fourier coefficients in 22

explaining variability of the deviations of the topographic surface from the linear plane. A relatively flat terrain will be depicted by small harmonic vector magnitude and a rough terrain by a large harmonic vector magnitude.

2.28 AMPLITUDE POWER SPECTRUM

The method of amplitude spectrum is based on all of the three assumptions, made for the harmonic vector magnitude method of describing surface roughness. The difference is that instead of working with the fourier coefficients in the harmonic "coefficient space" we use the fast fourier "coefficient space." Detailed des­ cription of the mathematical theory of the fast fourier transform which is outlined here can be found in Rayner [41], Tukey [48], .

Blackman et al [47] and Jenkins et al [38].

First we start with some familiar expressions usually derived by Talyor series expansion

exp(it) = (l-t^/2 + t4/^j + ....) + i +

(2.8)

and exp (-it) = cost-isint (2.9)

exp (+it) = cost + isint (2.1C

We recall the expression for f (x,y) in eqn (2.7) and we now equate the Z values to an approximate function

Z = P(x,y)^ f (x,y) (2.11)

where 23 M — CC \ f(x,y) Cos f 1inx % \ Cos f :\ ny "j dxdy (2.12) ij

J 1 V M J -MM J-s' N _ Cos ^illxj Sln^j Hy^ j dxdy (2.13) f(x,y) c s ^ = ^ M . -N

M o N Sin dxdy (2.14) f (x,y) (^ ) I f )

f(x,y) Sin O ) Sln(^ dxdy (2.15)

Since the form of the function Z - f(x,y) is not known an analytical integration of eqns (2.11 - 2.15) is not feasible. We, therefore, appeal to the concept of fourier transform for a solution to the problem.

Using the relations (2.9), (2.10) and the familiar

trigonometrical expansions for gin (A ± B) and cos (A * B). We may express the relation in eqn (2.7) in exponential form as

n. iC(k^,k2 ) exp ziTf k2 " - 2/2 W1 ~"n l/2 V I n2 JJ (2.16)

where C(k1,k2) = ^aXk^kg) - ib (k.^ /2

a's and b's are coefficients or amplitudes of cosine and

sine functions. They represent the cosine and sine transforms for the

even and odd function of eqn (2.16). Put in fourier transform expression

Z(x,y) is the fourier (spectrum) transform of C(k^,k2) and vice versa. 24 rl/2 AY p 1/2 £X Z(X,Y) ==1 1 C(k k„) exp i 211 /xk. dki ‘dk_ J-l/2 AyJ-X/ 2 jflX 1 Z — + — I " 1 ^ 2 . 1 7 )

and

/'T2/2 f Tl/2 c(kr k2) = Z(x,y) exp - i 2n xk, yk dx dy

^”T2/2J Tl/2 (2.18)

where C(ic^»k2 ) is the amplitude density at the frequency k^, kj •

2.281 SPECTRAL ANALYSIS IN 2-DIMENSIONS

When the coefficients of a double fourier function are ordered or sequenced according to the units of frequency or wave length we refer to C(k^,k2) as spectrum coefficients or simply spectrum. Spectral analysis has been defined by Rayner [41] as the process of calculating and interpreting a spectrum. In two dimensions each spectrum represents a band of frequency. The steps involved in making a spectral analysis of D1 x D2 data array Z(J1,J2) say, are outlined below. (See Rayner [41] for details.)

Step l i Remove means and trends Step 2: Prewhitten if necessary with

Z (J1,J2) = Z(J1,J2) - Ej^ [Z(J1 + 1, J2) + Z(J1-1, J2) ]. -

E2 [Z(J1, J2 + l) + Z(J1, J2-1) ] (2.19) where o

Step 3: Taper with the window function h(Jl,J2)

Z(J1,J2) = Z1(J1,J2) h.(Jl,J2) (2.20) 25 where

h (J1.J2) - | |^1 - Cos ^ njijj , 0 < J1 < GX

= •- 1 - Cos / nJ2^~[ , 0 _< J2 £ L I G2)J G 2

1 G1 < J1 < D1 - Gl, G2 < J2 < D2 - G2

1 — * ** = 2 jj. - Cos ^ n(Dl(D1 -- JlJl)))Jj , D1 - Gl <. J1 < D1

= J Q - cos^ n(02 - J2)jj , D2 - G2 _< J2 < D2

where G1 and G2 are the numbers of columns and rows tapered.

Step 4: Add zeros for the beginning and/or end colums and

rows so that the array Z (jl, J2) has dimension n^ x n ^.

Step 5: Calculate the 2-dimensional fourier (spectrum transform

n n coefficient a (k^jk^) and b(k^,k2) using the fast fourier

transform algorithm eqns (2.16) (see Gentlemen and Sande [92])

for details.

Step 6: Calculate the variance (amplitude) spectrum from the

following relationships

A(ki»k2) =J^?(k^,k2) + b^(k.[ ,kg) j = amplitude (2.21)

( M k ^ ^ ) “ A^(k^,k2T j = Variance (2.22)

It should be noted that Step 1 is necessitated by the

presence of linear trend in the data while Steps 2, 3, and 4 apply 26 when data sample is from a non-periodic process, to get a reliable statistical estimate (see Rayner [42]).

The variance spectrum like the harmonic vector magnitude can be used to describe the degree of surface roughness. The same information is contained in the elevation readings, as in the spectrum but in a different way amenable to easy interpretation which is almost impossible to make from the original data. Also as in the case of the double fourier function the topographic surface is assumed to be oscillatory or undulating in two mutually perpendicular directions

(X and Y directions). Since each spectrum defines a frequency band for the oscillations the power or variance spectrum, therefore, measures the relative contribution of each frequency to the variability of the surface which is represented by the oscillations. By way of contrast, the amplitudes computed from spectral analysis define a frequency band and are ordered or sequenced according to the units of frequency, while the amplitudes obtained from double fourier function define a spatial band and are ordered according to the units of input space distance. In both cases, however, points on the bands so defined do not correspond one-to-one with points on the original spatial band defined by the X and Y coordinates. Since the amplitudes from spectral analysis are ordered in the units of frequency, the power spectrum computed from them possesses an additional feature of the topography which are only indirectly present in the harmonic vector magnitude. However, the latter is easier to compute and has more flexibility in applications than the former. 27

It should be noted that the power spectrum can be computed

through the fourier transform of the autocorrelation or autocovariance function. The computational procedures are very similar to those of the spectral analyses except that the tapering and pre-whittening functions are different. Also, the resulting values of power spectrum

are different and difficult to interpret although Rayner [41] contends

that they contain the same Information as the power spectrum computed

directly from the fourier transform of the data.

2.3 PARAMETERS FOR DESCRIBING SPATIAL DISTRIBUTION OF SURFACE IRREGULARITIES

The parameter which can be used for describing the nature

of spatial distribution of surface irregularities is known as

autocorrelation. This parameter is a measure of the degree of

internal correlation between one point and another. When related to

a terrain, this parameter may be more appropriately called spatial autocorrelation.

2.31 AUTOCORRELATION IN ONE-DIMENSION

We begin by defining the covariance between and the value

Zfc+k separated by k interval of time or distance as the autocovari­

ance at lag k tfk - covCzc- zt+k D - «&-*) (*) (2-23)

The autocorrelation at lag k is given by 28 j k = E (Z - M ) / O z = & (2.24)

where M i s the population mean of Z,

is the variance of Z

The autocrorelations computed for various possible lags in a given data, form what is called the autocorrelation function defined as

R(k) + 1 V Z (t) * Z(t+k) dx (2.25) N Jo

where Z (t) and Z(t+k) represent adjacent elevation

separated at a variable distance k

N = total number of elevation points considered.

The finite discrete approximation for the autocorrelation function in eqn (2.25) may be expressed as, Jenkins and Watts [28]

r(k) = -■ Z(t) • Z (t + k) dt (2.26) “ X=1

Eqn (2.26) may be used to analyze the characteristic of a

terrain with measurements of elevations taken at equal intervals along certain profiles. The graph of the autocorrelation function is called correlogram which may possess any of the following characteristics.

(a) r(t) r (t+k) strictly monotone decresing (2.27) -ve (b) r(t) =’zero (2.28) r * ■,-fve (c) r(t) = L^t (Linear) (2.29) L (d) r (t) = e ^ Exponential (2.30) where k is the lag

L = linear combination of autocorrelations at different lags X = an arbitrary constant 29 2.32 AUTOCORRELATION IN 2-DIMENSIONS

The autocorrelation characteristics of topography may also be considered from a 2-dimensional perspective. For example, the autocorrelation between elevation points separated by distances u and v along x- and y- directions may be expressed as

J^CujV) = E (2.31) (_Zi + u, j + v ^ j C Z ± 3

The sample autocorrelation function may be approximated by

nn-q. n - P TT~ ^ \ (2.32) r

where q = 0, 1, 2,.... T. (Lags in x-direction)

p = 0, 1, 2,.... T (Lags in y-direction)

m, n represent the number of data points

along x- and y- directions respectively

The autocorrelation function in 2-dimensions is extremely difficult to interpret graphically. However, certain terrain features corresponding to those of one-dimension may be given as follows:

(a) r(u,v) > r(u+l, v-t-1) , strictly monotone (2.32a) -ve izero (2.32b) +ve k-v L-u (c) r(u,v) = , linear correlopiped (2.32c)

(d) r (u,v) = e 1 1 , exponential

correlopiped [DAS (23)] (2.32d)

where k = Linear combinations of autocomlations computed along x-axis and L is the corresponding linear combination , _ along y-axis ______30 .

A, , M, are arbitrary constants.

Since the autocorrelation properties are related to the spatial distribution of surface irregularities the characteristics given in eqns (2.JZa-d) will be applied to the problem of optimum sampling pattern in Chapter III. These characteristics are not related to roughness parameters and, therefore, they will not be used for terrain classification.

2.4 COMPUTER PROGRAMS FOR TERRAIN ANALYSIS

The following computer programs were written in Fortran

IV for Ohio State University IBM 370/168, to compute the parameters of quantitative terrain description discussed in the preceding sections.

TERAIN is a program for simulating terrains (see

Appendix A, Figures Al-All).

TERANA consists of eight subroutines which are briefly described below:

1. DIRCOS computes the direction cosines of a terrain in

X, Y, Z directions their skewness and Kurtosis as well

as their associated eigen values and elgen vectors.

2. DERFOR computes the gradients, curvatures, their means

and variances at certain points of the terrain

3. VECTOR

4. HUMP were originally written by Hubson (26] for the

3400 CDC computer but were modified by the author for the

Ohio State University IBM 370/168 Computer. VECTOR computes the Vector Strength, Vector dispersion, and

Mean Dip while HUMP computes Bump Frequency parameters.

5. BERKLN determines the total number of breaklines per

unit area using eqn (2.5).

6. AREVOL computes the ratio between planar area and

surface area.

7. HVM determines the harmonic vector magnitude and

8. AUTOCO computes the spatial autocorrelation from

eqn (2.32).

SPETRM was originally written by Rayner and McCalder [42] for comparisons of surfaces but it was modified to compute the power spectrum after the trend has been removed. The major outputs of these programs are displayed in Table 2.1. TABLE 2.1 QUANTITATIVE CHARACTERISTICS OF FIFTEEN TERRAINS Mean Variance Harmonic of Vector Power Vector Magnitude Spectrum Gradient Curvature Comparea Strength See Vl V2 Xl X2 Appei x 3 Dl A 1 8.003 .00005 1.414 0.0 1.9998 •75.775E06 A 2 0.135 .0065 • 0.6646 1.1012 1.3196 50491 A 3 1.730 .000001 0.099 .094 1.0003 .43756E06 A 4 4.672 32.93 23.897 23.922 213.447 .1034E05 A 5 34.533 697.1 227.247 31.316 1087.09 .77162E05 A 6 277.811 5464.0 207.129 247.358 19730.746 •16682E07 A 7 432.60 9350000.0 2499.869 344.405 3273296 .26714E05 A 8 8.820 13.73 25.680 14.56 132.068 .44055E05 A 9 37.431 242.34 219.78 27.34 6683.6 .57225E04 A10 22.402 34.038 65.361 36.111 841.371 15.721 All 51.931 1342.769 228.345 37.679 12863.476 77.137 A12 30.456 57.336 64.327 31.569 2416.00 97.988 A13 2.134 lO.348 2.4619 1.8249 6.240 388.81 A14 6.789 9.785 21.7424 9.7789 267.544 125.60 A15 10.789 15.672 25.056 14.535 738.534 205.28

w N> TABLE 2.1 (Cont'd) QUANTITATIVE CHARACTERISTICS OF FIFTEEN TERRAINS No. of Variance Resultant Breakline Bump Frequency of Kurtosis Per Sq. Vector Direction of Unit of Surface Dispersion_____ Dip A______B______C______Cosine______Dir. Cosine______Area_____ oee 02 Xi* d 3 xs x 6 x 7 x 8 Ad d end lx A

A 1 -.00106 27.506 10.0 .010 .0081 .276 1.3374 0.0 A 2 2.7076 42.453 .0606 .3999 .0013 .40724 1.1082 0.0 A 3 -.00183 69.973 9.162 7.723 .0411 .4246 2.2615 0.0 A 4 -.12515 1.7948 -104.48 68.576 -14.376 .99051 6.750 .111 A 5 -.01514 10.915 -1691.5 606.361 -630.737 .8409 8.303 .029 A 6 -.00069 0.6341 -55245 945.158 15505.9 .99758 12.2968 .151 A 7 -.04503 -.17586 -1110.9 15505.973 605.701 .99975 180.317 .049 A 8 -.0268 4.880 -445.4 48.48 53.608 .983 4.169 .0243 A 9 -.2518 10.54 -51.854 1519.99 567. .974 7.814 .0313 A10 1.0391 1.948 -175.526 123.393 -87.150 .99498 7.4976 .04 All 1.152 9.007 •-2763.127 2118.172 2118.859 .5560 9.1414 .0144 A12 1.203 4.804 694.446 219.289 217.798 .9797 10.7919 0.0 A13 3.072 47.881 881.927 14.962 13.301 .6827 .8431 .0000 A14 1.2766 9.473 6264.2 106.931 -105.977 .97965 2.3346 0.0 A15 1.551 30.024 1073.004 213.209 207.211 .8483 1.993 0.0 2.5 TERRAIN CLASSIFICATION

Classification is one of the fundamental methodologies in science. It involves the grouping of variables according to their common characteristics thereby introducing simplicity and orderliness

into what might have been a complex multiplicity of intertwined and

interwoven facts. When the scientist is confronted with such complex­

ity, he must hold tenaciously to the belief expressed by Gould [67],

"Order there is if only we can unscramble the chaos that lies all around." The scientific theory of classification attempts to make

Gould’s conviction a reality to scientists at large irrespective of

their disciplines. Before discussing the parameters and methodology used for terrain classification in this research it is important to

identify the qualities of a good classification system with special

reference to terrain classification.

(a) A good classification must be logical, simple, and

orderly

(b) It must be mutually exclusive. Classes must not be

overlapping, and classes must also be finite.

(c) It must be collectively exhaustive or all inclusive.

No category of the population of items being considered

must be left out.

(d) The terminologies used in classification must be

concise and intelligible and should have some physical

bearing to terrain characteristics

(e) The classification must be objective as far as it is

humanly possible. This implies that a classification based on quantitative characteristics of the terrain

is to be preferred to that based on qualitative

characteristics. Also the techniques for classification

must be based on sound principles of statistical

analysis and cluster theory

(f) The classification must be adaptable for Digital

Terrain Model applications. For example, such a

classification should be useful for proper sampling of

a terrain.

The only known serious attempt on the terrain classification for DTM is credited to Silar [15] who presented his paper (wtitten in Germany) to the ISP Working Group IV/l in Czechoslovakia in 1969.

The four parameters used for his classifications are: slope of the surface, shape of the surface, the number of local peaks and depres­ sions and the roughness of the terrain. El-Ghazali's [2] comments on Silar's work is that the classification is based on qualitative— quantitative measurements but comparatively simple for practical application.

The classifications performed in this research are based on purely quantitative measurements which have their bearing in qualitative properties of the terrain. Also the methodology of , classification performed here is based on the theory of Multivariate statistical analysis which has been successfully applied in other dis­ ciplines such as Geology, Botany, Biology, Zoology, and Taxonomy. 36

2.51 STATISTICAL METHOD USED FOR CLASSIFICATION

Only a brief outline of the statistical techniques used for terrain classification is given below. The three criteria for evaluating a classification are based on the familiar quantities used in analysis of variance technique; namely, '’within" "between" and "total" sums of squares which are defined by the following equations.

wi j - V j ) <2-3*>

k - Nh( xh.i - x..i)Cxh .3 - x ..j) (2-35)

M N. T ij S t ^ C2-36)

1 Nh where v _ A s r — n y V l ‘ Nn ^ l ^kl

•-1 Mh

N = no of items to be classified

M ° no of groups to be identified in the classification

p = no of variables used for classification

It can be shown, Anderson’ [49], that

T = W + B

The three criteria used to assess and compare classification in an iterative solution are:

(i) The pooled within— groups sum of squares 37

(ii) Wilks’ Lambda and

(ill) The sum of the eigen values associated with discriminent

functions (see-Griffiths and'Demirmen [50] for details).

The trace of pooled "within-groups" sum of squares may be expressed as: M N. r x 2 Trace of W - Tr(W) = ~ \ i ] (2.37) h=l k=l V

Which is the total within-groups sum of squares in respect of all the p variables used in all the m groups. According to this criterion a small value of Tr(W) shows that the total variability with m groups about the respective means is small and, therefore, the classification is in this sense "compact" or "better" than a classification in which

Tr(W) is bigger.

Wilks’ .Lambda criterion relates to the well-known Wilks’

Ratio (see Anderson [61]), given by

* = j f j - (2.38) which is the ratio between the generalized variances of W and T.

This assumes that W and T must be nonsingular matrix and, therefore, places the following restriction on M, N, and p

p £ N-M (2.39)

values of X Indicates a compact classification

The third criterion has been shown to be equivalent to the —1 trace of W B, Demirmen [50]

/ — I \ i M Tr

(2.40) 38

ii *“1 where W J the (i,j)th element of W according to Demirmen [50] 2 represents the generalization of Mahalanobis D to more than two

groups. Unlike the former two criteria, larger values of Tr (W ^B)

correspond to more "compact" or "better" classification.

The use of these criteria assumes that any two classifica­

tions being compared must contain the same number of items, variables, and groups.- Friedman and Rubin [68] have successfully

used the above criteria to improve a partition in cluster analysis and

Demirmen [50] report a satisfactory experience with Tr(W) and Wilks'

Lamder (A) criteria.

2.52 COMPUTER PROGRAM FOR EVALUATION AND IMPROVEMENT OF CLASSIFICATION (TECLAS)

The computer program TECLAS used for the classification of

15 terrains was originally written by Ferruh Demirmen [50]. This program was modified for the O.S.U. IBM 370/168, without changing

the essential features of the original program. Although the program

computes all the parameters of the three criteria discussed above only the Tr(W) criteria was used for the evaluation and improvement of classifications. The nearest neighbor algorithm, in which an item is placed into a group to which it is nearest using Euclidean dis­

tances, operates in the discriminant space. All items are examined and

retained in their existing groups else they are displaced into other

groups, thus creating a new classification from which the Tr(W) is

computed. 39

The procedure is repeated iteratively to yield a smaller Tr(W), until either an improvement of the nearest neighbor algorithm is not feasible or when the maximum number of iterations required by the user is attained.

The variables chosen for the classification were chosen for two reasons: first they meet all the four conditions set forth in

Section 2.1. They also appear to be consistent parameters which are capable of distinguishing one terrain from another. A total of 15 terrains were classified using these five variables. (see Figs. A1 to A15, Appendix A). Eleven of these terrains were simulated on the computer so as to give a wide range of terrain types. The remaining four terrains were chosen from Tobler’s [39] Digital Terrain Library which consists of terrains digitized from topographical sheets. The result of the terrain classification is shown in Table 2.2. It is important to realize that the classification system used in this research falls short of only one of the qualities enumerated in

Section 2.5 notably that of mutual exclusiveness of classes. This can be explained by the complexity of the terrains and It is doubtful whether any classificatory system for the terrains can possess this quality. It is, however, more important to note that some of the parameters used for classification will be employed in the next

Chapter to determine optimum sampling for Digital Terrain Models. TABLE 2.2 TERRAIN CLASSIFICATION

Class Surface HVMV1 Description X1 X2 X3 X5

S-l 0.002 1.414 0.0 2.000 .010 Flat or nearly flat terrain S-2 0.135 0.665 1.101 1.320 .399 Av. Grad. = 0.0 - 3.0 I S-3 1.730 0.099 .094 1.0003 7.723 Av. Curv. ■ 0.0 - 5.0 S-13 2.134 2.462 1.8250 6.240 14.962 NOBPUA =0.0 HVM = 0.0 - 3.0 NOPPUA =0.0

S-1S 10.789 25.056 14.535 738.538 213.209 Gently undulating terrain S-14 6.789 21.742 9.779 267.544 106.931 Av. Grad. =10-70 II S-4 4.672 23.897 23.922 213.447 68.576 Av. Curv. =10-35 S-8 8.820 25.680 14.56 132.068 48.48 NOBPUA = 0.0 - 0.02 S-10 22.402 65.361 36.111 841.371 123.393 HVM =5-30 S-12 30.456 64.327 31.569 2416.00 219.289 NOPPUA =0.34

Rough terrain with pronounced S-5 34.533 227.247 31.316 1087.09 606.361 surface irregularities, and many steep slopes III ' S-9 37.431 219.780 37.340 6683.6 1519.990 Av. Grad. = 100 - 200 Av. Curv. =40-50 NOBPUA = .02 - .05 HVM = 35 - 50 NOPPUA =0 .5 2

Many breaklines Extremely rough terrain with Extreme surface irregularities S-6 277.811 207.129 247.358 19730,746 945.118 and precipitous slope and pronounced curvature IV S-7 432.60 2499.869 344.405 3273296.0 15505.973 Av. Grad. =* 225 - 00 S-ll 51.931 228.345 37.679 12863.476 2118.172 NOBPUA = .05 - 1.0+ HVM = 50 - 1000+ NOPPUA = 1.02+ HVM = Harmonic Vector Magnitude = Bump Frequency NOPPUA = No. of points per X^ = Gradient Av. Grad. = Average gradient unit area Av. Curv. = Average curvature X- “ Curvature NOBPUA = No. of breaklines per unit area X, ■ Ratio of planar area to' surface area CHAPTER III

OPTIMUM TERRAIN SAMPLING FOR DIGITAL TERRAIN MODELS

3.1 INTRODUCTION

Many investigations have been made into Digital Terrain

Model technique using regularly spaced data points. Questions which relate to the problem of optimum number of data points and their associated distribution in relation to different types of terrain are usually ignored although the importance of efficient sampling is often acknowledged over interpolation technique. This is borne out by the Blaschke’s [17] definition of D.T.M. cited in Section 1.2 in . which he emphasized the importance of "storing measured coordinates

X, Y, Z of characteristic terrain points in sufficient quantity and significance...." The definition of D.T.M. given by the author in

Section (1.2) also bears testimony to the importance of evaluating the adequate number of data points as well as the appropriate sample distribution of such points that match that terrain. This is what we mean by "Optimum Terrain Sampling" which is the object of focus in this Chapter. The problem of objective classification of terrains has been dealt with in Chapter II. The question that follows Is this: having identified the class to which a given terrain belongs, what is the optimum sample size and sample type adequate for this terrain? The problem of optimum interpolation which is equally

41 42

recognized by the author's definition, of D.T.M. will be discussed in

the next Chapter.

3.2 OPTIMUM SAMPLE SIZE

3.21 THE HARMONIC VECTOR MAGNITUDE

The problem of how the stereoplotter operator could know when he has taken enough sample elevation observations during the process of generating D.T.M. data is not a simple one because it

involves a proper assessment of the terrain roughness in relationship

to the size of the area occupied by the terrain. This implies that

if any of the roughness parameters discussed in the preceding Chapter is to be used such a parameter should incorporate the size of the entire area.

One parameter which seems to satisfy this condition is the Harmonic

Vector Magnitude (HVM) discussed in Section 2.27. It will be recalled

that one important assumption made in Section 2.27 is that a general­

ization of the original surface is adequately represented by the

coefficients of the Double Fourier function (eqn. 2.7) from which the

HVM is computed. It will also be recalled that the size of HVM

increases with increasing terrain roughness (see Table 2.1). It is well to remember that the fundamental wave lengths in X and Y

directions define the limits of size of the area occupied by the

terrain. From the foregoing explanation it is obvious that the HVM

satisfies the qualities necessary for indicating optimum sample

size. The following steps which are suggested for computing optimum

sample size requires a simultaneous evaluation of the terrain type 43

using HVM program in collaboration with the concept of progressive sampling first proposed by Makarovic [3].

Step 1 : Start with a suitable sample interval for taking 2 N elevation measurements (N =4, say) in a

regular grid pattern on the stereo model. This

permits a least squares solution of eqn. (2 .6 )

which has 11 unknown parameters for m=n=l

Step 2: Compute HVM using HVM program (see Section 3.4) 2 Step 3: Increase the number of elevation points to (N + 1)

using a new interval for regular grid pattern.

Step 4: Repeat Steps 2 and 3 until HVM satisfies the

following criteria:

HVM± - H V M (1+1) ^ CC (3.1) where the quantity CC can be determined in a number of ways as illustrated in the following considerations:

(i) CC - HVM1+1* fHVM (3.2)

f ^ H V M may be taken as the measure of accuracy for

photogrammetric representation of relief given by

Markarovic [3] as

0-2 - 0.5% of elevation for minimum (TZ. H

0-4 - 1.0% of elevation for maximum crH

(ii) CC = HVM x

The CC criterion used in this research is that of

eqn • (3.2)

and ft,™ = *5% of HVM..- was found to be suitable , HVM ±Tl

The interpretation of eqn. (3.1) is that as the sample size is increased iteratively the addition of new elevation measurements do not make any significant contribution to the size of

HVM which in turn remains relatively constant as the sample size approaches the optimum density for a given terrain. The steps outlined above were used to determine the optimum sample size of nine simulated terrains using the computer program TERRAIN and HVM (see

Appendix A, Figs. A1-A9). The results are shown in Table 3.1 The procedure analyzed above for determining the optimum sample size of a given terrain assumes that the stereoplotting instrument is on- lined with a digital computer or that a versatile programmable desk calculator is readily available to the stereo-plotter operator. Its merit lies in the fact that it is flexible and could be used either for sampling the whole model or for sampling a model which is divided into patches. 45 TABLE 3.1 OPTIMUM SAMPLE SIZE USING MEAN HARMONIC VECTOR MAGNITUDE CRITERION _____ (Units in Meters)____ SAMPLE MEAN HARMONIC SAMPLE MEAN HARMONIC SURFACE SIZE VECTOR MAGNITUDE SURFACE SIZE VECTOR MAGNITUDE

Surface 16 .0026 81 35.119 with 25* .0026 D . Fourier 256 266.603 Line 36 .00263 Surface 289 23.241 Trend (1) 49 .00256 with 324 270.834 Synthetic 361 272.760 16 0.449 Coeffs 400 26.5841 Exponential 25 0.137 441 276.741 Surface 36* 0.135 484* 277.811 49 0.131 529 278.275 (2) 441 0.154 (6)

16 2.060 289 4847.969 Loga­ 25 1.906 Poly­ 361 4683.835 rithmic 36 1.736 nomial 400 4511.977 Surface 49* 1.730 Surface 441 4553.312 64 1.764 No- 2 484 4497.551 (3) 441 1.978 529 4447.608 576 4400.941 100 6.97B 625 4358.812 Double 121 4.848 676* 4349.053 Fourier 144 4.672 (7) 729 4340.406 Surface 169* 4.679 with 225 4.674 36 14.726 Random 256 4.680 47 10.136 Coeffs 289 4.687 D . Fourier 64 13.901 (4) 400 4.882 Test 81 9.717 Surface 100 10.569 144 39.592 121 .8.834 Poly­ 109 38.214 144* 8.820 nomial 196 37.004 169 8.811 Surface 1 225 36.092 196 8.801 256* 35.257 (8) 225 8.802 289 34.533 (5) 324 33.897 121 50.157 Test 144 46.782 Poly­ 169 44.034 nomial 196 41.759 Surface 225 39.8654 256 38.336 289 37.439 324* 37.431 361 37.677 * Optimum Sample Size (9) 400 37.939 46

3.22 MULTIPLE LINEAR REGRESSION EQUATION FOR OPTIMUM SAMPLE SIZE

The purpose of this Section is to investigate alternative method of determining optimum sample size which will Involve less computation then the H.V.M Method. Multiple regression provides a method by which a "dependent" variable can be explained by two or more independent (predictor) variables. In this particular application an equation of the form is sort

fS = bo + b x X1 + b 2 X2 + b 3 X 3 + .... + \ \ (3.5) where N ~ dependent (response) variable = optimum

sample size:

^1 ' ^2 > are Pre^^ct^on variables which

correspond to the roughness parameters in Table 3.2

bQ, b^, are t*ie coefficients of the regression

equation which correspond to the relative contribution of

prediction variables in "explaining" or "causing" the

dependent variable ft

bQ represents a joint contribution of all the prediction

variables 2 R, the multiple correlation coefficients is defined as

(3.5a) TABLE 3.2 DEPENDENT AND INDEPENDENT VARIABLES FOR REGRESSION EQUATIONS Resultant Kurtosis No. of No. of Bump Var. of of Breakline Points Optimum Mean Mean Surface Mean Freq. Direction Direction Per Unit Per Unit Sample Gradient Curvature Area/Planar Dip IB Cosine Cosine Area Area Surface Size (N)

A 1 25 1.141 0.0 1.998 27.506 .010 .276 1.3374 0.0 .00025 A 2 36 .6646 1.1012 1.3196 42.453 • .39990 .40724 1.1682 0.0 .000036 A 3 49 .099 .094 1.0003 69.973 •7.723 .4246 2.2615 0.0 .000049 A 4 169 23.897 23.922 213.447 1.7948 68.576 .99051 6.750 .111 .2934 A 5 289 227.247 31.316 1087.07 10.915 606.361 .84091 8.303 .029 .5017 A 6 484 207.129 247.358 19730.746 0.6341 945.158 .9975812.2968 .151 .8403 A 7 676 2499.869 344.40532732.96 -.17586133505.873 .99975 180.317 .049 1.1736 A 8 196 25.680 14.56 132.068 4.880 48.48 .983 4.169 .0243 .391

-vl 48 where N n

N is an estimate of N from eqn (3.5)

The dependent variables X^, > X^, X ^ , X^, Xg X^» Xg, Xg,

used for computing the regression equations were taken from Table 2.1

except Xg. The addition of this variable is justified in that

it is a measure of optimum number of points per unit of area.

Table 3.2 shows that we can have a multiple linear regression

equation of nine predictor variables. Such an equation will defeat

the purpose of this Section. Before we appeal to various methods of

selecting the "best" regression equation out of the possible regression

equations which can be formulated from various combinations of N with

Xf, X£> Xg, the following principles and assumptions should be

stated:

1. It is hypothesized that optimum sample size is a

function of one or more of the predictor variables X^,

^2 ’---- ^9 * are t*ie roughness parameters of a

terrain.

2. For reasons of economy and ease of computation we wish

to include only a minimum number of variables possible.

3. Both objective and subjective methods will be used in

monitoring the variables for selecting the "best"

regression equation. "Best" refers to the one which

will give the most accurate prediction with the

minimum of variables which -dlso require the least •

amount of computational effort. 49

2 4. The multiple correlation coefficients R provides an

estimate of the variation of N "explained" or accounted

for by prediction variables.

The following procedure was used for selecting the

variables which could be included in the "best" regression equation.

(See Drapper and Smith [69] and ASA Manual [70] for details.)

3.22 SUBJECTIVE SELECTION

This procedure involves the inspection of the variables in

Table 3.2 and deciding which of their contributions will yield

the least computational effort. This procedure gives rise to the

following "Economic Models"

"ECONOMIC MODELS

"Best" 1 variable Xg

(3.6) '9 "Best" 2 variables 3 - x X 1 . * 9 ;3 + 525 .653Xg (3.7)

482.495Xg (3.8)

’Best" 3 variables XX , X2 , Xg

XX , X3 , Xg

X2* X3* X9

.1742X2 + 480.0075Xg (3.9)

N = 32.0078 + .OOO^Xj^ + .0000082X3 + 525.618Xg (3.10) 50

N = 34.88 + .17298X2 + .00000446X3 + 483.066X9 (3.11)

"Best" 4 variables X-J » X„,3^2 I X~,X^ ) XXg

x 3 , x5 , Xfi, X y

xr x2, x6, x 7

N = 36.412 + .1511X1 + .2703X2 - .0000984X3 + 418.146Xg

(3.12)

N = -16.146 -.00195X- + .3457XC + 102.256X, + 8.9464X-, 3 5 6 7

(3.13)

N * -28.481 + 0.5210X. + 1.11430X- + 203.6779X, 1 Z b

~6-6295X? (3.14)

"Best" 6 variables X ^ , X 2 , X 3 , , X g , X g ,

N = 7.477 -2.747X1 -1.538X2 -.0003X3 + 1.167X5

+ 77.5103Xg + 367.743Xg (3.15)

3.23 "OBJECTIVE" METHODS OF SELECTION

The "objective" methods refer to any of the five techniques given below which can be used to find which of the variables X^, X2 ,----

------Xg are most likely to be included in the regression model under certain specified criteria. The term "F-Statistic to include" is used

to mean the F Statistic which miikes a variable significant.

3.231 MAXIMUM R2 IMPROVEMENT

This technique produces the best 1 variable, 2 variable, etc. from a given set of prediction variables by first finding the 2 "best" one-variable model which yields the highest R . Then the

"best" two-variable model is determined by finding which of the remaining variables when combined with the "best" one-variable gives 2 the maximum R increase. The best "three-variable model" is 2 determined by the maximum R criteria. The result of this procedure is given as eqns (3.6) and (3.16) - (3.20)

MAXIMUM R-SQUARED IMPROVEMENT

Best 1 variable Xg

N = 29.3868 + 54l.9068Xg same as eqn. (3.6)

Best 2 variables X,, X„ ------4 9

N = 1.2772 + 0.7215X + 572.6318X. (3.16) 4 ” Best 3 variables X^> X^, Xg

N = 8.1918 + 0.0968X2 + 0.6026X4 + 539.5534Xg (3.17)

Best 4 variables X„» X.. X„. X„ ------2 4 8 9

N = 10.9173 + 0.1032X2 + 0.551X4 -29.4883X0

+ 537.647Xg (3.18)

Best 5 variables X2, X^, X0, X0, Xg

N - 9.2308 + 0.1165X- + .5424X. + 5.531X, Z h b -44.73O4X0 + 531.373Xg (3.19)

Best 6 variables X^, X2, X^, Xg, X^, X^

N = 4.1653 -0.00627X1 + .2032X2 + .4608X4 + 29.547Xg 3.232 MINIMUM R-SQUARED IMPROVEMENT

Best 1 variable same as (3.6) X9 Best 2 variables (3.16) V X9 same as

Best 3 variables v same as (3.17) v V 9

Best 4 variables (3.18) X2* X4* > ^g GQine 3S

Best 5 variables x2, x3, X*. ^ 7 » ^9

N == 11.2005 + .1116X2 + .0000256X3 + .5614X4

-.478X ? + 535.804Xg (3.21)

Best 6 variables x3 , x6 , xy, x5 V X4 *

N == 7.511 + .1987X2 + .0000944X3 0.5398 X^

+ 18.294X. ~1.8103X7 + 510.7175Xg (3.22) 6 2 This procedure is similar to maximum R improvement except 2 that the smallest decrease in R criterion is used. The result of this procedure is given in eqns. (3.6, 3.16-3.18, 3.21-3.22).

3.233 BACKWARD ELIMINATION PROCEDURE

A multiple regression equation is performed by using all the given variables. The "partial" F-statistics is computed for each variable and compared with a specified f-statistic to remove at a given significance level. If F

Variables which do not make any significant contribution to sample

size according to this procedure are

X3> Xg , and X?

Best 6 variables

N = -3.7261 +4.4361X^ +2.157X2 +.8174X4 -.6561X5

+3073.5957Xg -962.9166X9 (3.23)

3.234 FORWARD SELECTION PROCEDURE

2 The single variable with the maximum R is selected and

tested for its significance according to a specified F-statistic to y include . Then compute the partial correlation coefficient Fx and

choose the variable with the largest Fx to be included in the model.

Use "partial" F-statistic to test whether the new variable should be

included according to F to include and continue until all the

significant variables have been included.

Variables considered to make significant contribution

X2 * X 4 * X8 ’ X9

are the same as in eqn. (3.18).

3.235 STEPWISE REGRESSION PROCEDURE

Stepwise procedure is a combination of Forward and Backward

procedures in that although it adds or drops a variable according to

specified F-statistic to include or to exclude, at each step all the variables which have been previously included are reexamined. The variables considered significant according to this procedure are the same as in Section (3.18). The outline of steps involved will be given below and detailed discussion is reserved for

Section 4.31 (see Draper and Smith [69]).

Step 1: Compute the simple correlation coefficients between

the dependent and the independent variables and

select the variable with the highest coefficient

X^ say, for regression equation.

Step 2: Compute the partial correlation coefficients and

select the variable with the highest partial

coefficient as the next variable X^, say.

a Step 3: Compute regression equation N = f(X^, X^) and

using the criteria -F* to exclude and the partial

F > decision is made whether to retain X, in the x 4 light of including X^. The partial correlation

coefficients for the remaining variables are

computed and the next variable X 2 say, is selected

as in Step 2.

A Step 4: The regression equation N = (X^,X^, X2 ) is then

computed and X^ and X2 are examined as to their

significance. The decision is then made as to

whether they should be retained before an additional

variable to be included is determined as in Step 3.

This continues until all the variables are

exhausted. 55

The variable considered significant according

to the Stepwise procedure are the same as those

of eqn. (3.18).

3.24 RESULT OF TESTING MULTIPLE REGRESSION EQUATION FOR OPTIMUM SAMPLE SIZE

All the equations obtained through both "subjective" and

"objective" procedures were tested on terrain No. 9 (see Fig. A9,

Appendix A) to see whether they give similar results as the HVM

criteria. The results are displayed in Table 3.3 from where it can be observed that the optimum sizes from some regression equations ob­

tained through "subjective" procedures differ significantly from that

obtained by HVM criteria. On the other hand, other regression equations

obtained through "objective" procedures seem to produce optimum sample

sizes which compare favorable with those from HVM criteria. It may be noted from Table 3.4 that the independent variables excepting Xg,

appear to be fairly constant after the optimum sample size is exceeded. This shows that the optimum sample size from HVM is enough

to describe the terrain roughness features. The merit of some of the

linear regression equations especially those from "subjective" methods

is that predictor variables can be computed by a stereoplotter operator using an inexpensive desk calculator. A very simple criteria

for determining optimum size may be given by

\ — Nk+1 | < TR (3.24) where TR = ^k+i x ^

f = .5% 56

ft = last sample size computed from

regression equations.

It should be noted that eqns. (3.12-3.15) and (3.21) are not recommended for use because of their gross errors. 57

, TABLE 3.3 DIFFERENCE BETWEEN GIVEN SAMPLE SIZE AND COMPUTED SAMPLE SIZE USING EQNS (3.6-3.23) ON SURFACE 9

Eqn. N=169 N=196 N=225 N=256 N=289 N=324* N=361

(3.6)** 19 18 16 14 12 10 8 (3.7)** 17 15 12 10 7 4 1 (3.8)** 7 2 -2 -7 -13 -18 -24 (3.9)** 7 2 -2 -8 -13 -19 -25 (3.10)** 17 15 12 10 7 4 0 (3.11)** 18 3 -1 -6 -12 -17 -23 (3.12)** -11 -18 -26 -34 -43 -53 -63 (3.13)** 436 412 390 362 335 303 271 (3.16) 8 8 7 7 7 7 6 (3.17) 4 2 0 -2 -4 -6 -8 (3.18) 5 4 2 -1 -3 -6 -8 (3.19) 5 3 1 -3 -6 -8.334 -11 (3.20) 7 4 0 -9 -13 -18.591 -22 (3.21) -118 -146 -182 -214 -253 -289.805 -•331 (3.22) 2 0 -2 -4 -7 -9.008 -12 (3.23) -7 -10 -14 -18 -23 -27.911 -32 (3.15 -1419 -1499 -1583 -1671 -1764 -1862.17 -•1965 (3.14)** 1701 1705 1705 1704 1699 -1695.566 1687

** Economic Model

* Optimum sample size using harmonic vector magnitude criteria TABLE 3.4 PREDICTOR OF VARIABLES: TERRAIN 9 (Parameters of Terrain Roughness in Relation to ______increasing sample size)______

N X 1 X2 X3 X4 X5 X6 X7 X 8 X9

169 30.69 200.96 6677.570 10.171 1481.451 0.6074 6.7102 .0263 0.2934

196 38.86 206.98 6678.910 10.354 1493.369 0.6034 6.640 .0243 0.3403

225 36.65 281.69 6681.734 10.397 1503.543 0.5883 7.270 .0261 0.3906 256 36.99 219.64 6680.66 10.55 1512.30 0.5840 7.271 .0310 0.444 289 37.89 219.87 6683.6 10.54 1519.99 0.5730 7.814 .0313 0.5018 *324 37.69 219.89 6683.29 10.6569 1526.71 0.5690 7.877 .0313 0.563

361 37.58 219.67 6684.13 10.4785 1532.66 0.5596 7.3475 .0313 0.6267

* Optimum sample size •

Ln 00 59

3.3 OPTIMUM SAMPLE TYPE

It will be observed from the definition of Digital Terrain

Model given in Section 3.1 that emphasis is placed on "making use of adequate elevation measurements compatible in number and distribution with that terrain." The last Section has been devoted to finding the elevation measurements compatible in number but not in distribution with a given terrain. It will be recalled that the progressive sampling method proposed in Section 3.2 is performed using a regular point grid distribution of elevation measurements. While such a sampling plan is suitable for the analysis of terrain roughness and the determination of optimum sample size, it may not be the optimum plan for interpolation of points on the surface because of the influence of sampling error. Miesch and Connor [62] have pointed out that in trend analysis the residual, "includes all variation having resulted from local geologic factors and from data errors of various kinds. The local geologic factors give rise to sampling errors which in many instances may form the major problem of the total noise (residual) in the data."

The problem of finding relative efficiency of various sample types for certain categories of populations has been the subject of many published papers in statistics namely, Das [23],

Quenoulle [24], Cochran [6 6 ], and others. Cochran [6 6 ] working with one dimensional autocorrelation has developed some theorems to show when a particular sample type (Random, Stratified, or Systematic) is more efficient than the other. Das [23] has demonstrated a 2- dimensional extension of Cochran's theorems. 60

Before stating these theorems we need to know what types

of sampling plans (sample type) can be generated in a 2-dimensional

surface.

3.31 MAJOR SAMPLING PATTERNS

There are three major sample types well known in statistics.

These are:

Random sampling Stratified sampling Systematic sampling

Quenouille 1.24] has rightly pointed out that there are many ways

in which we can sample a two-dimensional space since there is flexibility

in employing random, stratified, or systematic sampling in either

direction. However, Morrison [63] has demonstrated that six

sampling plans can theoretically represent nearly all the possible

sample point scatters in a plane. This author feels intuitively that

a seventh sampling plan which combines all the features of the three

major sampling plans has some merits which deserve investigation.

These seven sample types are now briefly described.

UNALIGNED RANDOM SAMPLING

The Unaligned Random Sampling is a type of sampling in which each point is chosen randomly. In two-dimensional plane this

means that the coordinates X and Y of a given point is selected at

random either by using a table of random numbers or by generating

random numbers through a computer program. This gives rise to an 61 uneven areal coverage.. It is believed by statisticans that this type of sampling is efficient if there is periodic variation or any type of trend in the population since it gives rise to an uneven areal coverage.

ALIGNED RANDOM SAMPLING

This type of sampling is similar to the previous one except that the random number in one direction, X or Y is fixed and the other is chosen randomly. This type of sampling does not have a good areal coverage as its counterpart without alignment.

UNALIGNED STRATIFIED SAMPLING

This is a type of sampling in which the area concerned is subdivided into strata within which sampling points are chosen randomly in a manner similar to unaligned random sampling. The advantage of stratified sampling is that it tends to increase the precision of the estimate of a population parameter without increasing the number of points since the areal coverage of points seem to be more representative of the population.

ALIGNED STRATIFIED SAMPLING

This is the same as its unaligned counterpart except that one of the coordinates is aligned within each stratum. 62

UNALIGNED SYSTEMATIC SAMPLING

Unaligned systematic sampling is generated by dividing the area into sections (rectangulars or squares) and points are sampled randomly in each Section.

ALIGNED SYSTEMATIC SAMPLING

This is by far the most popular type of sampling used in

Digital Terrain Model studies because it is the easiest to generate.

The initial point is selected randomly or purposefully and all others determined by a fixed interval.

UNALIGNED STRATIFIED SYSTEMATIC RANDOM SAMPLING

As the name implies this sampling type is a combination of all the three major sampling types. The area concerned is covered with squares or rectangular grids and the first point is selected at random in the first square. The X coordinate of this first point is then used with a new random Y coordinate to locate the new point in the second square.

A new point is similarly treated in the subsequent squares in the first row. The second and subsequent rows of squares are treated like the first row to generate the points required. Fig. 3.1 shows the examples of sample point scatters resulting from each of the seven sampling plans discussed above. 63

58a

t • # • * Unaligned Aligned t - rt Random « t Random • * * 4 (2) (1) • 1 H # » 1 «• * . . • * * * # • • 4 44 • • * 4

I • ft I Unaligned Aligned Stratified Stratified k 9 f► « ft '

(3) (4) 1 « • • 4

t * • * ” > 1 ' * 1

■------

9 • ft *

» 1 r Unaligned Aligned Systematic Systematic ► k k » r (5) (6) > 1 i

► 1 I 1 r

m 9 ► V k • 9 »

• « » 4 •

1 9 • r 9 Unaligned Random • Stratified Systematic • * • 4 « (7) • l * * ♦

Fig. 3.1 SEVEN SAMPLING PATTERNS 64

3.32 DAS' THEOREM FOR RELATIVE EFFICIENCY OF SAMPLING PATTERNS

Before stating the conditions under which one type of sample type is more efficient than the other for estimating population parameters it is important to discuss the following notations and properties of autocorrelation which are essential for understanding

Das' [231 theorems.

A^ r(u,v) = r(u +l»v) -r(u,v) (3.25a)

&2 r(u,v) = r(u,v+l) -r(u,v) (3.25b)

r(u,v) = r(u+l,v) + r(u-l,v) (3.26a)

Ai A 2 r(u,v) = Air(u,v+1) -Air(u,v) (3.26b)

r(u,v) - r(-u,-v) (3.27)

r(u,-v) = r(-u,v) (3.28)

^(u.v) = r(u,v) + r(-u,v) (3.29) where r(u,v)sthe spatial autocorrelation between points separated by

t distances u,v in x’ and y directions, respectively

Theorem 1 for all infinite population in which

(i) A x 4* £ 0

(ii) 4 2 f < 0

(iii) 2 y(u,v+l) ^ T (u+1 ,v) + ^(u+l,v+l) and

(iv) 2 t(u+l,v) “j p + V(u+l,v+l)

* 2 2 q (i.e. stratified sampling is more efficient than random St r s-2 sampling) for any size of the sample and <5 - ^ 6 unless equality St r holds in each of the above cases. Corrolary for all infinite populations in which _ 2 _2 ii v = A2 v £ o Ost <0 ^or an^ s^ze t*ie samPle and < 2 J S r 8 Ay unless equality holds in each of the above cases.

Theorem 2 : When stratification is made- by parallel strips along

u-direction if (i) Ai V < o

(ii) A 2 £ 0 aad

(iii) 2Y (u+1 ,V) ^ T (u,v+l) + Y (u+l,v+l)

Then (fet ± g ; 2

Corrolary When stratification is made by parallel U-strips if

A 2 V 1 * 1 V £ 0 then < g r

Theorem 3: for all patterns of stratification if

(i) Ai V <_ 0

(11) A 2 ^ 1. 0 aad

(iii) Ai A 2 V £ 0 then

Theorem 4: for all infinite population in which

£ 1 j* (u»v)‘ £ 0

(ii) £ 2 9 (u.v) ^ 0 2 2 Then (7" £ AT for any sample size and 2 2 6 sy < 6 st un^ess equallt:y holds

i.e., Systematic is better than stratified

Theorem 5 : for all infinite population in which

(1 ) A : V (u,v) £ 0

(ii) A 2 V (u,v) £ 0

(iii) ^ ! 2J ( u , v ) £ 0 66

(iv) y (u,v) >, 0

Then > (T* >. 6 * *^r s vst ' ^sy

i.e., Systematic is better than stratified and stratified

is better than random

It should be noted that the physical interpretation of these conditions are very difficult to perceive except in one- dimension. For example, in Theorem 5 conditions (i) and (ii) are nothing but strictly monotone autocorrelation properties and (iii) and (iv) are properties of second differences of autocorrelation in u and v directions.

3.33 THEORETICAL EXPECTATION AND EMPERICAL RESULT OF THE EFFICIENCY OF SAMPLING PATTERNS

The objective of this Section Is to investigate the validity of these theorems when they are applied to a topographic surface as the infinite population of interest, and when efficiency of sampling pattern relates to interpolation accuracy. An experiment set up to determine the practical efficiency of the various sampling plans, is briefly described below.

Step A ; Determine the theoretical relative efficiency of the six standard sampling patterns according to Das' theorems. A computer program called AUTOCO computes the autocorrelation properties described in Theorems 1-5. From this^theoretical efficiency of a sampling plan can be determined. For example, if all the conditions in Theorem 5 are satisfied then systematic sampling is "better" than stratified which in turn is "better" than random sampling. 67

Step B : Determine the practical (emperical) relative efficiency of the six standard sampling patterns in the following manner:

(i) A surface is generated (or simulated) by a mathematical

function using the program TERRAIN. Let the parent function 2 2 be Z 3 a + bx + cx + dy + ey , for example o (ii) A program called GENSAP was written to generate Z values

for seven sampling patterns discussed above, at a given

or optimum sample size using this parent function.

(iii) A ‘’deficient1’ function is established by dropping one or 2 2 two terms of.the parent function e.g., Z* — BX + CX + EY .

Then by Least Squares technique the Z values so generated

for the seven sample plans are used in fitting the deficient

function to determine the parameters B, C, and E which are

in turn used to compute the Z^ values at some points whose

X, Y, Z coordinates are known on the parent surface.

Step C : The RMS (root mean squares) of differences between the Z’s from parent surface and the Z^’s from "deficient" surface are then computed. The sampling plan with the smallest RMS is then chosen as the most efficient for that terrain. This result is then compared with the most efficient, theoretically speaking, sampling plan obtained from Step 1.

The seven terrains used are shown in Figs. A1-A6, A9, Appendix A. The parent functions and the "deficient" functions these seven terrains are briefly described below.

Surface 1

Parent: Z = a + bX + cY

Deficient: Z* = bX + cY

Surface 2

Parent: Z = a e c^x ^ ^ ^ -( 2 + Z ) Deficient: Z* = a + a_e X ^ 1 o 1

Surface 3

P a r e n t : Z = a- log X + a_ log Y 1 °e 2 e

Deficient: Z* = a + a^ l°ge X + a 2 l°Be Y

Surface 4

Parent: Double Fourier Function as in eqn. (2.7)

faith m = n = 5 and coefficients

chosen randomly

Deficient: Double Fourier function as in eqn- (2.7)

with m = n = 4

Surface 5

Parent: Power series polynomial

Z - [ bjj ( x V / j

m = n = 5

Deficient: Same as above except that

the last term was dropped Surface 6

Parent: Double Fourier function as in eqn. (2.7)

m = n = 5 with synthetic coefficient

Deficient: Double Fourier Function as in eqn. (2.7)

with m = n - A

Surface 9

Parent: Same as Surface 5 but with different coefficents

Deficient: Case 1 - Same as parent but the last three terms were

dropped

Case 2 - Same as parent function but the last terms

were dropped.

From the results of the empirical verification of the relative efficiency of the seven sampling patterns shown in Table

B1-B9, Appendix B, the following observations could be made:

1. The unaligned systematic stratified random sampling

pattern is the most efficient since it produces the

least RMS for almost all sample sizes and terrain types.

2. The relative efficiency of the sample patterns is not

related to the terrain roughness or class of terrain

or to sample size>

3. The sample pattern which produces the most stable

normal coefficient matrix in a least squares solution

gives the best accuracy for interpolation. In other

words, the relative efficiency of sampling patterns

could be determined by computing the determinant or TABLE 3.5 THEORETICAL EXPECTATION AND EMPERICAL RESULT OF THE EFFICIENCY OF SAMPLING PATTERNS

Sample Theoretical Emperical Surface Class Size Expectation Result

1 I 25 rand.< str. rand. < str.; 64 sys. < str. sys. < str. sys. < str.

2 I 36 rand.< str. rand.. < str. ; sys.< str. 100 No decision No decision

49 rand. < str. rand. < str. s y s .< str. 3 I 100 rand. < str.; rand. < str.: rand. < sys. rand. < sys.

100 No decision No decision 4 II 169 sys. < str. sys. < str.

5 III 256 sys. < str. sys.< str. 324 sys. < str. sys < str. 400 sys. < str. sys.< str.

100 sys. < str. rand.< str. sys. < str. 6 IV 196 No decision No decision 484 No decision sys. < str.

256 sys.< str. sys. < str. 9 III 394 sys.< str. sys. < str. Case 1 400 sys.< str. sys. < str.

256 sys.< str. sys.< str. 9 III 324 sys.< str. sys.< str. < r a n d ... Case 2 400 sys.< str. sys. < str. i . . . sys. = systematic sampling , , , . - better than 1 ; ,,,, , , . rand. = random sampling str. = stratified sampling r ° the trace of the dispersion Matrix. According tio

Fedorov [43], if D^, are the Dispersion Matrices for

adjusted parameters from sample pattern 1 and 2

respectives and

if | D]_| < | | (3*30)

or if Trace (D^) < Trace (D2) (3.31)

then experiment 1 is better than 2

This phenomenon can be observed from Table B.5 in which

D? < Og < Dj. < D2 < D3 < Ds < Dl

4. If the result of theoretical expectation of the relative

efficiency of the sampling patterns is compared with

that in Table Bl-9 it will be observed that Das 1 [23]

theorems can be a fairly good a priori indicator of

what the optimum sampling pattern for any given terrain

is expected to be (see Table 3.5). Also from Table 3.5

one can conclude that the optimum sample pattern for

any terrain is dependent on its autocorrelation

properties. It is well to remember that it was shown

in Section 3.2 that the optimum sample size is related

to the degree of terrain roughness.

3.4 AUTOMATIC OPTIMUM SAMPLING FOR D.T.M.

As a result of the investigations performed in this research, a program called "ATOSAP" was developed which could be used inter­ actively by the stereoplotter operator or in a fully automated system to determine the optimum sample size and also to generate the optimum sample pattern for digitizing any given terrain. The essential features of "ATOSAP" are as follows:

1. It uses HVM program to iteratively sample on a

stereo-model to obtain the optimum sample size using

the criteria in eqn. (3.1). As an alternative, the

operator could use any of the linear regression

equations, particulary eqns. (3.6), (3.7), (3.8),

(3.9), (3.10), (3.11), (3.16), (3.17), (3.18), (3.19),

(3.20), (3.22), and (3.23) in combination with criteria

(3.24).

2. ATOSAP then calls "AUTOCO" to determine a priori which

of the sampling pattern is relatively most efficient

according to Das' theorem.

3. GENSAP is called by ATOSAP to generate the X,Y

coordinates for the theoretically most efficient

sampling patterns. If the operator wishes, he might

call any type of sampling pattern of his own choice.

Since the most convenient pattern for interpolation is

the aligned systematic pattern it is recommended that it

be used for sampling unless any of the following

conditions occurs:

(a) The first condition is when there are frequent

occurrence of "Breaklines" which are incompatible

with the class of terrain. According to Table 2.2

this case can be detected from ATOSAP which also computes other parameters of terrain roughness.

This means that more sample data should be purposely taken in areas with unusual occurrence of "Breaklines."

This procedure may be called "purposeful sampling."

Systematic Sampling should not be used if there is no means of determining an optimum interpolation algorithm for a given terrain. The method to deriving such an optimum algorithm and its relationship to sampling error will be discussed in the next Chapter. 74

CHAPTER IV

INTERPOLATION PROCEDURES FOR DIGITAL TERRAIN MODELS

4.1 DEFINITION OF BASIC TERMINOLOGIES

The branch of statistics/mathematics which is related to interpolation and prediction has borrowed some terminologies from other branches of science particularly electrical engineering. Basic definitions of some terms are therefore justifiable.

Data Smoothening is a data-processing method whose main objective is to reduce the effect of observational errors which are usually called "noise.11 Smoothening may be achieved by

Least Squares procedures, Moving Average, etc. Filtering is synonymous with smoothening. Signal is a component of the data which has a meaningful pattern of variation. It is relevant and wanted component of the data whereas "noise" is irrelevant, unwanted, and

"short-term" (i.e., it fluctuates rapidly) and it is a random component of the data. By contrast, signal tends to be "long-term."

In Curve or Surface Filtering, Regression or Trend Analysis a function which includes unknown parameters is assumed to express the relation­ ship between the dependent and the independent variables.

Interpolation consists of estimating some unknown quantities by making use of some given data (for curve fitting) whose sphere of influence is assumed to extend over the unknown quantities. 75

Extrapolation procedure is the same as interpolation except that estimation of quantities are made outside the sphere of influence of the given data. Prediction, strictly speaking, refers to both interpolation and extrapolation although interpolation is sometimes used to indicate prediction. Point Interpolation involves fitting of a curve Z - f(X) to a given data at some points usually arranged in one-dimension and estimating the unknown data from other points.

Patch-wise interpolation is a type of interpolation using locally defined functions Z (x,y), for an area divided into patches^

Whereas in Global Interpolation a single function Z (x,y) is used for interpolation all over the whole area. Trend is that part of data which is systematic and can be predicted. The term "White

Noise'1 refers to residuals which are random and whose autocorrelation is not significant.

4.2 INTERPOLATION FORMULAS

Many interpolation formulas abound for various methods of

interpolation viz, the classical numerical polynomial formulas, the

logarithmic formulas, the exponential formulas, the Least Squares polynomial, and formulas, the Fourier Series formulas, and the

Multiquadric formulas. These formulas which are briefly discussed below,

seek to express elevation Z of a point in terms of one or both

cartesian coordinates.

4.21 NUMERICAL POLYNOMIAL INTERPOLATION FORMULAS

Classical numerical polynomials have not found much favor with DTM researchers for reasons best known to them. One of the objectives of this research is to investigate the efficiency of some of these polynomials as a DTM technique. In general numerical

interpolation formulas are obtained by the use of operators A or V or 6 indicating "Forward Difference," "Backward Difference," and

"Central Difference" respectively (see Watson [54]). In the appli­ cation of numerical interpolation a function Z = f(x) or F(y) is not known and we wish to predict or infer the values of Z for values of x or y intermediate between given data r points (x^, y^), (x^*

(x , y ), by constructing a "Difference Table." (See Table 4.1 for m m ° 4 an example of forward difference table for Z = f(x)=x .

TABLE 4.1 FORWARD DIFFERENCE TABLE

JL f(X) A f A2f A3f A^f x— 2 0 0

1 x— i 1 1 14 15 36 x 2 16 50 24 c 65 60 x 2 3 81 65 24 175 84 x 2 4 256 174 369 x 3 5 625

Note that the A**f of the fourth difference is a constant. Only a brief discussion of formulas will be offered here (see [52-55] for details). 4.211 NEWTON'S FORWARD INTERPOLATION FORMULA

Newton's Forward Interpolation formula is derived by

Taylor's Series expansion as

Z = fo + o- (X-Xo) + A 2 fn (X-X ) (X—X i ) h “ 2h *

+ (X-Xo) (X-XO (X-X2) + ......

... An fn (X-X0) (X-X!)_____(X“Xn 1 ) <4 ‘1 5 ,.n n ! h

where n = degree of polynomial through equally spaced (n+1 ) points

Putting p - (X-X0) /h eqn. (4.1) may be written as

A 2 ir A 3 -F Z = fo + Af 0 P + P(P-l) + P(p-l) (P-2) + 2! 3!

.Dr + ...... =-**>• P(P-l) (P-2) ...... n !

42.2 SPLINE INTERPOLATION FORMULA

Spline interpolation in analogous to estimation of the

value of a function at any new point by using a draftsman's spline

to draw a smooth curve through the given data points. Spline Fit

interpolation consists of determining which two points (X^, Z^) and

(X^_^, x^j_) the given value X lies and finding Z by the formula 2 " Cl,k (\ + l - X)3 + °2,k (X- \ )3 + C3,k

+ C4 k (X-^) + . . . . (4.3)

where

Ci . C , , C 3 , , C 3 . are computed from ,K.j 2 * ^ » R

c',k - 3V 6dk

c^,k = a2W 6dk

c 3,k - V dk - a2zk ' V 6

°4,k = zk+l 1 dk “ d X + l dk /&

dk “ *k+l “ \

From eqn. (4.3) it is clear that spline fit interpolation is accomplished by connecting each pair of adjacent points with a section of a 3rd degree polynomial such that the first and second derivatives are continuous at each point between various sections.

4.213 AITKEN - NEVILLE FORMULA

Aitken-Neville formula is a successive linear interpolation and extrapolation. The formula for linear interpolation for the value of f±+1 (x) between the interval (xi, *1+1) ±g g±ven by

(1) fi+l(K) *“ f(xi+ ph) = pfi+l + (1“ p)fi **• (4.4) where 79

P = X“Xi

h = Xi " Xi+1

A quadratic interpolation f^(x) may also be obtained by linear interpolation from

and in the interval using the formula

(2) . f±(X)= i i-Pd-Df^^n-p] [l+pjf^d-p)^] and this interpolation method can be extended to obtain higher- degree interpolation e.g., nth degree interpolation.

4.214 STIRLING’S INTERPOLATION FORMULA

Stirling's Interpolation formula is one of the "central difference" formula usually written as a polynomial of degree 2n passing through 2n+l points e.g.,

(x__ n» •** (x0» Z0), (xi, Z\) ... txn » yn )

The formula may be written as

Z = fo+ pA f -i + Afp + p 2 A 2f -i 2 2 ) + P(P2- l 2) A 3f -2+ a3f —! + p2(p2 - ]2) 4„f _ 2

31.2 4!

+ ......

+ P2(p2. !*, Ip2.(n-1)2] Aan f _n ...

(2n) ! 80 where

P = (x - xo) /h

4.215 LAGRANGE FORMULA

Lagrange's interpolation formula is an equation expressing nth degree polynominal through (n+1 ) points (xozo) (X 1 > zi) •••

(xn , z^) which are not necessarily equally spaced. The formula can be written in shortened form as

n z = f (x) = Z L (x). f. (4.7) i=0 1 where the coefficients L^(x) for i = 0 ,1 ,2 ,..., n may be written as:

^ ( x ) = (x “x o) (x - xx) ... (x - ...(x - xn )

(x± - x0) (Xj-xi) ... (x.j-x.^ ) (xi”Xn)

Eqn. (4.7) may be written more explicitly as:

Z = L 0 (x)fo + Li(x)fL2 (x)f2+ --- + L^(x)f (4.8)

4.216 DIVIDED DIFFERENCE FORMULA

Divided difference formula like Lagrange's formula does not require equal interval between successive points. It is given by:

f(x) » a 0 + ai(X-Xo) + a2 (X-Xq) (X-X^ + ...

+ a (X-X0) (X-Xi)...(X-X ,) n n— 1

+ (X-X„) (X-X1)....(X-Xn)Rn+1 (4<9) where

~ , Xg]

a 0 = f[X0 ]

= f[Xit X0] Xi-X0

a 2 - ftX^xn-fULXp] = [X2, x„ X„] x 2-x0

f [X . . •X-.l-ffx ...X ] =f[X X 1 t...Xn] a = L n, 1J L n-1 0 a, n - 1 ’ u n v xn-x0

4.22 POLYNOMINAL INTERPOLATION FORMULAS

The polynomial in 1-dimension is given by

Z = ao + ajy + a2y 2 + anyU * * * (4.10) passing through [n+2] points for a least squares solution. The need for a least squares solution arises from the desire to reduce the effects of observational errors commonly called noise. Using Uotila’

[85]notations we have the following formulation

Maths Model: L = f(X ) (4.11)

Observation Equation: V = AX + L (4.12)

Normal Equation: X = (ATA)” ^ATL (4.13) where

a - 3 F A - 3X

L = L^ = observations 82

X = parameters

The purpose of adjustment is to get the best estimate of a parameter with minimum variance and minumum sum of squares of residuals.

An exact solution where the number of parameters is equal to the number of observations was attempted and the results compared with the least squares solution.

Equation (4.10) may be extended in 2-dimensions as

9 3 Z = ag + ajx + a 2x ‘i + x +■*:.. .

+ bjy+ b 2y 2 + b 3y 3+ ...

+ cixy + c 2;c2y + csxy2 + cijX2y 2+ ... (4.14)

4.23 LOGARITHMIC FORMULAS

The Logarithmic Formula, for interpolation may be expressed both in one- or two-dimensions e.g.,

Z = alog x (4.14) and Z - alogx + blog y (4.15)

The logarithm may be Napierian or natural logarithm.

Since the coefficient is linear a least squares solution of the above equations does not require iteration.

4.24 EXPONENTIAL FORMULAS

Exponental formulas may be expressed as: 83

Z = ao£ (A.16) ax2+ b y 2 Z = ao£. (4.17) Elevations are defined as exponential function of x and x,y.

Although the coefficients are not linear a least squares solution with observation equation is feasible.

4.25 FOURIER SERIES FORMULAS

The single fourier series formula may be expressed in the way

CosIIix + b Sinllix] (4.18) -- n ---

The two dimensional version of Fourier series has been given in

Section 2 as eqn (2.7) under which the notations used in eqn. (4.18) have been defined.

4.26 MULTIQUADRIC FORMULAS

Multiquadric equations of topography and other irregular surfaces were first developed by Hardy [22] as a result of the failure of polynomial and Fourier Series to represent any continuous irregular surface to any required degree of exactness and to provide a logical interpolation of the surface between data points.

A type of 3-dimensional multiquadric surface may be expressed as:

n (4.19) where

smoothening factor (see [93] for details) 84

Z = f(x,y) resulting from the summation of single quadric surfaces, (e.g., hyperpoloid, paraboloid, cones, cylinders, spheres, ellipsoids, etc.)

C determines the algebraic sign and flatness of the quadric term and the vertical axis of symmetry of each quadric term is located at a discrete horizontal position x^,y^ for a summation of cones eqn. (4.19) becomes

z = cj^[(xj-x) 2 + (y^-y)2] 1 /2 i-<5j (4.20) J“1

In one-dimension

z = c J k Xj - x )2 ]17 2 -!-/^ (4.21) " j = f

One of the objectives of this Section is to investigate

Hardy’s claim that if control data are located at significant points on the topography, multiquadric should perform better than the conventional interpolation methods.

4.3 OPTIMUM INTERPOLATION AND LEAST SQUARES METHOD

Two basic conceptual backgrounds (assumptions) are very

important to the understanding of what is meant by optimum inter­ polation. The first will be called a priori assumption and it should be made for the D.T.M. data sample.

Value at data Regional Variation + / Noise I (4.22a) point + Local Deviation 85

The above equation simply means that sample data have three components, namely, (i) Regional variation which extends all over the major parts of the area (ii) the local deviations from the regional variation which extends only to a limited part of the area and beyond the mean interval of data points and (iii) the "noise" which includes errors due to localized random variation between interval of data points. This gives rise to sampling errors due to lack of optimum sample size and sample pattern. Optimum sampling for D.T.M. may be defined as sampling that satisfies the relationship in the above equation such that the noise is simply "white noise." This also implies that data blunders or measurement errors which is part of the third component, is minimum.

The second assumption may be called a posteriori assumption given by

Value at Deterministic Data point functional value

This equation which states the post picture of least squares interpolation, asserts that value at data point consists of the deterministic functional value and the residuals. The problem of determining optimum interpolation consists primarily of relating the two conceptual equations above. The deterministic function is essentially the interpolation formula for surface fitting. In least squares solution the residuals are assumed to be white "noise" having zero mean,.common variance and uncorrelated. Under these assumptions the least squares solution of the deterministic function is optimal and accounts for both the regional variation and the local deviation in the apriori equation. The most important assumption here

is that of uncorrelated residuals because if it is not fulfilled the

least squares solution is not optimal. That is, the adjusted parameters

although unbiased do not have minumum variance properties. This

conclusion is admitted by Draper et al [69] and Neter et al [91].

In this case, the residuals contain not only the "noise" but also

part of the local deviations. This situation may arise when (a)

one or more significant terms of the deterministic function is

missing and (b) there is the presence of gross sampling or/and

observational errors in D.T.M. data. The method whereby the sampling

errors can be removed have been discussed In Chapter III even though

the merits of aligned systematic sampling have been admitted. Two

sophisticated approaches to optimal interpolation which seem to handle these two solutions properly are now discussed. The first approach which will be called Stepwise interpolation is an attempt

to construct the "best" deterministic function using some statistical

tools and the second which is an advanced least squares commonly

called least squares collocation, seeks to filter part of the local

deviation (signal) from the residuals so as to make it pure "white noise." In both of these approaches the statistical test on auto­ correlation of residuals will give the ultimate indication as to whether an optimum interpolation is attained. 87

4.31 STEPWISE REGRESSION PROCEDURES FOR OPTIMUM INTERPOLATION

The Stepwise procedure for choosing the most significant independent variables to be included in the "best" multiple linear regression equation of the form

Y = b + b, X. + b. X, + + b X o 1 1 2 2 T n i was briefly discussed in Section 3.3. In this Section application of the Stepwise regression will be made to regression equations with polynomial and non-polynomial terms of the form

i f + (4.23) k+1 k+1

j + rf j + i where

f x 1 1 2

2

f Sin X j+1 1

In other words f^ can assume any function of interest. The procedure enumerated in Section (3.235) will be used to determine the significant terms to be included in the "best" interpolation formula. Criteria are set up to add or delete a term. One of the most important features of the stepwise regression is that a significant, term which has been added at an earlier stage is reexamined along with other terms at a later stage and may then be considered insignificant, and therefore, deleted.

At the end of the search only the most significant variables which make the greatest improvement to the "goodness of fit" are retained in the regression equation model. By "goodness of fit" is meant accounting for a large.proportion of the total variance in the dependent variable. The coefficients corresponding to these significant terms determined by least squares on other similar pro­ cedures represent their "best" estimates. There are many methods for selecting the significant terms in the regression model which include

1. The percentage of the total sums of squares of the

dependent variable accounted for by the terms

Whitten [8 6 ]y

2. The statistical significance of the percentage sums of

squares in 1)*Allen and Krumbein [87].

3. The degree of autocorrelation in the residuals * Connor

and Miesch [8 8 ].

4. The magnitude of the sura of squares or variance of the

residuals. Criteria 2) is by far the most common and

two variations are recognized. In the first, critical

F^ and TF^ values are specified, Efroymson [89] and

used in adding or deleting terms by comparing with the 89

computed F-value according to F-test. In the second

variation a probability level Q Is specified rather

than the critical F values and this is compared with

the probability Q of computed F value occurring by

changes,Miesch and Connor [62].

The merits of stepwise regression to interpolation are:

1. It removes the problem of knowing the number of terms

that are sufficient for interpolation for any given

situation. The same result can only be attained by

trial and error which would be very expensive In terms

of time and computational effort .

2. Since only significant terms are included in the

regression model problems related to "ill-conditioned"

normal coefficient Matrix are removed. This

may be very significant in terms of removing sampling

error in D.T.M.

3. Another advantage of the stepwise procedure is that

"composite" formulas described in Section 4.27 could

be used. This will, therefore, strengthened the

quality of the "best" regression model that is

finally arrived at.

4.311 COMPUTATIONAL PROCEDURE FOR STEPWISE REGRESSION

Efroymson [89] has successfully applied the steps involved in the Gaussian elimination method for solving simultaneous equation 90

to stepwise regression procedure. The procedure is now discussed briefly:

Step 1 : Specify a priori value of Q

Generate the functions of all the terms required

to be considered in the regression equation (4.23)

at each of the data point (X,Y,Z) or (X,Z)t as the

case may be, and store them in a Matrix T (n,n) where n = number of terms to be considered

let NDF = n-1 and VAR" 1 and set Ci = -1, l

NDF = degrees of freedom

Step 2 : Compute the covariance Matrix and correlation

Matrix R from Matrix T

Step 3 : Augment Matrix R to obtain Matrix A which is

partioned as follows:

~ I A = R(kxk) j B1 (kxl) I(kxk)

I B(lxk) S (lxl) O(lxk)

•I(kxk) 0 (kxl) O(kxk) where R(kxk) = correlation Matrix for k independent variables

B(lxk) = correlation vector of k independent variables

with dependent variable Z

B^(kxl)= transpose of B

S(lxl) = correlation of dependent variables with itself. 91

I(kxk) = identity Matrix

-I(kxk) - negative identify Matrix

0 (k,k) = zero Matrix initially

Step 4; Computer Vi = ^+1 iJ * i=l»2,....,k

4 (a) find minimum Vi for = 1 and 0.00001.

If V^ minimum does not exist then go to step 46 otherwise

set Vmin = minimum Vi and compute F = (vmin, NDF)/VAR

Compute QF, probability of F using eqns. ,(4.24-4.26)

QFF - [F1 / 3 (1 ]- 7/a (4.24)

2FZ/32F2/ 3 A>\1/2 V 9 9NDF /

The area under F distribution curve above QFF may be computed

from eqn.(4.25) for large degrees of freedom.

f *0 -t2/ ** J q f f 8 dc <*-25> which is approximately computed from

qrt# e~QFF f 2 (a1 t+a2 t2+a3t3+a4 t4+a5 t5) (4.26) vizir '

where t = 1/(1+02316419 |q Ff Q; +1.782125 5978

a- = 0.319381530 a. = -1.82125 5978 1 4

a2 = -.35656 3782 =+1.33027 4429 (See Miesch and Conner [62]) 92

If QFF Is negative, then QF = (1.0 - QF); (4.27)

If NDF <£ 100 and is even QFF = NDF /(NDF+F) (4.28)

and QF = 1 - 1-QFF (1+ ^ QFF2 + ), (4.29)

If NDF ~ 100 and odd QFF = (1 - 2 (NDF)) (4.30) where d(NDF) = 20TT for NDF = 1

d(NDF) = (0 + sin 0(Cos9jO + 2/3 cos^O + ) for NDF 1

. 1/2 and 9 = arctan (F/NDF)'

If QF > Q set k=i of minimum v^, and increase var by vmin and increase

NDF by 1 and go to 5

If QF < Q go to 4b

4(b) Find maximum Vi and set Vmax = Vi max. , , „ (Vmax. DF) and compute F = (Var_Vmax) M.31)

Determine QF from eqns (4.25) - (4.30)

If QF Q set K=i of maximum Vi decrease var by vmax

and decrease NDF by 1 and go to 5

Step 5 Adjust Matrix A to B for variable entered

First divide B,=(A,/A) (4.32) mj mj mm' *

Bij - A1J - W-33) mm where m=k for variable just entered and change Cm to -Cm; for all Bii=l and go to step 4

Step 6 Compute all the regression coefficients for which

Ci = +1 from AS r \ bj = il * z for all i^where Ci = +l) (4.34) Si The regression constant is computed by bo = Z (b^.X^) for all i, where - +1 (4.35) where Z = mean of dependent variable

means of Independent variables

= standard deviation of Zs dependent variables

= standard deviation of independent variables

The four modes of stepwise regression depicting the composite interpolation formulas used in one- on two-dimensions are depicted in Table 4-2 TABLE 4.2 STEPWISE REGRESSION COMPOSITE MODES

Mode 1: One-dimension Polynomial Dominant Polynomial Terms Linear ------X

Quadratic------X2

Cubic------x3

Quantic------

Quintic------x5

Nonpolynomial terms

Square root - X 5? 2X Exponential------e , e , e

Logarithmic------log X, (logX)2

Reciprocal------X \ X 2

Mode 2 : One-dimensional single Fourier Series Dominant fourier terms i = 1 Cosnx, SinJTX L L

i = 2 ------Cos 2IIX , Sin 2IIX L L i = 3 ------cos 3IIX , Sin 3]1X L L

NonFourier Terms 2 Polynomial------X, X

Square root

Logarithmic------logX

Reciprocal------, X ^ , X 2

i = harmonic in X-direction 95 TABLE 4.2 CONTINUED

Mode 3: 2-dimensions: Polynomial Dominant Polynomial Terms L i n e a r ------X, Y

Quadratic------X2 , XY, Y 2 3 2 2 3 Cubic------X , X Y, XY , Y

4 3 2 2 3 4 Quantic------X,XY, X Y , XY , Y 5 4 3223 45 Quintic------X , X Y, X Y , X YJ , XY*, YJ

Non Polynomial terms

Square root--- J x J x Y p T

Exponential------eX , eY , e^X ,eX+Y, e^Y 2 Logarithmic------logX, logY, (logX.) , log X*log Y , (logY)2

Reciprocal------x"1 , Y- 1 , X_ 2 , (XY) - 1 , Y-2

Mode 4 : 2-dimensional Double Fourier Dominant

Double Fourier Terms

see eqn. (2.7)

Non Double Fourier Terms

Polynomial X, Y, XY

Square roots JXY

Logarithmic (logX) (log Y)

Reciprocal (XY) ^ 96

4.32 LEAST SQUARES COLLOCATION COMPUTATION FORMULAS

The detailed concepts and derivations of collocation are

contained in Geodetic Science Report No. 175, 1972, by Helmut Moritz ![94]

Only a brief discussion of basic formulas and derivations is offered here.

The generalized least-squares collocation formula is given by Moritz [14]

x = AX +s + n (4.36)

where x = vector of observation

X - vector of parameters

A = partial derivative of a function (viz., a polynomial) 3F 2 with respect to X is A = where F = b(j + b^u + b 2 U + * * *

for interpolation

n = "noise" - vector of measuring error

s = "signal" = vector of random quantity.

Statistically

From equation (4.36) above it is clear that x the observation consists of a systematic part (AX) and a random part (s and n). Note that s existvboth at observation and predicted points.

If the collocation model, eqn. (4.36) above, is applied to interpolation using a polynomial we have

X f(u^) + s^ + n^ i 97

ITm m where f(ui> = ai + a2U + a3U3 + uf ' * anrfl T. ak+l k=0

F (U) = f(u) “ s(u)

X = [ai, a 2 ... a^^]'

Linearizing eqn (ii)

3F(u) A = 3 X

x = AX + S 1 + n (4.37)

-,T where x = lx ^> X2 * • .. x ] = observations q

liT 1 _ [si, s * , ... s*] = signals at observation points

n [ni , n 2, ... n ] = measurement errors. q

Fig. 4.1 Below illustrates the quantities which are observed, and

predicted, and the polynomial as well as the signal

Fig. 4.1 LEAST SQUARES COLLOCATION QUANTITIES 98

u i , U 2 ---- U 5 = data points

fcl» t2 ---- t 5 = predicted points (interpolated points)

f(u) = polynomial without the signal

F(u) = f(u) + s(u)

From eqn (4.37)

x — A X + Z

Zl where Z2

Z 1 = S 1 + n

Zq

‘Si ‘ Let s 2 = p + q random nu S = signal for computation point

V I ie Z = signal for observation point -H- Zi V = vector of residual z 2

Zq

From the equations above and according to Uotila [85]

AX + BV - x = 0 (4.38) where

B = [0, I]

The covariance matrix of V is computed using

c c ss sx Q = (4.39) C C X S X X where

C = C i 1 + C (4.40) xx s 1s 1 nn T Minimizing V PV and using Lagrange's Multiplier we have

= VTPV -2 KT (AX + BV - jc )

Solving for X and S we have

X = (ATC“ 1A)“ l A ^ ^ x (A.44)

S = C C“ 1(x-AX) (4.45) sx

The covariance matrix and covariance function is computed as follows

The covariance function is given by the Gaussian function

_ 2 2 C(r) = Co ta r (4.46)

where C0 = var^-ance unit weight

a = coefficient and it is unknown

r = distances between data points

Co and "a" are determined by fitting eqn. (4.46) using the data points

Cgisi = Cr*(s^sl) = cov(r±j) = CoS "a 2 (rij)2 (4.47) where

r ^ = |U^-Uj [ at observation point 100

Similarly 1 C = C ( r . .) (4.48) ss ij 7 where

r ^ = Iv^-V^l at predicted point

Csx = cov(Bij3J‘) = cov(rij) <4'49> where

ril - 'ui -vjl

The Error Estimates are computed as follows:

Ex = £ - x (4.50)

Eg = s - s (4.51)

Exx = (AT"C U )" 1 (4.52)

E = C - C C-^C + HAE ATHT SS SS SX XS XX

E = -E ATHT (4.53) X S X X ' where

H = C C- 1 SX

Interpolation or prediction is obtained using the following formulas: 101

t = A i K + S (4.54) at predicted points

t f (v £) = f(V±) + S(V±) i

Error of interpolation is computed using

(4.55)

4.33 PATCHWISE INTERPOLATION

Patchwise interpolation method could be used to improve the accuracy capability of various 2-dimensional interpolation formulas.

The problems and solutions associated with discontinuity along the boundaries of the patches into which the whole surface is divided are discussed in [44] and [95].

4.4 INTERPOLATION, SAMPLING PATTERN, SAMPLING ERROR, AND ACCURACY

In this Section Interpolation methods will be discussed as they relate to sampling pattern, sampling error, and accuracy considerations.

4.41 INTERPOLATION AND SAMPLING PATTERN

Table 4.3 shows the types of Interpolation formula suitable for certain sampling patterns. 102

TABLE 4.3 INTERPOLATION AND SAMPLING PATTERNS

Random Interpolation Random Stratified Systematic Stratified/ Method UNALALUNAL ALUANLAL Systematic

Numerical Interpolation v /

Least Squares Polunomial v / ✓ 1-D 2-D y ✓ ✓ w / y y Least Squares Fourier Series y' 1-D 2-D ✓ W ✓ ✓ y Least Squares Exponential 1-D 2-D ✓ ✓ ✓ W" V'- Least Squares Logorithm v ' 1-D 2-D y ✓ y

Multiquadric \S n/ 1-D 2-D y ^ v / - ✓ y

Stepwise ✓ 1-D — 2-D ' ------y ✓ y ✓ Collocation ✓ 1-D

2-D ' z ? y ✓ ✓ ✓ y

Patchwise v / / 2-D y

AL = Aligned UNAL = Unaligned 103 Table 4.3 shows the restrictions placed on the choice of sampling

pattern for D.T.M. data generation. It can also be observed from

Table 4.3 that aligned systematic sampling pattern is universal

in the sense that it is suitable for all types of interpolation methods. It is not surprising, therefore, that systematic sampling has been favored in most D.T.M. applications.

4.42 INTERPOLATION AND SAMPLING ERROR

One of the merits of stepwise regression method for interpolation

referred to in Section 4.31 was that it could suppress or reduce sampling errors. Emperical evidence for this merit can be observed from Table 4.4 which shows the result of interpolation using step­ wise regression method on surface 4 (see Appendix A, Figure A.4) Two

dimensional polynomial dominant functions (see Table 4.2) and

"deficient" function, were used.

4.43 INTERPOLATION AND ACCURACY CONSIDERATIONS

The advantages of systematic sampling over other types of sampling methods have been discussed in section 4.41. Also since stepwise regression is insensitive to sampling error the accuracy considerations being explored in this section relates only to systematic sampling.

Durbin/Watson test [96] will be used as an indicator of optimum inter­ polation . In otherwords if autocorrelation of residuals is signi­

ficant then optimum interpolation is attained, otherwise improvement of accuracy can be further made by applying patchwise-method or linear least Squares collocation method? 104

Table 4.5 shows the accuracy attained by various interpolation methods discussed in the foregoing sections. The following conclusions may be reached from the results shown in Table 4.5

(1) Autocorrelation of residuals is a good indication of optimum

interpolation.

(2) The class of terrain is a good indicator of the number and

type of terms to be included in the interpolation formula.

(3) Some of the classical or numerical interpolation formulas

which do not involve "smoothening" have comparable accuracies

with those of optimum interpolation formulas and also patch­

wise-method.

(4) Justification for classifying interpolation formulas accord­

ing to their accuracy standards can be found from Table 4.5.

(5) Multi quadric method of Interpolation seems to be consistently

superior to other methods In two dimensions.

(6) Interpolation methods are classified (see Table 4,6) according

to their accuracy capabilities as judged by their reactions

to four types of terrain indentified in Table 2.2. Multivariate statistical method of classification discussed in Chapter 2

was used for the classification of interpolation methods

into four groups. Group one consists of methods with the

highest accuracy capabilities and group four, those with the

poorest accuracy standards for interpolation. The usefulness

of such a classification is to guide the automatic choice

of interpolation method according to accuracy requirements

and application. For example if the user is interested 105 TABLE 4.4 OPTIMUM INTERPOLATION AND SAMPLING ERROR

Surface and Stepwise Arbitrary Sample Type Optimum Interpolation Interpolation Formula Std. Error Unitless Std. Error Unitless

1. UN-Random 15.768 19.697 2. AL-Random 11.523 23.149 3. UN-Stratified 15.526 16.701 4. AL Stratified 13.911 19.055 5. UN-Systematic ■ 15.268 16.947 6 . AL-Systematic 16.113 19.222 7. UN-Systematic Stratified 14.690 24.045 only In predicting elevation on a surface with high accuracy require­ ments "Lagrange" formula would be an automatic choice because it in­ volves the least computation effort and time among its peers in class

I, Table 4.6. Whereas if the application is for volume computation the user would prefer some powerful global approach to interpretation such as stepwise 2-D fourier function, or 2-D multiquadric method.

The justification for the choice of global function for volume compu­ tation will be discussed in Section 5.3.

4.5 CONCEPT OF AUTOMATED D.T.M.

The term "mechanization" and "automation" are often used to indicate the replacement of a human operator totally or partially, by a machine. Automation as used in this research implies that some aspects of D.T.M. operations-data generation and interpolation - which involve human efforts are partially being mechanized and optimised such that information thus obtained is fast and it is used to control further TABLE 4.5: INTERPOLATION METHODS AND ACCURACIES

INTERPOLATION INTERPOLATION TERRA T N CLASS MODE METHOD I II III IV R.M.S. R.M.S R.M.S. R.M.S. (Units of Ft.) (Units of cm) (Uni (Un-fr1f*<5q) Autocorrelation (0.124) of raw data (0.377) (-.5649) (.678) 1. Lagrange 3.983 4.844 0.0005 2505.099 2. Divided Difference 3.369 4.366 2.5950 4261.709 3. 1-D Spline 3.713 4.690 1.0960 2641.474 Ailken-Neville 3.983 4.844 0.0005 2505.099 POINT-WISE Stirling 4.257 6.123 3.4560 5678.483 e! Newton Forwar 17.226 11.467 102.325 24491.553 7. Exact 1-D Poly- 3.983 4.844 0.0005 82789.348 nominal

2-D Polynomial 11.719 5.479 8.276 9734.332 4-Patches 2-D Polynomial PATCH-WISE g_ 8-Patches 11.691*** 4.328*** 7.056*** 4925.532*** 2-D Polynomial 16-Patches 18.26 4.503 45.611 7353.006 ■ POINT-WISE 9. Stepwise 1-D 4.427 4.814 5.826 5362.798 GLOBAL 10. Polynomial 2-D 27.946 [.1364*] 5.1384 [.0514**] 187.201 [-283*] 22281.745 [.0484*J POINT-WISE 11* Collocation 1-D 3.257 4.344 5.705 5016.391 g l o b a l 12. Polynomial 2-D 9.143 3.748 5.707 2673.047 POINT-WISE 13* Stepwise 1-D 3597.162 8567.345 5678.897 1834678.777 GLOBAL 14. Fourier Fun -2-D 171.289 [t535*] 4.643 [.021**] 23.469 [.068**] 5870.253 [.1489*] ... Cfio CollocationV d 3.561 3.996 11.164 8792.745 POINT-WISE 15* _ with „ GLOBAL 16. Fourier Fun-2-D 10.769 3.459 211.904 15834.426

POINT-WISE Multiquadric 2-D GLOBAL 17* Representa­ 10.200 [.0232] 4.432.[.086] 17.016 [.532] 6660.188 [.0813] tion of Topography

[ *] Significant autocorrelation of residuals at 52 level according to Durbin/Watson [96] [ **] Inconclusive test regarding significance of autocorrelation *** Optimum Patch Size RMS “ Root mean square of differences between true and computed elevations TABLE 4.6 CLASSIFICATION OF INTERPOLATION METHODS ACCORDING TO ACCURACY CAPABILITY

CATEGORY

Lagrange* Divided Difference* Patchwise 2-D Stepwise 2-D Interpolation Polynomial Polynomial

Spline 1-D* Stirling* 1-D Polynomial Newton* Methods cum L.S. Collocation Ailken-Neville* Step-wise 1-D Stepwise 1-D Fourier 2-D Fourier Cum Exact Polynomial Ploynomial L.S. Colloca tion

2-D Polynomial Multiquadric* cum L.S. Collo­ cation Stepwise 2-D Fourier

1-D Fourier cum L.S. Collo­ cation

* Methods which require the least computational effort in each category. 107 108

rapid progress of the overall operation. As a result of this research a computer program ATODTM was developed which can be used in a fully automated system or by a stereoploter operator to obtain the following results automatically.

(1) to determine the optimum sample size and optimum sample

pattern of data point distribution, for generating elevation

information for any given terrain either on a stereo-model

or a topographic map. (See ATOSAP, Appendix C).

(2) to objectively classify the terrain of investigation using

some quantitative features of the terrain (see CLAS Appen­

dix C) .

(3) to determine for any application the optimum interpolation

or surface fitting technique for the terrain using informa­

tion from Table 4.6.

(4) to analyse numerical parameters and to show graphical dis­

play of the terrain, for example, area, volume, center of

gravity, cross-section, contour perspective drawings and

statistical analyses (see figures 4.2 for flow chart of

automated D.T.M.)

Detailed description of ATODTM can be found in Appendix C. FIG. 4.2 ATODTM FLOWCHART

Sterro Model (Application) HVM Optimum" Sample ■Size

YES ATOSAP Terrain Analysis

SAMP Optimum Sample Pattern

CLAS Terrain Classification

y T ^ \ T E P O OTTIMMUM^s. INTERPOLATION NO (Durbin/Watso . T e s t l X ^

YES

GRAFT C Numerical, Statistical Analysis, Graphical - CHAPTER V

DIFFERENTIAL PHOTO MAPPING APPLICATIONS

5.1 INTRODUCTION

The automated D.T.M. as designed in this research has unreserved flexibility and adaptability to a wide range of applications in which the basic source of data is either a photogrammetric stereo- model or a topographic map. The particular application of interest in this research has to do with differential mapping. Differential mapping is defined as the mapping of an object relative to itself with proper considerations to physical dimensional changes in time and space or relative to another object/objects with which it bears some physical, genetic, etc. relationships. In this research the better part of the definition of differential mapping is illustrated and the crucial relationship .being considered in the mapping of cows from the same parents, is essentially genetic. The objective of this

Chapter is to demonstrate the application of automated D.T.M. to the procedure for constructing the map of a cow relative to another and for constructing an average cow for the purpose of making comparisons between the cows involved. The Interest in this research was generated by the OSU Department of Dairy Science through Professor F. Allaire who is investigating the possibility of deriving genetic relationships

110 Ill from the physical characteristics of cows as displayed on their maps.

5.2 DIFFERENTIAL MAPPING PROCEDURES

The procedures described here assume that the instruments used are the Wild Stereometric camera (C-4) and the Wild-A-7 online with the IBM Computer and the IBM 1620 Calcomp Plotter. Also, it is assumed that no absolute ground controls are given. The set up of the photography is depicted in Fig. 5.1. In a previous study,

Ayeni [51] investigated the relative efficiency of three differential mapping procedures illustrated in Fig. 5.2 and found procedure II to be an optimum procedure for the problem of mapping cows.

Procedure II is now described with appropriate modification in the application of automated D.T.M.

5.21 PROCEDURE II FOR MAPPING A COW

Step 1: Interior Orientation. The center of the two fiducials on each of the photographic plates was determined on the

Wild A-7 coordinatograph. Each stereopair of the original negatives were then carefully centered on the non-compensating plate-holders inserted in the Wild A-7 projectors. Due to the limitations of the

Wild A-7, a nominal principal distance of 100 mm was introduced

Instead of the calibrated 88.2 mm determined by Oswald [82] for an object distance of 3 + 0.025 meters. However, the Model Z readings taken after absolute orientation is to be corrected for the incorrect focal length Introduced at the Instrument. Light Beige Cloth

Leveling Staff

Camera

Figure 5.1a Photography Set-up

White Mark; Dia.= 25mm

Black Mark; Dia.= 5mm

Figure 5.1b Markers 113

. INTERIOR Step 1 ORIENTATION at Wild A7

RELATIVE- Step 2 ORIENTATION at Wild A7

I ^ _ i = " v III ABSOLUTEABSOLUTE Step 3 DIGITIZATION ORIENTATIONORIENTATION at Wild A7 at Wild A7 at Wild A7 i f I ABSOLUTE • Step 4 DIGITIZATION DIGITIZATION ORIENTATION at Wild A7 at Wild A7 at Computer ♦ ♦ CONTOUR CONTOURCONTOUR Step 5 PLOTTINGPLOTTING PLOTTING at Wild A7 at Computer at Computer

PROCEDURE I PROCEDURE II PROCEDURE ffl

Figure 5.2 Flow Chart Indicating the Three Procedures 114

Step 2: Relative Orientation. Both "b^ elements were set at 75 mm, or any other suitable value, so as not to exceed the Z range of the instrument. B f element was also set at a desired value

to give a convenient model scale. For example, bx = 4 cm, for C-4 camera photography to achieve a model scale of 1:10. Then empirical relative orientation was performed and the "by" element used to determine the standard error of residual y-parallaxes (not to exceed

+ 0.02 mm at the six standard points).

Step 3: Absolute Orientation. The scale correction was

computed from the image of the leveling staff and applied at the

instrument following the procedure enumerated by Ghosh [75].

Leveling was performed using the three control points Ci, C 2 , and C 3 , as known in Figure 5.1. For the solution of common K, it was intended

to make Y-coordinates of C* and C 2 equal and for the solution of and the heights of Cj, Cg, and C 3 were to be made equal. These constraints were applied to the transformation formula eqn. (5.1)

(see Ghosh [75] and a computer program was written to do a least squares solution. ■ X X x 0 Y = s [MT ] y + Y o (5.1) H h H 0 1_ where [M] = rotation matrix X S = scale Y = Ground Survey Coordinates x 0 H yD = Translation x

z 0 y = Model Coordinates h The correction applied to the elevation of points read on the instrument is given by 115 Hg = 100 + (H-lOO)* (5.2) where Hg = Adjusted spot height

H = Elevation read at the Wild A-7

X = 88.2/100

Step 4: Digitization. Digitization consists of automatic

recording of the X, Y, H absolute oriented model coordinates after

the centroid has been fixed at X - 500 ' mm , Y - 500 mm and H = 100 mm.

As part of ATODTM the subroutines ATOSAP is called to determine the

optimum sample size and to generate the optimum sample pattern in

the manner described in Chapter III.

Step 5: Terrain Analysis. This step also using ATODTM

calls subroutine ATOSAP to compute various roughness parameter

other parameters like volume- Subroutine CLAS is also called to

classify the terrain as illustrated in Chapter II.

Step 6 : Plotting and Contouring. This is the graphical

, m u * _ | „ _ ^ . output section of ATODTM. A computer program was written to do the

following:

(a) Reads the X, Y, H of digitized points in Step 4

(b) Corrects the H readings for the improper focal

length using eqn. (5.2)

(c) Transforms the X, Y coordinates into that of the

Calcomp Plotter which is off-line the O.S.U. IBM 360/65

by a suitable shift of origin.

(d) Plots the boundary of the cow and the contours and

spot height of digitized points at the desired scale

1:5, by calling subroutines PLOT, SYMBOL CNTOUR. I

!T» 1““

& •p *«/•*») 111 L — r. w

* t ■

1 1 1 • IV • cr it' II w It it M H M FIGURE S - 3 : MRP OF COW =50: PROCEDURE II

CQNTOUH !NTERVRL=-2.5CM MRP SCALE* 1:5

FRESH DATE * 7-02-73

CURRENT ORTE =■ 02-01-74

CfiRTCCRflpHlC REPRESENTATION ON THE CRLCOHP PLOTTER

PROJECT SUPERVISOR: OR. SRNJIB GHOSH OPERATOR ON HILO R7: OLU. RTENI 116 117

. The out-put of this program consists of a deck of cards which can be used on the IBM 1620 Calcomp Plotter. The map of cow

#50 in Figure 5.3 illustrate the final product of procedure II using ATODTM.

5.21 PROCEDURE FOR CONSTRUCTING A DIFFERENTIAL MAP OF A COW AND OF AN AVERAGE COW

The main objective of this section is to develop a computer assisted method of computing and mapping the physical dimensions of an average cow from offsprings of the same parent. The following principles were used in computing an average cow viz.

1. The three points Cj, C 2 » and C 3 were to be used to

control the size of the average cow because of their

unique and strategic (always identifiable) locations.

2. An average cow would be computed by transforming each

individual offspring cow from the same parent into the

standard cow chosen from amongst them and then by

taking the simple average of both the standard and the

transformed cow.

Ghosh and Jiwalai [76] have suggested a number of approaches to this problem based on graphical, empirical/graphical and com­ putational techniques. The approach being used in this research is a graphical-computational method of constructing an average cow. 118

5.22 GRAPHICAL/COMPUTATIONAL METHOD FOR CONSTRUCTING AN AVERAGE COW

The steps Involved in the construction of an average cow

is described below.

Step 1: Interior Orientation. The interior orientation

is performed in the same way as that for the standard cow. (See

Step 1, Procedure II)

Step 2: Relative Orientation. This is the same as for

the standard cow. (See Step 2, Procedure II)

Step 3: Transformation for , fi, and Solution. This

step involves the transformation of relatively oriented model

coordinates x, y, z of Ci, C z , and C 3 on any individual cow into the

absolutely oriented model coordinates X, Y, H of Cj, C2 , and C 3

on the standard cow, using eqn. (5.1) without imposing any constraints.

The unknown parameters would be Xo , Yo, Ho, and S, and since we have nine observation equations, there are two degrees of freedom

and a least squares solution is possible. A computer program was written using the mixed model F(X , L ) = 0 d. cl The observation equations are the type (using Uotila [85] notations).

AX + BV + W = 0 (5.3) where A _ F(Xa,La> Partials with Respect to

Ti Parameters L X q , YQ , Z 0) 119

_ ^F(Xa>La) a Partials With Respect to £)( X,Y,Z) Observations

„ _ F(Xa>La) Discrepancy Vector Evaluated at +B(L -L V = ^ servat^ons ant^ Current b a Parameter Estimates

V = Vector of Observational Residuals

X = Solution Vector

The resulting normal equation is given by:

(A1M_ 1A) X + A ^ ^ W = 0 (5.4) where

M = BP 1BT

P = I i.e., equal weights (unity) for all the observations.

The solution vector is given by:

X = - (A1!!-1 A) ”*1 A lM-1W (5.5)

The updated adjusted parameter vector becomes

Xa = X + X q (5.6)

where

Xo = Approximate value of the parameters

The output of this program consisted of ft ,. $» S,

Xjj, Y0, H0. The corrections due to elements ft * and S were then introduced manually at the Wild A-7 to complete the transform­ ation of the individual cow into the standard one. The iteration was performed in accordance with Pope's [83] method.

Step 4: Digitization. The elevation gears fro elevation were set to "Ba" and the desired plotting scale was chosen to be 1:5. 120 The Centroid of the three control points was physically determined on the instrument and an arbitrary coordinate (X = 500 mm, Y = 500 mm, and H = 100 mm) were assigned to this point as was done in Stage 4 of

Procedure II. After this, all the operations described in Stage 4 of

Procedure II follow:

Step 5: Terrain Analysis. This is the same as in

Procedure II.

Step 6 : Plotting and Contouring of Transformed Cow and and the Average Cow. This step is essentially the same as Step 6 of

Procedure II.

A computer program was written to perform the following functions viz.:

(a) Corrects the H readings of transformed cow using

eqn. (5.2).

(b) Computes the average of the corrected H reading for

both the transformed and the standard cows.

(c) Transforms the X,Y coordinates of the digitized points

of both the transformed and the standard cows into the

coordinate system of the Calcomp Plotter.

(d) Plots the boundary outline of the transformed and the

"standard" cow and the average H reading as spot heights

along with their associated contours at the desired scale

1:5.

Step 7: Graphical Interpolation. A graphical interpolation between the boundaries of the transformed and standard cow was made to produce the boundary of the average cow. Fig. 5.4 illustrates 121

the final product of this procedure for cow 51 while Fig. 5.5 cor­

responds to the average cow, constructed from Cows 50 and 51.

• m rm iltt n a i a l n «

lll.ll

~*r »* wriif.jin «

rSul.T^litH . .iH.i - 1 1 * n I*,

7*** -* ' 7 n * [« ''> i* H '*rl + m .» i

in titin n ^iita^pw1 .in.*! ,in in titin MVll m m*y ^11 Aj> t W * i in t* .In +1111* yn » \m +HI ll /lll.ll inn „L ^

W//---l>\ / 0 '1' «S ,!•*.»- _ _ _ .19_ •* + IJ* ii *ir»n +in u 41* n L« ** +ini*_.,ii« * +\n*i Jm.n fdi- Av^rs ^ + ■****• +m li^m n'^'yl* ** +)*«« «i)i ft +l\* ** - * / x ^ y s 1 V' 'lipll .111 «'» ItX+Jlf H •H'a tipH j^l^* .ifur1' .in ]K t'Mu /|iil (t/1 '•ittl- .’'f v /^ T r n ^ > j » > . s . i M . ' fr v ^ ' i T ifarTtxrn—

i «* *a i m «« in ia ia ia m it «c « • « t* n \*m tt n FIGURE 5-4: MRP OF COW *51 CONTOUR lNTEflVAL*2,5CM MAP SCALE* IiS

PROJECT SUPERVISOBi OR. SANJ19 CH05H - OPERATOR ON HILO A7i OLU. ATEN1

CARTOGRAPHIC REPRESENTATION ON THE CALCOHP PLOTTER

FRESH DATE * 7-03-73

CURRENT DATE * 02-01-74 122

irrr ,T £*** ,>n ^ ,<«i n '% *• M \+>t> * ♦■ j ► , J. • m --r'-^v

I 4 ■ M ♦ » • V * rr \ w * v .* t* 11> FIGURE 5-5: MRP OF RVERRGE COW FROM COW «50 AND «51 C C M O O S If« T E RVfiL '-^. OC H HflP SCRLt - 1:5

C0510Gfi

TABLE 5.1 APPLICATION OF GLOBAL FIT FOR PREDICTING ELEVATION ON THE BODY OF THE AVERAGE COW Sample Size = 200 No. of points predicted = 15

Interpolation Type Interpolation Formulas RMS in cm

2-D Polynomial 2.721 " Global Interpolation 2-D Fourier 2.360 " 2-D Multiquadric 2.0136 "

2-D Polynomial 5.239 ” Global Extrapolation 2-D Fourier 3.445 " 2-D Multiquadric 2.567 " 123

5.3 INTERPOLATION AND VOLUME COMPUTATION

From Table 4.5 it is observed that global fit can give comparable accuracy with point and patch-wise interpolation. This possibility offers an application in the global fit of the entire body of a cow especially an average cow (including head). For example if after the construction of an average cow established from progenies of the same parent as des­ cribed in Section 5.2, it is found that there are some random points for which the elevations are required. Such points may not be common to all the progenies hence their elevations could not be computed for an average cow. Such points may also require interpolation or extra­ polation. If an appropriate single function could be found for a global fit, the problem of predicting by interpolation or extrapolation would be solved. An attempt was made for a global fit with 200 data points on the body of a cow, to predict 15 random points on any part of the cow body. Table 5.1 displays the results of the investigation and it shows that the Double Fourier function performs better than a Least Squares power series polynomial for interpolation and extrapolation regardless of the terrain type. Multiquadric appears to be superior' to the other two

•formulas.

Another application of global fit is the computation of volumes of a body bounded by topographical bodies. Various approximate formulas have been used, instead of using the formula.

Volume (5.7)

Method A. The volume can be computed using the area enclosed by a contour (Hou and Veress [79]) n 124

tl where A 3 21rr L **-,i

h = total no. of contours

M = no. of points digitized on the contour

n = total number of contours

Method B . This method also uses the ones enclosed by a contour to compute the volume. k

. cT h ) v = i r 1 (Aj ' <5 -9> where C^H = contour interval

k = number of contour lines

Method C. Cubic formula which is widely known in engineering applica­ tions may be expressed as

v - f - F(M.) (5.10) 4 i-1 where F(M^)are the elevation readings at the four corners of a- 2 square or rectangle whose area is a . This formula gives

accurate results only if the surface can be approximated by

a polynomial f(X,Y) of degree one. This implies that the

region of interest should be divided into sections suffici­

ently small to justify such an approximation. 125

Method P. Simpson’s Method -- Simpson’s 1/3 rule for the integral over a

rectangle 2h by 2k centered at i,j . : is given by the double

integral Is

f(x,y)dxdy

i-1

— — ff + & f + f 1 3 3 ^ i+1^ j+1 i, 1-1, j+l'

+ (5.11)

In this section investigation is made into the accuracies of various formulas for volume computation. These accuracies are compared with those obtained by using gobal functions of varying degrees to compute the volume from the double intergral version of Simpson's Rule with Richardsons' extrapolation improvement [58]. The test surface was surface 5, whose true volume was computed by using eqn. (5.7). From the results displayed in Table 5.2, it is clear that the optimum global function with Simpson's

Rule (Method D) performs better than the approximate formulas (Methods

A, B, and C ) . 126

Table 5.2 Volume Computation on Surface 5

Method Volume in cu. units

A (volume from contours 14478.926

B (volume from contour interval 13264.342

C (cubic methods) 14580.1020

D Optimum Interpolation 17971.609 with Simpson .Rule

True Value by Simpson 139477.250

True Value by Direct Integral 139477.750

5.4 COMPARISON BETWEEN TWO OBJECTS

Another application of Automated D.T.M. developed in this

research is that it provides various parameters of surface which can be used for making comparisons between two objects. Parameters such as

surface area, volume, average gradient, vector strength, vector dis-

pension, Harmonic Vector Magnitude, variance spectrum and others have been discussed in the previous section. One important parameter!' which has not been discussed so far relates to cross spectral analysis - in

2-dimensions. As in the case of variance spectrum^the cross spectra may be derived from the 2-dimensional lag covariance function or directly

from the original data say elevation measurements, from two terrains

(arrays, X(i,j) and Y(i,j)). From Step 5 of Section 2.28^ the amplitudes

ax (k^,k2 >, b^Ck^jk^), ay (k^,k2 ) and b^ (k^,k2) are computed. The co­

spectrum are then computed using (see Rayner[40] for details), The quadrature spectrum is obtained by

XY (5.13) o 2 i

The correlation or coherence between two surfaces may be computed by

which is analogous to the sample correlation coefficient formula. The 2 coherence between two surfaces may be interpreted as correlation

coefficient. The coherence between cow.-50 and 51 is 0.8 and this is considered significant*. In other words the two surfaces are correlated

.or similar. Table 5.3 shows some parameters which could be used as a basis for making comparisions between the two cows and the average cow.

5.41. PLOTS OF MULTIVARIATE DATA

Good as the contour maps of the elevation are, they do not bring out clearly how close together cows from the same parents are. This

type of comparison is multi-dimensional. For example, we may wish to compare the elevations at 215 points for any two or more given cows.

Plots of infinite-dimensional function which has long been one of the most useful tools in data analysis provide an answer. Such a method i of plotting data of more than two dimensions was proposed by D. F.

Andrew [72], For instance, the spot heights h^, ...... ^215 may be mapped into a function of the form.

f(t) = ~ f- + h sin t + h_ cos t + h. sin 2 t + \J 2 1 J 4

+ cosl07t (5.15) TABLE 5.3: PARAMETERS FOR HAKINC COMPARISONS BETWEEN SURFACES i Mean Standard Hean. Hean Surface Vector Vector Buop H.V.M. Voluae Auto Coherence Terrain cow t Elevation Deviation Gradient Curvature Area/ Strength Dlspersln Fteq. Corre­ Class cubic lation of Elevation Plane CO CO CD en Area

55.360 0.384 13.*37 31.831 16752.992 0.531 50 115.421 32.226 3.714 1.B08 9.690 I

13.410 34.007 16993.678 0.607 0.805 51 117.792 47.357 3.850 2.035 3.106 12.7370 0.521 1

Average 116.606 34.143 3.543 1.641 7.789 12.845 32.840 16928.56 0.626 Gov 55.217 0.383 1 128 129

This function is plotted over a range - TT*

A computer program (part of ATODTM) was written to generate 215 terms of this series and the output device for the plot was on the

O.S.U. IBM 1620 Calcomp Plotter. Figure 5.6 shows the spot heights of cow 50, 51, 50/51 plotted as a function of eqn(5.15). Before any interpretation or inference is advanced from these plots it is per­ tinent to consider two of the properties of the plot function, eqn(5.8).

(a) The function preserves the means (X^) of a set

of n multivariate observation X ■. i (b) The function also preserves distances and, therefore,

close points will appear as close functions.

The proofs of these properties are briefly stated in Andrews [72], From the properties outlined above, one may conclude that if some plotted functions are at a distant apart from others for all values of t, then the corresponding points are also at a distant apart in the Euclidean metric and such plots represent outliers. Conversely, if some plots form a bond by remaining close together for all values of t, then such a bond represents a multivariate cluster.

Figure 5.6 shows that the three cows form multivariate clusters.

In other words, no outlier cow exists although at certain values of t * (t^ and for example) the cows show marked differences. It will be recalled that the elevation of the average cow was computed as a simple arithmetic mean from two cows from the same parent. This linear rela­ tionship which implies, for example, that

f(t) = [f(t) + f(t)] 12 (5.16) ave. 50 51 is borne out by the plots which also show that the average cow lies

exactly midway between the two cows. 130

FIGURE 5- 6 HULT J -DIMENSIONAL, PLOT-COH* 50,51*50/51 CHAPTER 6

CONCLUSIONS AND RECOMMENDATIONS

6.1 CONSLUSIONS

Based on the investigations and analysis presented in the foregoing sections, a number of conclusions can be drawn.

1. Conclusion related to Digital Terrain Models in general.

(a) The importance of according proper-recognition to the

various components of D.T.M. must be emphasizes (see

Section 1). The weakness in some definitions of D.T.M.

have been pointed out in Section 1.

(b) From the idealistic definition of D.T.M., four important

components of D.T.M. can be recognized viz (i) the terrain

type, (ii) the sample size and (iii) pattern sampling and

(iv) the interpolation method. The interaction between these

components as influenced by accuracy Is illustrated in Fig. 1 .1 .

(c) The importance of attaining maximum efficiency with minimum

effort through an automated D.T.M. was stressed throughout

the research.

2. Conclusions related to terrain.analysis and classification.

In Chapter 2 attention was focused on the problem of

quantitative description and classification of terrains.

131 132

(a) Based on certain criteria (for describing terrain rough­

ness) only five parameters,viz,average gradient, curva­

ture^: surface area, Harmonic Vector Magnitude and Bump

frequency can be used for a.fairly objective terrain classi­

fication.

(b) Certain characteristics of a good classification

identified and multivariate statistic (the trace of

pooled within - groups sum of squares) can be used as a

criteria for classification improvement.

(c) Two groups of parameters for quantitative description

of the terrain can be identified.

(i) Parameters describing surface roughness itself.

(ii) Parameters describing spatial distribution of surface

irregularities.

15 terrains of contrasting characteristics were

analysed and classified into four major classes of

terrain types (see Table 2.2} Computer programs

TERAIN, TERANA and CLAS were used for this analysis.

3. Conclusions related to optimum sampling for D.T.M.

The problem of determining optimum sample size and sample

pattern were investigated.

(a) It was found that optimum sample size is a function of

terrain roughness while optimum sample pattern is related

to autocorrelation properties. (b) The HVM (Harmonic Vector Magnitude) can be used as a criterion

for determining optimum sample size. Similar results can be

obtained from linear regression equations using terrain

roughness parameters as dependent variables.

(c) The empirical relative efficiency of seven sampling pattern

as investigated, indicate‘that their results compare favorably

with those from theoretical relative efficiency from Das'

theorems.

(d) A program ATOSAP developed as a result of this investigation

can be used in a fully automated system or by a steroplotter

operator to generated data efficiently from a stero-model

or from a topo map.

CONCLUSIONS RELATED TO INTERPOLATION PROCEDURES FROM D.T.M.

Four terrains representing the four major classes of terrain

types were used to test the accuracy capabilities of all the

Interpolation methods discussed in this research. Using

multivariates statistical procedure discussed in Chapter 2

these interpolation methods were grouped into 4‘ classes, } (See Table 4.6.) . Such a classification was used as an aid

to the choice of optimum interpolation method for a given

application in the program ATODTM.

(i) It was observed (Section-4.43) that while the class

of terrain is a good indicator of the number and type of

terms to be included in the interpolation formula the auto­

correlation of residuals is a good indicator of optimum

interpolation. 134

5. CONCLUSIONS RELATED TO APPLICATION OF AUTOMATED D.T.M.

The primary application of interest in this research concerns

only differential photo mapping with close-range photogrammetry.

Examples were shown how the differential mapping of cows can

be done efficiently with high performance in accuracy and time

by using automated D.T.M. It should be noted that other applica­

tions regarding computation of volumes from a topographic body,

interpolation on the body of an average cow and making compari­

sons between two similar objects were also illustrated.

(a) It was noted that a global function obtained from

optimum interpolation in conjunction with Simpson's rule provides

a far more accurate method for volume computation than most

other approximate formulas widely used in engineering applica­

tions .

6 .2 RECOMMENDATIONS

In the light of the results obtained in this research and the conclu­ sions made in the previous section the following recommendations are made for future research.

1. RECOMMENDATIONS IN CONNECTION WITH OPTIMUM SAMPLING.

(a) Only 7 terrains were used for forming the linear regression

equations employed to determine optimum sample size in

Chapter 3. It is recommended that more terrains (both real

and stimulated) be used to generate new regression

equations and their accuracies tested under various terrain

types to ascertain their consistency and reliability. 135

Such equations especially the "economic models" of Section

3.22 should provide a less sophisticated method of determin­

ing optimum sample size.

(b) There is need for research into optimum sampling on a

terrain with unusual occurrence op frequency of breaklines

in order to avoid some of the problems of breaklines discussed

in Section 2,26.

2. RECOMMENDATIONS RELATED TO INTERPOLATION PROCEDURE

There is need for further research into the accuracy capability

of least square collocation for interpolation. The empirical approach

to the computation of the covariance function by fitting residuals

to the "Gaussiam" function seems to limit the accuracy standard of

this advanced least squares method since the Gaussian function and other similar functions (see Rampal [90]) may not be suitable for a given

terrain. It is therefore recommended that future research should be directed towards the application time series analysis in finding the appropriate theoretical covariance functions,three of which are widely used in time-series analysis namely (see [28]) >

i. Simple moving average process (MA).

ii. A purely autoregressive process (AR) and

iii. Autoregressive moving Average Process (ARMA).

It is the author's belief that D.T.M. should be regarded as one of the most effective photogrammetric methods for the extension of elevation control and its accuracy standards should be pursued vigorously. 136 3. RECOMMENDATION RELATED TO AUTOMATION

The approach to automation in this research has been "batch" oriented, due to lack of time and facilities for developing an interactive approach to automation. It is therefore recommended that investigation should be made into developing an interactive approach to automated D.T.M. by using the Cathode Ray Tube (CRT) so that results can be displayed on the CRT screen from time to time. .Also important decisions related to optimum sample size, and pattern, optimum interpolation could be made at any stage by an operator (human correlator) who becomes the crucial link between the "terrain", the computer program, the computer, and the stereoplotter/digitizer.

4. RECOMMENDATION RELATED TO APPLICATIONS

Other possible areas of application not dealt with in this research are listed below for the attention of future researchers.

i. Digitization of existing topomaps and applications to auto­

mated topographic mapping,

ii. Study of physical changes in an ecosystem, for example a lake

resort, dam site deformation, gorge erosion, in time and space.

Thus a 4th and 5th dimension may be introduced to various aspects

of mapping such ecosystems,

iii. Application to highway design and construction,

iv. Applications to microscopic 3-D mapping with the electron micro­

scope .

v. Seismic related studies such as land slides and earthquakes; and

vi. Biomedical applications such as the study of changes in parts of

the body. APPENDIX A

TERRAINS AI - A15 USED FOR

CLASSIFICATION 137 FIG. A-l: LINEAR SURFACE

\

i JUT. \

\ ocv.v \

Z = a + b X + CY 138 FIG. A-2: EXPONENTIAL SURFACE

x+y Z = A e o 139

FIG. A-3: LOGARITHMIC SURFACE

Z = Log X + Log Y 140

FIG. A-4: DOUBLE FOURIER SURFACE (RANDOM COEFS) (A)

7

( i

\)' i, \ ' i I 0 / r

/ 1 /' \ 1 1 >■ ( 7 (\ !< \ \ i v/ A \ \ \

•. \ \ ! I - ' -jA' i A i ■ . ! b'l V v4' l‘ ■ ''V u ’ 1 ' ' ’ 1 )A\n )/v:> v\7!!. !j m - A w,'-,' . • -»r*\ i*'*- ' j ,

r\ \( V f 1 , - V.' • > / j

\ -i

\ .. » \ *- f \ I \ J v

0 \ /

..A i _ 1 \ ;

(See Equation (2.7) in the Text) 141

FIG. A-5: 2-D POWER SERIES POLYNOMIAL SURFACE - I

Z A 0 + A_X + A_X + A„ X + A.X4 + A_X3

+ b^Y + b2Y? + b3Y3 + b^Y4 + bsY5

+ c1x 2y2 + c2x 2y 3 + c3xy2 + c^xy3 + c5xy 5

FIG. A- 6 : DOUBLE FOURIER SURFACE: SYNTHETIC COEFS +15

J .... \

( ] I* r ,!jl )(r' ■ ^ y( * ...... f ' : J L I \ >" \ " o ' "j " . .1 /_ y„ ••••■: ■' \ a ( 15 .L__ A ™ . _ I . . - *J -ip 0 + ];?

(See eqn (2.7) in the text) FIG. A-7: 2-D POWER SERIES POLYNOMIAL SURFACE II ” j';-, I ■ P i W . / / / .

’■ .Ilf

v :11 4 "! It. .'Ill' ■ I''. ;i» - fl'r ’ | IJ"' i'V':i K I". / * V MNbhnp i | ; !|v j l ;. j ; / I ■ i ' ‘ ‘,,.! f ; ; (* I i s \ s ^ ‘;.k; i r? i i / . \

:l virfr I : i . - ■ ' 4

------t - -

Example of Surface Generated From Ploynomlal Reconstructed from Aligned Random Sampel: Size =* 196

(See eqn. for Surface 5) 143

FIG. A-8: DOUBLE FOURIER (RANDOM COEFS) SURFACE (8)

V I <11 l'' - i— A (See Equation (2.7) in the Text) FIG. A-9: 2-D POWER SERIES POLYNOMIAL SURFACE III

■im1

(See Equation for Surface 5)

FIG. A-10: DOUBLE FOURIER SURFACE (RANDOM COEFS)

-171

- (See Equation (2.7) in the Text) FIG. A-11: 2-D POWER SERIES POLYNOMIAL SURFACE IV

(See Equation for Surface 5) 146

FIG. A-12: ALMA, WISCONSIN (from Tobler's DIM Library [39J)

FIG. A-13: EMERADO, N. DAKOTA (from Tobler's DIM Library [39j) 147

FIG. A-14: MAVERICK SPRINGS, WYOMING (from Tobler’s Library [39])

1

FIG. A-15: OGEMAW COUNTY, MICHIGAN (from Tobler's Library [39]) APPENDIX B

RESULTS OF THE

INVESTIGATION INTO THE EMPIRICAL

RELATIVE EFFICIENCIES OF SEVEN

SAMPLING PATTERNS

FOR INTERPOLATION ON 9 TERRAINS Table B-l; LINEAR SURFACE (Fig. A-l) R.M.S of Differences Between True and Com­ Sample Type Sample Size puted Elevations, H.. and H (Unitless) c

Unaligned Random 64 3.985 Sampling 25 3.975 Aligned Random 64 3.996 Sampling 25 3.980 Unaligned Stratified 64 3.952 Sampling 25 4.019 Aligned Stratified 64 3.990 Sampling 25 4.011 Unaligned Systematic 64 3.943 Sampling 25 4.011 Aligned Systematic 64 3.951 Sampling 25 3.970 Unaligned Random 64 3.939 Stratified Systematic 25 3.965

Note: Hfc = True Elevation

H = Computed Elevation Table B-2: SURFACE 2 - EXPONENTIAL SURFACE (Fig. A-2)

Sample Type Sample Size R.M.S. of Differences (unitless)

Unaligned 16 .0000011 Random 36 .000007 100 .000009 Aligned 16 .000002 Random 36 .000004 100 .000005 Unaligned 16 .000002 Stratified 36 .000007 100 .000005 Aligned 16 .000002 Stratified 36 .000007 100 .000007 Unaligned 16 .00001 Systematic 36 .000005 100 .000007

Aligned 16 .000001 Systematic 36 .000006 100 .000006 Unaligned Stratified 16 .000002 Systematic Random 36 .000004 100 .000006 150

Table B-3 SURFACE 3 - LOG SURFACE (Fig. A-3) Sample Type Sample Size R.M.S. of Differences (unitless) Unaligned 64 .000758 Random 49 .000143 100 .001414 Aligned 64 .001613 Random 49 .000275 100 .001402 Unaligned 64 .00204 Stratified 49 .000810 100 .00366 Aligned 64 .00427 Stratified 49 .005342 100 .001926 Unaligned 64 0.003351 Systematic 49 0.000417 100 .002815 Aligned 64 .018346 Systematic 49 .000283 100 .01223 Unaligned Systematic 64 .00435 Stratified Random 49 .000157 Sampling 100 .00434 151

Table B-4: SURFACE 4 - D. FOURIER RANDOM

Sample Type Sample Size R.M.S. of Difference fnn-f tlp.ds'l Unaligned 64 70.613 Random 100 • 19.722 196 15.223 169

Aligned 64 57.719 Random 100 34.965 196 21.333 169

Unaligned 64 26.467 Stratified 100 40.259 196 16.906 169

Aligned 64 89.719 Stratified 100 24.199 196 16.111 169

Unaligned 64 41.159 Systematic 100 22.415 196 15.856 169

Aligned 64 22.2003 Systematic 100 17.244 196 14.959 169

Unaligned 64 283.337 Systematic 100 21.823 Stratified 196 14.598 Random Sampling

I 152

Table B~5: POLYNOMIAL SURFACE (Fig. A-5) R.M.S. of Sample Type Sample Size Determinant Trace Differences of H.& H L C Unaligned 256 16.695 0.6889 .0639 Random 324 15.128 0.4814 .0259 400 14.259 0.4036 0.0217

DI l Aligned 256 15.285 0.6576 0.0414 Random 324 19.055 0.6515 0.0349 400 16.112 0.4140 0.0223

°2 Unaligned 256 15.384 . 6434 0.0346 Stratified 324 14.219 0.5137 0.0276 400 14.0590 0.3953 0.0213 Do J Aligned 256 15.890 0.6701 0.0360 Stratified 324 15.667 0.5197 0.0278 400 14.806 0.4099 0.0220 D* Unaligned 256 14.711 0.6240 0.0345 Systematic 324 13.855 0.4985 0.0678 400 13.808 0.3965 0.0213

DS3 Aligned 256 14.503 0.6480 0.0344 Systematic 324 14.376 0.5112 0.0275 400 14.289 0.4117 0.0222

D6

Unaligned 256 14.114 0.6141 0.0330 Systematic 324 14.162 0.5441 0.0292 Stratified 400 13.675 0.3822 0.0205 Random D 7 153

Table B-6: D FOURIER SYNTHETIC COEFFS. (Fig. A-6)

Sample Type Sample Size R.M.S. of Differences (unitless) Unaligned Random 64 705.244 100 210.605 196 190.063 484 152.311

Aligned Random 64 2181.776 100 342.245 196 258.222 484 230.422

Unaligned Stratified 64 349.781 100 351.204 196 209.926 484 158.638

Aligned Stratified 64 748.791 100 426.223 196 191.694 484 161.40683

Unaligned Systematic 64 384.848 100 304.300 196 196.34 484 151.974

Aligned Systematic 64 349.840 100 237.563 196 100.702 484 151.135

Unaligned 64 2058.96 Systematic 100 243.724 Stratified 196 240.356 Random 484 Table B-7: POLYNOMIAL SURFACE (Fig. A-7) R.M.S. of Sample Type Sample Size Differences (unitless) Unaligned 64 2202.658 Random 100 2064.817 196 1497.041 676 1561.238

Aligned 64 6178.387 Random 100 2384.975 196 1764.842 676 1575.774

Unaligned 64 2936.706 Stratified 100 1587.672 196 1418.532 676 1395.439

Aligned 64 1896.521 Stratified 100 1945.651 196 1538.368 676 1388.846 64 Unaligned 1545.511 100 Systematic 1543.476 196 1419.478 676 1353.447

64 Aligned 1425.774 100 1393.172 Systematic 196 1364.967 676 1347.933

64 Unaligned 1510.599 100 Systematic 1451.349 . 196 1735.807 Stratified 676 Random 1464.214 Table B-8: DOUBLE FOURIER SURFACE (Fig. A-8)

R.M.S. of Sample Type Sample Size Differences (unitless)

Unaligned 256 289.0515 Random 324 217.1567 400 233.238

Aligned 256 353.003906 Random 324 240.1956 400 236.867

Unaligned 256 248.8567 Stratified 324 231.313 Sampling 400 205.493

Aligned 256 307.5413 Stratified 324 278.925 Sampling 400 231.846

Unaligned 256 233.96887 Systematic 324 203.831 400 212.613

256 194.180 Aligned 324 192.103 Systematic 400 191.213

Unaligned 256 207.0443 Systematic 324 207.1082 Stratified 400 198.433 Random 156

Table B-9a: CASE 1; POLYNOMIAL SURFACE (Fig. A-9)

R.M.S. of Sample Type Sample Size Differences fnnitless)

Unaligned 256 109.924 Random 324 106.351 400 105.128

Aligned 256 144.973 Random 324 185.810 400 120.1941

Unaligned 256 110.880 Stratified 324 106.890 400 102.232

256 114.126 Aligned 324 106.323 Stratified 400 109.5793

Unaligned 256 103.410 Systematic 324 106.297 400 101.966

Aligned 256 102.692 Systematic 324 102.385 400 102.183

Unaligned 256 101.227 Stratified 324 109.046 Systematic 400 102.491 Random Table B-9b: CASE 2; POLYNOMIAL SURFACE (Fig. A-9)

R.M.S. of Sample Type Sample Size Differences (unit]r s r )

Unaligned 256 .041436 RAndom 324 .108874 400 .120045

Aligned 256 .172883 Random 324 .365151 400 .203786

Unaligned 256 .039912 Stratified 324 .084591 400 .142462

Aligned 256 .03412 Stratified 324 .090372 400 .146659

Unaligned 256 .028047 Systematic 324 .060178 400 .102222

Aligned 256 .044862 Systematic 324 .044852 400 .110796

Unaligned 256 .035521 Stratified 324 .029863 Systematic 400 .082742 APPENDIX C

COMPUTER PROGRAMS FOR

ATODTM

(Major Subroutines Only) LEVEL ? . l I JAN 75 ) D S/360 FORTRAN H EXTENDED DATE 7 6 •1 5 4 /0 2 * 0 7 * 2 2 REQUESTED OPTIONS: O P T = 2 OPTIONS IN EFFECT: NAME(MAIN) OPTIMIZE!?) LINECOUNT160] SIZE(MAX) AUTOPRL[NONE] SOURCE EBCDIC NOLIST NODFCK OSJECT MAP NOFORMAT NOGOSTMT NDXRFF NOALC NOANSF NCJTERHINAL F ISN 000? IMPLICIT REAL*? (A-H.O-Z) ISN 0003 REAL*'- x x .y y .f ISN U00 4 REAL'S NA ISN 0005 INTIGFR P ISN G0G 6 DIMENSION X 1160 ),Y(160),Z(169),X3(169).ZZ(160,ll) ,ZAt 169,11),AZ(11 l.lbFJ,ZZI11,169),KA111),K0(11 ),XX(1’,13I,YYU3.13 1, 3E(13*13), XDNI169J,YDN1169) , ZD!J( I6<> I ,DI VI169) ,XN0RM<16«], lNal 11,11), SKI 5),CUT I 5),CI10, 10). VC 110, 10 J,T( 10,10) ,R(l<>,?). 2EE(6),B(6),CC(3),SUHD(3),SUMDS(3).:HEAM13),ZPIPt169 ),a R C Z (169), AYfiORMI lt.9) .ZNIKHI 169) ISN 000 7 DIMENSION DAT(65,65),LORR (104,65),DDT (65,65 ),C H 6 5 , 10),CM (10,10) ISN 0C0 6 DIMENSION IA (A) ,10(4),IC(9,2),ID(9,2),IE(9,51,IF[9)

------PRflGRA.M A T O D T M ------AUTOMATIC DIGITAL TERRAIN MODELS (ATODTM) WRITTEN bY ------OLU. AYENI, *------DEPARTMENT nF GEODETIC SCIENCE OHIO STATE UNIV. ------CCLUHPUS OHIO, 1976 ------

“ ~ ” t 5 d TM CONSISTS OF 8 MAIN SUBROUTINE~PROGRAMS DESCRIBED BELOW *— A T O S A P — p e r f o r m s t h e f o l l o w i n g OPFRATIDNS A O LOMPUTFS ROUGHNESS PARAMETERS SUCH AS AVF. GRADIENT(X1),AVE. CURVATURE(X2I.SURFACE AREA/PLANAR AREAIX3).MEAN DIP(X4), BUMP FREQUENCY(X5), VARIANCt OF OIRfCTIONA COSINE(X6),RESULTANT KURTOSIS OF DIRECTION COSINE! X7J.N0 OF SREAK.LINES PFR SOT. UNIT DF ARFA(XE),X NO OF POINTS PER SO. UNIT OF AREA IX9).VECTnR STRENGTH(01).VECTOR PISPERSI0NID2), BUMP FREOUFNCY(A(D3),SUMP FREQUENCY C,(D4) SOME OF THESE PARAMETERS ARE LISTED IN TABLE 2.1 AND THE HARMONIC VECTOR MAGNITUDE(HVM) ----- ASSUMPTION IS THAT YHE SAMPLE SIZE IS OPTIMUM ALSO THE DATA USED IS IS DN SYSTEMATIC PATTFRN (M ). THF ROUGHNESS PARAMETERS CAN EE USED FOR IB). THE ROUGHNESS PARAMETERS CAN BE USFO FOR COMPUTING EXPECTFD SAMPLE SIZE USING REGRESSION EQUATIONS DESCRIBED IN CHAPTER 3,DR USED FQR THfc CLASSIFICATION OF THE TERRAIN INTO ITS CLASS TYPE (C). AUTOCORRELATION PRPPERTIES FOR DETERMINING OPTIMUM SAMPLE PATTCRN ACCORDING TO D a S* THEORFKS ARE ANALYSEO — (2 ) . ---- - C L A S ------:------— SUBROUTINE CLAS USES THE ROUGHNESS PARAMETERS HVH.Xl,X2,X3.X5, COMPUTED FROM ATOSAP TO PERFQRH AN OBJECTIVE CLASSIFICATION DESCRIBED IN LEVEL 2.1 t JAN 75 ) MAIN 0 S /3 6 0 FORTRAN H EXTENDED DATE 7 6 .1 5 4 /0 2 .0 7 .2 2 CHAPTER 2 ( 3 1 . ------NUMERI IT IS AN OPTIONAL 5UBRPUT INF HUMERI IS ONE OF THE 6 OPTIONAL SUBROUTINES CALLED BY THE USER NJf'EKl CONSISTS OF 7 SUB ROUT INE S FOR N U M ERICAL INTCRoaLATITID No^ERl CONSISTS OF 7 SUBROUTINES FOR NUMERICAL INTERPOLATION PORMULAS DtSCRIBCn IN CHAPTER 4

IT IS AN O P T I O N A L S'JFROUTINF PATCH DIVIDES AGIVEN 2-PIMENSIONAL ARRAY INTO A GIVEN NO. OF PATCHES IT USES A SPECIFIED DEGPREE OF POLYNOMIAL FOR INTERPOLATION ( 5 ) . ----- — HQRT IT IS AH OPTIGHAL SUEROUTINE HURT IS MULT I OL'A URIC REPRESENTATION OF TOPOGRAPHY HURT MODELS A TOPOGRAPHY KY USING MULTIOI'ADR IC FORM'JLARS PROPOSED GY PROF. HARDY .HCRT IS ALSO USED FOR VOLUME CnM°UT4TIPN I<= THE USER SPECIFIES TT.

IT IS AN OPTIONAL SUBROUTINE STEPO REFERS TO STEPWISE INTERPOLATION METHOOE DESCRIBED BY THE AUTHOR IN CHAPTLR A STEPO IS A TECHNILEU OF CHOnSING THE OPTOMUM INTERPOLATION FQRHU l A FROM A GIVEN MJL'6FR OF TERMS A COMBINATION OF FUNCTIONS AS DESCRIBED IN CHAPTER 4 TABl E 4.2 IN CHAPTER 4 TATLE 4.2 OPTIONS ARE DSSCRT3ED UNDER THE SUBROUTINE (7). ------COLLOC IT IS AN OPTIONAL SUBROUTINE COLLOC PERFORMS COLLnCATION BY LEAST SQUARFS METHODS ITS PURPOSE IS TO INPROVE INETERP0LATIO.N BY USING THE SIGNIFICANT TERMS FROM I STEPO TO OBTAIN 4 MORE ACCURATE MODELLING OF THE TERRAIN tfi). ------GRAFIC ------IT IS AN OPTIONAL SUBROUTINE GRAFIC PERFORMS TWO MAJOR OPERATIONS I A) IT COMPUTES AND PLOTS MULTIVARIATE GRAPHS FOR MULTIVARIATE COMPARISONS OF DIGITAL INFORMATION BY MAKING USE OF FnURIER TERMS PROPOSED BY ANDREWS .F.ISEE BIOMETRICS ,VDL. 54, 1972. IB). PLOTS CONTOURS OF /FROM A 2-0 ARRAY USING PROF. RAPP'S PRIVATE LIBRARY

ISN 00 0 9 G CAL-3G.G GOAL THE VALUE OF GOAL REFFERS TO OPTION REQUIRED BY THE USER G0AL=1 CALLS n u m e r i G0AL=2 c a l l s p a c t h w i s e interpolation g o a l =3 c a l l s multiouadric interpolation G0AL=4 CALLS STEPWISE INTERPOLATION C0AL=5 CALLS COLLOCATION FOR INTERPOLATION ------ATOSAP ------159 LEVEL 2 .1 t JAN 75 ) MAIN 0 5 /3 6 0 FORTRAN H EXTENDED DATE 76 .154/02. 07.22 ISN 0 0 1 0 S CALE=1.0 SCALE = SCALE FACTOR TO BE USED IN CONVERTING RESULTS TO CORRECT SCALE I5N C 011 NL=6 NL IS FIXED AT CURRENT VALUE ISN C01Z L L L -13 ISN u013 KKK &11 LLL = &cil DIMENSION PF INITIAL DATA KKK =COLUMN DIMENSION OF INITIAL DATA ISN 0 0 1 4 YMAX=11.2 31 ISN C01 5 XMAX=13.362 C XMAX—MAX X COORD. c YMAX=MAX Y COORD. ISN 001 6 C.XX=1.0*SCALE ISN 0017 DYY=1.0*SCALE c DXX = INTERVAL IN X COORDS c DYY= INTERVAL IN Y COORDS ISN (018 Nf'T=3 ISN 001 9 NNN=1 ISN 0C2 G N T = 3 ISN 0021 M* —11 c. M=NO OF PARAMETERS FOR C L.S. FITTING OF SURFACE TO BE USED FOR HVH ISN 0022 NN1 =9 ISN CC23 N K=3 ISN 0 0 2 4 NI = 4 C NNT*Nf)N*NTiNNI.NK»NI,ARE FIXED AT CURRENT VALUES CNK= NO. OF PARAMETEkS OF POLY. USED FDR EREAKLINE 0 TEST C NI = NO. OF POINTS USED FOR FITTING POLY. FOR BREAKLINE 0 TEST ISN 0025 L L = L LL*KKK ISN 0 026 CALL ATDSAP(X'Y,Z'X3tZZ,ZA,AZ.Z?iKA.Ka,XX,YY,E'XnN'YDN.ZnNt lCIV.XNORM.NA,SK ,CUT,C.VC,T,R,CM.SB,B,CC.SUMP,SUMDS,ZHFAN,ZDIPT 2ARCZ.YN0RKtZNDRM,SCALE,LLL,KKK,DXX,DYY,YMAX,XMAX,NNT,M,NT,NNI, C 3NKi *11,XLEN,YBRET, LL.NLtNNN.XXO> XXI,XX2,XX3,XX5) ______ISN 0 0 2 7 I N = 0 : ■ ISN 0028 DD 300 11=1 ,LLL ISN (•029 00 300 JJ=1,KKK ISN 0 030 1H=1N*1 ISN 0C31 X I IN)=XX(IT , JJ) ISN C032 YYII1,JJ)=Y(IN] ISN ’.•033 Z(IN»= E 11 £ ,J J) ISN 1.034 300 CONTINUE ISN 0 0 3 5 LJ=LL C Jl= NO Or ITEMS =9 HAXIMUM C JZ=N0 OF VARIABLES =5 C J3= NO OF CLASSES =4 C J4 =2 ISN 0 036 Jl=9 ISN 0 0 3 7 J2=5 ISN 0038 J3=4 ISN 0 039 J4=J1*J2 ISN CC4 0 J5=J2*J2 ISN CC-41 J6=5 ISN 0042 J7=J2*tJ2+1)/2 C Jl= NO OF TERRAINS TO BE CLASSIFIED INCLUDING CURRENT TERRAIN C J2* NO OF VARIABLES TO USED FOR CLSSIFICATIGN c j3= n o o f c l a s s e s C J6=J2 ISN 0 043 C A L L Cl ASIIA,IB,IC,I0,KA,KB*ZZtZA,AZ,Z2,CM,IE«IF,BB,3,X3,XDN,YPN? 160 LEVEL 2.1 t JAN 75 ) MAIN OS/36Q FORTRAN H EXTENDED DATE 7 6 .1 5 4 /0 2 .0 7 .2 2 IXNORM .YNORM ,SK, CUT,DA T.CORR,DOT,Cl , VC , C,T,NA.ZON,OIV t ZDIP,ARCZ. 2Zt.nRH.XX0, XXI ,XX2,XX3.XXS.J1,J2,J3,J*,J5,J6,J7) C TEST WHFTHER L’ATA IS OBTAINED BY SYSTEMATIC PATTERN C IF CATA IS SYSTEMATIC DO NOT READ X,Y,Z ARRAYS ISN 0 044 lL=n ISN or.<,5 401 I 6=1 L+l ISN 00*6 SYST=l.G ISN G0*7 IF(SYST.EC.1.C1 GO TO *02 ISN ;>u*9 IF(SYST.NE.l.C) READ(5,400) X IIL),Y(IL),ZIILI ISN 0051 IFltL.LE.LL) GO TO *01 ISN lif.53 *00 FORMATI3F10.3) ISN 0064 *02 CONTINUE ISN 0C55 KK=1 ISN 0 056 LN= 13 C LN=LLL ISN 0057 LL=KKK*LLL ISN OGSE L = 6 ISN 0 059 P=8 C L= NO OF DATA POINTS FOR INTERPOLATION C P= NO OF POINTS TO BF INTERPOLATED C --- **♦* VALUE OF TEST =1,2..7 DETERMINES WHICH FORMULAR WILL BF USED C --- ♦*** FOR INTERPOLATION ISN 0 060 IFtGOAL.EC. 1,0 ) CALL NUMERIIXDN,ZDN.X3,ZDIP,ARCZ,ZNnRM, X X ,YON, lZZ,KA,KB,C0RR,DIV,XN0kH,YNnRH,9B,NA,DAT,LN,L,P,M,X,Y,Z,KK,LL,TESTJ ISN G O 62 KK=1 ISN 0063 L=30 ISN 0 0 6 * M = o C L= NO OF POINTS DFS1RED FOR EACH PATCH C H= MO OF COEFFS. OF POLY. USED FOR PATCHWISE INTERPOLATION ISN G O 65 LL=LLL*KKK ISN 0C>66 IFIGPAL.E0.2.0JCALL PATCHIXDN,YON,ZON,ZA,AZfCORR,Z2*0IV,NA,KA,X8, 1X3.5B,X,Y.Z.LL.L.M,KK1______I S N GC68 WRITE(6,5C0) ISN 0064 500 FOKHATt*0*,5X,"RESULT flF H5RT •) ISN CC70 N=65 ISN 0071 NN=1D* C N= NO OF DATA POINTS C NN= NO OF POINTS TO BE INTERPOLATED ISN CC72 It.=0 ISN 0073 DO 2CC 1=1,LLL ISN C 074 00 200 J=1,KKK ISN 0075 IN=IN*1 ISN 0076 XXI I,J)=X {IN) ISN CG7 7 YY11, J)=Y11N) ISN CO70 El I , J) = Z11NI ISN 0079 200 CONTINUE i s n ooeo IF(GQAL.EQ.3.C)CALL MQRTIX* V,Z,XNORM,YNORM,ZNORM,OAT» XDN,CORR,N 1,NN,OOT,XX,YY,E,LLL,KKX,KK) ISN C O 62 LA=39 ISN 008 3 LB=NN ISN C0E 9 NNN = 1 ISN 0085 LC=3 C LA = NO OF TERMS TO BE USED I FOR I STEPWISE INTERPOLATION C LC IS FIXED AT CURRENT VALUE 161 LEVEL 2.1 ( JAN 75 ) MAIN OS/360 FORTRAN H EXTENDED DATE 76.159/02.07.22 ISN C O 86 IF(G0AL.SQ.9.l>I CALL TEPO(DIV ,DAT,XT.ARCZ,ZDIP,XDN,YDN,CDRR,X,Y»Z, 1ZFF AN ,ZDN,L A, L9 ,LC,N ,XNORM,YNDkM,ZNDRH ,NNN t C C M=NO OF PARAMETERS OF FORMULAS Fo r ' INTERPOLATION C LP= NO OF POINTS TO BE INTERPOLATED AT ATIME ISN 0 0 6 B H=IC ISN 008*) LP=10 ISN 0 0 VO IF tGOAL>E0.5.)CALL COLLOC(Z,R,DOT,DAT.VC,AZ,Z2,NA,ZA.ZZ, T.XHORM, 1YNORM*Z.NORM ,DIV , ZDIP, KA,KB» A.RCZ,C,CM ,CORR,X, Y»XDN ,C 1, YON, Z0f!»X3.N, 2N:i,M,K<,LP) ------GRAFJC ------AIM AIM THIS IS AN OPTION AIM=1 CALLS FOR GRAPHICAL OUT PUTS SUCH AS CONTOURS ANO FOURIER PLOTS ISN 0092 A I M = 1 . ISN 0093 LLX=13 ISN •'■099 KK Y=1 3 ISN 0095 IFIAIM.EQ.1.1 CALL GRAFICCXX,YY,E ,LLX,KKY,LJ,Z) ISN 0 0 9 7 STOP ISN 0098 END 163

IL o 4 C 2 W H • Z k - « C UJ ■ f e C z s 4 - u . M M z • < * c a r - z t u u * - o * ft < < Z • ft o D — * p p J O ► X 5 N * ► f t O o o < X cc CO * a M — O 2 — o < OX u . Z h Z 0 ~ — rsi * r z X U J C C 2 0 2 > C U XX X ft ft X V ftJ * 4 ► ft ft ^ X "X p * k i x h * < OX E E > • X u j C 7 7 7 - ft » x ft ft ft ft X Z Z C i * * * N ^ Z M " KX m r <-» x • CJ XU 7 «cx—zo 3 * K u > K o 7 0 ♦ X * o o » » • • o — 3 1 t u M k - S f e = J = ! k _ j X — CD U K o O h - * * 7 2 H J h H x o O J - J - C f l ft Z ft o a : v ; > - W 2 ► O » ? H ( A ft C X ft 1 - z X UJ c e r >o ft OJ-ZO *2 z x • z C i C O * r x O J k ^ N WZ rsi • p ^ U X • 7 h O X 3 < - — 7 1 ft 07 . ►HKX * X H u r 3 2 Xw9'ir. -f IU7TO— X * r a J » x u X z »- < * *xx M ftw »k P 3 T a < < » 0 ft ft X o E G * X ft— x — z C O ft* Ol*kJ4) ft o 0 3 UJ — 4 J 7 X - - y l f l h ? p J 2 V , » X Z O X XI f t O < m X X f t - Z — C o k > I J X 4 - 0 ft X c r < v x x » ^ 7 . 2 X ft » ft> ftliilTP ft 4 IC x *>*x o ►X »< 3 2 t h P S ^ X k f t — X 7 — u . • o » » O O * } - U l —VO ocarooMxuJCk M ft < U-O v J J T E N » X o < ft ft ft f t c r x X u c C N2N pkX NO-2M *0 ft ZkkS^hEKX o ► - M * f C O X M — < — •■ o o > X V O K W Z k f t ft ft o c w a N p • > O PH » 3 o O *2 *rt H M O < t f f T X M — » » k f t < Q O > ft » 2 > * 2 X X < u . — j : • S 3 X X O ft— z > - ft ft H>-y>HJUJX X ft o * t » C X O — O k 2 > - « c c a G k W * 0 0 0 * ft NJ ft «> s . DE p p p » " 0 0 2 3 O X ft p QNX ft ft ft ft X VI 0 3 m ^ J Z J J Z 2 W ft f t < 2 * 4 * 2 0 0 X X N o U X p OZ*' O O X — ► S £ J 2 Q N i » h Q J J < X » LUX P U O Z U — * k — X * ft >. »rriM>*o ft2 ft a z o M > » ft 1 N X « > k X X k J * V X 7 ft ftNX o ft — UJ p. P U ’ O O »XJ"Z • X f t J z ft ft p Z o . * » o X o c kUOZ * — pJkZ O X ft O X N h O E k l o X a p ft4 ►! O—— 2— O ftftj X * N Z X * »2 ft » X k * U O | J i > z g - 0 0 4 ftO ft ft * s : x 2 > • a D M — Z J V U < — H » £ j f t O ft— « tuJNomtf * * > * 0 Q.U * *■— >U1Uh3J t U J N O U X C Q t t . ft Lu Vi »n- ►X ftVTvi— — m * * h x >z> h 7 H UJ crt 4 arm® — •—*7 *JC O "J * >-tU *XIM v * »>*fg>3> p* 2 ' * CViCTX* L. IXJ O O *Q * *rg **% 3 IK ^ * ► *w>u 2 OX < k » ^ a < J * ot: o u m o j < o • JXHr-l XtLl *1*1 — — O ft OX H - I 4N V < *tu * H -IX—IL ««>*XH ufX^j p *ftJ Ui * uJ OX —■*» I T * * U J >• X < 7! ( J W H + OXUJ ft hC *• * i CMCXX *■* ft ft HZ Q.O U J * 3 T 2 U : • X U — — *• V ) « * k oc»» x ZUXhK k* »L)KxiA>^ X M H - j o 7 y c e uj < k 7 »NHU*«Hft VJTai « *m m —O XUJC —27 u N irc a cjuj * ujc n « —X cs —cue. r»— ir >sa — o-J I I oxuj>jc M M l| II (ZitSUJ XXh-31 *— UtOH fSK fXOU. h "? r s l t u — u w j-7 *jjy ja jrc uh —^ n x o > o » ’ miu Hlltf 7 0 3 vloo *^w ji;ailx> h-M UiHZ ft M < X >►— < X X « / 1 4 c j q 0 0 + — * 0 3 C - X *•-*»-** ft 7 * o * -o r o x i» h- ii ii Otl!wCl,# err 'N,** _i _J -J Uir.-lVltlJ H 2U - X X <<— CXI- H IIOOOOXII o o x J O - o * J p J Q ii oOrviN-j *0 31 Ul ff)>0 *.1 <-4. i . — ; * .. x>oj^uiX4-tt.0-X>X>- 3>QOOIigJOJUUU>>7 jr.^gNuJgwuuiOLnQOiiuo H- 3C3 n n ^ i i ^ O . < C IA o Z l O o k * O o ■ * M 0 3 M O j Z VI k < z O o UJ ftp IL k » U. U l o IN r t s f r i A ' O r * ® c k o m #m m 4 i a 4 ) r - ® 7 o m rg m 4 ' O S a j f f O H IN m M 2 O COOO O O C H HHrtplN nrsirj.vM ♦ n m m ft o H • O O O u O OOOCUOOOSOCOOOOCOOO C j u u v c o o oooooooo f U UJ o c o c o U G O Q O O JOOC.OO 3-3 *3000 J C g o a 3 c o o J - i O O O v C O o CO 2 z Z 2 Z 2 2Z2ZZ2Z2Z7Z2ZJ2ZZ2Z 2 2 2 Z Z z z z Z Z 2 Z Z 2 2 Z UJ UJ a V) V i C O C O CJ UMWi/iCiVIMil/iUigWiWUiWl/igMWW u t W W g i l / l w 1/1 w > H H H M h i M hmhmhhhhhhhhhhhhmhh h h h m h M ftp H 164

f* O « rg tn

<5 f* u # r g H 0 * < 0 “ x o O V i X XH * s r X # m •O a 0 * ^ ♦ X K 4 x r g o r * X r * t - x ^ O.X IA *X < # r g • X X m X 1 3 O' m • i n # X 0 » O X r * o - N f l H # H UJ X « j x m co 0 i n 0 • 4 i n x + • m • sj- g ♦ # r - * ^ « o 0 s $ I 4 i ( A X I « f : • H r - * r * O X OX'S 1 4- 0 OVI • X O * X X C M # X p C i n * U J l/i C t X XX# s d c o X X X O 0 UJ X * h * « r * » X XX M Z o r • 1 ‘d # m - J # # X » UJ O 0 ♦ * f"h in 1 •<> « o r * # U i h UJ y o m o »#m * O 1 rg m 0 •0 0 X a c 0 XXX • y. I? x g * H ■sT z IL X # X X C O • •- J f M X X 0 • • i n u j > * y o : 4 * + f - m ♦ » X - 4 g 4-4 r g OC X 0 • * - « c 4 0 m y O # + ♦ * • U i -h <. <3 CL X y y ♦ x r - r r i - g r g m r g U, z O O « C 9 X X ♦ < t X r * n x XX O LL < UJ *U“ •©* xax* s O - O X X XH a : h - <-• OfVi^otfi f xx«a •in # # »* O > - 3 — c o y c u 0 pg m x # 0 m » r o r - r g i n m PC a . U J < J ^ 4 C « i n # x 0 XXXIN p n * • n j x • n j G "G *xx*xx4Cim »y. ♦ x# ♦ * • s O c UJ IU r,X*fVtJ K i T X +1^ i(V x * o r o g 1 i n * z 0 0 J lfiltNfiC, D rX *<>hCgC« NK'fX# mo* * X • r g M 4ft K < Kir-jHCcr-r-r.t x # n g u t r * •* O ii. u . u, IL U. u. IL U . O v«#rw * *CCiNi ♦ • # i n k •> U i H O X + X ^ «K+trt+lft •* « x o O' H i n 0 . » a 0 a a. a. a a. n. a. a. N D a X r g *l X ■* < * r . ♦ r g * ♦ x x 4 X 1 * X * 1 : c r r £ x £ x s: r t M z a . * It X / i K N * x * r x # n j x X f t - t X r* O' < Q < <<«<<<<< V 7 cxl a r i i n x -0 * x g x x x n x x # & r g «X «M i n UJ V)VI v> yi v» v> in c/ i vs r > 0 ^ 0 * rvio* x h » x # x x # * ^ 0 X r g X c I-** » k U l »- O ^ v ; * sj ► L X # f ' n j g i X O * c * 3 m (M •M ri in -o r* rg cm m ^ h LLt i n n # • r * • » O', * <<<0000 a U J a tX * « - » £ W ^ w IVHU O K r C -C r g • 4 1 X t ; r g < x < «( ai ai a) a) < ft x Xmc-CM *Ch • •rg^OHO # h O' ' O d y f * 9 0 G C h q . C4. I iv a a a. a a v > i d < « n +*1-‘■'-IL; * ♦ I/*-* ♦ I f- Lr - 4 H L U . «pg - f J - U l L J 1— J. — — 41—3l o yut m # • ♦ f* * •mr- • * • • » x i + • I XNKg in p>^i* m c 0 0 < S'< lu c/g-Om^«rjnf^*a.i-**-*f'>'cgry*-iyi# ^ O h r**nr*<-* • c*ctoxx 1 a I uj t & 1 <4 1 ajlujlcolcc.lula)lco i l M a- ►- •C'V'JC.w^ •r-oy n-C'J- i n h •o«rino »* •rvrg«M m 'j *m • ^ *ir **<} *-n- »r* **fNi * 0 •* —tcs^C ■ • * * ■ * •{) rj—• ■rg^nr^cn • ui iritA iNHj£4'CC< >©«i g> < «o -o n ; - o cc - o 0 - o x x jj •un^-h*r^rJ ^iuirg4- i n * 1 0 • « I »r-g j — 1 - < IlKX ut<] mmmpi -'"i rn | n j —+ Q -f « | «-*f* i r m l i r * it it u . < u i n < 11 u » 11 u j m 1 u ii a i ij ill II U J l| U J It U J (I U i II tlf II U J -t II ^ II II II II ll II II II II It II II t] 11 — ■ 11 M II y c p- - ^ *rvJC i > l t- v ^ Uih.i1.r u.h-U.Hti: t- a. H LL t- IL t- J-»- UL H U. ►- U i X) i/>wHai«(S(PW ^ KnUHr'Hl hU.mu.mo.hlI.HiLhU.M ecxwjJ»Lact:<*f <-f J3;t»5-xaj«-*i-he 1L<<<<: ji q z o IQ IQ2Q3I03070X in sf in >000 r- rg oo aoco CO C O 0 I O z <

rg m *t y 0 f^cGco^gnjrwiiW hkcuokOHNpigio<]M09 0H(Nj(ngiA *r g *vf .j vf sf g*«n*nuiir.snin.n,0X 4 .4 < 0 gj 4 ■gj-4/*O»»fwf*r*|"*fi“f'*4,“f**p“gDU>»ijCE»UJCLiUjiUd*ujo :co* juo^; ocjOOGG £ g C OOg .10C0S ;•.*■ 3tOO J?CCC JJ.'COgUOOQ -1 zz iT Z Z Z z zzzzzzzzzzjtzzzzzzzzzzzzzzzzzz yii/iua i/> in MMM «-« »-« OS/360 FORTRAN H EXTENDED DATE 76.15A/D2.07.26 LEVEL 2.1 ( JAN 75 I ATOSAP ISN CC9 6 DIFF=<'3E-SAP.P ISN W l W«ITE(6 ,FP8 ) BB5.SAHP.DIFF ISN COPS ISN iiOPV SJS!?SK;!»Sf»a6.S<-P.0>FF ISN 01C0 ISN 0101 S in fl” ; '” ' U1.5AW. PI FF ISN G1C2 ISN ■">103 ) t?Bf * SAMP ,DI FF D I 1 F=:>8*»-SA^P ISN C10A WRITE 16 .BFfl) PB9.SAMP.DIFF ISN i i H o ISN 01C6 DI FF= 8310-SAMP I Sr. 010 7 WRITFI6.6PP) BB1C.SAMP.DIFF ISN c u e D1FF=3911-SAMP ISN •1199 WRIT; tfc t6f?E ) PB11 .SAHP.DIFF ISN Cl 10 ISN 0111 ISN o u z FoJIlTlio'JJx.'PBtDICTOR VARIJSl'S'l ISN 0113 800 WKITE(6.601 I XXl.XX2.XX3tXXA.XX5.XX6fXX7.XX9.XX9 ISN Cl 1A ISN •M15 601 F3RMATI2X.9F1A.6) ISN 0116 100 CONTINUE ISN 0117 RETURN ISN o n e END

LEVEL 2. 1 I JAN 7*i ) ttS/360 FORTRAN H EXTENDED “DATi REQUESTED OPTIONS: 0PT=2 ~TrPTIONS~IN'EFFECTTTIAMF {MAIN! "OPT IHlIFr2T~OfiECnUNT7^T^r^lMAxy_ADT0r»?LTN0N?T SOURCE FPCDIC NOLI ST NODECK OBJECT HAP NOFORMAT NOGOSTMT NOXREF NOALC ISN 0002 RDUJ1N |_NVMJL X._y.2.A.G,EXS.£XX.KA.KB.R.V.LL.M.NNN.LLL.KKK.XHAX. ISN C P 03 IMPLICIT RE AL*8 IA-H.0-I1 ISN On-jA 1 S M T . 0 P 5 - ISN 0006 DO 100 11=1,NNN ISN f C*(>7 IC0UNT=2 ISN CC-cF NP=? TfFT77.7C.C- T^Rpzr ISN C-010 IP=NNP ISN 0011 CALL 9HAT(A .X.Y.L.H.NP.IP.XHAX.YHAX.ICOUNTI ISN Q C 12 - . . - ^ - C Al L GL0FI.1[fA.G . g X S . E X X . V . R . K A . K B . L . H . V H . Z l______' T E N T C 13” 2 2 2 WRITEi6,A6) NP 1SN G DIA 66 FORMAT(5XMAX.SINE/COSINE HARMONICS IN X.Y DIRECTION^,151 I S N 0015 ILL=NF*NP ISN 0016 ISN f.017 T flfl 'C c41IN ‘16i.EXX»R i VC .NR t HaJ Q .I I L .XXQ) ISN 00 18 999 RETURN ISN CO 19 END 166

u. -J -t * z rg M • X 00 Of o UJ • e rg c o z "v + u. in tn 1-4 Z • u C u ? h 91 —X «4 -JH a 0 t£lrt UJ CO a a OO o. z z h C z o -t UJ DZ * u H - t ~ a ♦ X H- O X UJ -* < X — XX x c X •I nC » o t o z - l z —IL ► •—> 0) I < u-C > CL Ifi i tf NZ ^ z » I H- ►4 X « UJ or 1TQ * a. C < a z UL — s; Z '- o » u <6h ui U to z o — J a » Uj o \ X>efi •• z r Ul CCJ o ► □c a O u o *■ U ftf ►rv*Z h z z o O 1 —’ * O UJ •—UJ u a » «n uj «< -JO 4 4(Q ► > o ffiX ^ & « z 03 1 « m z o rg *< o . <43 » H <—t- < - z O a z U.U1 < ► w u> — — f, z o *gf-4 <—00(0. • < ^ q . • I ►4-J o* z lA <1- Ifl OC r o U .J — a ^ a — m w *k*« CL < ^ •z L-<-C 0 . 0 . *.a a.o x. U.Q.U * CL cl o! X u. 0.0. n o n x aj< z z h o n z w o z z a »-• eg z z <— 17 * *-<**• o c a o ii* c t ► 4 * » » Q VIH tff* » < C'-rt Z 7 c a c ^ «-tp4H a o x rtf- C D - 5 0 x > z a ►Hh-O II II II II II If-4 II Ui N M • II IT. II UJ II II * Il'OllJ-'/V II |l II # M I/)Uj9“ *l/» OuJ « u v-»-»•-• C^I—r3*-«Tr>»--'*'r^»— ihT m -s— ;? bUt"3 *1Zh ♦ ”»->“> II X X — H w3z rtU V * 0 *►— iTlA * T) »HOHaOIX>UtJ5U.aUXCCUJ 9* 1 3 a. «rO in O ZUI r - m lA** min IA<4><0 CO »• •« 10 - on Art OOfdO* 00 z - < z o T o UJ M u. h LL a UJ o rgng- u> o r^ o3 0* ^ «-i rg tj-in <£> r-ju ^ arA ^ in «o r- ±0 9* O AJ ia ■U'j> o 9* co c •** rg in m rii«iirireii*vnmr*W‘rg / <1 j- v# »f •J’mm m m • *3 rt OCu3 CCCiCUOwJOOOCOOJoO1; OCOUOOCiOOOOOCOO oocoooooooo IN UJ c c o **r 3c^j oo*.*coo z ?‘ ooo jg-rccooc-:ocQfjo1: ccou OOC OO'I j'jOJO -J Ul z z z UJ UJ o ITiUII/j > 3 ►4 HH m irtHHrtt-rHrtHHMHHrtNNrtHN Wh HHM w MH m HH UJ O 1- .J UJ a. CC a LEVEL 2.1 { JAN 75 J O S/360 FORTRAN H EXTENDED DATE 7 6 .1 5 4 /0 2 .0 8 .2 9 REQUESTED OPTIONS: OPT=? OPTIONS IN EFFECT: NAME IN AIN) OPTIMIZED) LTNECOUIlT 160) SIZE(MAX) AllTODBL INON'E) SOURCE EBCDIC NQLIST NOOECX OBJECT HAP NOFORMAT NQGQSTMT NOXREF NOALC NOANSF NOTERMINAL F ISN 0C02 SUBROUTINE AUT7C0IU,Z,LLL,KKK,L,A,S»C,D,£,F,G,H,LAK,HG) i s n 0003 IMPLICIT REAL'S (A-H,IJ-Z1 ISN *iftft4 Kl A l *a it ISN uG(>5 D1MENSI ON A(LAK),b(LAG),C(LAG),D(LAG),E(LAG),F(LAG),GtLAG),HtLAGI ISN CSCfr DI“LliSinN UILLL tKKK) ,ZIL ) ISN vOu7 h=lll ISN oooe N=KKK ISN (1009 K=<> ISN Oft in 00 700 1=1,H ISN 0011 OO 700 J=1,N ISN CC 12 K=K*1 ISN CG 13 7 0 0 U11»J)=Z(K) ISN CC 14 LL® N* M ISN 00 15 PN=LL ISN CO 16 CALL STOVAR(ZtLLtPN,ZMEAN,VAR) ISN 0017 nn tos i i = i ,l a k ISN coie Mh=H-II ISN O'llP NN=N-II ISN 0020 5U M =‘.i» 0 ISN i*02l OC -30C- 1 = 1,KM ISN 0022 on ^00 J=1»NN ISN 0023 8 0 0 SUM=*UM< I'Jl I*II , J+II)—ZMEAN )* (UlI,J)-ZHEAN) ISN 002* AUT0='UM/|M'**NN) ISN OC- 25 a u t ;"i= aijTi?/v a r ISN 0c26 A(II)=AUTO ISN 00 2 7 WRITE16,666 ) II,AUTO ISN 0020 666 EOkJUTl*0*,2X»*AUTOCORRELATION RIU.V) FOR LAG*,15,»«'»F12.6) ISN C0*9 805 CONTINUE ISN KM=M-i ISN GO 31 NN=N-1 ISN 0032 00 705 11=1,LAG ISN 0033 S U N =0.0 ISN 005 4 00 701 I=l,Mrt ISN C035 0 0 7C1 j=!,r:N ISN ‘>(■36 SUM=SUM+(UiI+II ,J)-ZMEAN )*(UtI*J+1 l—ZMEAN) ISN 0037 701 CONTINUE ISN 0039 AUT^SUVIMH^NN) ISN 003', AU10=AUTO/VAR ISN Cu*0 e n i ) = A U T o ISN GC91 NN = NN-1 ISN j"*2 M.p=r.i-l ISN 00 43 WRITE16 ,466) II,AUTO ISN Oft 4 4 466 FOKPATI*0*,JX,'AUTOCORRELATION R(-U,V) FOR LAG',15,•=*,F12.6) ISN GC*»5 705 CONTINUE ISN CC46 H “ =H-1 ISN 00*7 NN=N-2 ISN oO*-8 DO 6N5 11=1,LAG ISN 1H I49 SUM=0.0 ISN ftOSO DO 601 1=1,MM ISN 00 61 DO 6til J=1,NN ISN CC52 Sli.M=cUM*( U(I'll »J+II+1J-ZNEAN}*(U(I»J)— ZKEAN) ISN CO 53 601 CONTINUE ISN C054 AUTO=SUK/(MH*NN) 168

O' M•

■ • i ( fv (M NN to* to* to* to* ll. U* O.U. to- to to to *n tou * u *u •to * to • to to m tn in in UiQ to* to H to HH to • q k to to • SO O OO tu X < << M Kor >+ n • to4» itoiu £X * H> i ^ + o£ to M ♦ JMh-J | to *“) O P — 3 II 39 to LL —1 D ~* «*— W of 41 oe T to )• ocae m + OS « 2 ►*»-» zz *•* <0 0 3 0 CO — lO to4 < N OO HH 3 \40 I—«. LLX V"< —•* »# HH<«t to** O _l nl , -I ^to*to J J *to UJ I UJ ZZ tUUJ 2 OC *to O' < < e c u <■ X *-* CC LULLl CCCC UJ a h* _o ti oc x OO * OO NN OO hfl -I 1-0 I I h Hoc 1 H 3 h to Dh —h 3 Oh— I— P O H o HH < O P “J X to < +■ *<» to< to*—( m to to<4 to to l-*» C H ? to*** O to* ♦ 7 to* to* to » o to* 7 M C to* to < to* ►to to < to*-? S» to* to* » to < to* ;f to* o oc x j r z * * tc x j xx* * * xx -J IZ + • fit o < — * c;rto-< x< —n* ► x sr»-*►* *: ** «n*r* to a: 3 ** r x t- > * h* • »— x> o * * *— n u •* .o * » to* to to— x:» H 3 VO 'C* II -*^3 — VO *0* II Hr*DD —x O *0» * 11 C* •-* 3 —vo 43 *f c»- mo h* IIU-* SC^-I-C to* nil— \>H(ChaOO to* ll 11 — \OH (h 1-3 to* UJ Hi ♦ u. Cto-P »• UJ ►* to*-? t + UJX VO * 3 to. » to* HTfJJ■Xh-p to 3«t**to*0—^;3 C 2 3 **3 5 4 0 -3 OC 2 2 3 ^ 4 ^ 4^ — hh 3 O rpD3<**fl «t ii t t — ito**»03 I 14/.- x n — h-ij +h-*ia • ii — (i —h—i— I I ^ h ^ uv *(*^32^*4 n t I * ll — 5:r*UJ<»►* I I OCCf;i'H5;;> II Ii —LU*(to* I I O’ CCOwIWh uj«t** rjH I ICCuuviNII ||H3 2UJ o*“ i- n ttv\j\ ii h-;. cC►-»-*- m n •* mi 4 1 ii n#— n ii n n mrr, n h o u h i^ h »_**imi to*n;;: ii n y xsn ii►—►-►*►*?^ ~ m ii X9u 9:xrri-^*-,to*to*H«j'flc n h sji ir x- scZtoHNniiM dto-i.zicar^o 3oocc*i.s30'-acc;cx3Cto*Doa3to*cD3,“'x— jfcoXtoTosscPoopoPP—xso: t mO *1

m-or-a-o 3**njrn>i,m*or,-'O^Cto*r4^*^>4n'£r*cccr Oto*n*ri*4m •or-a>^o«Mr4jn*tm Oto*rN irmkn»nm*cp* 0 */’O»i-'O c*#6 •*in*h*r-Hr-n*n-r*r--p- ic cdaju>a>cLa*w.u>—o- l* j ■>a-o j*o*^cr 3/ icoc 3C >jjuhhh OO'.* 3COOCJ * "r'iUiJClCOCO^OCOuO^OOC OOC CC QOU-: go^co ^Oto-to*—»-*-Hto*«-*to<#*r*toJt-|to* oo^ccgg jsscw oo*: goo; -jvoou; woo gegg jc o :jo u " OvOCtjgpcouO'* *pO 2Z2;:ZZ2ZZ2Z2ZZ.-:2ZZZZZZ;!.TZ2zrzZ2C7Z22Z2;:Z2ZZSZZ2C27ZZZZZ2Z7 isu/iiAisiiS) v'n/i v»v ,vj* 4* I w.viv w.t‘E.G[.O.r.) KKK=3 ISN f l * I IFttE.Lr.AA.AND.AA.LF.O.Cl WRITE 16,1001) I Si. C l'.A IFtA.t3.1.A:;0.

v,

Z < O z

Irt ^*

d ' O f uir. U r «** ftft ftft mm zz » HI Hi HI HI HI HI Hj c a. Cf O f o r cf O f O f O f 7 Of O f o r O f O f O f tf — IT 2 U-* U j UJUJ UJ u . UJ •JK ft ft ft f t ft ft o into a a. a a a CL a a . u- r.o 7 O CL5 ft 5 5 5 i 2 i s z ho 5 C ft ft ft ft •» ft u j s z ► a a. a a 0 . a . a . H «r to 7 z 7 z 7 Z z K h - ft ft f t f t » - f — T. r X x X X * x ft f t » f t z — to t o t/i to t o C O 1 0 • t o ft ft ft f t f t f t _ j * < < ■ « < "t < X < UlO ft ft »> » ft f t f t o f h j Z j r 7 o z z Z z z H » f t ft f t f t « tod- XZ . J ~ J _ i mJ _ j < _ i _ J O < ^ 7 mj « j _ l 4 - 1 J u. —a: J t — f t j _ j -J _ l _J o ft ft » ft f t f t ft ‘C.H Z * y y V y X X c —o z y V y : y XX •O H JJ * z > ; x y y r y X X r> zo C a * ft * s , n c n -J— z z z «_ z z z to CO h-Hl 7 * iJ 7 r* z z z o o •H ft ft f t ft » ft ft LLX M f t r X x X XX X zu H«— -J_J mJ _J mJ J _J H i U J • Z HH H H H h H JC > 2 ft f t * f t f t c H l H | H | H | HI HI HI *"*Z * > H HH HHH h K h o c o o c o a ft ft » ft *• » I— *h-HHH*|— H H > • > > - > > > • V H H H HH H h - O . Z O C Q Q D C n ft ft ft ■ » ft ft » rzv»uo^i9oo X X X X X X X < - HHH H H H t-

o O H - < > •— of a t-> *U »»•«*+■z z to Of to CO h- zzcrocinc/oo < « t H J > * to °s HtCUi UfkLI LLIUJUJUJ Of Of 4 to CO > • ••••# 104 O J C J oz O J 0 ( 0 zx ------*zz— ^5* — * < z . i^Z— *z_-_ nlu v oc o arc ^ o cec arc aeo of U CC^-J «J*J JSH JO II «jr> H it «JO h — J 3 ii * J I J xuj r-— Jh-r j»-r-fcK-»HQ f\l - U . U.U. tuU.3«LUf D < i^fJ 3 M H M W H t M i m H h i il n I* 4 I *i U J n »- -J I C i a O f a ISN 0002 SUC(OUTINE AREVOLISUMM.X,Y, Z,LL,NT.XLENtYBRET,LLL»KKK,NNT,XX,YY, 1ZZ.0,A,M,KK,CC.NP,NNP,XKAX,YMaX,XX3,XX9j ISN 0 0 0 3 IMPLICIT REAL+B (A - H ,0 - Z 1 IFN OCGA KEA l *A XX,YY,ZZ I SN 00 j 5 DIMENSION SUMM(NNT),X!LL).YtLLl,Z(LL),XX(LLL,KKK),YYlLLL.KKK), 1Z Z(LL LtKKK) ISN 00 OS N U “.X=l ISN0007 H JMY=1 ISN COLd TOTAL=0.0 ISN0009 TVCL=C.O ISN ••'<10 T ' v n L = 0 .0 ISN 0011 TSAHEAsf.O ISN 0012 PAREA=XLEN*YBRET ISN OC 13 AK= LL ISN (■CIA XX9=AN/P4REA ISN t 0 IS LT=LLL-1 ISN ■■r.it k t =k k k - i I SN CO 17 NC=KT ISN 00 IE n k = l t ISN 0019 1=0 ISN 0020 DC 2C0 JJJ=I,LLL ISN CC21 DO 2L>*. 11 1 = 1 , KICK. ISN .v.?2 1 = 1+1 ISN U023 XX(JJJ,UI)=X(I I ISN 0(|?A YY!JJJ,III)=Y(I> ISN 002 5 200 2 Z (J J J , III )=Z(T ] ISN 00 26 00 ICO j j j = i ,l t ISN C027 00 100 111 = I« KT ISN ■i0 2£ YA=YY(JJJ,III) ISN 0.0 29 XA=XX(JJJ,III1 ISN 0030 XB=XX1JJJ+1,III+1) ISN CC51 YB=YYtJJJ+l,III+l) ISN OC 32 CALL VOL! X4,XfJ»YA,YB, VOLUME,SAREA,SVOL,LLL,KKK,JJJ,III,ZZ) ISN 0C33 TSVOl=TSVOL + SVr>L ISN •Vj 3A TSAKEA=TSAKF4+SAREA ISN 00 3 5 TVC'L=T VOL+VULUM E ISN 00 j 6 100 CONTINUE ISN 0037 Wkl TE !6 ,9AJ PAR FA ISN (.038 AA FORMAT('O',EX.'PLANAR AREA=*,F25.A) ISN 0039 WRITE(A.551TSAREA ISN 00 A b 55 FQR“AT(5X.'SURFACE AREA=•,F25.9) ISN OuAl WRITE (6 ,771 T VOL ISN 0092 WRITE16,8P1 TSVOL ISN 00 A 3 77 FORMAT I'O','VOLUME BY' TRAPEZOIDAL R'JLE=',F25 .A) ISN COAA sa FORMAT 1'f.','VOLUME BY IMPROVED TRAPEZOIDAL RULE = *.F25.A! ISN '■095 AVOL=TflTAL/PARE A ISN CO 96 EVP l =TVOL/P AREA ISN Ch>97 c v o l = t s v o l / p a r e a ISN u O a E PAR l A=T s a r e a / p a r e a ISN 0049 XX3=DARFA ISN CO SC WrtITE!6,511 ISN 0051 51 FORMAT!»C • ,10X, 'VOLUHE/PL.AREA',3X,'VOLUME/PL.AREA',3X,'VOLUKE/PL IAKEA',3X.'SURF.AREA/PL.AREA*) ISN C05 2 WRITE 16,99) AVOL.BVOL.CVOL.DAREA ISN 0053 99 FORMAT!'0',10X,AF19.A) I SN 00 59 RETURN ISN 0055 END 172

r- m • a: t- or o • rd o O 2 \ m 7. < C z H < < u< Ct 5 2 ft .J X a LL CL * iu U. c X to — H O to > — in • in — X E x > I LUC, e* 2 (NJ n ? ft *-* T « c s —Nl □C—U- Nl JU iSra LO • • -jh r«* — < _ » > x i/l O-VI crx ? * - • x u i m OC c c r x C*** * I c c O to UJ a C,0 N J X » *m 1ST ft 2 h o *-i a? m • o » I a 0 2 •a — ~ uj » *(hN I cc UJ r < _TCL H — tfh -J|~» D» H ; i*- u. IS £ CV3 — C Q-Ct ft 4 *<\J J o XI r > ? N 0*20 -« ox * I — (Nl *t d- x ► C. ■■ iLOh H • nx • l-t 7 ft r o *h HUU Vi * » * ft 2 wli. >nc *_ l O Ui > X* *■ UJrg toto — f — < Uj O j a. m > - mzirt 2 w — X — -J X OH N H l h - J w x - o to *< • a •> H ►h *1/3 jtu o s j : x i to UiO i 2 n » Z 0C VO. 7 D — 2 UC< < ^ H OM * n o c a O * 2 < *Q0C * — H* LL O to • to M N u. Nl>- C J CrtU » . UJ i N H + UJ ft c *>* XQ. C O H <«/)a?xin k#W fi| ft rd <£H 2 0 •c . d y a c ^ ft H i — a • Ul to U j l u + a ft o — L> C. » * fTioia* *t 4 J pM(g X — * II * ft H U J > x 2 — n. I *• C O X + * - * I tot 0.0. — m ^ “3 *x • J U > | VI ■ • ui » LLUJ X Vi x V Oct 2 C X-J— QUJ<£) | O toiu »a.rNi i/i h H H — O -to i/i c c O -J U I I ■■ Xf<" H to UJw LOL> 2 ^ 2 O o XM— UjX-1 ,TI * c < c x -i > o o ft □ Uj^ * ►KJ ar— Uj O I X h 2 I " m oin -to. >. — > UJ 5“ t i s f H i in SDa. * » 2 2 I I ♦ * il • HUH I * \ h j x <4 4 C — (NJ— — "70 Nto-to - i d > x » N | — L L < t o 4K44' • *^i-« — — f t X X ^ ~ *3 * fttfX a * *X *-J a* K f 2 *4* toO Cfh m ft— — — n *r-i ftw-to — 2 O-J I « J O h 3 | - C h *■ h Hto-i to to — > » to *-t I — » rsi — - J < ■«/w u,ra i *• •^OXUilL h m l ^ m h h h h w H ^ m h oc -i>- UiX x u. 2 >-0 I m 4 X » ha. toiLt-tsss- ui-pr.w KJ*-J H *® 2— O-tO I *> toO* nfX ujnv.c—— lj ft—me— *-*-J Ul ft j C - J i/ > • I » 4 3 0 • K e g t/iiA «a>xvxxt a.— >x^x 2 0 LL to_l 0 - j m 3 * i — s* h * c m * _jllj (LUJftto^WMuA t U « ] > M w W >?:«r 2 - C J X U * N toj- m 2 2 Uu-aH2Z2u- H - H X H Z 2 niuj VXflCO*<* tox* to4-* o Nlfl Oto*HCjX> c « :jn r*7H>->-NXXO 4>SX«4XX>- m m h ^ h h OW *-• > — i/,Ln rr Ji ii > — — — * i n m ii ii c, i— j^-L.C-iLiua./ns,!..^,^ \ S h M < M X > * » ► to to to to.:/ II Jl U J D C * — - u NO?*** -»w—.w totowto^ -0*0 c ^ h-» ' i m ii ii ii x x x ii n ji ft ii ii 2 d 3*JU^tJl-t/:>2CH h-h-|— h h h * H II ll ^ Cj **»-.#/T2 Ld ID *K < 4 « k ! » f a a . II uj, Juiu»UJLi^O I 1 OftOftxx^fxy.JCrx •■zuj^yrr cca. ^ xscx 3T.?r> - X-4JLytL»“ l - H H H h - < C f t Jl uiLtvn-—— CC— »if-£ r*; -t-C3*-tto-»to-itototo*to* af X II IIH 11 ll 2Z2>tJ002»-»2 0 0 « u 32»3.,m*<2i-iT«'-C3CCC 'CiOCXjvjvijiTt'iflfaifflCujhr 2 II DHOnQGCHZZiTL^ij^CiHZ^ u j u : /jN^^CXQOofAtLaiLU.' u.iu.0 o, 3 > hi3 X 2 I ^ 2 2 U £ ZXQHQ'lXhrgOxhNXUihtoNOK)* 1-1 U JC a 4 C JC X o ITV o 2 m a. C 4 7 C N J O h O h CM H *^toJto«D onm m .* <* ■ it M H HHH to4 Z m H uuu uu < 2 O "> O LU H Ll H LL a. UJ a fg (Thrift <1 H o o ^ o H M r t * t m 4>r*cod Oto^rMtn'tm^Hco * O * - « N f 0 2 (j CCO o Coo M HHH n) • a H o oco o co co ooo ocuoooooou CCOuOcJCOOOOCOO o c o o o rsi Ul o CCO o o^c o ecu OCOCUCiJ 300 OCOOOCJCOOCJCCC o COOQ H ■» o m 2 z 2 2 2 2 2 2 2 222 2222222222 Z222 222222222Z2 2 z z z z Ui ID a m v . v i m V) v i u » m m m m m mmmmi/fVi^immm m^'ViLiUfLivjip immvivimvri/j > o toJ ►-» m h M H IHtoJ t—♦ Hi (HHH^HHHI 1 M hhhhhhhhhhhhhh HM H H H M UJ Ci H J Ui CL O LEVEL 2 .1 I JAN 75 ) VECTOR OS/360 FORTRAN H EXTENDED DATE 76.15A/02.07.37 I S N OC A4 ZNHRM (K ) = ZDK( K) /DIVtK ) ISN GC45 50 K»K*1 I S N OCA6 NK=K-1 C C COMPUTE VECTOR MEAN AND STRFNGTH FOR METHOD ONE c ISN C0A7 TDTV=0.0 ISN CCA8 T0TX=il. 0 I SN 70TZ='">.-i ISN G O 50 CO 7l X=1,NK U N 60 61 TOTXsTnTT+XNORM (K1 ISN UL62 TtnV=TOTT+Yr.ORM IK ) ISN 005 3 70 TOT Z=TOTZ*Zn Q kM IK I C VFCTPR STRFNGTH IRl) ------ISN COS*, ZR=tTrTrx**?|+ITOTT**2)*|TOTZ**21 ISN C-055 «1=DSCRTIZR) ISN Of 56 R=R1/\K C DIRECTION COSINE OF MEAN VECTOR ISN O C 57 ALPI'As TPTX/KI ISN C O 58 8ETA = T O T Y / R 1 ISN 0059 GAMHA=TDTZ/kl ISN G06 U ESTK= INK-1)/CNX-Rl) C GENERATE DIP AND STRIKE OF MEAN PLANE ISN 0061 AL=t?ETA ISN 006 ? AN'CG*PARCOS (GAMMA J ISN 0063 AC=r YN O R M ( L“ ) C C c- c COMPUTE DIRECTION COSINE IN~X,Y,Z AS AHEASURE OF VECTOR ORIENTATION* ISN L0C6 m. = LL-l UN C GG7 o o ic i =i ,n n ISN 0 008 AA= I ( X( I ♦ 1) -X (I ) ) **2* (Y (I ♦! )-Y [ I ) ) **2+( Z( 1*1 1-Z fI)J **2 > ISN A?=DSCA T(AA) I SN uOlO ZZ(I,1)=(X(I*1)-X(I)1/A8 I SI. oc 11 ZZ(I,2)=(Y( I + U-YCIM/AfJ ISN CG12 IIII,3)=(Z(I*1)-Z(I)1/A3 ISN (JO 13 10 CONTINUE ISN on 14 DO 21 1=1,NN ISN Gul5 xNOriM(n= z z d . n I SN 0016 YI.O’MII | = ZZ( 1,2) ISN CC 17 21 X3(i)=ZZ(I,3» ISN CG18 NK= 3 ISN GO IS T OT =NN ISN GGiO IR = 3 ISN 0021 IC=3 ISN CC22 N=3 ISN Go 23 L=N*lN*l)/2 ISN 0 024 CO 15 I = 1 , IR ISN 0 025 00 15 J=1, I C ISN 0026 15 vc( i.j) =0.00 ISN or. 27 DO II 1=1,IR ISN GO 2 e 00 II J=1,IC ISN (JU 29 11 C U , J I = 0.00 COMPUTE MAfcN,VARIANCE OF RAW DIRECTION COSINE AND FORM COVA/CORRE MATRIX ISN 0030 CALL COVAIXNORM.YNORM ,X3 ,NN ,VC,C.CM ,NK,TOT 1

COMPUTE Eir.I'N v a l u e AND EIGEN VECTOR OF COVA/MATRIX ISN G031 CALL COVCOR(C,CM,VC,BB,T,R,L.N,IR,IC,B) TRANSFORM RAW DIRECTION COSINE. INTO PRINCIPAL AXES I S N 0032 CALL LGMPKD(ZZ,T,ZA,NN, IR ,1C) . ISN r.0 33 DO 33 I=1,NN ISN 0034 X«NORM( 11= Z A ( I , U ISN 0035 YM]KM(I»= ZAII.2) ISN 00 3 6 X3(I»=ZA(I,3) ISN 0037 33 CONTINUE COMPUTE VARIANCE AND MEAN OF TRANSFORMED COSINE DIRECTION ISN 0038 CALL COVA (XNORM .YNORM,X3 ,-"N, VC.C ,CH ,NK.TOT) ISN 0 039 CALL COVCOR(C,CM,VCtBB,T.K,L.NrIR,IC,6) ISN GCAC DO 66 1=1,NM ISN 0G41 66 X 3 1 11=0.0 :VCL 2.1 ( JAN DIRCOS QS/B60 FORTRAN H EXTENDED DATE 76.154/02.C7.4#. ISN 0042 IEF.=0 C c COMPUTE SKEWNESS AND KOURTOSIS ISN GO 43 WKITEI6.07) ISN MU 44 971 F PP HAT ( '0' » 7X .' K E A N ',6X,' STD DEV. * «3Xt'SKEWNESS*,3X,'KOURTO ISIS') ISN CC45 HLN=NK»r.K ISN LU CALL PISRINN.Ml .ZA,X3»B,RB,5K.CUT,R,NA,VC,T,C,TER,MLM) ISN C0*-7 DC' 7F I -1 iNK ISN C048 78 WRITS (6.57) B (I ). BB 11 1, SK U) . CUT( I) ISN (.'049 57J rOHHAT(5X,4Fl5.4) ISN Of-50 DIh C0A= ( Pt11**2* B(2)**2♦ Rt 3)**2) ISN or, s i 0IRC?K=DS(3RT(r.I KCDA) UN 0052 D IRCOT= IHF1 ll**2+(JBt2)**2+B9t3)**2) ISN ■>053 DIKCnV=PSCRT(DIKCnT) ISN 1.054 XX6=DI*<,0V ISN <055 XXAA= (CUT{1)**2+CUT[21+*2*CUT 13)**?} ISN 6C5 6 XX7=DS')RTIXXAA) ISN 0057 WPnr.(6,90) D1RC0H,PIRC0V ISN CC58 991 FORMAT[*G■.2X»1RESJuTANT DIRECTION COSINE:•,2X,'MEAN*',F15.5,PX,» lVAhIANCE=»,H5.5) C COMPUTE 1 A*AZ=CM FOM RAW DIRECTION COSINE HATRIX ISN 0059 CAtU DCKTRA12A,A2,NN,HK) ISN OC 60 CALL PGMPRfi [ AZ A. CK tNK t NN.NK) ISN CuEl CALL VFCT(CK.S.N,L) ISN GC62 CALL U.'JVCT(CM,B,N,L) c FINC EI5EN VALVE OF COVARIANCE MATRIX c COMPUTE EIGEN VALUES OF RAW ZA*AZ HATRIX c ISN G063 CALL DEIGENIBiR*Nt0) ISN f->64 HKITE(6•861) ISN C0o5 8811 F O r HATI*1 *FIGfN VALUES*) ISN (■C'66 CALL WSVCT(P,L.N] ISN O u 6 7 CAL l DGMTRA(R,T,IR,IC) ISN 0C-6P RETURN ISN 0069 END SUBROUTINE COVCrjRIC,CM,VCtBBtT.R,L,N,IR.IC.B) .. . ISN 0002 DIMENSICN CCN.HI.CHtN.NI.VC(N.N).83(L).B(L)»T(j.N)*RtN.NI ISN l C l 3 c CONVERT CORRELATinN MATRIX TO A FULL MATRTRIX ****************** ISN 0 0 0 4 CALL VECTIC.BP.N.L) ISN 00t>5 c ****AL1'CONVERTTCOV'MATRIX TO A FULL HATRIX ******************** ISN 0CP6 CALL VcCTtVC.tl.N.Ll CGu7 ISN r FIhDLEIGENTVALU£ 'o^COVARIANC5 HATRIX ISN i>oce CALL- DEIGEN

< rt Z O ce UJ h N O sO * kA

Ul O » *■» H -J H < < > C. O © 7 Z * > O u »> • UJ » a: C -J _J ■— X 1 - U l O Kft w W z : r » (NL- LL" x c. OC >Za O' ? l - < U 27 —X > 0 *0 * N . m _J)- » »WU x • O a* co 7 - rt7 * m ■ ■ N UJ c c -jz — • m * * 0 CO UjX *x- u. z H-CJ XX *->? X - 0 U l X z M * rt3i? r- n x * h * h > * • X X K x z U-'—'-J o ► - *fM UJ —* • ■ 7 C I - - J IN — XX r o * • 7 W OC N.O. CL lIM rt X -ICC LLt S«< H l / ) k 4 3:0 L u - I J w h OCJ- •a, o> *n z ***u O * J C « t L u © • * * UJXlM « r CLO Wj-O h - a a x POO'LL o e NJ C J * £ r g c o p ox £ t n x • * n H 4-1 >X O *— 0 - 0 DIN CUD- ► e C c o ex U J * t o IS »|-HX c < c - l —h - Z 0 LL * • CO* Csl il J 22 um OC* UJ * * c HJ J2« iL)- ZZXtf *ci- > * — «*C0 OS «r -tccsj • X c w < J LUO p ^ T C O 0 J Z > J h h O »rt « o ^ U J O * 0 4 1 s T O < a - * a h ^ o e : m z*> •ui *>o r t r t CtOS <- U . r * V Xtn ING­ — . »tn OLLS.U.l-im *-l X CO CO OT _i« * or. X o -o>« *■ 0 O 0 •O' C o ) nco mj *x u ^ r O p -i 0 . 4- e r t A O X i M IS) # rt» M 7 U O * 1 u.22 < < H * O ' p U i • ■ t O « v , ' « aoc^ >>ciz *■ *n O 3 X 5 JO LLlt-* " 2 - 1 - 7 0 0 c i jiur::i Q X C 1 U H - _ i »- * - # P *< - 5 . 3 »■ Z n UJO *-• * *LL < & Ow ->nuih>-o H j- » OC ro zstA-jjz-iwrJX cTO- * UJJ*-* ■—■ 3 U l ► - v * x *d J-m mm o r t r t * ^ + > > — h Ciwj3>— 1- 3iU * J — XCLtu- l-X * *»-»«©CNm * * o * u j O ► * > Z ao uia:rt XZ are,0*-*rg*t • *ZCXZX * *©cry «OZ Z M m m • * q u * 23 Z OZiL * JSO'Lxw^^O^XXi-'Hri ll II ©OO II * — < I I II » x * » M i r t j ^ C* p-tOl-C.^tJCj 'XV^N.^*-' -0 3 S H H p j h -C • * **-• ♦ • II — 11 * - + - * UJ H - 4 * H * • *"- l > *mp>j._ *M3f ___ CO-!* II • —— > " I t X »- n ir )C^h £ 1 04-0cr,*i— OCX — «-3C OO X *i-u-0> O o o x x < “ I X * > czh ^-^-ttu -co C a -i-t < «■* * -r < < *tuujwuJ-J J 3 ir ii »*j h ii ii oc * n {£ " 1 C - 3 3 DtCJ-Jturo^uj u.a.yZ};> H J .r > fc i;a.h-p-h- n jct,a;«— UJ wru*lift«p UJ 11 X — m u Q .^> ztsrwa' Za: ^^Xt/ucaj px tHHw;’ 41 n « H *- * • X z H > -O O •LCCCOCuoCFjxC;C,ra:aJD'jjOOtalta'» C Ita'“ 1- < 0 0 > D - UJ □ O O H U J £ LO«3*-*CjOLCOu:uJ^ii.LJ_LLJ-iL* U.U.* 0 ' U . U . ^ 7 ^ ^ 2 3 Q O X 3 3 L U U U X Q Q 3 Q X 0 Q 0 3 0 Q 1 * 3 ** Hi>| tShG p« HN UJ < e O h O z Z m G£0£Z

a . UJ o fN r r t- f IA O^tOCi'O PHfSi m ^ m-o co ^ 0 in m m «o r-0 0* 0 —* 30 o o : 0000 00000 00000 h J IA % 52 22 z ZZ 2 ZZ ZZ Z 2 Z2 2 ZZ 2 2 Z 2 ZZ 2 ZZ 2 22222 Z2 2 ZZ Ui IU O IS) mm IS) i/IUlSiVIV) V)l/,S)W)S)Vjl/lvlS.I/)VMI/)S«V)«/)S) t/immmm ISllS)l/1kOIS) > Z5 *rt H HHH H h h h m HHrtMHHHHHHMHrtHHHN WHWNH N h H h H U i O pJ LJ OC LEVEL 2.1 ( J A N 75 ) HUMP 0S/360 DATE 76.159/0 2.08.03 ISN C09C UVI CK.K ) = 1.C ISN 0091 m 7 j= i ,3 ISN CG9 2 7 UVICK,J)=UVItlt, Jl/OIV ISN 0093 DO IU 1=1,3 ISN uC**9 IFCI-K) 6,l'i,t UN C093 8 PIV=JVI [I ,K } ISN Cw96 uvi c r.i'. )=o.o ISN c-97 DO <- J= l ,3 ISN 0G9B 9 UVI (I ,J )= Uvi (I ,J)-PIV*UVICK, J) UN «099 10 CONTINUt SOU/F FOR LFTAtCOEF. NATRIX)-(IUV«CX)=IB) ISN >r»5u On 11 1=1,3 ISN uQ51 11 PCII = l'.P IS» 0(162 DO 12 1=1,3 ISN u053 00 12 J = 1 ,3 U N 0G59 12 BCI 1= M i l * UVI II,J)*XCJ> ISN 0055 TRUMN=XC1)/HE C c OOHPUTE GIP OF MEAN PLANE (THETAI------c isn 0056 ALPHA= (BI2I/BI3)) ISN Of 57 ALPHA=DATAN t ALPHA 1 ISN C058 SALPHA=GSINIA l PKA) ISN ■jOS9 GAS'MA=PATA'i (8(2 )/SALPHA> ISN (>060 THC=1.37C8-LAMMA ISN 0061 SThtT 4=PSINC TH E 1 ISN 0062 CTHET A=D5 IN (THE 1 ISN 0063 THrTA=THE *57*29 57 ISN 0069 0=-.C001 ISN •)Gt>5 00=-.00'">l ISN 0066 CO 801 1=1,NE ISN 0067 DO En l J = 1 ,3 ISN 0068 COvPEII1=0.0 ISN 006” 801 DATACI,J)=0.0 c c CO'fPlUE FLEVA7ICN VALEES ON LINEAR S U R F A C E ------c ISN 0070 00 16 1=1,NE ISN 0071 DATACI,1>=1.0 ISN 0072 DATACI,2)=U(I) ISN £.073 16 DATACI,3)=VCI) ISN 0079 DO 19 I=1,NE ISN C O 75 D1CII=TKUHN-Etl) % U N 0076 IF C01(11-0) 13,19,19 ISN 0077 13 0=0111) ISN 0078 19 c o n t i n u e ISN 0079 00 17 J = 1 ,3 ISN COES 17 COMPECI)= COUPE Cl)♦DATA(I,J)*B(J) ISN OGfct 0211)= ECIl-COHPECI) ISN 0062 IFCD2ID-0Q) 18,19,19 ISN CCE3 18 00=0211) ISN 0 089 .19 CONTINUE C c COMPUTE THREE TYPES OF DEVIATIONS ------c ISN U0B5 00 23 1=1,NE 177 LEVFL 2 .1 < JAN 75 )HUMP □ S /3 60 FORTRAN H EXTENDED DATE 76.159/02.08.03 ISN COG6 DEVI 11 » =E 11)*Q ISN (>067 DEV? (I)=02111-00 ISN 0 0 6 S 23 DEV211)=DEV2(I)*CTHETA C c COSPUTF MEANS.VARIANCES.AND STD DEVIATIONS ------c ISH 0089 DO 80? jsi,3 ISN f'OSO ZMFANIJ l=f..C ISN C O M VAh IJI = i,.P ISN 009 2 S T D (J 1=0.o ISN 00*0 SUMPtJl=0.0 ISN CC1A eo2 SUMDSIJ )=u.C ISN CC95 UR JTE (6,56) ISN OCR 6 56 FORMA T t'C *i2Xt * RESULT OF FREQ. BUMP') I S.*. G C5 7 DO ?9 1=1.NE ISN C GRB S U M P I 1 )=SU.VI‘ 11) *P£V111 ] ISN CO 99 S J**C 12) =SUMP( 2) «DEV2I IJ ISN 0190 S U ^ O t j l s S U O n ? ) •»0EV3(I) I SN oim S U |JPS (1 )=SVJMDS( 1) + D E V H I > * * 2 I SN 0102 SUMPSIZ)=SUKDS(2)+ DEV211) **2 ISN 0103 29 SUMPS l31 = Su:'.DS( ?)♦ 0 E V 3 (I)**2 ISN oir.4 WRITE(6.126) ISN CIO 5 on 3o j = i .3 ISN C1C6 ZMFAN(J)=SU* ISN 0112 0SITY=STDI1)/ARFA ISN 0113 WRITE (6.88 1 DSITY ISN 011 9 68 FORHATI*0'.5X,'STD OF BUMP FREQ./UNIT AREA= SFI5.7) ISN 011 5 XX5=ZMEAN(2) ISN 011 6 R E TURN ISN 0 1 1 7 END 178 179

Q p *(NJ

V. o to UJ X to to c c »- XX %A *H i/1 to to UJ > h to toto< to- tH *: X to to 1 - G£ HU h - - X < UJ c c CD II to* > a u u s s to X * to- X to to to CC IM Ch to »UJ U-- X * H i Of X XI O X X c c - a ►- CAP 5 X V. N* *C > C o a r - to * to to X * X - 4 3 mm L U X ► - II V c 1- » a. UJ XT. X X > a s O V-N _J x in o IMS.*- S — X O' to X m- to -IS* u l 3 -c X «*K irsj<—«rsi > KOC to C to »- VO r . t o ^ 7 HO t X O I UJ < o to l_J ( M ^ 1 UJ n j c -4 3 N i « K • - U> c > U J X • to* D « tol ll 1 a. — tv^iN.rvi-j O > • * - * c 1 - to to i / i O - i H in o * -i«# * oc a ^ O iA X * UJ ►- to- to to to *— * * - r 3 1/. UJ to m il o c 3 i/1 vO 'O O r* i_> •J to ■“ 3 — to O N — to n to m 3 —• K •UJ UJ UJ — "V-J— »rj LU lU iu »-» ««IOI »— 0 . m 3 O n - h _ l — ► — — to 0 o ^ 1 - ►vo n • O o 3 —*-* < - ) X il - 1 — ll i/i «/) M ►-vj* to to « * — to- • O 9 C 0 C u * « * X * f s | > 3 x X X l a £ » II • • U j H 1 5 X IM VO 3 1 N O H I O 0 3 o < O U J » c n x h - > U - X u ♦ a? to — i r« *-* (L 2 r s j U J t o - r j to— 2 UJ -x— to­ to—»VO w - u o O to X 3 m e O to I -Ol/IKI toLO-to 3 * J ► 2 X CnC •t to o CL 0 4 M • • VO « ► J I T J > M * I 7 to K I I E ( f t - to to— •J > » 2T a l j ► O h - ^ ro ^ s a o i - C 3 «— « • O to r i to to l - H * 3 in r j m N ‘Jj ^ c *1 — uj n 7 * a 1/1 y X *** X - ■ t o e * CL to— II M to • • o • N • »N l > « UJ to xi ► -1 > to to «n i i C u j — £, to- to C l L * QT (J i/1 i/1 a * > - ^ Q C/ICDa) »qc GC *J vn U. ► K - C r t • - y O to» -to— GC “ u n - o s # < 3 3 *-H3 to rceo 2 L L L U < to * •— • * n » C m t o - s T - t O o o m e a M * H • X oc t/>H a ii ti x- l H - > f < • H ^ il * ✓ < *j o r cr • i t o » Z / 2 K m VO x - o - ^ o c *C*7 X l/iVO *C»—7'Ot/l,?w ll*j ► M 3 » — h -v- i-- -tXC H-rnuj^rgou ex O O II o « t < 3 <-t COJJ" —‘ & X 0 V>H i j • * *• LiH(\C • • * C l f • • — C c «J-f 1 * 1 ^ • • 0Ct3CO-» IX H ——rvi— U l^ rsj I* 3 0 -- *J N •<0>liC ► - » *G£ Liih — 1-»—tUi/irOoC o —o a—o •»* h H « DCo * f* CD *<0 U i 0 C O 7 Q u.- m < •“* u,>*-«X »► * c l JO^i/l • * »pJO ► • • irt« to + T Qf)» O rr oc ►:?««- vOvOON., . StH _JKC. . . . , «-• W » • O^LiUI<-J*X • 11 ll 3 LUO • *M to *-»0 CCC'iil-iU— —*-ll-f— —*— • “ * • •tftt'CX -o J O O J O O II 3 • •71*-tu*n II 3 *CT03'0*-'l> " U W ' J vo u C ^ i— h- -I ^ -JL0 7 17 -■*- -*-* ►■ H * * * * 1 I * J 5TLfifiA>J — -SL'iULLZ'-h-—*7 C ^ C V 47 u, j it ii h vna ou * 3 3 0 :*i-o i +c i 3^m *iC ">h^ • «Mjj*fuJar 1 r a J h l J J U J J >iii t:'yito w i » i w »f'■ r» « rVMn'Si«. *• -i >i ••rTJis ^ • *•h «-x ■—— ••v,viO_iG.Q.usrjh'm?"r:fM^ - -»i»* »• —1 w >* . m m s —. - E E *h- o _ a i - _ * h - a t h - 3 I>JT J r- r * t— -i£ rf x.rt of £/.v c£«J—*—■ - - —‘ c£ *-i “ II“ II ilii - . — — 3- , + Z j- x.v— *#2Ma;Mho |l 3 tL O O j“. C m -f CCjCj C '/'L O C ir □ O C w C H J.tL UL *t * 4C>i.U*U. U.to to a. lL|lit|LU.3ii, • M W H I J H H Q J j Q l t O ' J ’I M H H H M M ^ U MHUUHQONUHNHU^'l^CflU n C / t f O h N •-* H r: •< e £ 3 o«-*cMn"i « * < n < a c o ^ o CD Q, QOOU OOQOOH o ON O aO M •t*r Ul «p u u o rgm-tifi-Or-rooO^fg r^'l^'Oh (V90*-J*f ^If inaii/'rtb' 'A 4/hL 4*JO?O0 o o o o : 'JOl ------3UOJOO------3J';a-- ZZ 222 Z 2 .V 22 2 22222222222222222222222 22222222222222 2222 (/1V«l/1 W i wO Vi t/j Vf i/iVl m hS'WrVil/) t/,VMv1l/ld) V) l/)Wj^V^I/1^|(/jl/1V^I/)t/|V)l/1dfUlVIVIVMi;»^V. bOvl^VlVJ V^^4V'iV%«1WrJi/)Vr*V0i/lUlU,}«/> H N H N M M m HNHH M HMHMMNHHHMHNHHHrtHHW«H«H MMHHHMHHHHH h MHHHMH z X s or rg• o Vo Z 2 o

I-* j k * < X X o c X r < k 2 v }■ H K X 2 u. z 2 * k Ur ,J H r> X 2 or o X c X m *— X k 2 X X X kH u i a X «—• HH * X k O k o UJ k r k H H o k II 2 K 1-4 o w x 2 § k •J s J h H y y o 2 o HH o crtr. 03 * : z u z fc h Ul CO HH z 3T U c o o -Jfli k k UJ 2 r v> df 2 HO j y HH UJ 0 2 X j * k k X H •t * !_■ i—« -J J UJ o X H o x y k -J k ur — < • x z ec k M >• XX V f*i* X > o h M k I < or x k H o 2 k X o r a UJ y y < m oc k OX X “ IL k z ► HH X HH k S-^ o > 2 X U i O u m k k CD u * HH k cc NZ l_> H * y _J o k X id *p *-*ac o H H u 2 2 < k n k * m k k V) o tna. » HH z vi < — X XJ o HH cc NH o *x x - t o 2 k UJ X r » X • k u. *-*x x H H O X 2 k k — t X CD z cn c u. I - . I. 2 X HH X o o KX c X OH m y n r >* Ul o X o o k k z k © w | J o y z O H 1 Ui ■*-» *• x < oc X «0 H U I • y h o 1/) X k < x < k r» 2 1 r-g a. X < Vi » x 2 k X a N, 3 m k - 1 2 UJ UJ X k- k X e c 2 V o o X o — IL » X Ul o — * k UJ k o u X Hk J V > o o CD k H— O l - C L > 2 o u r ^ * KJ - X o O rJ — z ►H k ►H > 2 0 X 1 Ui UJ « Cl IL pj • ► X V) k * o H •* v» k □ < A kf- a x o DC -JO UJ H u. o k k— 2 Z llj u k o x HH HH u. k o N X - J — k k s* X « 2 < 1 2 2 UJ X H< t - z ► 1 JU Ul X IN _ < H c k H z > - 41 — > k X 2 U j —H z hJ hh u X H4 k Q - > * -Juj Hh k UiV> o 2 k E* X X ><- k k VI o Pn| i-4 B) H4|« • m k o x » - ~ x a o -J > * o • » HH J Ul • LL'h L) k -j k«k% HH * 1— 0 2 • » -JO 5 ► H L K I/I x o oc -J * 2 0 X o 1 1 2 X K > n j j - 2 X 4 Z '< X M ^ — o — tM 0 2 ”!“> H kk ^ k i X < — > k k*H 71 UJ H U l V K ►O' k H H Hh h h < K tn h HHjjnnjH 5.1 _l ^ ftwz: D al KJ k U l J H 3 0 . ir 2 —f_11 — :: ii i oj x c u a «t J'k w o t o c j O ii ii ii hhhh ir rr o z Z - J ^ C u ^ X K O CD < CL T 1f o ii il m jjHtf jj z r o rg « * u x ».w H K ' t c x -ill ii O G u J t O J — *1 Q < a ii n c x y o u - z 3 JH.H *; ii U u a . z 4 < < ,tu JnGuj;' It UJoC u'lKHtfO^'JU.HHXZCGHiH *1 GMNXnOOJXOUX?iLfi(UJ V » M G y j q h Z ZHUi)?liHUJcC«U PH ^H PH * f- 2 0 a < o in o Z w i <> c tn fM OO* f* CO in c o f M O o o m CD nj fM h h O 2 H < U Ui

a. UJ o f M rt'tlft « k «i o O r g m g > * 0 r* co 0 ’o kH rg m ^ «n >4 K eo o O h4 m M n w k H *k U w *1/ O U-dM ; HHHHHHHHHH(\rgrjisjNNWNNf»mr)(0 n • a HH ( 3 o o c uc oooeocoooooodowooi; o ^oooo c. O o o Or 00000*3 ooouooo i* fM UJ C o ? • ; s j .: j *3 o s j:u3'jcg?Jooccjwoe 'Jm j c c c o jt^sooo:c c aoooo VI o ft 2 2 2 2 2 2 2222 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2PTZ2 2 z 2 2 t n UJ Ul Cl VI v i v i v i V »V i V i V f V3 V I Vt v i V, V | (/) V J V* h/1 l/J i/3 V • Vi VI V< VI W i V) v > s/> VI V i VI HH HM > 3 HH HH 1 I H * * 1 *...... H It <» Im HIH*** Ul □ K o UJ CL O 30 U m f H 0 m HHH HI H M II * Hi Hi HH M h h ►# Ml c < i*fun WWrti/nyi ».a Irt tat/1 (A l/ll/) »/» O m m ZZS2Z ZZ 1/1 r z s z #- z z z 2 2 _* 000 OOOO ?» O & o r O OO n m rj 003 0 0 3 0 0 O 0 00 O OO 0 ## 0 • Hh *# HHMHH O c c*o OO 0 2 ‘(H H©>U* ^IPKJHO -0 cn HO Cr N a m *0 n -4 M, -n Ml m O c. 0 z > n o n OO H La 2 N H M 1 •* ■ > O O r 0 1 H O kfi 10 1 1 H 012 O g» 1 i 1 O o> 17 w m *-1 1 I I m» I tnf*whjr\j ui'^ii— c X 01700x 30# oxxzmniTO 1 c t x I *-»n 1 clx« owyy'jLn 50m 10 *3*0 l nc»r"'7>ia—po7»w-**x;,:i«ic 7 o — 9HifUiW7:r,to*-*<71CV j CT'-'t^HL'-.rw-ic tj*-» t: v'cr 012 Ch^i Hr 11 m 1 roT»^030-rr.T^:c—*ro# *-.# nr# >htd > 3C*-4 X m X X I I > m *« OX!i*«'^^CDOI'/>C.# ( O L M j M K t * o "P-# z2 Ti< -■* ZZH'jJL-Cm^ ’/'iOX# t-ic OS c < VX>X<"M* 01 O—# 02 j6# — *hm.|\j*x;l H ri­ ff) JI7# 'T!JC;n>fO OH-t^Z TI —#— 0-4M*Tl^-»Ht.i*OH« * >m» o # 7Jn*37)CC00Cym'0 TOmiOJM# Urvj*#2 y t / S — O tAD^Ti * * >ZvJ» 7 3 V W O HHiC^-WH™ XiK- Am 0*17 co z ■ m—- # —-h l/M aJ0>^a*-*r> mo c o>o~«-wi»rr- r— H?u« x m ^ h u m x x zr-fi^wmw *-'*J« XT. 4 4 ' h /irr XQO h# I# >20 >oxoio«uai-«0 " C— x -j?z H— ®H*> — tv* I S O h H« tn.n# >*- >4 73 M ># Ml \ h z > o :ch O# X2 n— 30h-Mi# 1# <3L3 z - 3000 NOCX Q> H7 OhiflOZHC'.i _c* Ni O# ? r (flIZ OOOOHLrt 0330 flX«*fXHO1# y»H2 n — H« > —3U# 2 O >|»4 MMHO## '/i A;— n M- 30* ■* 2>0 * im o - L i ju# — LifOO 0*3 va * uiZ OTor 1/1ZX»Om* NV»HL< rn o * 9 m S nci» a# fni/ix n —H'nMZ * • HZ C.2 it) □ i i < z o H. O# >2 — 30 C.X# > n —t O' 4 « i* wiHTHZxni n vrr.pi O — C1 So? >230 ii o*is>r-xi; 4 jHCn H!> * HH >0 H3C 2 < L. J3^# 3 Xt* !>* # 2 2— Tl S> O 2 too -in Cl# < ”4 — LHXjC 30 QJ>« <• 0 mx« z# uj# 3ou.# ->J# 4 ► ■-H H # 3DH 230 xz mrw lhcd- t: ••soyir 2N 3D n o o O ■ONjO OOt-iOi n JOCH Om > O O HO 3D« JO i *c- m— 2 z* r 0 O.,1! 71i:H>«rOH o x XlflH # H OO 2 a H# Z> miH >L^»-Ni —* ZH* XX f» X O iA„3*n X« Ml >** m 30 V) WmC •<—Xro# 3DU> # x*n H X 5Fx 2 m m73r" 4 n ji> M H 70# *■ * H 0 r Hnm# At*# 0 > r 2C 171 mv»r Hi # QOHXQh J ^JbH JH 2 l/l H H m H 2*#IOi > ‘3Qi no O m 30# c n 23ot*jo-it-2 4 X r H ^■nui>-**„»m 0-4 4 l/k 3> O XI33 r m Xlo* c l — 3 ’rtX H r O* * # on rr. -e_—*rj# c_ 2H> X — # XX M l H t-rsjt- — c > r HZ XZ3 Tl # nci—s># mi# # r- h 3 yejoya H M* X — « — O/I'NJ or# 22 r->* m O > X* Ch— 3* X Om # XO V) a Z 2 VI30 X — X* Mi H ^ 0 JO Hi 70 xcntn 4 m jdllm*> •njox in Mi H H M l (/> “C v»>0 n * X# n n L i — c- *- •* «30 X« H 0 c mi uiu* uir* X* * XH3D 30 2 2 ^ M'/> — H X B O ul« > # M C*wX# — 0 > > * Z # H IM* M» t_ # r H X X W M 1 0 m m 2 H 0 ©• > • 2 H4 ia Vfl *n S z O 0 rj H • m 9 O 2 • H

T8I LEVEL 2 .1 ( JAN 75 > OS/360 FORTRAN H EXTENDED DATE 7 6 .1 5 4 /0 2 .C9.58 REQUESTED OPTIONS: 0PT=2 OPTIONS IN EFFECT: NAHE(MAIN) OPTIMIZED) LINFCnUNT(60) SIZE(MAX) AUTDDBL(NONE I SOURCr FFCDIC NOLIST NODICK OBJECT HAP NOFORMAT NQGQSTMT NOXREF NOALC NOANSF NOTERHINAL FI ISN 0002 SUBROUTINE NUMFRUFO,FA,fi,FF,U,F,A,V,X,KA,KB,B,D,S,G.Z,C,PY,LN,L, lP,M,XX,YY,ZZ,KK,LL,TESTt ISN IMPLICIT READ9 (A-H.O-Z) ISN COCA INTTGIR P ISN CGu5 DIMENSION FQ{ lN J , FA ( LNI , R (L 1 , FF (L) .U( P ) ,F(P ). A ( L,L) , V IL ),X( L. K K ) , IKA ID,K?(L)»BtP,L),niL),SIL),G(L),Z(L),C(L,Li,OY(L,L) ISN 0006 DIMENSION XX(LLI,YYILL),ZZ(LL) C NUMERICAL INTERPOLATION C SULrlU'JTINE TLA G, STIR, STIR ,SPLICON WRI T T E N BY PENNINGTON C AND MODIFIED DY OLU AYFNI ISN 10C7 LLK=c ISN u008 s u m u :..o o ISN $ UH7=u.D» ISN OrtlO St)MT=.T.CO ISN (.011 S U M 5=0.00 ISN C01 ? SliM5=C.L0 ISN GO 13 SUM6=G.D0 ISN 0G1A SUM7=l.r.O ISN 0015 SUMF=0.0 ISN 0016 SIJMNcfl. O ISN 0017 DO «-F7 11 = 1,LN ISN C01B LP=L-1 ISN CP 19 911 pn 505 1=1,LN ISN UOZC LLH=Ll M+1 MEAD R 11 ) ,FF(I I ISN 0021 F0(I)=YY(LLM) ISN C O 22 FA( I )=ZZ(LLK) ISN 3023 995 CONTINUE ISN C02A 10 FORMAT(FIO.3,1PXtFlO.3) ISN 0025 WRITE(6,30) ISN 6u26 30 FPOMATI>0*,A7X,’DATA SET •/• ' ,AAX»*UtI I’.SXt’F d ) * / * »,<,2X, ******* ISN O P 27 00 ?2 1=1,LN IS;, 3029 WRITE(6.31) F0(I),FA(I) ISN 10 29 32 CONTINUE ISN V<30 J = 1 ISN 0031 00 6fi 1=1.L C -- READ UID.FII I ISN 0032 R(I)=FO(J) I«N 0023 FF(I)=FA(J) ISN C03«. 68 J=J+3 ISN v,035 JJ=1 ISN CC36 JK=i ISN uO37 JJJ=2 ISN M . z B OCT 593 1 = 1, lB ISN 0039 U(JJ)=FO(JK) ISN C G a C F I J J )= F A (J K ) ISN COM JK=JK*1 ISN 00A2 U(JJJ)=FOIJK) ISN 00A3 f{JJJl=FA(JK| ISN 0GA4 JK=JK*2 ISN 00*5 JJ=JJ*2 ISN C0A6 583 JJJ=JJJ*2 182

j LEVEL 2.1 ( JAN 75 I NUMERI □ S /3 60 FORTRAN H EXTENDED DATE 7 6 .1 5 A /O 2 .OB.5 8 UN 00*7 31 FORMAT(• ',<.2X,F9.2,2X,"",2X,F12.3) ; ****** l a g k a n g i a n f o r m u l a h ISN uOAfi WRITE t6 >8) II lit; 00 A9 a FOkMATl'i'.SX.'LINE NO',13) ISN <■>(150 WRIT! 16,81) ISN CO 51 01 FORMAT! 'it*,50X,'RISULT OF PREDICTION BY LAGRAGIAN POLYNOMIAL* ) ISN 0052 IF(TEST.EO. 1.0).CALL TLAGCR,FF,U,F,L.P,STD) ISN l 056 SU“ ls5UMl+STD C *».*** DIVIDED DIFFERENCE ISN C055 w « m ( 6 , p ) i i ISN (•056 WRITE(6,e2) ISN (■067 82 FORMAT!*n*,50X,'RESULT OF PREDICTION BY DIVIDED DIFFERENCE') UN OC 68 DO 516 1=1,L ISN c359 515 AC 1, 1) = FF (11 ISN LG tO IFCIFST.FB. 2.0) CA l L DDIFU.A ,Ut F,L,P,STD) ISN T'n62 Su F * = S U ”.2 + STD C ****** SPLINE ISN 0063 W R I T E (6,B J II ISN Of 65 WK1TE16,G3) ISN OCeS 83 FORMAT!'P',*.0X»'RESULT OF PREDICTION BY SPLINE INTERPOLATION*) ISN 00 66 IFtTfcST.EO. 3.0) CALL SPLINE{«,FF,L,C,XINT,YItlT,U,F,P,STD,D,S,V,A, 1G, I ) ISN 0068 SUM3=SUW3*ST0 C ****** AIT-NEVILLE ISN 006 9 W R i r c tj),8r i i ISM G07C WKllf(6,PA) ISN CC71 85 FORMAT! '(j'.AOX,'RESULT OF PREDICTION BY AIT-NEVILLE FORMULAR'l ISN u072 H=R(?)-H(l) ISN 0073 X B E C = K ( 1) ISN 00 76 IMTEST,C3. 5.0) CALL AITNEVIR,FF,L,XBEG,U,F,P,STD,V,H) ISN UG76 SUK5= S'JMA+S TD C ****** STIRLING ISN CG77 WRITE(6,8) II ISN i*07B WRITE(6,6 5) ISN 0075 85 FORMAT!*i)',50X,'RESULT OF PREDICTION BY STIRLING FORMULAR*) ISN l.iOEO XCE G=R( 1) ISN (10 ei E RR=3.S ISN WCF? D X= R t 2) -R (1) ISN 008 3 ro S9 i = i,l ISN ■ 9t 5 99 fY(1.I)=FF(11 ISN OOPS CALL OIFTtB(R,OY.L) ISN 0 06 6 IF(TFST.E3. 5.01CALL STIR(FF,L,DY,XBEG,DX,XINT»ERR,YINT,R,U,F,P, 1STD.V) ISN 0088 SUM5=?UM5*ST0 c ****** NEWTON FORWARD DIFFERENCE ISN 1'0P9 WRITE 16,8) II . ISN 0u9 0 WRITE(6,86) ISN <•001 86 FORMAT!'O',60X,'RESULT OF PREDICTION BY NEWTON FORMULAR'l ISN uO 52 N=3 ISN CC63 X8EG=R( 1) ISN 00 05 D X = k ( 2 ) - R (1) ISN i” S5 . IFCTEST.EC.^6.0) CALL FNEW(VtL,XBEG,0X,N,XINT,YINTtR,FF,U,F,P,57D) ISN 0097 ISN (.098 WRI t I (6,201) ISN GG99 SUrt6=SUH9*STT I ****** EXACT POLYNOMIAL ISN 0100 WRITE (6 ,B ) II ISN 0101 WRIT £(6,67) l e v e l 2.1 I J A N 75 1 HUMERI 0S/360 FORTRAN H EXTENDED DATE 76.154/02.08.58 ISN CIO? 87 FORMAT!•0*(40Xt ’RESULT OF PREDICTION BY EXACT POLYNOMIAL*1 ISN C103 M=-c ISN > K 4 IF1 TEST.FQ.7.C) CALL EXACTIR,FF,A,B,X.KA,KB,U,F,V,L 1.1 Y v C I ISN (jK'6 S,>.7-SUM7*STD ISN O U T WHIT!. (6.200) ISN (■UP M=4 ISN O K 9 987 CONTINUE I FN Clio 201 Ffl.R .MAT I ’0',2X,' RESULTS FOR SINGLE DIMENSION MULTIQUADRIC * ISN Cl 11 200 FORMAT!*0*.2X »• RESULTS FOR SINGLE FOURIER*> ISN o n ? RMSl=SUMl/LN ISN Ill 15 KMS?=S«JM2/LN ISN Cl 14 RM S 3 = S U M 3 / l N ISN 0115 RMS4=:S:u:'.4/Lf. ISN Cl 16 R“ '5=S!J':S/LN ISN (.•117 R^SfisSUFF /LN ISN 0118 RMS7 = S'JM7/LN ISN 0119 RMF >' = SU'-,S/uN ISN 0120 ISN c m WRITEI6.61) RMS 1 IFN Cl 22 WRITE(6,62) RMS 2 ISN 0123 WKITt(6.6?) R*S3 ISN 0 1 2 4 WKI TE(6,64) RMS4 ISN 0125 KK1 IE (6,651 RMS 5 ISN 0126 HRITE(6,66) RMS6 ISN a 27 W K I T t (6 ,67) RMS 7 ISN 0128 WR1TF16,5 8) RMS 0 ISN •129 W n l T t (6 ,69) RVS4 ISN 0130 61 FORMAT!*C*,5X,* FINAL RMS FOR LAGRANGIAN s*,F19.6) ISN 0131 62 FORMAT! 'O', *>X»* FINAL RMS FOR DIVIDED DIFF =*,F1°.6) ISN 0132 63 FORMATI*0*.5X,‘FINAL PH5 FOR SPLINE =*,F19.6) ISN 0133 64 FORMAT!*0',5X,'FINAL RMS FOR ATT-NEVILLE =*,F19.6) ISN Cl 34 65 FORMAT! 'C-',5X,* FINAL RMS FOR STIRLING =*,F19.6) ISN ul 55 66 FORMAT!*C*,SX,'FINAL RMS FOR NEWTON =',F19.6I ISN 0136 67 FORMAT! ")*,6X,'FINAL KMS FOR EXACT POLY =*,FI9.6) ISN 0 137 58 FORMAT!'0*,5X,‘FINAL RMS FOR S-FOURIER =*,F19.6) ISN 0158 69 FORMAT! *0 * ,5X, 'FINAL RKS FOR 1-D MQRT =*,F19.6) ISN 0139 886 STOP ISN 0140 END 184 LEVEL 2 .1 ( JAN 75 ) 0 S /3 6 0 FORTRAN H EXTS'JOEO DATE 76.154/02.09.38 REQUESTED OPTIONS: 0PT=2 OPTIONS IN EFFECT: NANFI MAIN I (1PTIMIZM?) LINPCDUNT (601 SIZF(MAX) 4UT0DBL(NONF) SOURCE F5CD1C NO Ll 5. T MHDECK CBJECT MAP NOFPRMAT NDCOSTMT NOXREF NQALC HOANSF NOTERHINAL F ISN t.002' SURRD'JTINt PATCH(XtY,Z,A,G,CCC,FXStV,GXX,KAt!

X O' o2L

1AX IAX IN fM O'X N. N s V toft to« 0 “ -r X w • to > - O' o to M to to IL E d X to X a • to ► II ii — < ■ X £ n ' X «■* > to* * M to » o M to • to X X X CJP- ■ > r I A 0\ j: *• to » IN IN X X U. to a:x rsi M to L J U J tf\ o h - » • to to -«tvt m \ s o.x H\ \ UJ m O •o o: * V. v x » < • C i U to Z X h i o tfO' L.O H to to to 4 H jnr 4H u UJ x a e — ZU. o>*J*sa? >U* M M X V I * t o J » M M O * ► to — *■ z HO H U J t o O* II H II T - * >J * d X X M M (j -I-I J a! ii * * H X ) < r to • V a ► c O-O-J —1/> Z * V I - o X X I to H r . H ae m m h 3 X J U I M u X I N — — > u o — *1/1 M IL 7C M » - C * to to c - X * ■ O x««u* ~;n rj^ *>■ X* > to d > Q m I L o Z C i * *4 O -J?H UtfC ► X * Cl ♦ t* * X * * X to »«toWto4 M t - x x>; jH*« h t h K X U H 4 X XX r - X X — — — X-f XIXC «— » L U t O l T i <\*o ** * • • 4MAIA *2 * —» ^ *-»;* £ * M J-lftto Z * X X X *£ t o - M l N » a U N (V *4 lu a “?oo O . — INI fc ♦ ^ -1 •Z * H M to to < C 1 — ® u . X J w f » to *M T'J-IUj'.U Z h - * X>Nrt- HO u>« M * - L L ® * M M » X > H - A C — h * - * w z \KN* - * 1 2 • « • NXM- X V M M 2*0 Z h M L i i J HO II II m K > M h i l n h O Q • a > a C * t t j o ixzr xrr* i XVM DNiUwfl ► - o o o t o * a x n x > m < 71 + + ♦ t u o LU -IQ. .1 • » 2LMO* XX »• h 4J~ o H r>HTM 'C‘-JDC'0«* M M M M £ L3— ^ >7“ M t7lLM — 7 J < lU OOG'O—m ♦ II II ll -hli ^h.* «fu. ♦ — i*c ^ •— h — + ii ii ii z x n c — h < VO ^H-O *1+ Zh-O a*i.*I *OUJ»X- .J II Jf> S.-J-J Mj,_J 4-0 < UK ** II ZX c II It Ui< • N M H H h l * jDh-J-JyC-;:-j ii ,i i w ii ii nh*r; ry.iix -j M ■trt.O'tX. ii mhm m oc x jO *I *i j ii H.'f j>*..«-.Mii -j jj _j,jd.M>::^ ii j^’-ii Ji f m i O H j i H H3 .YLihXh CO M— ~ — UiC** II U t X J . a c; < cl tDiroo*JJi * u o m -j ii au, j ii or.ui- ta a O DZU.lLU.lL II O^h 1200.1*2 HK)l^^lL- Jx:4aQOX>MXJXUMj^^>Nvl^iL •U-WZm m m m X 0>00jt1i. *tOU4 ii AJ II •r •t 0“ MM OH CO IN O M m h O' cn Mr- 4 0 O o HO H O' O

in m •* »n 4> r* oo o m rMn^^i^r-coff o minm-* tft'OH® J>O4-r;vi«wj‘tOH®0'OfNM*i,.n«Gr-<0i> OMPjrniAHO1 M rvrWm4> f-® 4444444 4^^ lAtnov.T.nuwi.A »► <►•£ O'vJj'4 - 3 ^ ^ r-h-h-r'i'^J’-r-f'-h-f'-ccaJcugjujixou®® 0*0-0 O'J O'? *» O O w O O O'J CQCOCOOCOO ocoo-.i uc ^ a oo iooooocrooac ouoc oouo^ooooo OO&Q i’i CO h m m m m m m m uo;ojoocoj oCw.rf- ‘ jcoc ;:oooo3Quojcjuocoouojocuoc OJOOOOJwOw2OO OO zrezzzzzzz Z^2JS2 .r?*iZ r^Z.!ZZZ27222Z22Z^ZZi2i!2^Zi:z z z zr.zzzz zzzzz zz tm/ttni/iuitAw’ttn i^t/j lQw>fc.rLSltOvlUiVO^I (/J*/) V^VH/IVl t/|M# WOtO MMMmmmMmmm MMMMrHMMMM mmmmmmmmmmmmmmmmmmmmmmmmmmmm M M M M ^ h M M M M M M M M m m LEVEL 2 .1 ( JAN 75 ) 0 S /3 6 0 FflRTRAN H EXTENDED DATF 7 6 .1 5 6 /0 2 .0 9 .6 8 REQUESTED OPTIONS: 0PT=2 OPTIPNS IN EFFECT: NAHFIM a IN) OPTIMIZED) LINECOUNT 160) SIZE(MAX) AUTOPAL(NONE) SOURCE EBCDIC NO s. I ST NODECK OBJECT HAP NOFORMAT NOGOSTHT N7XRSF NOALC NOANSF NOTERHINAL FI ISN CCC? SI.'R knuT INE uCKT(XD>YDtZn,XtYtZ|AiCtBtNfNNTD ,XX ,YY,ZZ,LLL,KKK, KK) ISN •-0J3 IMPLICIT REAL»6 (A-H,C1-Z) ISN 0GC6 KCAL*6 XX,YY,ZZ ISN >»rti'>5 PIMINSION XPIN] ,YD(N),ZD(N).XINN>,YINN),Z(NN»,A(N,N1,C(N),8(NN,H) ISN OCC-6 0 16;N T I Qr; Dl N ,N I, XX (LLL.KKK J , YY (LLL,KKK t , ZZ ILLL.KKK I C -- REAP XXtl,J),YY(IJ,),ZZII,J) ISN CCC7 12 c o n t i n u e ISN coca 13 FPRVATI3FI0.3) C MUT =HUTI3UADRIC REPRESENTATION OF TOPOGRAPHY ISN CCL9 SC'«=0.0 ISN Cj uIO Nrtl=N-l ISN -Oil STKMI N=699V060V9.0 ISN u012 DC 2 J=11NH1 ISN .111 13 E=XDIJ) ISN C 0 1 6 F=Yt'( J) ISN UG13 NI=J+I ISN CCI6 DU 3 I=HI,N ISN iC17 . A(J,I)= (E-XPI II )**2* ISN 0061 CALL VERSOLIA,C,N) L>r ISN 0062 DO 11 I=1,H ISN 0063 C( I )=O.C ISN C066 DO 11 J=1,N ISN .065 n c(U=cin+A(i,j)«zD{j] ISN 0066 VK=G.G ISN 0067 VPV =0.0 ISN Ou6B D O 101 1 = 1, H ISN 0 0 6 9 S U M =0.0 ISN GO 50 DO IOC J=1,N ISN 0051 109 SUM-SUM-»0 (I ,J t*C[ J) 188

N O s in*

r-

< *■ o y£wc

Ui Q X U > Cl X 7t — *■» or< < •? cf X O u.O O » « I r^l v- .*■* .. rs| —• < C•O * — V i£ * n >- ♦ ~ v:

X • o X * < •<* c. H O VI m z z- —•I oe — "> vi ^« O.Z >z lu • afr^j ►-■ o ujift > * J p ** - • # VI tfH ♦> ►- 3 uj * a. u H—» X ► —* oj - u . i r a i n of « > * f U j i — « X " > m #. 2 > cr i * * o ^ » ac # m ► a: — «n ~ t — >-zzh — - 2 => m «»-» x i n uj fc > *i * — • » »q£ h " * *•*■» i/> in co *■ —> •-i/i't j* ^ t - t & i i i^icc box O"* C i t v i •O .LO ^ « H *•-« IJ ll«SI*t - • II II + L J-^U J+ tn VINLLJ h V i > lusO r?r * p7.3-.M iQ 11 o— c ♦ o.ac*— l;a: -I uj^ujx — hC * • 32 - * A <*—H ir.n ^ r t Z ? >ifUj*-i »i mii < ► * 0 0 “>-u*t tcocC v.M N O iiaiofM H O ) a£ U > ll ^-J-i kl *r-> w *1 *T 11 n> m > - ii > 11 —-i— It It -1 -0 V-)J I|H-I»XII> 7_ ^ .^Ul Ii U ild -l!C < J If 4* HiLL-Xmi.TC;*!— Of J£a03Q P C ^X a^9£O O ^«klJZ Q f>>x^L»uj3:«r>i« »»«iafoo>ov>q v )u u c » x j u , o - i x u o & uj •M H k/> f- O Of- O 090 H H f* M CO 7T O ■rf “ >

tMnwrn^Jf'-H.O'o—*iMrn in r-co^'Or^^ristnHjp-euij-o^nJf^i'J’kn^f-cocj'O^r^ H CD •£ ^ {/vh(fc^hPh^(sl^^hlCCt.tliJla: J)Oj(UU '• 000 c^ :ouo'jo5c 0 j - 0 tnj.; o: ,‘o o - o c u o o : o c o c ( o c jo im osjrc'ioooioJ o 7 c o j j .' 3Cw'j'>":co^oo>5 3o^oooo

-J Z22722222222 Z .t?ZZ22/?ZZZ2ZZZZZZ22222Z22 LU V.UiL iciV IV IbiV ll/lui^1/} V) W<>VJVI(/1t/)viVf^lV)ulViW^iv|VtViVlLlVlVi wmhmmmhhhhmm m hhnhmhhhhnhmhh N h h h h n H h h h HH ISN 0002 SUilknilTINF TEP0(X,cnRR,MFA*JS,STDEV,C,CC.n,Y,TX,T Y,TZ,Z,V,LA,L8,LC. 1NA, X'lnPM, YNrRrt, ZN(IRM,N*IN j I SN C0C3 IMPLICIT HEAL*8 ( A-Hfo-ZJ ISN GO 04 RF«L*K S,Q,Y,CMtwKEC,VMAX,SS(jRS,rt,Z,FR,eF,nEN,RES,CORR,VMIH, ISIDEV.F ,7,FAC,Sin,X.PS:.WAR ,F’JOF,PROP, SUNK, SEHUW,MEANS ISN 0005 R1AL*P l,S,XUAX,YuAX,f*I ISN C0C6 INTEGER TITLE ,C C*CH,nPTinM,RPIN,PROUT,C tCC,CEGP,30nl ISN - . 0 - 1 7 DIMENSION TITLE tQI,ITkANS15 I,JTRANS11 ) ISN OuC8 OII'.ENSICM X (LA] ,GORKI LA, LA ) ,M EAMS(L A ),S T D E V ( L A ),CILA) ,CC t LA I , B ( LA ) I,YIl E,LA],Z(LC),V(LA),TX(,6t0) TITLE,CN,CM,OPTION ISN 0013 WKI1((6,6R0] TITLE,CN,CM ISN 0 014 RfAD(S»67G| G ISN ■3015 R£AD(5,E90) ITRANS ISN UOJt Or 091 LXK*1,KMN ISN 0017 C!'=LA ISN Cold CNsNA ISN CC 19 E8 CONTINUE ISN 00 20 10 F U K M A T [ 3F 1 0 .3 1 ISN f e n m ' J N T = 0 ISN CO 2 7 • 133 11*1 ISN On? 3 IKnuNT=IROUNT*l ISN 0024 HP0E*2 ISN 002 5 Xl'AX=13.0 ISN CC26 YHAX=13.G ISN •'077 PI=3.IAl

9 JF SCALE AND ORIGIN OF COORDINATE SYSTEM ARE TO BE CHANGED, ISN Go 50 ZI21 = X<2) ISN CC5J Z (3) = XC3I ISN CG52 SUMK =• SUMH +1. ISN 0C53 IF{ MODE .SO. 31 K=2 ISN 0055 IF(KODE.EC.4> K=Z ISN 0057 I FI MODE.FQ.3) GO TO 2003 ISN 0059 IFIH0DE.EQ.4] GO TO 2C04 ISN c o n i;-(MOPE.EQ.?l GO TO 2000 * ,4 \ * * # » , • « « « , ( « t 4 1 i ISN L9G3 RETURN ISN U9C4 * END 190

Z *# * # X > >* > • ♦ u> >- * Ui X •» o X a - ♦ >- » X X *-i>- CO * z >■ o CO * c * * CL *mQ. TM- cr, * X ui fr < -J *N2 03 • * *■ o » » ar •— to # u CL X • CO * H * X X *y COO. L to • Cl o » V% 4 »■ X J^ toff # c X • cn u »X IL-Z to* t LL or O' O X * X •> *>- » CO* # CL X2 ->*r V. * * E U 5? a **— CO* « Q * i r UJ in • * -j—h- u* * * * z o * X,T •a 1- CO* # * (£ M in IT. » a jiu CO * * * ► * u< -j— * V 4 * «f »- ► X « x « to #■ * «* * V*. * inxcL tn» * X ca X ► > K < cr *-0 co ■ * * <7 X o* LUlL O-* * to* * * c X - I •• * *ra to* * * o < V) LrtQ — *“0 to* * » Co COLL -£U w ton J * * M < o * ►-JC0 * < » « o o Z—CO * *-* * * o. X u □ xo W.MUJ « s: « * X *■ X X • X4 *— « o * * * X LU OIL X k«2 * z * • X X >- to » o —s:— * >• * * fst K *■ u X u U C * Z * 4 t -J » in LU to X ►« X * » — »a x 6 c * z X u. UJ u) i r r . j ► * a * U i » » * u< | a. * «-p VhH a. < 3C u i - •!/» «< >UJ ►< J**«U Vi'J- 3- >-tt. •• o u. V r U < » X U i Q < — — 3 IT c S/h UX a • m x j CL * - v M » O * a X ►- * —— VCLj Li,Ui • IX UL , < f - • *03 u r a va.ou.nv- *-► * QC> ► K * * con Ut * ——X -J l V UC CJ x - X H ► < u >* K < (L F= ►JQ2X * *'DV< • M f* xnj < X •1 * * > x o j «n ►—X —?THVHl LU.fi iA O u u *■ C J » “ - j - ' * X LL ! KJ lU K — V- V*% C i U UJ or II — w w w « £ *-W0 » LU *■ *-H*(VQ UJCOC U.CJ- **-<• O — « I-* • POpi/i-a — 3U'Ju:tfil«a JV Jl'IC C O H Z I-h -Hrr-t-t OO •f^, lw) •wot0t<3T: LAlSlZ.H — h- o » N o ^ j r jc v *«m n m -Mru*?N^<.*-*z3 > n h 3 •Of' Lu *t • < H * II JU:'jj---O VCh ?* rvjrv 11 V—-*►-^ T t'O h -J —l*Mirs«J * *4 -*L U || II r - I— 3. I _7J_J II -J -l-JO. -iOhiU^XQ. tR *1K 3, Kl-u- V ^ 2 0 .!.:? .1 ;2 II U -JO. «v O — *C h j'^ N J ll H J it i i i i * ( > : ' c t * -* o c • -irt: _lO -J -J-7 *• J r Z C n t f O Q ^Hw. »>h • f-n o d i i o n .-miLecrici»*no>**a;o't*-' O 4 > a. J C II CTC3I jC 4 M « |« (< 0 < D Q l * y O N 4 i i g N g u u (rtNMHL.U—Ov)*4 Mfvn • J II m n> II jII i^VtJZZO JJ ? LLO:riLUlULJ»**MLJ UWCJCOXiUCOUJ -j r x ? J o o m n ii M Z in** in nvnii u o •t'O cr- ii M 03 CIS O' £ mco UDUUO^O U

N mg-iA Of-djo* 3—rvjn0^|,a>-or*oc&'0 #4fS|rt4 LA-O f-tCC7 C «-*0 r^ru rvn,-^mcnr *3 piioif.n on <1*J ’■J'4-4'*** .r O COO cooo^cococococo oooo oo a o o -o c oo-^ooo OOOOOCoo soo oju';o;o:i«', 3C 30 ;oo z ?:!2 zzzzzzzzz^zzzzz zzzz zz zzzzzz zzzzzz 2Z22Zz;C2 CO UIV4CO yii/]wiCjviv«V)vrv)C)^viV)vlcJ Lit*COV» com tii/O viU>w‘»v> to v»m c/i cO vt to v. w • to cri (/) cl c/j N4 MMH H — 1 <1 1 H M hhm hhh h h h h hh h m LEVEL 2 .1 ( JAN 75 1 D S/360 FORTRAN H EXTFNDEO DATE 76.154/02.II.22 REQUESTED OPTIONS: 0PT=2 OPTIONS IN EFFECT: NAME CHAIN) O P T I M U M 2) LTNFCO'JNT (60) SIZEIMAX) AUTflDBL INtlNE) SOUHCf EBCDIC NOLIST NOOECK OBJECT MAP NOFORMAT NflGOSTHT NOXREF NOALC NC1ANSF NOTERMINAL F ISN A042 SUBROUTINE GRAFICIX,Y,Z,NR,NC.LL,A> ISN H0.>3 IMPLICIT REAL*8 (A-H,0-Z) ISN u{H*4 RIA l *4 CTVL,SL,HCL ISN 01^5 REAL»4 X,Y,Z,XX,YY,ZZ»XXX.YYY ISN uCC6 DIMENSION X INR.NC >. Y(NR,NC) , Z|NR,NCJ,A[LL ) ISN "‘O'-7 F.!r*=l ISN CODE GKAF=2.:, ISN 0009 IFICPAF.EC.l.lCALL GFCRI [•( A, LL*LK,NK»NOH) ISN CO 11 CAL L FACTOR t.41 C NK= NO OF FfjRS C NC = NO tlF COLUMNS C CTVL 3 cnrjTnjR interval C NLC= LAOL l EVEkY NLC-TH CONTOUR C IF ZERO OR NEGATIVE NO LABEL C NPL3 NO OF DECIMAL POINT IN LABEL C HCL3 HFIC-HT OF CHARACTER LABEL IN INCHES ANP MULTIPLES OF .007 C SL= SOUARE OF MINIMUM DISTANCE BETWEEN LABEL ISN GO 12 CTVL=2.5 ISN roi3 N LC =2 ISN 0014 NPL 3) ISN 0015 N tC=5 ISN DC 16 K C L = . 14 U N 0017 SL31 ISN 'K'IE CALL AXISIZl.O,-1.0,'Y-AXIS',6,16.0,90.,0.0,1.0,1.1 ISN OG 19 CAL L AXIS! -2. -1 .0, ' Y-AX IS ' , 6, 16.0,90. ,f .0 ,1 .4,1.) ISN U02O CALL AX IS(-?.n,-1.0,'X-AXIS*,6,23.0,CO.,0.0,1.0,1.) ISN 0021 CALL AX IS(-2.0,15.0,'X-AXIS*,6,25.0,00.,o.n,l,0,1.J ISN 0022 CALL SYM90LI-2.,-2.,.50,'FIGURE 2-5: HAP OF COW #50: WITH CONTOUR 1 SH O O T H E N I N G ',C . C , 52 J ISN 0 023 CALL SYMBOL(3,,-3., .25,'CONTOUR INTERVAL=2 .5C.M HAP SCALE= 11:5 ',0.0,451 ISN 0024 C A L L SY^'JOL 103. ,-4. ,. 2 5 , 'FRESH DATE = 7-02-73 ■ ,0.0, 201 ISN 0025 CALL SYMBOL(3.,-5., .25,'CURRFNT DATE = 02-01-74*,0.0,23) ISN 00 26 CALL SYMBOLIC*.,-6.0,.25,'CARTOGRAPHIC REPRESENTATION ON THE CALCO IMP PLOTTER ',0.0,741 ISN 0 0 2 7 CALL 'Y.MEOL (03. ,-7.o,.25,'PROJECT SUPERVISOR: DR. SANJIB GHOSH 1 OPERATOR 0*J WILD A7: CLU. AYENI • ,0.0,74) c p lo t the o u t l in e o f the n w # 50 ISN 0028 KnK=C ISN 0029 10 READ! 5, 20) XX , YY ,ZZ ISN C020 20 FORMAT( 3F10.31 ISN 0031 KKK=KKK+1 ISN no;-2 XXX=(59 18 .1 lTino-xx 1*.5D0 +.507D0 ISN C O 23 YYY=(YY -5999•108DO)*.499Rl9212DO +.012D0 ISN 00 34 WRITE(6,771 XX , YY, ZZ.KKK ISN 0025 77 FOk HATI *F10.4,I 51 ISN 0036 IF(K,2U I F (KKK. E'J.55) G O TO 25 ISN 0C40 IF(KKK.rO.72 1 GO TO 25 ISN 0042 IF(KKK.E0.9G 1 GO TO 55 ISN 0 0 4 4 CALL PLOT(XXX»YYY,2) ISN 0045 G O TO 10 ISN C046 25 CALL PL0T(XXX,YYY,3) LEVEL 2 .1 ( JAN 75 ) GRAFIC 0S/360 FORTRAN H EXTENDED ISN 00 47 GO TO 10 ISN 0048 55 CALL PLOT(XXX,YYY t-2) Lr CALL PLOT FCR RECTANGULAR ENCLOSURE OF THE COW ISN 0049 35 CALL PwOK-2.0,-1 .0,31 ISN COSO C A L L PLOT(—2»Gt15.0,2) ISN 0051 CALL PLOT (2] 15. CT? 1 ISN 00 52 CALL PLOT(21.C,-1.0,21 I SN 0053 CALL PLOT I —2.'1, -1 .0 ,2} ISN 00 54 CALL PLOT l~7.it, -1 .0,3 ) C N BEGIN CONTOUR PLOT IN SIDE THE COW ISN 0055 DO 7 1=1,NR ISN CG56 DO 7 J=1,NC „ , ISN }■> 57 RFAD(5,70) XI I,J!,Y(I,J>,Z(I,J) ISN 00 58 70 FORMAT( 3F10.3) ISN 00 59 7 CCNTINUE ISN 00 to CALL LNTUR1 (X,Y,Z,NR,NC,CTVL,NLC,ND i.,HCLt SL) ISN OP 61 CALL PL0T(0L.0,C.0,-3) ISN CO 62 RETURN ISN 4063 END

SOME SAMPLE OUTPUTS FOR COW #50 CLAS ATOSAP

GRADIENT = 3.714, CURVATURE = STATISTICAL MULTIVARIATE CLASSIFICATION RESULTANT DIR. COSINE MEAN = .411, VAR = .914 HARMONIC VECTOR MAGNITUDE = 0.318 OF TERRAIN FOR D M T VECTOR STRENGTH = 0.384 SUMMARY OF 2ITERATION ECTOR DISPERSION = 1.613 NO. OF BREAKLINES = 0.0 1 2 BUMP FREQ. = 13.435 SUBS tT 1 I S-l 1 1 2 S-9 1 1 3 S —2 I 1 SUBSET 2 4 S-3 2 2 5 S-4 2 ? SUBSET 3 6 S-5 3 3 7 S-6 3 3 SUBS tT A e s - i 4 4 o s-6 4 4 THIS TERRAIN BELONGS TO CLASS 1 BIBLIOGRAPHY 193

BIBLIOGRAPHY

1 . Jiwalai, W. "Digital Terrain Models: Numberical Investigations on Regular Point Grids". M.Sc. Thesis ITC, Enschede, 1972.

2. El-Ghazali, M.S.A. "Performance Investigation of Progessive Sampling for Digital Terrain Models by Computer Simulation." M.Sc. Thesis, ITC, Enschede, 1974.

3. Markarovic, B. "Progressive Sampling for Digital Terrain Models." ITC, Journal 1973-3.

4. Leberl, F. "Interpolation in Square Grid DTM", ITC Journal, 1973-5.

5. Miller, C.L. and Laflamme R.A., "The Digital Terrain-Theory and Appli­ cation". Photogrammetric Engineerying Vol. 24, No. 3, 1958.

6. Kratky, V. "Digital Modeling of limbs in Orthopedics". Photogrammetric Engineering Vol. 41, No. 6 , 1975.

7. Takasaki, H. "Simultaneous All-round measurements of a living Body by Moire Topography", Photogrammetric Engineering, Vol. 41, No. 12, Dec. 1975.

8. Wong, K.W. "Mathematical formulation and Digital Analysis in Close- range Photogrammetry." Photogrammetric Engineering, Vol. 41, No. 5, 1975.

9. Leberl, F. "Photogrammetric Interpolation". Photogrammetric Engineering, Vol 41, No. 5, 1975.

10. Goulet, D.V.: Cuzzi, J.R.; and Herron, R.E.; " A Parametric Description of the Human Body Using Biostereometrics *74 Symposium, Commission V, ISP, Washington, D.C. 1974.

11. Duncan, J.P.; Fort, J.; and Mair, S.G.; "The Replication of limbs and Anatomical Surfaces by Machining from Photogrammetric Data", Pro­ ceedings of the Biostereometrics' '74 Symposium, Commission V, ISP, Washington, D.C. 1974.

12. Lippert, F.G.; Hussain, M.; and Veress, S.A. "The Application of Photo- grammetry to 3-Dimensional studies upon the Muscular-skeletal System" Proceedings of the Biostereometrics '74 Symposium, Commisio'n V, ISP, Washington, D.C., 1974. 194

] 3. Karara, H.M.; "Aortic Heart Value Geometry", Photogrammetric Engineering, Vol. 40, No. 12, 1974.

14. Linkwitz, K. "Digital Terrain Models Translation of paper publi­ shed in "Bildmessing and Luftbilwessen’", No. 1/1970.

15. Silar, F. "Die Interpolation der Hflher auf dem Digitalen Gel^nde Modelle in Beziehung zu der klassification der GelHndeflHchen und zu der und Zerlegun der Knoten-punkte". Conference on working group IV/1, ISP, Bratislava, 1969,

16. Sima, J. "Analysis of some existing DTM Systems", Conference of Working Group IV/1, ISP, Brastislava, 1969.

17. Blaschke, W. and Ternryd, C. "Digital Terrain Model - A presenta­ tion of the practical Application of some Existing DTM's". Intercommissional Working Group IV/V, ISP, 1968.

18. Benner, E. and Schult, R. "Report on Digital Terrain Model"; Presented paper at Xllth International Congress of Photo- grammetry Commission IV, Ottawa, Canada, 1972.

19. Nakamura, H. "On Digital Terrain Models:, Presented Paper XI International Congress of Photogrammetry, Lausanne, Switzer­ land, 1968.

20. Blaschke, W. "Problems in Obatining and Processing of Photo­ grammetric Data for Digital Terrain Models". Invited Paper, XI International Congress of Photogrammetry Inter-Commission Working Group V/IV, Lausanne, 1968.

21. Preston, F.W. and Harbough, S. "algol Programs and Geological Application for Single and Double Fourier Series Using IBM 7090.7094 Computers." Special Distribution Publication No. 24, State Geological Survey. The University of Kansas, Lawrence, 1965.

22. Hardy, R. "Multiquadratic Equations of Topography". Journal of Geophysical Research, Vol. 76, No. 8 , 1971.

23. Das, A.C.- "Two dimensional systematic sampling and the Associated Stratified and Random Sampling." Sankhya, Vol. 10, 1950.

24. Quenouille, M.H. "Problems in Plane Sampling", American Association of Mathematical Statistics, Vol. 20, 1949. 25. Whitten, T. "Fortran IV CDC 6400 Computer Program to analyze sub­ surface fold Geometry." Computer Contribution 25 Kansas State Geological Survey, 1968. 195

26. Hubson, R.D. Fortran IV programs to determine surface Roughness to Topography for CED 3400 Computer; Kansas Geological Survey Computer Contribution #14, 1967.

27. Loudon, T.V. "Use of Eigenvectors methods in describing surfaces". Computer Application in Earth Sciences Colloquium on Trend Analysis, Computer Contribution #12, Kansas State Geological Survey, 1967.

28. Jenkins, G. and Watts, DVC. "Spectral Analysis and Its Applications." (Holden Day, San Francisco, 1968)

29. Rozema, Weley J. "The use of spectal analysis in describing luner surface roughness". Geological Survey Research f69.

30. Holley, M.A. "Topographic Eigen-vector Analysis". Downey, California, 1966.

31. Ghosh, S. and Pswald, J.L. "Calibration of a close-range system." Presented Paper XII International Congress of Photogrametry", Commission V, 1972.

32. Krumbein, W.C. "The General Linear Model in Map Preparation and Analysis" Computer Applications in the Earths Sciences; Colloquium on Trend Analysis, Computer Contribution #12, 1967.

33. Masry, S.E. and Faig, W. "Utilization of the Analytical Plotter in close-range photogrammetric systems ISP Commission V, 1975.

34. Schut, G.H. "Two Interpolation Methods". Photogrammetric Engineering, Vol. X 2 , No. 12, 1974

35. Stone, R.O. and Dugundju J. "A Study of Micro Relief." Engineering Geology, Vol. I, No. 2, 1965.

36. Doornkamp, J.C.; King, C.A.M. "Numerical Analysis In Geomorphology" . Edward Arnold, 1971.

37. Lee, L.P. "The Nomenclature and Classification of Map Projection." Empire Survey Review, Vol. 7, 1944.

38. Jenkins, G.M. and Watts, D.C. "Spectal Analysis and its Application." [Holden Day, San Francisco], 1968/ 39. Tobler, W.R. "A Digital Terrain Library." Technical Report University of Michigan. [Under Contract with U.S. Army Research Office, Durham], 1968.

40. Rayner, J.H. "Correlation Between Surfaces by Spectral Methods." Kansas Computer Contribution #12. Kansas State Geological Survey, 1967. 196 41. Rayner, J.H. "An Introduction to Spectral Analysis." (Pion, London) 1971.

42. Rayner, J.H. and McCalder, H., "Programs ofr Two Dimensional Spectral and Cross Spectral Analysis." Papers Department of Geography, Ohio State University, 1971.

43. Fedorou, V.V., "Theory of Optimal Experiments." 1972. Academic Press Inc. (New York) 1972.

44. Jancaitic, J.E. and Jenkins, J.L. "Modeling Irregular Surfaces." Photogrammetric Engineering, Vol. 39, 1973.

45. Bradenberger, A.J. "Deformation of Power Dams." Photogrammetric Engineering, Vol XL, No. 9, 1974.

46. Pierson, W.J., "The Directional Spectrum of a Wind Generated Sea as Determined from Date Obtained by the Stereo Wave Observatism Project." Metereological Papers, N.Y. University, Vol. 2, No. 6 , 1960.

47. Blackman, R. B. and Tukey, J.W. "The Measurement of Power Spectra from the Point of View of Communication Engineering." (Dover, 1959).

48. Tukey, J.W. "An Introduction to the Measurement of Power Spectral." Probability and Statistics, U. Grenander, editor (Wiley, 1959).

49. Anderson, J.W., "An Introduction to Multivariate Statistical Ana­ lysis." John Wiley, New York 1958.

50. Demirmen F. "Multivariate Procedures and Fortran IV Program for Evaluation and Improvement of Classifications." Computer Con­ tribution #31, State Geological Survey, University of Kansas, Lawrence 1969.

51. Ayeni, 0.0. "Computer-Assisted Close-Range Photogrammetric Mapping of Cows." M.Sc. Thesis (1975) The Ohio State University.

52. Pennington, R.H. Introduction to Computer Methods and Numerical Analysis., R.H. Pennington (Macmillan, 1965).

53. Arden, B., Arskill K. "Numerical Algorithms: Origins and Applica­ tions. "

54. Watson, Phillipson, and Oates, "Numerical Analysis" (Elsevier Publishing Co. Inc. 1969).

55. Kuo, S.S. "Computer Application of Numberical Methods." (Addison-Wesley) 1972. 197

56. Gosh, S.K. and Ayeni, 0.0. "Procedures for a Computer Asslted Mapping with Close-Range Photogrammetry.11 ASP/ISP Symposium on Close-Range Photogrammetry, Illinois, U.S.A., August 1975.

57. Ayeni, 0.0. "Differential Mapping and Digital Terrain Modeling." Address presented to the Ohio Cahper of ASP, November 1975.

58. McCormick, J., Salvadorl, M., "Numerical Methods in Fortran." (Prentice Hall, Inc. 1964)

59. Berry, B., Marble, D. "Spatial Analysis." .Prentice Hall Inc., 1968.

60. Moritz, H. "Stepwise and Sequential Collocation." Report No. 203, 1973, Department of Geodetic Science, 0SU.

61. Anderson, T.W. "An Introduction to Multivariate Statistical Analysis." John Wiley and Sons, Inc., New York, 1958.

62. Meisch, A.T. and Connor J.J. "Stepwise Regression and Nonpolynomial Models in Trend Analysis." Cansas Geological Survey Computer Program, The University of Kansas, Lawrence, 1968.

63. Morrison, J.L. "A Link Between Cartographic Theory and Mapping Practices; The Nearest Neighbor Statistic." Geographical Review, Vol. 69, 1970.

64. Preston, F.W. and Harbough, J.W. "Balgol Programs and Geologic Application for Single and Double Fourier SEries Using IBM 7090/7094 Computers." Special Publication #24. State Geological Survey, The University of Kansas, Lawrence, 1965.

65. Tolstou, G.P. "Fourier SEries." Prentice Hall, Inc. New Jersey, 1962.

66. Cochran, W.G. "Relative Accuracy of Systematic and Stratifed Random Samples for a Certain Class of Populations Annals of Mathematical Statistics, Vol. 17, 1946.

67. Gould, P.R. "On the Geographical Interpretation of Eigenvalues." Institute of British Geographers, Vol. 42, 1967.

68. Friedman, H.P. and Rubin, J., "One Invariant Criteria for Grouping Data." American Statistical Association Journal, Vol. 62, 1967.

69. Draper, H.R. and smith, H. "Applied Regression Analysis." J. Wiley and Sons, 1966. 198

70. SASO Manual. A User's Guide to the Statistical analysis System by Jolayne Service Department of Statistics, North Carolina State University, 1972.

71. American Society of Photogrammetry, "Manual of Photogrammetry," Third Edition, 1968.

72. Andrews, D.F. "Plot of High-Dimensional Data." Biometrics, 28, March, 1972.

73. Brinks, J.S., R.T. Clark, N.M. Kieffer and Urick. "Predictions of Wholesale Cuts of Beef from Linear Measurements Obtainged by Photogrammetry." Animal Science Journal, Vol. 23, 1964.

74. Dixon, W.J. and F.J. Massey. "Introduction to Statistical Analysis." McGraw-Hill Book Company, Third Edition, 1969.

75. Ghosh, Sanjlb K. "Theory of Stereophotogrammetry." Edwards Brothers, Inc., Second Edition, 1972.

76. Ghosh, Sanjib K. and Wicha Jiwalai. "Genetic Relations from Photo­ grammetry," Proceedings of the Fall Convention ASP, October 1973.

77. Ghosh, Sanjib K. "Volume Determination with an Electron Microscope." Photogrammetric Engineering, February, 1971.

78. Hartley, H.O. "The Maximum F-Ratio as a Short-Cut Test for Hetero­ geneity fo Variances." Biometrika, 37, December, 1950.

79. Hou, C.Y. and S.A. Veress. "Determination of Surface Area and Volume of a Specimen by Photogrammetry." A.S.P. Symposium on Close-Range-Photogrammetry, Urbana, Illinois, January, 1971.

80. Khefets, B.S. "Some Problems in Determining the Volume of Bodies. Bounded by Topographic Surfaces." Goeodesy and Aerophotography, No. 5, 1966.

81. Leydolph, W.R. "Stereo Photogrammetry in Animal Husbandry." Photo­ grammetric Engineering, Vol. 20, 1954.

82. Oswald, J.L. "A Close-Range System Calibration." Report No. 164, Goeodesy Science Department, The Ohio State University, 1971.

83. Pope, A. "Some Pitfalls to be Avoided in the Iterative Adjustment of Non-Linear Problems." Proceedings of the Annual Meeting, A.S.P., March 1972. 199

84. Snedecor, G.W. "Statistical Methods." Fourth Edition, Iowa State College Press, Ames, Iowa, 1946.

85. Uotila, U.A. "Introduction to Adjustment Computations with Matrices." Unpublished Lecture Notes, Department of Geodetic Science, The Ohio State University, Columbus, Ohio 1967.

86. Whitten, E.H.T., 1969, "Composite Trends in a Granite: Variation and Ghost Stratigraphy in Part of the Donegal Granite" Journal of Geophysical Research, Vol. 64, No. 7, 1959.

87. Allen, P. and Krumbein, W.C. "Secondary Trend Components in the Top Ashdown Pebble Bed: A Case History." Journal of Geology, Vol. 70,- No. 5, 1962.

88. Connor J. and Miesch, A.J., 1964, "Application of Trend Analysis to Geochemical Prospecting Data from Beaver Country, Utah." Stanford University Publ., Geological Science, Vol. 9, No. 1, 1964.

89. Efroymson, M.A. "Multiple Regression Analysis," in Ralston A. and Wilf, H.S. eds. Mathematical Methods for Digital Computers. John Wiley and Sons, New York, 1960.

90. Rampal, K. "Interpolation and Filtering in Photogrammetry," Ph.D. Disseration, OSU, 1975.

91. Neter, J. and Wasserman, W. "Applied Statistical Models." Irwin Inc., 1974.

92. Gentlemen, W.N. and Sande, G., 1966, "Fast Fourier Transforms - For Fun and Profit." American Federation of Information Processing Societies Proceedings of the Fall Computer Conference, 1966.

93. Gopfert, W. "A Numerical Method for Surface Analysis." Special Topics in Geology, Iowa State University, February, 1975.

94. Moritz, H. "Advanced Least-Squares Methods." Reports of the Department of Geodetic Science, Reprot No. 175, 1972.

95. Pfalltz, J.L. "Representation of Geographical Surfaces Within a Computer." In "Display and Analysis of Statistical Data." NATO Advanced Study Institute Proceedings, Ed. by J.C. Davis and M.J. McCullough, Wiley 1975.

96. Durbin J. and Watson G.S. "Testing for Serial Correlation in Least Squares Regression II," Biometrika, Vol. 38 (1951).