T - public class NLinearInterpolator<T extends NumericType<T>> extends AbstractNLinearInterpolator<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
tmp |
accumulator, type, weightsdiscrete, position, targetn| Modifier | Constructor and Description |
|---|---|
protected |
NLinearInterpolator(NLinearInterpolator<T> interpolator) |
protected |
NLinearInterpolator(RandomAccessible<T> randomAccessible) |
protected |
NLinearInterpolator(RandomAccessible<T> randomAccessible,
T type) |
| Modifier and Type | Method and Description |
|---|---|
NLinearInterpolator<T> |
copy() |
T |
get()
Get the interpolated value at the current position.
|
fillWeights, getTypefloor, floor, floor, floor, floor, move, move, move, move, move, 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, waitcopyRealRandomAccess, setPositionAndGet, setPositionAndGet, setPositionAndGetgetDoublePosition, getFloatPosition, localize, localize, localize, positionAsDoubleArray, positionAsRealPointmove, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositionbck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositionnumDimensionsprotected final T extends NumericType<T> tmp
protected NLinearInterpolator(NLinearInterpolator<T> interpolator)
protected NLinearInterpolator(RandomAccessible<T> randomAccessible, T type)
protected NLinearInterpolator(RandomAccessible<T> randomAccessible)
public T get()
AbstractNLinearInterpolatorTo visit the pixels that contribute to an interpolated value, we move in a (binary-reflected) Gray code pattern, such that only one dimension of the target position is modified per move.
get in interface Sampler<T extends NumericType<T>>get in class AbstractNLinearInterpolator<T extends NumericType<T>>public NLinearInterpolator<T> copy()
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)Copyright © 2009–2025 ImgLib2. All rights reserved.