T - pixel typeA - access typepublic class SingleCellArrayImg<T extends NativeType<T>,A extends ArrayDataAccess<A>> extends AbstractInterval implements 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,
Dirty dirtyFlag) |
| Modifier and Type | Method and Description |
|---|---|
Img<T> |
copy() |
T |
createLinkedType() |
Cursor<T> |
cursor() |
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() |
Cursor<T> |
localizingCursor() |
RandomAccess<T> |
randomAccess() |
RandomAccess<T> |
randomAccess(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 void setLinkedType(T type)
setLinkedType in interface NativeImg<T extends NativeType<T>,A extends ArrayDataAccess<A>>public T createLinkedType()
createLinkedType in interface NativeImg<T extends NativeType<T>,A extends ArrayDataAccess<A>>public A update(Object updater)
update in interface NativeImg<T extends NativeType<T>,A extends 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 RandomAccess<T> randomAccess()
randomAccess in interface RandomAccessible<T extends NativeType<T>>public RandomAccess<T> randomAccess(Interval interval)
randomAccess in interface RandomAccessible<T extends NativeType<T>>public T getType()
getType in interface IterableRealInterval<T extends NativeType<T>>getType in interface Typed<T extends NativeType<T>>public Cursor<T> cursor()
cursor in interface IterableInterval<T extends NativeType<T>>cursor in interface IterableRealInterval<T extends NativeType<T>>cursor in interface RandomAccessibleInterval<T extends NativeType<T>>public Cursor<T> localizingCursor()
localizingCursor in interface IterableInterval<T extends NativeType<T>>localizingCursor in interface IterableRealInterval<T extends NativeType<T>>localizingCursor in interface RandomAccessibleInterval<T extends NativeType<T>>public ImgFactory<T> factory()
factory in interface Img<T extends NativeType<T>>public long size()
size in interface IterableRealInterval<T extends NativeType<T>>size in interface RandomAccessibleInterval<T extends NativeType<T>>public T firstElement()
firstElement in interface IterableRealInterval<T extends NativeType<T>>public Object iterationOrder()
iterationOrder in interface IterableRealInterval<T extends NativeType<T>>iterationOrder in interface RandomAccessibleInterval<T extends NativeType<T>>public Iterator<T> iterator()
iterator in interface Iterable<T extends NativeType<T>>iterator in interface IterableRealInterval<T extends NativeType<T>>Copyright © 2017–2024 ImgLib2. All rights reserved.