Trilinear interpolation is a method of performing interpolation on a 3-dimensional tensor product grid (possibly with an arbitrary, non-overlapping grid points in each dimension, but i.e. not an arbitrarily triangularized finite element mesh) of discretely sampled data. It approximates the value of an intermediate point within the local axial rectangular prism linearly, using data on the lattice points.
Trilinear interpolation is frequently used in numerical analysis, data analysis, and computer graphics.
On a periodic and cubic lattice with spacing 1, let
that is:
First we interpolate along , giving:
Then we interpolate these values (along ), giving:
Finally we interpolate these value along :
This gives us a predicted value for the point.
The result of trilinear interpolation is independent of the order of the successive interpolation steps, that is, performing the linear interpolations in another order of dimensions, along , along , then along , produces an identical expression for the predicted value. This also follows immediately from the property of tensor products being commutative.
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Trilinear interpolation".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world