T
- public class OutOfBoundsMirrorExpWindowing<T extends NumericType<T>> extends OutOfBoundsMirrorSingleBoundary<T>
Modifier and Type | Field and Description |
---|---|
protected long[] |
max |
dimension, dimIsOutOfBounds, inc, isOutOfBounds, min, n, outOfBoundsRandomAccess, p, zeroMinPos
Constructor and Description |
---|
OutOfBoundsMirrorExpWindowing(F f,
int[] fadeOutDistance,
float exponent) |
OutOfBoundsMirrorExpWindowing(OutOfBoundsMirrorExpWindowing<T> outOfBounds) |
Modifier and Type | Method and Description |
---|---|
OutOfBoundsMirrorExpWindowing<T> |
copy() |
OutOfBoundsMirrorExpWindowing<T> |
copyRandomAccess() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
protected float |
getWeight(long[] zeroMinPosition) |
protected static float[][] |
preComputeWeights(int n,
int[] fadeOutDistance,
float exponent) |
bck, fwd, setPosition
checkOutOfBounds, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, isOutOfBounds, localize, localize, localize, localize, move, move, move, move, move, numDimensions, setPosition, setPosition, setPosition, setPosition, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setPositionAndGet, setPositionAndGet, setPositionAndGet
localize, positionAsLongArray, positionAsPoint
localize, positionAsDoubleArray, positionAsRealPoint
public OutOfBoundsMirrorExpWindowing(OutOfBoundsMirrorExpWindowing<T> outOfBounds)
public OutOfBoundsMirrorExpWindowing(F f, int[] fadeOutDistance, float exponent)
protected static final float[][] preComputeWeights(int n, int[] fadeOutDistance, float exponent)
public T get()
Sampler
Sampler
points at.get
in interface Sampler<T extends NumericType<T>>
get
in class AbstractOutOfBoundsMirror<T extends NumericType<T>>
protected final float getWeight(long[] zeroMinPosition)
public OutOfBoundsMirrorExpWindowing<T> copy()
copy
in interface OutOfBounds<T extends NumericType<T>>
copy
in interface Sampler<T extends NumericType<T>>
copy
in class OutOfBoundsMirrorSingleBoundary<T extends NumericType<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 OutOfBoundsMirrorExpWindowing<T> copyRandomAccess()
copyRandomAccess
in interface RandomAccess<T extends NumericType<T>>
copyRandomAccess
in class OutOfBoundsMirrorSingleBoundary<T extends NumericType<T>>
Copyright © 2015–2022 ImgLib2. All rights reserved.