public class BufferedRectangularNeighborhood<T extends Type<T>> extends AbstractNeighborhood<T>
center, extendedSource, n, outOfBounds, source, span| Constructor and Description |
|---|
BufferedRectangularNeighborhood(int numDims,
OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBounds,
long[] spans) |
BufferedRectangularNeighborhood(RandomAccessibleInterval<T> source,
OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBounds,
long[] spans) |
| Modifier and Type | Method and Description |
|---|---|
BufferedRectangularNeighborhood<T> |
copy()
Copies the
AbstractNeighborhood. |
Cursor<T> |
cursor()
Returns a
RealCursor that iterates with optimal speed without
calculating the location at each iteration step. |
Iterator<T> |
iterator() |
Cursor<T> |
localizingCursor()
Returns a
RealLocalizable Iterator that calculates its
location at each iteration step. |
long |
size()
Returns the number of elements in this
Function. |
bck, dimension, dimensions, firstElement, fwd, iterationOrder, max, max, max, min, min, min, move, move, move, move, move, numDimensions, realMax, realMax, realMax, realMin, realMin, realMin, setPosition, setPosition, setPosition, setPosition, setPosition, setSpan, updateSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratormaxAsLongArray, maxAsPoint, minAsLongArray, minAsPointmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointallPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivepublic BufferedRectangularNeighborhood(RandomAccessibleInterval<T> source, OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBounds, long[] spans)
public BufferedRectangularNeighborhood(int numDims,
OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBounds,
long[] spans)
public Cursor<T> cursor()
IterableRealInterval
Returns a RealCursor that iterates with optimal speed without
calculating the location at each iteration step. Localization is
performed on demand.
Use this where localization is required rarely/ not for each iteration.
public Cursor<T> localizingCursor()
IterableRealInterval
Returns a RealLocalizable Iterator that calculates its
location at each iteration step. That is, localization is performed with
optimal speed.
Use this where localization is required often/ for each iteration.
public long size()
IterableRealInterval
Returns the number of elements in this Function.
public BufferedRectangularNeighborhood<T> copy()
AbstractNeighborhoodAbstractNeighborhood.copy in class AbstractNeighborhood<T extends Type<T>>Copyright © 2015–2022 ImgLib2. All rights reserved.