GMS:Computation of Interpolation Weights: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:
The '''Use vertices of enclosing triangle''' method makes the interpolation process a local scheme by taking advantage of TIN topology (Franke & Nielson, 1980). With this technique, the subset of points used for interpolation consists of the three vertices of the triangle containing the interpolation point. The weight function or blending function assigned to each scatter point is a cubic S-shaped function as shown in part a of the figure below. The fact that the slope of the weight function tends to unity at its limits ensures that the slope of the interpolating surface is continuous across triangle boundaries.
The '''Use vertices of enclosing triangle''' method makes the interpolation process a local scheme by taking advantage of TIN topology (Franke & Nielson, 1980). With this technique, the subset of points used for interpolation consists of the three vertices of the triangle containing the interpolation point. The weight function or blending function assigned to each scatter point is a cubic S-shaped function as shown in part a of the figure below. The fact that the slope of the weight function tends to unity at its limits ensures that the slope of the interpolating surface is continuous across triangle boundaries.


[[Image:idw_fig2.gif]]
[[Image:idw_fig2.gif|frame|center|''(a) S-Shaped Weight Function and (b) Delauney Point Group for Point A.''|250px]]
 
''(a) S-Shaped Weight Function and (b) Delauney Point Group for Point A.''


The influence of the weight function extends over the limits of the Delauney point group of the scatter point. The Delauney point group is the "natural neighbors" of the scatter point, and the perimeter of the group is made up of the outer edges of the triangles that are connected to the scatter point as shown in part b. The weight function varies from a weight of unity at the scatter point to zero at the perimeter of the group. For every interpolation point in the interior of a triangle there are three nonzero weight functions (the weight functions of the three vertices of the triangle). For a triangle T with vertices i, j, & k, the weights for each vertex are determined as follows:
The influence of the weight function extends over the limits of the Delauney point group of the scatter point. The Delauney point group is the "natural neighbors" of the scatter point, and the perimeter of the group is made up of the outer edges of the triangles that are connected to the scatter point as shown in part b. The weight function varies from a weight of unity at the scatter point to zero at the perimeter of the group. For every interpolation point in the interior of a triangle there are three nonzero weight functions (the weight functions of the three vertices of the triangle). For a triangle T with vertices i, j, & k, the weights for each vertex are determined as follows:
Line 20: Line 18:
where ||ei|| is the length of the edge opposite vertex i, and b<sub>i</sub>, b<sub>j</sub>, b<sub>k</sub> are the area coordinates of the point (x,y) with respect to triangle T. Area coordinates are coordinates that describe the position of a point within the interior of a triangle relative to the vertices of the triangle. The coordinates are based solely on the geometry of the triangle. Area coordinates are sometimes called "barycentric coordinates." The relative magnitude of the coordinates corresponds to area ratios as shown below:
where ||ei|| is the length of the edge opposite vertex i, and b<sub>i</sub>, b<sub>j</sub>, b<sub>k</sub> are the area coordinates of the point (x,y) with respect to triangle T. Area coordinates are coordinates that describe the position of a point within the interior of a triangle relative to the vertices of the triangle. The coordinates are based solely on the geometry of the triangle. Area coordinates are sometimes called "barycentric coordinates." The relative magnitude of the coordinates corresponds to area ratios as shown below:


[[Image:idw_fig3.gif]]
[[Image:idw_fig3.gif|frame|center|''Barycentric Coordinates for a Point in a Triangle.''|250px]]
 
''Barycentric Coordinates for a Point in a Triangle.''


The XY coordinates of the interior point can be written in terms of the XY coordinates of the vertices using the area coordinates as follows:
The XY coordinates of the interior point can be written in terms of the XY coordinates of the vertices using the area coordinates as follows:

Revision as of 22:57, 22 June 2011

When computing the interpolation weights, three options are available for determining which points are included in the subset of points used to compute the weights and perform the interpolation: subset, all points, and enclosing triangle.

Subset of Points

If the Use subset of points option is chosen, the Subset Definition dialog can be used to define a local subset of points.

All Points

If the Use all points option is chosen, a weight is computed for each point and all points are used in the interpolation.

Enclosing Triangle

The Use vertices of enclosing triangle method makes the interpolation process a local scheme by taking advantage of TIN topology (Franke & Nielson, 1980). With this technique, the subset of points used for interpolation consists of the three vertices of the triangle containing the interpolation point. The weight function or blending function assigned to each scatter point is a cubic S-shaped function as shown in part a of the figure below. The fact that the slope of the weight function tends to unity at its limits ensures that the slope of the interpolating surface is continuous across triangle boundaries.

File:Idw fig2.gif
(a) S-Shaped Weight Function and (b) Delauney Point Group for Point A.

The influence of the weight function extends over the limits of the Delauney point group of the scatter point. The Delauney point group is the "natural neighbors" of the scatter point, and the perimeter of the group is made up of the outer edges of the triangles that are connected to the scatter point as shown in part b. The weight function varies from a weight of unity at the scatter point to zero at the perimeter of the group. For every interpolation point in the interior of a triangle there are three nonzero weight functions (the weight functions of the three vertices of the triangle). For a triangle T with vertices i, j, & k, the weights for each vertex are determined as follows:

File:Idw eq9.gif

where ||ei|| is the length of the edge opposite vertex i, and bi, bj, bk are the area coordinates of the point (x,y) with respect to triangle T. Area coordinates are coordinates that describe the position of a point within the interior of a triangle relative to the vertices of the triangle. The coordinates are based solely on the geometry of the triangle. Area coordinates are sometimes called "barycentric coordinates." The relative magnitude of the coordinates corresponds to area ratios as shown below:

File:Idw fig3.gif
Barycentric Coordinates for a Point in a Triangle.

The XY coordinates of the interior point can be written in terms of the XY coordinates of the vertices using the area coordinates as follows:

File:Idw eq10.gif

File:Idw eq11.gif

File:Idw eq12.gif

Solving the above equations for bi, bj, and bk yields:

File:Idw eq13.gif

File:Idw eq14.gif

File:Idw eq15.gif

File:Idw eq16.gif

Using the weight functions defined above, the interpolating surface at points inside a triangle is computed as:

File:Idw eq17.gif

where wi, wj, and wk are the weight functions and Qi, Qj, and Qk are the nodal functions for the three vertices of the triangle.