Class BicubicKernel_F32


  • public class BicubicKernel_F32
    extends boofcv.struct.convolve.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

    • Field Summary

      • Fields inherited from class boofcv.struct.convolve.KernelBase

        offset, width
    • Constructor Summary

      Constructors 
      Constructor Description
      BicubicKernel_F32​(float a)
      Values of a =-0.5 and -0.75 are typical
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float compute​(float x)  
      <T extends boofcv.struct.convolve.KernelBase>
      T
      copy()  
      double getDouble​(int index)  
      boolean isInteger()  
      void setD​(int index, double value)  
      • Methods inherited from class boofcv.struct.convolve.Kernel1D

        getDimension
      • Methods inherited from class boofcv.struct.convolve.KernelBase

        getOffset, getRadius, getWidth
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BicubicKernel_F32

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

      • isInteger

        public boolean isInteger()
        Specified by:
        isInteger in class boofcv.struct.convolve.KernelBase
      • copy

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

        public float compute​(float x)
        Specified by:
        compute in class boofcv.struct.convolve.KernelContinuous1D_F32
      • getDouble

        public double getDouble​(int index)
        Specified by:
        getDouble in class boofcv.struct.convolve.Kernel1D
      • setD

        public void setD​(int index,
                         double value)
        Specified by:
        setD in class boofcv.struct.convolve.Kernel1D