Nearest Neighbor in Interpolations
Interpolation of data is needed in IRIS
products that include a cross-section (XSECT). The HCLASS
data are interpolated with a rule of the nearest neighbor.
In its simplest form, the
HCLASS value in any point X along a straight line between
the points A and B, in which the HCLASS
data values are HCLASS(A) and HCLASS(B), is obtained in the
parametrization:
, when
This approach generalizes to interpolating in
the N-dimensional data grid:
where
