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, getPosition
protected DCTInterpolator(Image<T> img, InterpolatorFactory<T> interpolatorFactory, OutOfBoundsStrategyFactory<T> outOfBoundsStrategyFactory)
public Image<FloatType> getCoefficients()
protected void computeCoefficients()
public T getType()
Interpolator
public void close()
Interpolator
public void moveTo(float[] pos)
Interpolator
pos
- - the floating position of the same dimensionality as the imagepublic void moveTo(double[] pos)
Interpolator
pos
- - the floating position of the same dimensionality as the imagepublic void moveRel(float[] vector)
Interpolator
moveRel
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)
Interpolator
moveRel
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)
Interpolator
pos
- - the floating position of the same dimensionality as the imagepublic void setPosition(double[] pos)
Interpolator
pos
- - the floating position of the same dimensionality as the imageCopyright © 2015–2021 Fiji. All rights reserved.