public class DCTInterpolator<T extends RealType<T>> extends InterpolatorImpl<T>
img, interpolatorFactory, outOfBoundsStrategyFactory, position, tmp| Modifier | Constructor and Description |
|---|---|
protected |
DCTInterpolator(Image<T> img,
InterpolatorFactory<T> interpolatorFactory,
OutOfBoundsStrategyFactory<T> outOfBoundsStrategyFactory) |
| 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
|
protected void |
computeCoefficients() |
Image<FloatType> |
getCoefficients()
A method that provides the DCT coefficients
|
T |
getType()
Returns the type which stores the value for the current position of the interpolator
|
void |
moveRel(double[] vector)
Moves the interpolator a certain distance given by the vector to a random position inside or out of image bounds.
|
void |
moveRel(float[] vector)
Moves the interpolator a certain distance given by the vector to a random position inside or out of image bounds.
|
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[] 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.
|
getImage, getInterpolatorFactory, getOutOfBoundsStrategyFactory, getPosition, getPositionprotected DCTInterpolator(Image<T> img, InterpolatorFactory<T> interpolatorFactory, OutOfBoundsStrategyFactory<T> outOfBoundsStrategyFactory)
public Image<FloatType> getCoefficients()
protected void computeCoefficients()
public T getType()
Interpolatorpublic void close()
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 moveRel(float[] vector)
InterpolatormoveRel in interface Interpolator<T extends RealType<T>>moveRel in class InterpolatorImpl<T extends RealType<T>>vector - - the floating vector of the same dimensionality as the imagepublic void moveRel(double[] vector)
InterpolatormoveRel in interface Interpolator<T extends RealType<T>>moveRel in class InterpolatorImpl<T extends RealType<T>>vector - - the floating vector of the same dimensionality as the imagepublic void setPosition(float[] pos)
Interpolatorpos - - the floating position of the same dimensionality as the imagepublic void setPosition(double[] pos)
Interpolatorpos - - the floating position of the same dimensionality as the imageCopyright © 2015–2021 Fiji. All rights reserved.