Class BicubicKernel_F32


public class BicubicKernel_F32 extends KernelContinuous1D_F32

A kernel can be used to approximate bicubic interpolation. Full bicubic interpolation is much more expensive. The value of a=-0.5 is the best approximation.

  • R. Keys, (1981). "Cubic convolution interpolation for digital image processing". IEEE Transactions on Signal Processing, Acoustics, Speech, and Signal Processing 29: 1153
  • http://en.wikipedia.org/wiki/Bicubic_interpolation for more information. July 25, 2011

  • Constructor Details

    • BicubicKernel_F32

      public BicubicKernel_F32(float a)
      Values of a =-0.5 and -0.75 are typical
      Parameters:
      a - A parameter
  • Method Details

    • isInteger

      public boolean isInteger()
      Specified by:
      isInteger in class KernelBase
    • copy

      public <T extends KernelBase> T copy()
      Specified by:
      copy in class KernelBase
    • compute

      public float compute(float x)
      Description copied from class: KernelContinuous1D_F32
      Computes the value of the kernel at hte specified point.
      Specified by:
      compute in class KernelContinuous1D_F32
      Parameters:
      x - Function's input.
      Returns:
      Function's value at point 'x'
    • getDouble

      public double getDouble(int index)
      Specified by:
      getDouble in class Kernel1D
    • setD

      public void setD(int index, double value)
      Specified by:
      setD in class Kernel1D