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
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
-
Method Summary
Methods inherited from class boofcv.struct.convolve.Kernel1D
getDimension
Methods inherited from class boofcv.struct.convolve.KernelBase
getRadius
-
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 classKernelBase
-
copy
- Specified by:
copy
in classKernelBase
-
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 classKernelContinuous1D_F32
- Parameters:
x
- Function's input.- Returns:
- Function's value at point 'x'
-
getDouble
public double getDouble(int index) -
setD
public void setD(int index, double value)
-