Package boofcv.alg.interpolate.kernel
Class BicubicKernel_F32
- java.lang.Object
-
- boofcv.struct.convolve.KernelBase
-
- boofcv.struct.convolve.Kernel1D
-
- boofcv.struct.convolve.KernelContinuous1D_F32
-
- boofcv.alg.interpolate.kernel.BicubicKernel_F32
-
public class BicubicKernel_F32 extends boofcv.struct.convolve.KernelContinuous1D_F32A 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 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 floatcompute(float x)<T extends boofcv.struct.convolve.KernelBase>
Tcopy()doublegetDouble(int index)booleanisInteger()voidsetD(int index, double value)
-
-
-
Method Detail
-
isInteger
public boolean isInteger()
- Specified by:
isIntegerin classboofcv.struct.convolve.KernelBase
-
copy
public <T extends boofcv.struct.convolve.KernelBase> T copy()
- Specified by:
copyin classboofcv.struct.convolve.KernelBase
-
compute
public float compute(float x)
- Specified by:
computein classboofcv.struct.convolve.KernelContinuous1D_F32
-
getDouble
public double getDouble(int index)
- Specified by:
getDoublein classboofcv.struct.convolve.Kernel1D
-
setD
public void setD(int index, double value)- Specified by:
setDin classboofcv.struct.convolve.Kernel1D
-
-