T
- public final class BoundaryRandomAccess4<T extends BooleanType<T>> extends AbstractConvertedRandomAccess<T,BoolType>
BoolType
RandomAccess
on a BooleanType
source
RandomAccessibleInterval
. It is true
for pixels that are
true
in the source and have at least one false
pixel in their
4-neighborhood (or n-dimensional equivalent).source
Constructor and Description |
---|
BoundaryRandomAccess4(RandomAccessibleInterval<T> sourceInterval) |
Modifier and Type | Method and Description |
---|---|
BoundaryRandomAccess4<T> |
copy() |
BoolType |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
bck, copyRandomAccess, fwd, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, move, move, move, move, move, numDimensions, setPosition, setPosition, setPosition, setPosition, setPosition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setPositionAndGet, setPositionAndGet, setPositionAndGet
localize, positionAsLongArray, positionAsPoint
localize, positionAsDoubleArray, positionAsRealPoint
public BoundaryRandomAccess4(RandomAccessibleInterval<T> sourceInterval)
public BoolType get()
Sampler
Sampler
points at.public BoundaryRandomAccess4<T> copy()
copy
in interface Sampler<BoolType>
copy
in class AbstractConvertedRandomAccess<T extends BooleanType<T>,BoolType>
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 © 2015–2022 ImgLib2. All rights reserved.