Class BicubicInterpolation

  • All Implemented Interfaces:
    BivariateGridInterpolation

    public class BicubicInterpolation
    extends Object
    implements BivariateGridInterpolation
    Bicubic interpolation is the two-dimensional equivalent of cubic Hermite spline interpolation. For a given point, a piecewise interpolation is performed using smooth cubic splines which are fitted using the four surrounding points and their partial- and cross-derivatives.

    Like in the one-dimensional case, this method allows the user to specify the derivatives, which will control the shape of the interpolated surface.

    See Also:
    Wikipedia: Bicubic interpolation, CubicHermite
    • Constructor Detail

      • BicubicInterpolation

        public BicubicInterpolation​(BicubicInterpolation.PartialDerivatives derivatives)
        Constructs a new instance which uses the given derivatives to interpolate. Note that the derivatives need not necessarily be exactly correct, but will be the derivatives present in the interpolated surface.
        Parameters:
        derivatives - the derivatives used for the interpolation