@Deprecated public class LocalNeighborhoodCursor<T> extends AbstractCursor<T>
| Modifier and Type | Field and Description |
|---|---|
protected RandomAccess<T> |
parent
Deprecated.
|
n| Constructor and Description |
|---|
LocalNeighborhoodCursor(RandomAccess<T> parent,
long span)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
LocalNeighborhoodCursor<T> |
copy()
Deprecated.
|
LocalNeighborhoodCursor<T> |
copyCursor()
Deprecated.
|
void |
fwd()
Deprecated.
|
T |
get()
Deprecated.
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
long |
getLongPosition(int d)
Deprecated.
Return the current position in a given dimension.
|
boolean |
hasNext()
Deprecated.
|
void |
localize(long[] pos)
Deprecated.
Write the current position into the passed array.
|
void |
reset()
Deprecated.
|
void |
reset(long[] currentParentPosition)
Deprecated.
|
getDoublePosition, getFloatPosition, getIntPosition, jumpFwd, localize, localize, localize, next, remove, toStringnumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemaininglocalize, positionAsLongArray, positionAsPointlocalize, positionAsDoubleArray, positionAsRealPointnumDimensionsprotected final RandomAccess<T> parent
public LocalNeighborhoodCursor(RandomAccess<T> parent, long span)
parent - A copy of it will be made internally, to be updated by reset(long[]).span - Iterates from -span to +span in each dimension.public T get()
SamplerSampler points at.public void fwd()
public void reset()
public void reset(long[] currentParentPosition)
public boolean hasNext()
public void localize(long[] pos)
Localizablepos - receives current positionpublic long getLongPosition(int d)
Localizabled - dimensionpublic LocalNeighborhoodCursor<T> copy()
copy in interface Sampler<T>copy in class AbstractCursor<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 LocalNeighborhoodCursor<T> copyCursor()
copyCursor in interface Cursor<T>copyCursor in interface RealCursor<T>copyCursor in class AbstractCursor<T>Copyright © 2015–2022 ImgLib2. All rights reserved.