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.
offset, width| Constructor and Description |
|---|
BicubicKernel_F32(float a)
Values of a =-0.5 and -0.75 are typical
|
| Modifier and Type | Method and Description |
|---|---|
float |
compute(float x)
Computes the value of the kernel at hte specified point.
|
<T extends KernelBase> |
copy() |
double |
getDouble(int index) |
boolean |
isInteger() |
void |
setD(int index,
double value) |
getDimensiongetOffset, getRadius, getWidthpublic BicubicKernel_F32(float a)
a - A parameterpublic boolean isInteger()
isInteger in class KernelBasepublic <T extends KernelBase> T copy()
copy in class KernelBasepublic float compute(float x)
KernelContinuous1D_F32compute in class KernelContinuous1D_F32x - Function's input.