public class RadialKDTreeInterpolator<T extends NumericType<T>> extends RealPoint implements RealRandomAccess<T>
| Modifier and Type | Field and Description |
|---|---|
protected double |
maxRadius |
protected double |
maxSquaredRadius |
protected static double |
minThreshold |
protected RadiusNeighborSearch<T> |
search |
protected DoubleUnaryOperator |
squaredRadiusFunction |
protected T |
tmp |
protected KDTree<T> |
tree |
protected T |
value |
positionn| Constructor and Description |
|---|
RadialKDTreeInterpolator(KDTree<T> tree,
DoubleUnaryOperator squaredRadiusFunction,
double maxRadius,
T t) |
| Modifier and Type | Method and Description |
|---|---|
RadialKDTreeInterpolator<T> |
copy() |
RadialKDTreeInterpolator<T> |
copyRealRandomAccess() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
double |
getMaxRadius() |
bck, equals, fwd, hashCode, move, move, move, move, move, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, toString, wrapgetDoublePosition, getFloatPosition, localize, localizenumDimensionsclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetPositionAndGet, 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 static final double minThreshold
protected final RadiusNeighborSearch<T extends NumericType<T>> search
protected final double maxRadius
protected final double maxSquaredRadius
protected final KDTree<T extends NumericType<T>> tree
protected final T extends NumericType<T> value
protected final T extends NumericType<T> tmp
protected final DoubleUnaryOperator squaredRadiusFunction
public RadialKDTreeInterpolator(KDTree<T> tree, DoubleUnaryOperator squaredRadiusFunction, double maxRadius, T t)
public double getMaxRadius()
public T get()
SamplerSampler points at.get in interface Sampler<T extends NumericType<T>>public RadialKDTreeInterpolator<T> copy()
copy in interface RealRandomAccess<T extends NumericType<T>>copy in interface Sampler<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 RadialKDTreeInterpolator<T> copyRealRandomAccess()
copyRealRandomAccess in interface RealRandomAccess<T extends NumericType<T>>Copyright © 2009–2024 ImgLib2. All rights reserved.