GMS:Natural Neighbor: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 30: Line 30:
If we define k(n) as the Thiessen polygon area of P<sub>n</sub> and k<sub>m</sub>(n) as the difference in the Thiessen polygon area of a neighboring scatter point, P<sub>m</sub>, before and after P<sub>n</sub> is inserted, then the local coordinate l<sub>m</sub>(n) is defined as:
If we define k(n) as the Thiessen polygon area of P<sub>n</sub> and k<sub>m</sub>(n) as the difference in the Thiessen polygon area of a neighboring scatter point, P<sub>m</sub>, before and after P<sub>n</sub> is inserted, then the local coordinate l<sub>m</sub>(n) is defined as:


<!--[[Image:nn_eq1.gif]]-->
<!--[[Image:nn_eq1.gif]]
<math>\lambda _m(n) = \frac{\kappa _m(n)}{\kappa (n)}</math>
<math>\lambda _m(n) = \frac{\kappa _m(n)}{\kappa (n)}</math>-->
[[Image:nnlambda.jpg]]


The local coordinate l<sub>m</sub>(n) varies between zero and unity and is directly used as the weight, w<sub>m</sub>(n), in the interpolation equation. If P<sub>n</sub> is at precisely the same location as P<sub>m</sub>, then the Thiessen polygon areas for P<sub>n</sub> and P<sub>m</sub> are identical and l<sub>m</sub>(n) has a value of unity. In general, the greater the relative distance P<sub>m</sub> is from P<sub>n</sub>, the smaller its influence on the final interpolated value.
The local coordinate l<sub>m</sub>(n) varies between zero and unity and is directly used as the weight, w<sub>m</sub>(n), in the interpolation equation. If P<sub>n</sub> is at precisely the same location as P<sub>m</sub>, then the Thiessen polygon areas for P<sub>n</sub> and P<sub>m</sub> are identical and l<sub>m</sub>(n) has a value of unity. In general, the greater the relative distance P<sub>m</sub> is from P<sub>n</sub>, the smaller its influence on the final interpolated value.

Revision as of 21:35, 6 September 2012

The basic equation used in natural neighbor interpolation is identical to the one used in IDW interpolation:

Shep eq1.jpg

As with IDW interpolation, the nodal functions can be either constants, gradient planes, or quadratics. The nodal function can be selected using the Natural Neighbor Interpolation Options dialog. The difference between IDW interpolation and natural neighbor interpolation is the method used to compute the weights and the method used to select the subset of scatter points used for interpolation.

Natural neighbor interpolation is based on the Thiessen polygon network of the scatter point set. The Thiessen polygon network can be constructed from the Delauney triangulation of a scatter point set. A Delauney triangulation is a TIN that has been constructed so that the Delauney criterion has been satisfied.

Delauney Triangulation and Corresponding Thiessen Polygon Network for a Set of Scatter Points.

There is one Thiessen polygon in the network for each scatter point. The polygon encloses the area that is closer to the enclosed scatter point than any other scatter point. The polygons in the interior of the scatter point set are closed polygons and the polygons on the convex hull of the set are open polygons.

Each Thiessen polygon is constructed using the circumcircles of the triangles resulting from a Delauney triangulation of the scatter points. The vertices of the Thiessen polygons correspond to the centroids of the circumcircles of the triangles.

Local Coordinates

The weights used in natural neighbor interpolation are based on the concept of local coordinates. Local coordinates define the "neighborliness" or amount of influence any scatter point will have on the computed value at the interpolation point. This neighborliness is entirely dependent on the area of influence of the Thiessen polygons of the surrounding scatter points.

To define the local coordinates for the interpolation point, Pn, the area of all Thiessen polygons in the network must be known. Temporarily inserting Pn into the TIN causes the TIN and the corresponding Thiessen network to change, resulting in new Thiessen areas for the polygons in the neighborhood of Pn.

The concept of local coordinates is shown graphically in the following figure. Points 1-10 are scatter points and Pn is a point where some value associated with points 1-10 is to be interpolated. The dashed lines show the edges of the Thiessen network before Pn is temporarily inserted into the TIN and the solid lines show the edges of the Thiessen network after Pn is inserted.

Overlapping Thiessen Polygon Areas Used in Computation of Local Coordinates.

Only those scatter points whose Thiessen polygons have been altered by the temporary insertion of Pn are included in the subset of scatter points used to interpolate a value at Pn. In this case, only points 1, 4, 5, 6, & 9 are used. The local coordinate for each of these points with respect to Pn is defined as the area shared by the Thiessen polygon defined by point Pn and the Thiessen polygon defined by each point before point Pn is added. The greater the common area, the larger the resulting local coordinate, and the larger the influence or weight the scatter point has on the interpolated value at Pn.

If we define k(n) as the Thiessen polygon area of Pn and km(n) as the difference in the Thiessen polygon area of a neighboring scatter point, Pm, before and after Pn is inserted, then the local coordinate lm(n) is defined as:

Nnlambda.jpg

The local coordinate lm(n) varies between zero and unity and is directly used as the weight, wm(n), in the interpolation equation. If Pn is at precisely the same location as Pm, then the Thiessen polygon areas for Pn and Pm are identical and lm(n) has a value of unity. In general, the greater the relative distance Pm is from Pn, the smaller its influence on the final interpolated value.

Extrapolation

As shown in the figure above, the Thiessen polygons for scatter points on the perimeter of the TIN are open-ended polygons. Since such polygons have an infinite area, they cannot be used directly for natural neighbor interpolation. Thus, a special approach is used to facilitate extrapolation with the natural neighbor scheme. Prior to interpolation, the X and Y boundaries of the object being interpolated to (grid, mesh, etc.) are determined and a box is placed around the object whose boundaries exceed the limits of the object by approximately 10% (this value can be modified by the user). Four temporary "pseudo-scatter points" are created at the four corners of the box. The inverse distance weighted interpolation scheme with gradient plane nodal functions is then used to estimate a data value at the pseudo-points. From that point on, the pseudo-points with the extrapolated values are included with the actual scatter points in the interpolation process. Consequently, all of the points being interpolated to are guaranteed to be within the convex hull of the scatter point set. Once the interpolation is complete, the pseudo-points are discarded.

See also