Method for displaying intervisibility data

Abstract: A method for presenting intervisibility data relative to an observation point (O). A data base of terrain altitudes (Z) is stored in a computer memory. The data base comprises terrain altitudes (Z) at a grid of points in a selected terrestrial area encompassing the observation point (O). Visible height from the observation point (O) at the grid points (J, I) are derived from the data base with a computer by performing a number of steps grid point (J, I) by grid point (J, I+1) in succession in an order moving away from the observation point (O). The first step is to determine a projected height at the grid point (J, I) from the visible heights between the obser­ vation point (O) and the grid point (J, I). The second step is to compare the projected height (ZP) with the terrain altitude (Z) at the grid point (J, I). The third step is to select as the visible height at the grid point (J, I) the larger of the compared terrain altitude (Z) and the projected height (ZP). A number representative of the visible height at each grid point (J, I) as so derived with a computer is stored in the computer memory. The computer memory is coupled to a visual display device to present the stored representations of the visible height in spatial relationship coordinated with the spatial relationship of the grid points (J, I) of the terrestrial area. The visible height data is derived by use of the similar triangles theorem, and interpolation of previously calculated visible heights.

Description: This invention relates to a method for deriving and/or presenting intervisibility data relative to an observation point including the step of storing in a computer memory a data base of terrain altitudes at a grid of points, according to the preamble of claim 1. A method of the afore-mentioned kind is known from US-A-4 583 185. There are commercially available data bases of digitally stored terrain altitudes at grid points in terrestrial areas. Typically, such a data base comprises terrain altitudes in a square area of land mass of one degree latitude and one degree longitude, which is of the order of 100 km, and the grid points are spaced three arc seconds apart, which is of the order of magnitude of 100 meters. One use of a terrain altitude data base is to determine intervisibility, i.e., whether a specified point on the surface of the earth is visible from an observation point, or if not, the height above the specified point that is visible from the observation point. There are presently computer algorithms for calculating intervisibility, i.e., line-of-sight between two points. These algorithms require complicated interpolation of the terrain altitude data base, essentially random access to the data base stored in computer memory, and a large number of calculations to develop intervisibility data relative to an observation point. The larger the terrestrial area under study the greater is the processing time required to make the intervisibility data available for visual display. There are a number of uses for a visual display of intervisibility data, including artillery placement, short-range air defense, ground surveillance and threat avoidance. These uses become more appealing and varied as the time and computer complexity required to produce the data decreases. US 4,583,185 discloses an (angular) ray processing technique for real-time computer simulation of visual images of perspective scenes. It does not relate to the generation of representations of visible heights. FR-A-2 321 725 deals with the determination of hidden areas in a terrain. For this purpose, the lower end of an observation line is directed along the surface profile in the direction of increasing x values; an increasing angle of the observation line, with reference to boresight, indicates that there is a hidden area. FR-A-2 524 177 uses a similar approach, namely increasing or decreasing of an angle as an indicator of hidden or visible areas. EP-A-100 097 relates to an interpolation technique for producing a correct projection of an object on a screen. According to the present invention, a method for deriving and/or presenting intervisibility data of the kind referred to above is characterized by the following features: determining an intermediate terrain point where a line from the observation point to the grid point crosses a line between the two closest intervening grid points; determining the visible height at the intermediate point by interpolation of the visible heights at the closest intervening grid points based on the distance of the intermediate terrain point therefrom; and determining the projected height at the grid point by similar triangles, one triangle defined by the observation point, the intermediate point and the visible height at the intermediate point and the other triangle defined by the observation point, the grid point and the projected height being determined. The invention is a method for deriving/presenting intervisibility data relative to an observation point on or above the terrain. A data base of terrain altitudes is stored in computer memory. The data base comprises terrain altitudes at a grid of points in a selected terrestrial area encompassing the observation point. Visible heights from the observation point at the grid points are derived from the data base with a computer by performing a number of steps grid point by grid point in succession in an order moving away from the observation point. The first step is to determine a projected height at the grid point from the visible heights between the observation point and the grid point. The second step is to compare the projected height with the terrain altitude at the grid point. The third step is select as the visible height at the grid point the larger of the compared terrain altitude and the projected height. A number representative of the visible height at each grid point as so derived with the computer is stored in computer memory. Preferably, the stored number is the difference between the visible height and the terrain altitude, which is known as the masking depth. The computer memory is coupled to a visual display device to present a representation of the stored number in spatial relationship coordinated with the spatial relationship of the grid points of the terrestrial area. By deriving the numbers representative of visible height grid point by grid point in succession in an order moving away from the observation point, computer memory can be accessed in an ordered fashion to retrieve terrain altitude data and store numbers representative of visible height data and the calculations to derive the visible height data can be simplified by building upon the previously calculated visible height data. The visible height data is derived by use of the similar triangles theorem, i.e. similar triangles have proportional sides, and interpolation of previously calculated visible heights. Specifially, an intermediate terrain point is determined where a line from the observation point to the grid point in question crosses a line between the two closest intervening grid points. The visible height at the intermediate point is determined by interpolation of the visible heights at the closest intervening grid points based on the distance of the intermediate terrain point therefrom. The projected height at the grid point in question is then determined by similar triangles -- one triangle is defined by the observation point, the intermediate point and the visible height at the intermediate point and the other triangle is defined by the observation point, the grid point in question and the projected height. In this way, the projected height is determined without use of trigonometric relationship or other complex calculations. The features of specific embodiments of the best mode contemplated of carrying out the invention are illustrated in the drawings, in which: Fig. 1 is a diagram of grid points in a given terrestrial area encompassing an observation point; Fig. 2 is a diagram of part of the grid of Fig. 1 showing a line of sight from the observation point to a grid point at which the visible height is to be derived; Fig. 3 is a diagram of an enlargement of part of Fig. 2; Fig. 4 is a diagram of a horizontal plane triangle defined by the observation point, the grid point of the visible height being derived and one coordinate component of such grid point; Fig. 5 is a diagram of a vertical plane triangle defined by the observation point, the projected height and the grid point of the visible height being derived; and Fig. 6 is a pseudocode diagram in program design language of a computer program for deriving the visible heights at the grid points. In Fig. 1, a selected terrestrial area is represented as a grid of points in a rectangular coordinate system having an I axis and a J axis. There are n columns of grid points along the I axis and m rows of grid points along the J axis for a total of m times n grid points. In a typical example, the distance between grid points is 100 meters, n is 1000, m is 1000 and there are a total of 1,000,000 grid points. For each grid point, a corresponding terrain altitude, referenced, for example, to sea level, is stored in computer memory in digital form. To facilitate access to computer memory, the terrain altitudes corresponding to adjacent grid points are preferably stored in adjacent cells of computer memory. In other words, the terrain altitudes are stored in columns and rows in computer memory corresponding to the columns and rows of grid points represented in Fig. 1. For purposes of simplification, the observation point O relative to which intervisibility is to be determined is the origin of the coordinate system. In Fig. 2, a line-of-sight 10 from observation point O to a grid point (J,I) in row J and column I of the grid defines the visible height to be derived. The visible heights from observation point O are calculated grid point by grid point in succession in an order moving away from observation point 0. Preferably, the visible heights are calculated column by column moving away from observation point O; within each column the visible heights are generated grid point by grid point moving up the column in order from the I axis. A number representative of each visible height is stored in computer memory. Preferably, the stored number is the difference between the visible height and the terrain altitude, i.e., the masking depth, which is the minimum height above the terrain at the grid point in question at which an object, for example, a low-flying airplane would become visible from observation point O. The numbers representative of the visible heights calculated in the described order are also stored in computer memory in the same order, so as to facilitate access to the visible height data, i.e., the visible height data for successive grid points are stored in successive cells of computer memory so the order of storage in memory corresponds to the physical ordering of the grid points in the selected terrestrial area. This minimizes any shifting of data in and out of the working memory, which is a time-consuming process. In Fig. 3 the closest intervening grid points to the grid point in question (J,I), i.e., the gid point at which the visible height is being calculated, are grid points (J,I-1) and grid point (J-1,I-1). Line-of-sight 10 crosses an imaginary line between grid point (J,I-1) and grid point (J-1,I-1) at an intermediate terrain point X spaced from data point (J,I-1) by a distance Δy. In order to determine the visible height at the grid point in question, the visible height at intermediate terrain point X is first determined by interpolation of the already determined visible heights at grid point (J,I-1) and grid point (J-1,I-1). From the theorem of similar triangles, the following equation is derived: J I = J-Δy I-1 By interpolation, the following equation is derived for the visible height at the intermediate point X: Z = Δy Z(J-1,I-1) + (1-Δy) Z(J,I-1), where Z(J-1,I-1) is the visible height at grid point (J-1,I-1) and Z(J,I-1) is the visible height at grid point (J,I-1). By substitution, the following equation for the height at the intermediate point X is derived from equations (1) and (2): Z = J I Z J-1,I-1 +( I-J I ) Z J,I-1 Fig. 4 illustrates two similar triangles defined by line-of-sight 10 in the terrestrial, i.e., horizontal plane. One triangle is defined by observation point 0, the grid point in question and the intersection of the column in question with the I axis. The other triangle is formed by observation point 0, intermediate terrain point X and the point where the previous column intersects the I axis. The distance along line-of-sight 10 from observation point O to intermediate terrain point X is designated r and the distance along the observation point from intermediate terrain point X to the grid point in question is designated Δ r . From the similar triangles theorem, the following equation is derived: r + Δr r = I I-1 Figs. 1 to 4 all represent horizontal plane diagrams. Fig. 5 is a diagram in the vertical plane that represents two similar triangles. The terrain altitude of observation point O is Z 0 . One triangle is defined by observation point O, the grid point in question and the projected height ZP at the grid point in question along line-of-sight 10. The other triangle is defined by observation point O, the visible height at intermediate terrain point X derived by interpolation according to equation (3), and intermediate terrain point X. From the theorem of similar triangles, the following equation is derived: ZP-Z 0 Z -Z 0 = r + Δr r By substitution, the following equation is derived from equations (4) and (5): ZP = 1 I-1 [- Z 0 + J Z (J-I,I-1) + (I-J) Z(J,I-1) ] The projected height ZP at the grid point in question is compared with the terrain altitude at the grid point in question. The larger of the two is selected as the visible height at the grid point in question. A number representative of the visible height is stored in computer memory in the cell corresponding to the grid point in question. Preferably, this number is the difference between the visible height and the terrain altitude, i.e., the masking depth. But it could also be the visible height per se or some other quantity derived therefrom. In the described manner, the visible height is derived for each grid point in the selected terrestrial area, grid point by grid point in succession in an order moving away from observation point O. It is preferable from the point of view of accuracy of the calculations only to use equation (6) to generate the visible height values for grid points for which the line-of-sight forms less than a 45° angle with the I axis. For grid points for which the line-of-sight forms an angle of less than 45° with the J axis, the following equation is preferably used to derive the visible height data: ZP = 1 J-1 [ -Z 0 + I Z(J-I,I-1) + (J-I) Z(J-1,I) ] Computer memory may be coupled to a visible display device, which presents a visual representation of the stored visible heights in spatial relationship coordinated with the spatial relationship of the grid points of the selected terrestrial area. The representation of the visible height data can take various forms. For example, different shades of gray can represent different values of visible height -- white for a visible height equal to the terrain altitude (i.e., the terrain being visible at the grid point in question from the observation point) and increasing shades of gray for increasingly larger visible heights with respect to observation point 0. In one preferred embodiment, the visible height data is displayed in terms of masking depth, which is the visible height minus the terrain altitude. In physical terms, this represents the minimum height above the terrain at the grid point in question at which an object, for example, a low flying airplane would become visible from observation point O. Another representation could be binary in nature - black for terrain data points that are visible from observation point O and white for terrain points that are not visible from observation point O. Yet another representation could be in terms of color bands -- for example, terrain areas having a masking depth of 60 meters or less could be represented by the color green, terrain areas having a masking depth between 60 and 150 meters could be represented by the color yellow, and terrain areas having a masking depth greater than 150 meters could be represented by black. Further, the representation of the visible height data could be superimposed upon a shaded relief map of the selected terrestrial area or other data displays pertaining thereto. As used herein the term "computer memory" refers to any memory device accessible by a computer, not necessarily computer memory that is physically part of the computer itself performing the calculations. The invention is designed to be implemented with a computer and is particularly well suited for implementation with a microcomputer such as an APPLE or IBM personal computer. Fig. 6 is a diagram of a program in program design language for deriving visible height data in accordance with the principles of the invention. The described embodiment of the invention is only considered to be preferred and illustrative of the inventive concept. Various and numerous other arrangements may be devised by one skilled in the art. For example, instead of being at the ground surface, the observation point could be above the ground surface in which case the invention could serve to enable a pilot to determine terrain areas from which he is visible and thus vulnerable to attack. Instead of being arranged in a rectangular coordinate system the grid points could be arranged in a different coordinate system such as a polar coordinate system.

Claims: Method for deriving intervisibility data relative to an observation point (O) comprising the steps of (1.1) storing in a computer memory a data base of terrain altitudes (Z) at a grid of points (J,I), in a selected terrestrial area encompassing the observation point (O); (1.2) deriving visible heights from the data base with a computer from the observation point (O) at the grid point (J,I) by performing grid point (J,I) by grid point (J,I+1) in succession in an order moving away from the observation point (O) the steps of: (1.2.1) determining from the visible heights between the observation point (O) and the grid point (J,I) a projected height (ZP) at the grid point (J,I); (1.2.2) comparing the projected height (ZP) with the terrain altitude (Z) at the grid point (J,I); and (1.2.3) selecting as a visible height at the grid point (J,I) the larger of the compared terrain altitude (Z) and projected height (ZP); (1.3) storing representations of the visible heights in the computer memory, characterized by the further steps of: determining an intermediate terrain point (X) where a line (10) from the observation point (O) to the grid point (J,I) crosses a line between the two closest intervening grid points (J,I-1; J-1,I-1) ; determining the visible height at the intermediate point (X) by interpolation of the visible heights at the closest intervening grid points (J,I-1; J-1, I-1) based on the distance (Δy) of the intermediate terrain point (X) therefrom; and determining the projected height (ZP) at the grid point (J,I) by similar triangles, one triangle defined by the observation point (O), the intermediate point (X) and the visible height at the intermediate point (X) and the other triangle defined by the observation point (O), the grid point (J,I) and the projected height (ZP) being determined. Method according to claim 1, characterized by the additional step of coupling the computer memory to a visual display device to present the stored representations in spatial relationship coordinated with the spatial relationship of the grid points (J,I) of the terrestrial area. Method according to claim 1 or 2, characterized in that the representation of the visible height of each grid point (J,I) stored in the computer memory is a number equal to the difference between the visible height and the terrain altitude (Z) at such grid point (J,I). Method according to any of the preceding claims, characterized in that the computer memory is organized into cells arranged according to an order and the visual heights are stored in the cells of the computer memory in an order corresponding to the physical ordering of the grid points (J,I) in the terrestrial area. Method according to claim 4, characterized in that the visible heights are stored at adjacent grid points (J-1,I;J,1) in the selected terrestrial area in adjacent cells of the computer memory. Method according to claim 5, characterized in that the step of storing the data base in the computer memory comprises storing terrain altitudes (Z) at adjacent grid points (J-1,I;J,I) in the selected terrestrial area in adjacent cells. Method according to any of the preceding claims, characterized in that the grid points (J,I) are arranged in rows (m) and columns (n) defining a rectangular coordinate system and the deriving step derives the visible heights in an order moving away from the observation point (O) column (n) by column (n+1) and within a column (n) successively from the closest data point to the observation point (O) to the furthest data point from the observation point (O). Method according to any of claims 1 to 6, characterized in that the grid points (J,I) are arranged in rows (m) and columns (n) defining a rectangular coordinate system and the deriving step derives the visible heights in an order moving away from the observation point (O) row (m) by row (m+1) and within a row (m) successively from the closest data point to the observation point (O) to the furthest data point from the observation point (O). Method according to claims 7 or 8, characterized in that the deriving step derives visible heights moving away from the observation point (O) column (n) by column (n+1) for grid points (J,I) the line-of-sight (10) of which forms an angle of about less than 45° with the axis parallel to the rows (m). Method according to any of claims 7 to 9, characterized in that the deriving step derives visible heights moving away from the observation point (O) row (m) by row (m+1) for grid points (J,I) the line-of-sight (10) of which forms an angle of about less than 45° with the axis parallel to the columns (n).

Inventors: DENLINGER ROBERT M, HUSS RONALD E, DENLINGER, ROBERT M., HUSS, RONALD E.
Applicants: HUGHES AIRCRAFT CO, HUGHES AIRCRAFT COMPANY
Application year: 1989
Main classification: G06T15
IPC codes: G09B9, G06T17, G06T15, G01C11