|
|
|
|
|
Trilinear InterpolationTrilinear interpolation is the process of taking a three-dimensional set of numbers and interpolating the values linearly, finding a point using a weighted average of eight values. Overview The idea behind three-dimensional interpolation is that having some periodic volume of discrete data you can predict the value of a non-integer within the plane. This is done using data for integer coordinate positions in the plane and using this, the aim is to try to predict a value for these non-integer positions. - Trilinear interpolation works over a volume of numbers rather than
- Linear which works over a line of values
- Bilinear which works over a plane of values
- Trilinear interpolation works with eight values (these are the integer coordinate positions surrounding the point)
Example In order to trilinearly interpolate we need to look at the eight values surrounding the value we want. Let -
be the fractional parts of - ,
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. Note that the result of trilinear interpolation is independent of the order of interpolation, that is, performing the linear interpolations in the other order, along , along , then along horizontally, would also produce an equivalent expression for the predicted value. See also
|
 |
|
| Copyright 2005-2009 OnPedia.com. All Rights Reserved |
|
|