In numerical analysis, a branch of mathematics, bicubic interpolation is one of the most common interpolation methods in two dimensions. With this method, the value f(x, y) of a function f at a point (x, y) is computed as a weighted average of the nearest sixteen samples in a rectangular grid (a 4x4 array). Here, two cubic interpolation polynomials, one for each plane direction, are used.
The bicubic interpolation is calculated as follows:
Or, in more compact form:
The procedure used to calculate the coefficients depends on the interpolated data source properties. If we are interpolating a function with known derivatives, the common approach is to use the height at the four vertices, together with three derivatives at each vertex. The first derivatives and express the slope of the surface in the x and y directions, while the second (cross) derivative represents the slope in both x and y. In terms of solving the coefficients of the formula, these values can be expressed by differentiating the x and y vectors independently, and then consecutively. For each of the vertices of the grid cell, the local coordinates (at 0,0, 1,0, 0,1 and 1,1) can be input into these equations to generate the 16 equations to solve.
The bicubic algorithm is frequently used for scaling images and video for display. It preserves fine detail better than the predominant bilinear algorithm.
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Bicubic interpolation".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world