T - pixel typeA - access typepublic class SingleCellArrayImg<T extends net.imglib2.type.NativeType<T>,A extends net.imglib2.img.basictypeaccess.array.ArrayDataAccess<A>> extends net.imglib2.AbstractInterval implements net.imglib2.img.NativeImg<T,A>
NativeImg representing a single cell of an AbstractCellImg.
It is similar to ArrayImg except that minimum is not at the origin
but at the minimum of the cell within the AbstractCellImg.max, minn| Constructor and Description |
|---|
SingleCellArrayImg(int n) |
SingleCellArrayImg(int[] cellDims,
long[] cellMin,
A cellData,
net.imglib2.Dirty dirtyFlag) |
| Modifier and Type | Method and Description |
|---|---|
net.imglib2.img.Img<T> |
copy() |
T |
createLinkedType() |
net.imglib2.Cursor<T> |
cursor() |
net.imglib2.img.ImgFactory<T> |
factory() |
T |
firstElement() |
Object |
getStorageArray()
Get the single primitive array containing the data of this cell.
|
T |
getType() |
Object |
iterationOrder() |
Iterator<T> |
iterator() |
net.imglib2.Cursor<T> |
localizingCursor() |
net.imglib2.RandomAccess<T> |
randomAccess() |
net.imglib2.RandomAccess<T> |
randomAccess(net.imglib2.Interval interval) |
void |
setDirty()
If the cell is backed by a
Dirty-capable access, flag it as
dirty. |
void |
setLinkedType(T type) |
long |
size() |
A |
update(Object updater) |
dimension, dimensions, max, max, max, min, min, min, realMax, realMax, realMax, realMin, realMin, realMin, toStringnumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAccessTypeviewgetAt, getAt, getAtlocalizingSpliterator, spliteratorparallelStream, streamdimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMinallPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionspublic SingleCellArrayImg(int n)
public SingleCellArrayImg(int[] cellDims,
long[] cellMin,
A cellData,
net.imglib2.Dirty dirtyFlag)
public void setLinkedType(T type)
setLinkedType in interface net.imglib2.img.NativeImg<T extends net.imglib2.type.NativeType<T>,A extends net.imglib2.img.basictypeaccess.array.ArrayDataAccess<A>>public T createLinkedType()
createLinkedType in interface net.imglib2.img.NativeImg<T extends net.imglib2.type.NativeType<T>,A extends net.imglib2.img.basictypeaccess.array.ArrayDataAccess<A>>public A update(Object updater)
update in interface net.imglib2.img.NativeImg<T extends net.imglib2.type.NativeType<T>,A extends net.imglib2.img.basictypeaccess.array.ArrayDataAccess<A>>public Object getStorageArray()
char[], byte[], short[], int[],
long[], double[], or float[], depending
on the pixel type.public void setDirty()
Dirty-capable access, flag it as
dirty. (Otherwise, do nothing.)public net.imglib2.RandomAccess<T> randomAccess()
randomAccess in interface net.imglib2.RandomAccessible<T extends net.imglib2.type.NativeType<T>>public net.imglib2.RandomAccess<T> randomAccess(net.imglib2.Interval interval)
randomAccess in interface net.imglib2.RandomAccessible<T extends net.imglib2.type.NativeType<T>>public T getType()
getType in interface net.imglib2.IterableRealInterval<T extends net.imglib2.type.NativeType<T>>getType in interface net.imglib2.Typed<T extends net.imglib2.type.NativeType<T>>public net.imglib2.Cursor<T> cursor()
cursor in interface net.imglib2.IterableInterval<T extends net.imglib2.type.NativeType<T>>cursor in interface net.imglib2.IterableRealInterval<T extends net.imglib2.type.NativeType<T>>cursor in interface net.imglib2.RandomAccessibleInterval<T extends net.imglib2.type.NativeType<T>>public net.imglib2.Cursor<T> localizingCursor()
localizingCursor in interface net.imglib2.IterableInterval<T extends net.imglib2.type.NativeType<T>>localizingCursor in interface net.imglib2.IterableRealInterval<T extends net.imglib2.type.NativeType<T>>localizingCursor in interface net.imglib2.RandomAccessibleInterval<T extends net.imglib2.type.NativeType<T>>public net.imglib2.img.ImgFactory<T> factory()
factory in interface net.imglib2.img.Img<T extends net.imglib2.type.NativeType<T>>public net.imglib2.img.Img<T> copy()
copy in interface net.imglib2.img.Img<T extends net.imglib2.type.NativeType<T>>public long size()
size in interface net.imglib2.IterableRealInterval<T extends net.imglib2.type.NativeType<T>>size in interface net.imglib2.RandomAccessibleInterval<T extends net.imglib2.type.NativeType<T>>public T firstElement()
firstElement in interface net.imglib2.IterableRealInterval<T extends net.imglib2.type.NativeType<T>>public Object iterationOrder()
iterationOrder in interface net.imglib2.IterableRealInterval<T extends net.imglib2.type.NativeType<T>>iterationOrder in interface net.imglib2.RandomAccessibleInterval<T extends net.imglib2.type.NativeType<T>>public Iterator<T> iterator()
iterator in interface Iterable<T extends net.imglib2.type.NativeType<T>>iterator in interface net.imglib2.IterableRealInterval<T extends net.imglib2.type.NativeType<T>>Copyright © 2017–2025 ImgLib2. All rights reserved.