Akima interpolation

from Wikipedia, the free encyclopedia
Racine carrée bleue.svg
This item has been on the quality assurance side of the portal mathematics entered. This is done in order to bring the quality of the mathematics articles to an acceptable level .

Please help fix the shortcomings in this article and please join the discussion !  ( Enter article )


The Aikima interpolation is a special procedure of mathematics for interpolation of numerical values.

In 1970 Hiroshi Akima developed a new method that defines third-degree polynomials between the support points, but dispenses with the continuity of the second derivative in the support points. This condition creates the overshoots when there are strong changes in gradient. The Akima-interpolated curve runs through each support point and describes a very natural curve from support point to support point. If the continuity of the second derivative cannot be dispensed with, the Akima interpolation is already overwhelmed by its definition. If the second derivative of any kind of interpolation is to be included in the calculations, these must, however, be very error-tolerant. In such applications, the mean value from the second derivatives of the polynomials to the left and right of the support points also leads to sufficiently accurate results.

Akima went back to the basic idea of ​​interpolation in his approach: What happens when a curve is drawn manually? Obviously, only a local sub-interval of points is taken into account when drawing. It was this aspect that he put into mathematical form.

Define a polynomial of the form in the i-th interval

P i (X i ) = A i + B i * (XX i ) + C i * (XX i ) + D i * (XX i ) 3
with the condition that this function runs through the i-th and i + 1-th support points, i.e. that the following applies:
P i (X i ) = Y i
P i (X i + 1 ) = Y i +1
and that the gradient of the function in the support points has a slope that has yet to be determined,
i (X i ) = t i
i (X i + 1 ) = t i + 1
this is how the polynomial coefficients can be calculated:
A i = Y i
B i = t i
C i = (((Y i + 1 -Y i ) / (X i + 1 -X i )) - 2t i -t i + 1 ) / (X i + 1 -X i )
D i = (((t i + t i + 1 ) - 2 (Y i + 1 -Y i )) / (X i + 1 -X i )) / (X i + 1 -X i )
This type of coefficient determination is known as Hermite interpolation .


Hiroshi Akima determines the slope t i at the i-th point with the help of two adjacent points on the right and left.

The core of Akima interpolation is the slope formula. From the straight line slopes m i, it supplies the slope t i of the interpolation at point X i .


m i =


t i =


To understand how this expression works, consider the following four cases:

  1. t i = m i-1 if m i-2 = m i-1 and m i = m i + 1
  2. t i = m i if m i-2 = m i-1 and m i = m i + 1
  3. t i = m i-1 if m i-1 = m i
  4. t i = m i if m i-2 = m i-1 and m i = m i + 1

Since n slopes have to be calculated, two extrapolated points to the left and right of the value range are necessary. These are each determined by a polynomial of the second degree, which is determined using the last three support points. The following guidelines apply:

X 3 - X 1 = X 2 - X 1 = X 1 - X 2
respectively
X n - X n-2 = X n + 1 - X n-1 = X n + 2 - X n
The four coefficients for all n-1 polynomials are thus determined.

Individual evidence

  1. Heinz Heise GmbH & Co. KG (ed.): C't magazine for computer technology . Issue No. 6. Hannover 1989.
  2. Cubic Splines and Akima Interpolation. Retrieved July 2, 2020 .