public class ImageInterpolator extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ImageInterpolator.Cell |
static class |
ImageInterpolator.ContainingCell |
Modifier and Type | Field and Description |
---|---|
protected int |
cellSize |
protected Dimension |
gridSize |
protected BasicMemoryCache |
kidCache |
protected ImageInterpolator.Cell |
root |
protected float[] |
xs |
protected float[] |
ys |
Constructor and Description |
---|
ImageInterpolator(Dimension gridSize,
float[] xs,
float[] ys,
int depth,
int cellSize) |
Modifier and Type | Method and Description |
---|---|
protected ImageInterpolator.ContainingCell |
checkContainment(float x,
float y,
ImageInterpolator.Cell cell) |
protected double[] |
computeBilinearCoordinates(float x,
float y,
ImageInterpolator.Cell cell) |
ImageInterpolator.ContainingCell |
findContainingCell(float x,
float y) |
protected ImageInterpolator.ContainingCell |
findContainingCell(ImageInterpolator.Cell cell,
float x,
float y) |
protected int[] |
getFieldIndices(ImageInterpolator.Cell cell) |
protected ImageInterpolator.Cell |
makeRootCell(int m0,
int m1,
int n0,
int n1) |
protected final int cellSize
protected final Dimension gridSize
protected final BasicMemoryCache kidCache
protected final ImageInterpolator.Cell root
protected final float[] xs
protected final float[] ys
public ImageInterpolator(Dimension gridSize, float[] xs, float[] ys, int depth, int cellSize)
protected ImageInterpolator.ContainingCell checkContainment(float x, float y, ImageInterpolator.Cell cell)
protected double[] computeBilinearCoordinates(float x, float y, ImageInterpolator.Cell cell)
public ImageInterpolator.ContainingCell findContainingCell(float x, float y)
protected ImageInterpolator.ContainingCell findContainingCell(ImageInterpolator.Cell cell, float x, float y)
protected int[] getFieldIndices(ImageInterpolator.Cell cell)
protected ImageInterpolator.Cell makeRootCell(int m0, int m1, int n0, int n1)