TRENDFORM GRIDDING METHOD USING DISTANCE TRANSFORMATIONS

Abstract: A method for incorporating high quality geologic interpretations (A, B, C, D, E) onto computer generated contours (10, 20, 30, 40). The method starts with a trendform grid on which characteristics of geological formations are superimposed. Contours of such characteristics with respect to the trendform grid are generated using a distance transformation.

Description: APPLICAΗON FOR PATENT TITLE: TRENDFORM GRIDDING METHOD USING DISTANCE TRANSFORMATIONS BACKGROUND OF THE INVENTION 1. FIELD OF THE INVENΗQN This invention relates generally to a new method for incorporating high quality geologic interpretations into contouring programs. More specifically, this invention relates to a method of constructing digital, grid-based models ofthe earth covering two or three dimensional space. Other fields of use for this invention include any scientific field which requires the generation of two dimensional or three dimensional grid-based computer models from data which is not already gridded. Possible fields of application include weather forecasting, atmospheric studies, oceanography, medical imaging and bio-medical modeling. The principals of Trendform Gridding can be used directly in those fields as it is used in the embodiment described herewith. 2. nFSCRTPTTON F THF. PRTO ART A. DISTANCE TRANSFORMATIONS Distance transformation methods have been used for over fifteen years in the computer science fields of image processing and robotics. The prior art illustrates a 2-dimensional raster image including pixels which correspond to features and pixels which do not correspond. For convenience, the feature pixels are assigned a value of 0, and the non-feature pixels are assigned a very large number. A distance transformation converts this image into an image where all non- feature pixels are assigned the distance to the closest feature pixel, according to some method or "metric". Metrics vary between applications. Standard metrics include the Manhattan metric, the Euclidean metric and approximations to the Euclidean metric. Figures 2a and 2b show a prior method where an approximate Euclidean distance transformation is applied to a small image with two embedded feature pixels. Figure 2a shows an image prior to transformation with two embedded feature pixels represented by 0's. All non-feature pixels are initialized with the value 100. Figure 2b shows all ofthe non-feature pixels having distance values rounded to the second decimal. Computing the exact Euclidean distance transformation at each non-feature pixel on a large image is computationally expensive. At each pixel a search for the closest feature pixel is required. Computationally less expensive distance transformations approximate the Euclidean metric by passing a local pixel operator over an image twice. The first pass, the forward pass, is from left to right and top to bottom. On the second pass, the backward pass, a mirror image of the first pass operator is moved over the image from right to left and from bottom to top. The accuracy ofthe distance transformation produced by local operations is dependent on the number of pixels in the operator mask and the complexity ofthe calculations performed at each pixel. Figures 3a and 3b show a five pixel distance transformation mask proposed by P.E. Danielsson in a publication, 1980, Euclidean Distance Mapping, Computer Graphics and Image Processing, Vol. 14., pp. 227-248. In both figures the target pixel is labeled d(0,0), which represents the current estimate ofthe distance transformation value for that pixel. Similarly, d(-l,l), d(0,l), d(l,l) and d(-l,0) represent current estimates ofthe distance transformation values for four neighboring pixels at the offset vectors indicated by the subscripts. On the forward pass (Fig. 3a), which moves from left to right and from top to bottom (indicated by the arrows), when the operator is moved to a new target pixel, the value stored at d(0,0) is replaced by: min ( (d(0,0), d(-l,l) + C(-l,l), d(0,l) + C(0,l), d(l,l) , + C(1,1), d(-l,0) + C(-l,0)), where C(ij) is an application specific approximation of the distance from d(ij) to d(0,0). On the backward pass a symmetric operator is applied and the value stored at d(0,0) is replaced by: min (d(0,0), d(-l,-l) + C(-l,-l), d(0,-l) + C(0,-1), d(l,-l) + C(l,-1), d(l,0) + C(1,0)). Different values have been proposed for C(i j) depending on the distance metric used and whether distances can be approximated using integers. Borgefors in a publication, 1986, Distance Transformations In Digital Images, Computer Vision, Graphics and Image Processing, Vol. 34, pp. 344-378, showed that by using real numbers for distances, the maximum error in the final image is minimized by using the following values of C(ij): C(-1,0) = C(1,0) = C(0,1) = C (0,-1) = 0.95509, and C(l,l) = C(-l,-l) = C(l,-1) = C(-l,l) = 1.36930. With these values, the maximum deviation between approximate distance transformation values and the true Euclidean distance is always less than 5%. In the remainder of this specification all references to the use of distance transformations will mean the use ofthe 5 pixel masks shown in Figure 3a and 3b and the Borgefors' C(i j) values, unless the use of other values are specifically discussed. Once a distance transformation has been performed, it is possible to determine the feature pixel nearest to any non-feature pixel. The closest feature pixel is obtained by a recursive method. For example, starting with a pixel for which the nearest feature is needed, values of i and j are picked which minimize min (C(i j) + D(i j)). That neighbor pixel becomes the new target pixel. This recursive process must terminate at a feature pixel, which is the feature pixel closest to the non-feature pixel in question - give or take a 5% error tolerance. The back-tracking method not only identifies the nearest non-feature pixel, but also finds the pixel-based path to follow to get to that feature. B. DISTANCE TRANSFORMATIONS LN TERRAIN NAVIGATION Distance transformations have been applied in fields outside image processing and robotics including pattern recognition and terrain navigation . K.L. Clarkson described such an application in 1987 in a paper Approximation Algorithms for Shortest Path Motion Planning, Proc. 19 Ann. ACM Symp Theory Computers, pp. 56-65. Distance transformations have been adapted to select paths for vehicles, people, or robots around obstacles. They have also been used for navigation or path planning over terrain. In terrain navigation applications the terrain is divided in non- overlapping regions. Each region has a cost for movement through it. J.S.B. Mitchell describes such technique in a 1988 paper, An Algorithmic Approach tn Solve Problems in Terrain Navigation, Artificial Intelligence, Vol. 37, pp. 171-201. To apply distance transformations to the terrain navigation problem requires only a small amount of added complexity. First, the C(ij)'s become general cost factors such as time, instead of distance. Second, the values ofthe C(ij) are made a function ofthe terrain at the operator position. Pixels which are difficult to travel through have large costs associated with them. In a simple navigation problem the pixel costs might be proportional to the slope of the terrain. In a military application, open terrain subject to enemy observation might have an additional cost factor associated with it. With spatially varying movement costs, more than one forward and one backward pass of a local distance transformation operator is required to achieve convergence of values at all non- feature pixels. But once convergence is obtained it is still possible to trace optimal paths back to a starting feature using the recursive technique described above. However, in this case the optimal paths may be convoluted, bending to avoid regions with, large C(i, j), or to pass through regions with particularly low C(i, j). C. DISTANCE TRANSFORMATION IN RASTER-BASED GEOGRAPHICAL INFORMATION SYSTEMS Distance transformations have also been incorporated in raster-based Geographical Information Systems (GIS) where they are used under the name of least cost or minimal cost path planning. Two papers have been published which describe such use. The first by D.H. Douglas, 1994, Least-Cost Path in GIS Using An Accumulated Cost Surface and Slnpelines, Cartographica, Vol. 31 , No. 3, pp. 37-51. The second is by J. Xu and R.G. Lanthrop, 1994, Improving Cost-Path Tracing in _ Roster Data Format, Computers and Geosciences, Vol. 20, No. 10, pp. 1455-1465. D. MOVING WEIGHTED AVERAGE GRIDDING BASED ON THE DISTANCE TRANSFORMATION PARADIGM The most straightforward use of distance transformations in computer contouring is an application to a standard gridding program for moving weighted averaging . Such use is described by J.D. Davis in a book, Statistics and Data Analysis in Genlngy, 1986, John Wiley & Sons, New York. Such program inteφolates z- values at grid nodes by averaging a local sample ofthe input data. Most moving weighted averaging programs are "grid node-based". At each node a search is limited to data values within a user specified search radius of the grid node. To obtain a good sample of data searches are often performed in "search octants" around the grid node, and an attempt is made to pick at least one nearby data point in each octant. Figure 4 shows such prior art data search strategy, which is discussed in more detail in a book by T.A. Jones, et al., Contouring Geologic Surfaces with the Computer. 1986, Van Nostrand Reinhold, New York. The current target grid node is at the center ofthe search circle. The radius ofthe circle is the user specified distance to search for data. There are three octants with 2 data values in them and two octants with 1 data value. Three octants have 0 data in them. After data is collected, the node value is computed by the formula, φt) r where the summation is over nearby data values within the search radius, Di is the distance from the grid node to the data value with index i, and the exponent r is a positive number greater than or equal to 1. In most applications r is set equal to 2, and that value is used in the examples below. Some moving weighted average gridding implementations invert the grid-based implementation and produce a "data-based" method implemented in a computer program. The program is initialized with computer memory allocated to hold two copies ofthe grid. These grids are called GI and G2. Both grids are initialized by setting all nodes to 0. For each data point the distance to all grid nodes is determined within a user specified search radius ofthe data point. At each such node, the sums which make up the numerator in equation (1) are accumulated in GI and the sums which make up the denominator are accumulated in G2. This process is repeated until all the data is sampled. Then grid GI is divided by grid G2 on a node by node basis. Data-based implementations of moving weighted average gridding can be created easily using a distance transformation. For each data value a third grid G3 is initialized with a value of 0 at the node nearest the data point, and large numbers everywhere else. A distance transformation is performed on G3. The grid G3 now has the necessary distances required to update the grids GI and G2. This step is repeated until all data values have been processed. Again the grid G2 is divided by the grid GI on a node by node basis. Figure 5 shows a contour map as a result of applying distance weighted average gridding of water saturation data using a distance transformation. The data used in this example is from a small artificial data set developed by a geologist to provide realistic tests for new company products, such as new gridding programs. The artificial data includes structure picks for the top of a unit, and water saturation data for the unit. Water saturation contours are shown as color filled contours in shades of gray. Overlaid on the water saturation results are structural contours from the horizon above the unit to which the water saturation values apply. Arrows indicate parts ofthe map which emphasize the tendency of moving weighted average gridding to produce a rounded feature. Because the map of Figure 5 is nothing more than a non-standard implementation of moving weighted average gridding, water saturation features shown on the map are rounded. ^ DRTFCTS OF THF. T VFNTION Weighted least squares and moving weighted gridding methods have been used in the computer science fields of GIS and earth modeling for at least 20 years to create mathematical models of a two dimensional surface or a three dimensional volume. Distance transformations under any name have not been used previously in gridding methods. A major unresolved deficiency in GIS and earth modeling methods has been an inability to implement practical 2D or 3D digital, surface or earth modeling methods which honor local or continuously varying biases or anisotropy. Methods which have previously been suggested for achieving this goal involve complex data partitioning, data or model editing, and/or multiple step methods. These methods are almost never used in practical applications, because they are so complex. A primary object ofthe invention is to provide practical 2D or 3D digital, surface or earth modeling methods which honor local or continuously varying biases in anisotropy. A more fundamental object is to provide a simple, intuitive, and practical method for GIS and earth modeling. SUMMARY OF THE INVENTION This invention presents a method, implemented in a contouring program, which uses a new paradigm to provide a robust solution to the problem of imposing geologic interpretations onto contour maps. The new method depends on an image processing method called a "distance transformation". Computer contouring typically involves a two-step process. In the first step, a digital model is created by interpolation from irregularly spaced data which is provided in the form of (x, , y, z,) triples. Data z- values are assumed to be a function of x and y. Usually the digital model is a two dimensional array of inteφolated z- values called a grid. In the second contouring step contours are traced through the grid-based model. The words "computer contouring" can encompass both phases, or just the first phase. The term "gridding" always means the first phase. An operation repeated over and over in standard gridding programs is the calculation of Euclidean distance in the (x,y) plane between data values and grid nodes. In those programs, the influence ofthe each data z-value on the z-value inteφolated at a grid node is inversely proportional to the Euclidean distance between that data point and the grid node. According to the invention, distance measurements are distorted through the influence of a user selected "form grid" and a distance transformation method. When the straight line path between a data point and a target grid node is aligned up or down dip in the form grid, distances are exaggerated so that the influence of the data z-value on the grid node z-value is reduced. When the straight line path follows the strike of the form grid, distances are not distorted. In fact, as shown in Figure 1 , distortion of distance measurements is continuous with respect to the form grid, so that the calculated distance from a data point to a grid node may be shorter following a sinuous contour ofthe form grid, than by using a straight line path. The contours in Figure 1 represent contours of a form grid. Using a distance transformation, it is possible to distort the calculations of distance up or down dip on the form grid so that the distance AC appears much larger than the distance AB, even through they are actually the same length measured in the x,y plan. Furthermore, distances can be distorted continuously, so that the arc DE is calculated to be shorter than the straight line connecting those two points. As a result, the gridding process is induced to honor the inteφretation in the form grid. Modeling the continuous distortion of distances through the use of a distance transformation is an important aspect ofthe invention. More specifically the invention is for a method of imposing an inteφretation or general shape on a computer-generated, rectangular grid-based digital model of a three dimensional object defined by data which are samples of and characterize that object. A user creates or defines a rectangular grid-based "form-grid" with dimensions representative of the desired object model. The contours of the form grid represent the desired general shape for the final object model. Next, the local gradient at each node ofthe form grid is determined. The "total distance" between every data sample and every grid node of the final object model is determined. Total distances are measured along "mύiimum weighted length" paths created by connecting adjacent nodes of the form grid. The calculation of path distances is achieved through the use of a "weighted distance transformation," a computer algorithm in general use in the fields of image processing and geographical information systems. According to the invention, the weighted distance transformation is modified such that the calculated "distance" between any adjacent pair of grid nodes is increased by the product of ( 1 ) the absolute value of the cosine of the angle of a ray joining such grid pair and the local gradient ofthe form grid, (2) the magnitude ofthe local gradient, and (3) a user defined, non-negative real number. As a result of the use of an "increased" weighted distance transformation and of the calculation of node-to-node distances in the way defined above, the "minimum weighted length" paths along which total distances between data samples and grid nodes are "measured" tend to follow contours of the form grid. The final calculation of the object value at every grid node using every data value by mathematical techniques widely used in geoscience applications and in geographical information systems. These techniques weight the data values in inverse proportion to the "distance" between the data value and the grid node, and include moving weighted averaging and moving least squares surface fitting. However, unlike traditional applications, in the improved method according to the invention the inverse distances are calculated based on the total (path) distances which follow the form grid, rather than standard Euclidean distances. BRIEF DESCRIPTION OF THE DRAWINGS The objects, advantages and features of the invention will become more apparent by reference to the drawings which are appended hereto and wherein like numerals indicate like elements and wherein an illustrative embodiment of the invention is shown, of which: Figure 1 illustrates contours of a form grid and illustrates the use of a distance transformation, to distort calculations of distance up or down dip on the form grid so that the distance AC appears much larger than the distance AB, even through they actually represent the same length in the x,y plan, the figure further illustrating that distances can be distorted continuously, so that the arc DE is calculated to be shorter than the straight line connecting those two points; Figures 2a and 2b illustrate two prior art views of an image with Figure 2a showing the image before a distance transformation has been performed, where two embedded features pixels are represented by 0's and all non-feature pixels initialized with the value 100 and with Figure 2b showing the image with all the non-feature pixels having distance values rounded to the second decimal; Figures 3a and 3b illustrate a prior art five pixel distance transformation mask, with the mask of Figure 3a provided for the first pass, moving from left to right and from top to bottom of the image or grid, and the mask of Figure 3b for the second pass, moving for right to left and from bottom to top with the arrows indicating the directions in which the two masks are moved over an image; Figure 4 illustrates prior art octant based data searching where the current target grid node is at the center ofthe search circle, and the radius ofthe circle is a user specified distance to search for data; Figure 5 shows a contour map resulting from a prior art method of moving weighted average gridding of water saturation data, where the water saturation contours are shown as shades of gray which are overlaid by structural contours from the horizon above the unit to which the water saturation values apply, and where arrows indicate parts ofthe map which emphasize the tendency of moving weighted average gridding to produce rounded features; Figure 6 shows a contour map ofthe same water saturation data shown in Figure 5, but in using the methods of this invention the water saturation has been gridded to honor the form ofthe overlaid structure contours, where arrows indicate where honoring the structure grid contours has elongated water saturation features; Figure 7 illustrates stream channel sand tiiickness data showing digitized user inteφretations ofthe channel centerlines; Figure 8 illustrates contours of distance from digitized stream channel centerlines where the underlying distance grid is used as a form grid for the data in Figure 7; and Figure 9 illustrates stream channel contours generated to conform to the distance contours in Figure 8. DESCRIPTION OF THE INVENTION A. TREND FORM GRTD TNG T ISING MOVTNG WF GHTF.D A VFR AGING AND DTSTANCF TRANSFORMATIONS In terrain navigation where distance transformations are used as described above, a reasonable cost factor which may be assigned to a terrain pixel is a cost proportional to the local steepness ofthe terrain. If enough information is available, the cost will vary depending on whether the pixel is being crossed in the local direction of maximum dip, or along an isoline. In addition, the cost should be larger the steeper the slope being crossed. Assume that the first derivatives dz/dx and dz dy are available at each terrain pixel. The magnitude ofthe gradient at the pixel is grad (d - * (d -Ϋ dx dy , z , z d — . i + d — . j dx dy The normalized dot product ofthe vector (dz dx, dz/dy) with the offset vectors (i ) of each neighboring pixel defined by is the cosine ofthe angle between those two vectors. The magnitude ofthe normalized dot product is 1 when (dz dx, dz dy) points in the same direction (± 180 degrees) as an offset vector (i j), and 0 when (dz/dx, dz/dy) points in a direction 90 degrees away from the offset vector. The closer the direction of the gradient vector to the offset vector, the closer the magnitude ofthe normalized dot product is to 1. To impose geologic constraints on moving weighted average gridding, a form grid is provided by the user. The form grid is the source ofthe gradient and gradient vector information discussed above. The z-values in the foπn grid are defined so that contouring the form grid produces contours which indicate a generalized version of a geoscientist's inteφretation ofthe local biases which should be applied to the data being gridded. Straightforward methods of providing form grids are discussed below. The final step to change moving weighted average gridding based on a distance transformation to moving weighted average gridding with geologic constraints is to change each C(ij) to C*(i j) by the formula: C (i ) = C (i ) . (1 + penalty . \cosine \ . grad) where cosine and grad are derived directly form the form grid, and penalty is a non-negative number supplied by the user as the maximum cost for movements along dip in the form grid. With this definition, the C*(i j) are always greater than or equal to the old C(ij). Performing moving weighted average gridding using distance transformation cost factors derived from a form grid produces results quite different from ordinary moving weighted average gridding. Because of the way C*(i j) are defined as in equation (4), distances are distorted. Movements up or down dip in the form grid are penalized, with the calculated distances being larger than they really are. However, distances from a data point measured along a contour ofthe form grid approximate their true Euclidean distance measured along that contour. Figure 6 is a map showing the use of a form grid to contour the same water saturation data contouring in Figure 5, but through the use of this invention the water saturation has been gridded to honor the form ofthe overlaid structure contours. Arrows indicate where honoring the structure grid contours has elongated water saturation features. Again the water saturation results are shown by gray scale filled contours. The form grid is simply the structure grid which is the source ofthe contour lines overlaid on the maps in both Figures 5 and 6. Comparing the two maps of Figure 5 and 6 shows that the water saturation contours have been biased in the map of Figure 6 to follow the local shape ofthe structure contours. An analysis of equation (4) used to create the problem specific C(i j) is straight forward. First, if the user sets the maximum penalty to 0, then the method reverts to an ordinary moving weighted average gridding method independent ofthe shape ofthe form grid. Second, if the form grid is generally flat, then the gradient magnitude will be close to zero everywhere, and again the method will revert to moving weighted average gridding. Finally, if the form grid has a constant slope in one direction, distances will be exaggerated in the direction of slope and all the contours will be biased in a peφendicular direction to the slope ofthe form grid. B GF.NF.R ATI N O FORM GRTDS According to this method this invention, the user must define a form grid to use the method as described above. An example is shown in Figure 6, where the form grid is simply a structure grid. In this case it is the structure ofthe horizon on top ofthe unit in which the water saturation values are calculated. A form grid typically is readily available as part of normal mapping work flows. Figure 7 illustrates another way to produce form grids. This data of Figure 7 represents sand thickness in fluvial deltaic stream channels in the Red Form Sandstone of Oklahoma. Positive data values are measured channel thicknesses, and 0 values indicate wells where the channel sands were not detected. This data is available in Appendix A of a book by Hamilton and Jones, 1992, Computer Modeling of Geologic Surfaces and Volcanoes, American Association of Petroleum Geologists, Tulsa. Overlaid on the data are three polylines representing a geoscientist's inteφretation of centerlines for the stream channels. These center lines are the ultimate source of the form grid for this data. Using a standard commercial mapping package a grid may be created which models the distance from the three polylines. Contours of this grid are shown in Figure 8. The contour lines parallel the polylines, while proper connection ofthe positive thickness values in the data should run along the digitized polylines or parallel to the contours in Figure 8. The grid from which Figure 8 contours are generated may be used, for example, as the form grid to use in gridding the data in Figure 7. Before gridding, the data points with 0 thickness are assigned a negative value. This a common practice in computer contouring of thickness data to force the 0 contour level to lie between wells where thickness was recorded and wells where it was missing. A value of -20 was substituted for the 0 values. The resulting contours are shown in Figure 9. Distance gridding, whether done in a commercial mapping package or by a distance transformation, appears to be the most natural way to quickly generate form grids, assuming such a grid is not already available. The first step is to contour the available data without use of a form grid. The resulting contours can be compared with the data at a terminal or on hardcopy to determine where local biases are needed. Next the inteφreter digitizes on screen one or more polylines showing the directions of local bias. Once the polylines are available they are used to create a distance grid. That distance grid becomes the source of the form grid. If necessary, the z- values in the form grid can be clipped to a maximum value. Then the clipped part ofthe form grid will have no slope and gridding in those parts ofthe form grid will be ordinary moving weighted averaging. . PERFORMANCE As mentioned above, distance transformations imply a computational complexity of O(m-#-k) where m is the number of grid nodes, and k is the number of data values. Therefore the cost measured in computer time of using the method ofthe invention increases as the size ofthe output grid increases, and as the number of data points increases. The grid contour of Figure 6, which has 121 rows and 121 columns, was generated in 174 CPU seconds from 36 data values on a Sparc20. The grid contoured in Figure 9, which has only 77 rows and 85 columns, was generated in 709 CPU seconds form 309 data values on a Sparc20. The first grid has 14641 nodes, the second grid has 6545 nodes. The ratio of grid nodes times the number of data points for the two tests is, in fact, very close to the ratio ofthe two CPU times recorded: 6545 x 309 , Q . . 709 = 3.8 a 4.1 = . 14641 x 36 174 That computation time increases rapidly as the size ofthe problem increases is disturbing, but it is impossible to avoid such computation time when using distance transformations on a standard workstation. The complexity of any sequential distance transformation is inherently proportional to the size ofthe underlying grid. One conclusion to draw from an analysis ofthe computational complexity ofthe invention is that it is not an appropriate tool at the present state of work station configuring power to add geologic inteφretation to a data set made up of 100,000 seismic shot points. On the other hand, data sets for which added inteφretation are required usually do not have 100,000 shot points. Instead they have scores, or at most a few hundred wells. In these cases the human time saving is likely to be large, and to be well worth the computer time. Various modifications and alterations in the described methods of manufacture and apparatus will be apparent to those skilled in the art of the foregoing description which does not depart from the spirit of the invention. For this reason, such changes are desired to be included within the scope of the appended claims. The appended claims recite the only limitations to a definition ofthe present invention. The descriptive manner which is employed for setting forth the embodiments should be inteφreted as illustrative but not limitative.

Claims: WHAT IS ri IMED IS: 1. A method for imposing an inteφretation onto a rectangular grid-based model of a three dimensional object comprising the steps of, providing a rectangular form grid having contours representative ofthe general shape of a model of said object, said grid having nodes, defining at each of said nodes of said form grid a local gradient, defining geologic data samples on said form grid which are representative of said object, determining a total distance measurement between each geologic data sample and each grid node of said form grid, where each said total distance measurement is measured along a minimum weighted length path defined by connecting adjacent nodes of said form grid, where said minimum weighted length path between any adjacent pair of grid nodes is increased to define an increased minimum weighted length path by, the absolute value ofthe cosine ofthe angle of a ray joining said adjacent pair of grid nodes and a local gradient of said form grid, a magnitude of said local gradient, and a predetermined non-negative real number, deterrnining an object value at each node of said grid by weighting each data sample in inverse proportion to said increased minimum weighted length between each data sample and said grid node, and plotting said object value for each node on an x-y map. 2. The method of claim 1 wherein said step of determining an object value at each node includes steps of moving weighted averaging and moving least squares surface fitting. 3. A method for imposing a geologic inteφretation onto a contour map comprising the steps of: providing a form grid of terrain pixels representative ofthe topography of a geologic formation with first derivatives dz/dx and dz/dy defined at each terrian pixel; determining the magnitude of the gradient flgradjij) at each of said terrian pixel, determining the cosine (cosine(ij)) ofthe angle between the normalized dot product of the vectors dz/dy with offset vectors T, J at each terrian pixel for each neighboring pixel, defining feature pixels on said form grid where said feature pixels represent a characteristic of said geologic formation, defining an approximation ofthe distance from d (i, j) to d (0,0), C*(i, j), in a distance transformation of each of said feature pixels to said form grid as a function of a penalty factor and said cosme(i ) and said jgradjij where penalty is a non-negative number representative ofthe maximum cost for movements along dip in said form grid, and plotting said feature pixels which have been distance transformed on a contour map. 4. The method of claim 3 wherein said feature pixels represent water saturation of said geologic formation. 5. A method for imposing a geologic inteφretation onto a contour map comprising the steps of: providing a three dimensional form grid of terrain pixels representative ofthe topography of a geologic formation with first derivatives dz/dx and dz/dy defined at each terrian pixel; determining the magnitude ofthe gradient at each of said terrian pixel, as determining the cosine ofthe angle between the normalized dot product ofthe vectors dz/dy with offset vectors T, J at each terrian pixel for each neighboring pixel as d z . i - - d z . j ±- cosine (ij) - defining feature pixels on said form grid where said feature pixels represent a characteristic of said geologic formation, defining an approximation ofthe distance from d (i, j) to d (o, o), C*(i, j), in a distance transformation of each of said feature pixels to said form grid where -IS¬ C ' (/J) = C (ij) [1 + (penalty) ( \{ij)) ( \grad\ij)} where penalty is a non-negative number representative ofthe maximum cost for movements along dip in said form grid, and where distance transformation means five pixel forward and backward masks and C(-1,0) = C(1,0) = C0.1) =C = (0,-1) = 0.95509, and C(l,l) = C(-l,-l) = C(l,-1) = C(-l,l) = 1.36930, and plotting said feature pixels which have been distance transformed on a contour map.

Inventors: ZORASTER STEVEN, ZORASTER, STEVEN
Applicants: LANDMARK GRAPHICS CORP, LANDMARK GRAPHICS CORPORATION
Application year: 1996
Main classification: G06T17
IPC codes: G06T17