T - The value type of the pixels. You can us Types or
arbitrary Objects. If you use non-Type pixels,
note, that you cannot use Type.set(Type) to change the
value stored in every reference. Instead, you can use the
ListCursor.set(Object) and
ListRandomAccess.set(Object) methods to alter the
underlying ArrayList.public class ListImg<T> extends AbstractListImg<T>
Img stores an image in a single linear ArrayList. Each
pixel is stored as an individual object, so ListImg should only be
used for images with relatively few pixels. In principle, the number of
entities stored is limited to Integer.MAX_VALUE.dim, stepdimension, max, n, numPixels| Constructor and Description |
|---|
ListImg(Collection<T> collection,
long... dim) |
ListImg(long[] dim,
T type) |
| Modifier and Type | Method and Description |
|---|---|
ListImg<T> |
copy() |
protected T |
get(int index) |
protected void |
set(int index,
T value) |
cursor, factory, iterationOrder, localizingCursor, randomAccessdimension, dimensions, firstElement, iterator, max, max, max, min, min, min, numDimensions, numElements, randomAccess, realMax, realMax, realMax, realMin, realMin, realMin, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAt, getAt, getAtforEach, spliteratormaxAsLongArray, maxAsPoint, minAsLongArray, minAsPointmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointallPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivepublic ListImg(long[] dim,
T type)
public ListImg(Collection<T> collection, long... dim)
Copyright © 2015–2022 ImgLib2. All rights reserved.