Class ListImg<T>
java.lang.Object
net.imglib2.img.AbstractImg<T>
net.imglib2.img.list.AbstractListImg<T>
net.imglib2.img.list.ListImg<T>
- Type Parameters:
T- The value type of the pixels. You can usTypes or arbitraryObjects. If you use non-Typepixels, note, that you cannot useType.set(Type)to change the value stored in every reference. Instead, you can use theListCursor.set(Object)andListRandomAccess.set(Object)methods to alter the underlyingArrayList.
- All Implemented Interfaces:
Iterable<T>, Dimensions, EuclideanSpace, Img<T>, Interval, IterableInterval<T>, IterableRealInterval<T>, RandomAccessible<T>, RandomAccessibleInterval<T>, RealInterval, Typed<T>
This
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.-
Field Summary
FieldsFields inherited from class AbstractListImg
dim, stepFields inherited from class AbstractImg
dimension, max, n, numPixels -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractListImg
cursor, factory, iterationOrder, localizingCursor, randomAccessMethods inherited from class AbstractImg
dimension, dimensions, max, max, max, min, min, min, numDimensions, numElements, randomAccess, realMax, realMax, realMax, realMin, realMin, realMin, size, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Dimensions
dimensions, dimensionsAsLongArray, dimensionsAsPointMethods inherited from interface Interval
maxAsLongArray, maxAsPoint, minAsLongArray, minAsPointMethods inherited from interface IterableInterval
localizingSpliterator, spliteratorMethods inherited from interface IterableRealInterval
firstElement, iterator, parallelStream, streamMethods inherited from interface RandomAccessible
getAt, getAt, getAtMethods inherited from interface RealInterval
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
-
Field Details
-
pixels
-
type
-
-
Constructor Details
-
ListImg
-
ListImg
-
ListImg
-
ListImg
-
-
Method Details
-
get
- Specified by:
getin classAbstractListImg<T>
-
getType
-
set
- Specified by:
setin classAbstractListImg<T>
-
copyWithType
-
copy
-
wrap
-