public static final class LazyCellImg.LazyCells<T> extends AbstractLongListImg<T>
AbstractLongListImg.LongListCursor, AbstractLongListImg.LongListLocalizingCursor, AbstractLongListImg.LongListRandomAccess
step
dimension, max, n, numPixels
Constructor and Description |
---|
LazyCells(long[] dimensions,
LazyCellImg.Get<T> get) |
Modifier and Type | Method and Description |
---|---|
Img<T> |
copy() |
ImgFactory<T> |
factory()
Get a
ImgFactory that creates Img s of the same kind as
this one. |
protected T |
get(long index) |
protected void |
set(long index,
T value) |
cursor, iterationOrder, localizingCursor, randomAccess
dimension, dimensions, firstElement, iterator, max, max, max, min, min, min, numDimensions, numElements, randomAccess, realMax, realMax, realMax, realMin, realMin, realMin, size, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAt, getAt, getAt
forEach, spliterator
maxAsLongArray, maxAsPoint, minAsLongArray, minAsPoint
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
allPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
public LazyCells(long[] dimensions, LazyCellImg.Get<T> get)
protected T get(long index)
get
in class AbstractLongListImg<T>
protected void set(long index, T value)
set
in class AbstractLongListImg<T>
public ImgFactory<T> factory()
Img
ImgFactory
that creates Img
s of the same kind as
this one.
This is useful to create Imgs for temporary storage in generic methods
where the specific Img type is unknown. Note, that the factory can be
used even if all references to this Img have been invalidated.Copyright © 2015–2022 ImgLib2. All rights reserved.