public class SplineInterpolator
extends java.lang.Object
Interpolator
package of Francois Aguet.Constructor and Description |
---|
SplineInterpolator(double[] input,
int nx,
int ny,
java.lang.String mode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getValue(double x,
double y)
Return the value interpolated at (x,y).
|
public SplineInterpolator(double[] input, int nx, int ny, java.lang.String mode)
input
- 1D array storing the rasterized image.nx
- Width of the image.ny
- Height of the image.mode
- Interpolation mode. Options: "linear", "quadratic", "cubic".