public class LinearInterpolator2D<T extends NumericType<T>> extends LinearInterpolator<T>
img, interpolatorFactory, numDimensions, outOfBoundsStrategyFactory, position, tmp| Modifier | Constructor and Description |
|---|---|
protected |
LinearInterpolator2D(Image<T> img,
InterpolatorFactory<T> interpolatorFactory,
OutOfBoundsStrategyFactory<T> outOfBoundsStrategyFactory) |
| Modifier and Type | Method and Description |
|---|---|
T |
getType()
Returns the type which stores the value for the current position of the interpolator
|
void |
moveTo(double[] pos)
Moves the interpolator to a random position inside or out of image bounds.
|
void |
moveTo(float[] pos)
Moves the interpolator to a random position inside or out of image bounds.
|
protected void |
moveTo(float x,
float y) |
void |
setPosition(double[] pos)
Sets the interpolator to a random position inside or out of image bounds.
|
void |
setPosition(float[] pos)
Sets the interpolator to a random position inside or out of image bounds.
|
protected void |
setPosition(float x,
float y) |
closegetImage, getInterpolatorFactory, getOutOfBoundsStrategyFactory, getPosition, getPosition, moveRel, moveRelprotected LinearInterpolator2D(Image<T> img, InterpolatorFactory<T> interpolatorFactory, OutOfBoundsStrategyFactory<T> outOfBoundsStrategyFactory)
public T getType()
InterpolatorgetType in interface Interpolator<T extends NumericType<T>>getType in class LinearInterpolator<T extends NumericType<T>>protected void moveTo(float x,
float y)
public void moveTo(float[] pos)
InterpolatormoveTo in interface Interpolator<T extends NumericType<T>>moveTo in class LinearInterpolator<T extends NumericType<T>>pos - - the floating position of the same dimensionality as the imagepublic void moveTo(double[] pos)
InterpolatormoveTo in interface Interpolator<T extends NumericType<T>>moveTo in class LinearInterpolator<T extends NumericType<T>>pos - - the floating position of the same dimensionality as the imageprotected void setPosition(float x,
float y)
public void setPosition(float[] pos)
InterpolatorsetPosition in interface Interpolator<T extends NumericType<T>>setPosition in class LinearInterpolator<T extends NumericType<T>>pos - - the floating position of the same dimensionality as the imagepublic void setPosition(double[] pos)
InterpolatorsetPosition in interface Interpolator<T extends NumericType<T>>setPosition in class LinearInterpolator<T extends NumericType<T>>pos - - the floating position of the same dimensionality as the imageCopyright © 2015–2021 Fiji. All rights reserved.