public class PairOfPointsNeighborhoodUnsafe<T> extends PairOfPointsNeighborhood<T>
PairOfPointsNeighborhood.LocalCursorpositionn| Modifier and Type | Method and Description |
|---|---|
PairOfPointsNeighborhood.LocalCursor |
cursor()
Returns a
RealCursor that iterates with optimal speed without
calculating the location at each iteration step. |
static <T> PairOfPointsNeighborhoodFactory<T> |
factory() |
T |
firstElement()
Get the first element of this
IterableRealInterval. |
dimension, dimensions, getStructuringElementBoundingBox, iterationOrder, iterator, localizingCursor, max, max, max, min, min, min, realMax, realMax, realMax, realMin, realMin, realMin, sizegetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizenumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratormaxAsLongArray, maxAsPoint, minAsLongArray, minAsPointmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointallPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionsgetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, localize, positionAsDoubleArray, positionAsRealPointpublic static <T> PairOfPointsNeighborhoodFactory<T> factory()
public T firstElement()
IterableRealIntervalIterableRealInterval. This is a
shortcut for cursor().next().
This can be used to create a new variable of type T using
firstElement().createVariable(), which is useful in generic
methods to store temporary results, e.g., a running sum over pixels in
the IterableRealInterval.firstElement in interface IterableRealInterval<T>firstElement in class PairOfPointsNeighborhood<T>public PairOfPointsNeighborhood.LocalCursor 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.
cursor in interface IterableInterval<T>cursor in interface IterableRealInterval<T>cursor in class PairOfPointsNeighborhood<T>Copyright © 2015–2022 ImgLib2. All rights reserved.