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 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 and 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 and Description floatcompute(float x)Computes the value of the kernel at hte specified point.<T extends KernelBase>
Tcopy()doublegetDouble(int index)booleanisInteger()voidsetD(int index, double value)-
Methods inherited from class boofcv.struct.convolve.Kernel1D
getDimension
-
Methods inherited from class boofcv.struct.convolve.KernelBase
getOffset, getRadius, getWidth
-
-
-
-
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:
isIntegerin classKernelBase
-
copy
public <T extends KernelBase> T copy()
- Specified by:
copyin classKernelBase
-
compute
public float compute(float x)
Description copied from class:KernelContinuous1D_F32Computes the value of the kernel at hte specified point.- Specified by:
computein classKernelContinuous1D_F32- Parameters:
x- Function's input.- Returns:
- Function's value at point 'x'
-
-
DataMelt 3.0 © DataMelt by jWork.ORG