T
- public class SortedGrayLevelIteratorArrayContainerOnly<T extends IntegerType<T>> extends AbstractSortedGrayLevelIterator<T>
Modifier and Type | Field and Description |
---|---|
protected T |
arrayType |
curIdx, dimensions, image, maxIdx, n, position, sortedLinIdx
Constructor and Description |
---|
SortedGrayLevelIteratorArrayContainerOnly(Image<T> image) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
createInternalCursor() |
void |
fwd() |
void |
fwd(long steps) |
protected int |
getIntegerValueAtLinearIndex(int p) |
int |
getPosition(int dim)
Return the current position in a given dimension.
|
void |
getPosition(int[] position)
Write the current position into the passed array.
|
int |
getStorageIndex() |
T |
getType() |
Iterator<T> |
iterator() |
createPositionArray, getArrayIndex, getDimensions, getDimensions, getImage, getLinearIndexArraySortedByGrayLevel, getNumDimensions, getPosition, getPositionAsString, getStorageContainer, hasNext, indexToPosition, isActive, max, next, positionToIndex, remove, reset, setDebug
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
protected T extends IntegerType<T> arrayType
protected void createInternalCursor()
createInternalCursor
in class AbstractSortedGrayLevelIterator<T extends IntegerType<T>>
protected int getIntegerValueAtLinearIndex(int p)
getIntegerValueAtLinearIndex
in class AbstractSortedGrayLevelIterator<T extends IntegerType<T>>
public void fwd()
fwd
in interface Iterable
fwd
in class AbstractSortedGrayLevelIterator<T extends IntegerType<T>>
public void fwd(long steps)
public void getPosition(int[] position)
Localizable
public int getPosition(int dim)
Localizable
public void close()
public int getStorageIndex()
getStorageIndex
in interface Cursor<T extends IntegerType<T>>
getStorageIndex
in class AbstractSortedGrayLevelIterator<T extends IntegerType<T>>
public T getType()
public Iterator<T> iterator()
iterator
in class AbstractSortedGrayLevelIterator<T extends IntegerType<T>>
Copyright © 2015–2021 Fiji. All rights reserved.