public class EllipseNeighborhood<T> extends AbstractNeighborhood<T>
center, extendedSource, n, outOfBounds, source, span
Constructor and Description |
---|
EllipseNeighborhood(RandomAccessibleInterval<T> source,
long[] center,
long[] radiuses) |
EllipseNeighborhood(RandomAccessibleInterval<T> source,
long[] center,
long[] radiuses,
OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBounds) |
Modifier and Type | Method and Description |
---|---|
EllipseNeighborhood<T> |
copy()
Copies the
AbstractNeighborhood . |
EllipseCursor<T> |
cursor()
Returns a
RealCursor that iterates with optimal speed without
calculating the location at each iteration step. |
EllipseCursor<T> |
iterator() |
EllipseCursor<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, updateSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
maxAsLongArray, maxAsPoint, minAsLongArray, minAsPoint
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
allPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
public EllipseNeighborhood(RandomAccessibleInterval<T> source, long[] center, long[] radiuses, OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBounds)
public EllipseNeighborhood(RandomAccessibleInterval<T> source, long[] center, long[] radiuses)
public long size()
IterableRealInterval
Returns the number of elements in this Function
.
public EllipseCursor<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 EllipseCursor<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 EllipseCursor<T> iterator()
public EllipseNeighborhood<T> copy()
AbstractNeighborhood
AbstractNeighborhood
.copy
in class AbstractNeighborhood<T>
Copyright © 2015–2022 ImgLib2. All rights reserved.