public class BSplineCoefficientsInterpolatorEven<T extends RealType<T>> extends Round<RandomAccess<Neighborhood<T>>> implements BSplineCoefficientsInterpolator<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
bsplineOrder |
protected RectangleShape |
shape |
discrete, position, targetn| Constructor and Description |
|---|
BSplineCoefficientsInterpolatorEven(int order,
RandomAccessible<T> coefficients,
T type) |
| Modifier and Type | Method and Description |
|---|---|
BSplineCoefficientsInterpolatorEven<T> |
copy() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
int |
getIntPosition(int d)
Return the current position in a given dimension.
|
long |
getLongPosition(int d)
Return the current position in a given dimension.
|
void |
localize(int[] position)
Write the current position into the passed array.
|
void |
localize(long[] position)
Write the current position into the passed array.
|
move, move, move, move, move, round, round, round, round, round, setPosition, setPosition, setPosition, setPosition, setPositionbck, fwd, getDoublePosition, getFloatPosition, localize, localize, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition, toStringnumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuild, copyRealRandomAccess, create, create, shapeFromOrdersetPositionAndGet, setPositionAndGet, setPositionAndGetmove, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositionbck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositionnumDimensionsgetDoublePosition, getFloatPosition, localize, positionAsLongArray, positionAsPointlocalize, localize, localize, positionAsDoubleArray, positionAsRealPointprotected final int bsplineOrder
protected final RectangleShape shape
public BSplineCoefficientsInterpolatorEven(int order,
RandomAccessible<T> coefficients,
T type)
public T get()
SamplerSampler points at.public BSplineCoefficientsInterpolatorEven<T> copy()
copy in interface BSplineCoefficientsInterpolator<T extends RealType<T>>copy in interface Sampler<T extends RealType<T>>Sampler in the same state accessing the same
values.
It does NOT copy T, just the state of the Sampler.
Otherwise use T.copy() if available.
Sampler.copy().get() == Sampler.get(), i.e. both hold the same
value, not necessarily the same instance (this is the case for an
ArrayCursor for example)public long getLongPosition(int d)
LocalizablegetLongPosition in interface Localizabled - dimensionpublic int getIntPosition(int d)
LocalizablegetIntPosition in interface Localizabled - dimensionpublic void localize(int[] position)
Localizablelocalize in interface Localizableposition - receives current positionpublic void localize(long[] position)
Localizablelocalize in interface Localizableposition - receives current positionCopyright © 2015–2022 ImgLib2. All rights reserved.