public class NearestNeighborSearchInterpolator<T> extends RealPoint implements RealRandomAccess<T>
NearestNeighborSearch.| Modifier and Type | Field and Description |
|---|---|
protected NearestNeighborSearch<T> |
search |
positionn| Constructor and Description |
|---|
NearestNeighborSearchInterpolator(NearestNeighborSearch<T> search) |
| Modifier and Type | Method and Description |
|---|---|
NearestNeighborSearchInterpolator<T> |
copy() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
T |
getType()
Get an instance of
T. |
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, 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 NearestNeighborSearch<T> search
public NearestNeighborSearchInterpolator(NearestNeighborSearch<T> search)
public T get()
SamplerSampler points at.public T getType()
TypedT.
It should not be assumed that the returned T instance is an
independent copy. In particular, repeated calls to getType() may
return the same instance.
public NearestNeighborSearchInterpolator<T> copy()
copy in interface RealRandomAccess<T>copy in interface Sampler<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)Copyright © 2009–2024 ImgLib2. All rights reserved.