public class LinearInterpolator<T extends NumericType<T>> extends InterpolatorImpl<T>
img, interpolatorFactory, numDimensions, outOfBoundsStrategyFactory, position, tmp| Modifier | Constructor and Description |
|---|---|
protected |
LinearInterpolator(Image<T> img,
InterpolatorFactory<T> interpolatorFactory,
OutOfBoundsStrategyFactory<T> outOfBoundsStrategyFactory) |
protected |
LinearInterpolator(Image<T> img,
InterpolatorFactory<T> interpolatorFactory,
OutOfBoundsStrategyFactory<T> outOfBoundsStrategyFactory,
boolean initGenericStructures) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the interpolator and with it any cursors or other containers, images or datastructures
that might have been created to make the interpolation work
|
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.
|
void |
setPosition(double[] position)
Sets the interpolator to a random position inside or out of image bounds.
|
void |
setPosition(float[] position)
Sets the interpolator to a random position inside or out of image bounds.
|
getImage, getInterpolatorFactory, getOutOfBoundsStrategyFactory, getPosition, getPosition, moveRel, moveRelprotected LinearInterpolator(Image<T> img, InterpolatorFactory<T> interpolatorFactory, OutOfBoundsStrategyFactory<T> outOfBoundsStrategyFactory)
protected LinearInterpolator(Image<T> img, InterpolatorFactory<T> interpolatorFactory, OutOfBoundsStrategyFactory<T> outOfBoundsStrategyFactory, boolean initGenericStructures)
public void close()
Interpolatorpublic T getType()
Interpolatorpublic void moveTo(float[] pos)
Interpolatorpos - - the floating position of the same dimensionality as the imagepublic void moveTo(double[] pos)
Interpolatorpos - - the floating position of the same dimensionality as the imagepublic void setPosition(float[] position)
Interpolatorposition - - the floating position of the same dimensionality as the imagepublic void setPosition(double[] position)
Interpolatorposition - - the floating position of the same dimensionality as the imageCopyright © 2015–2021 Fiji. All rights reserved.