public class SlicesII<T> extends AbstractInterval implements IterableInterval<RandomAccessibleInterval<T>>
RandomAccessibleInterval
s
(e.g. Img
s)max, min
n
Constructor and Description |
---|
SlicesII(RandomAccessibleInterval<T> source,
int[] axesOfInterest) |
SlicesII(RandomAccessibleInterval<T> source,
int[] axesOfInterest,
boolean dropSingletonDimensions) |
Modifier and Type | Method and Description |
---|---|
Cursor<RandomAccessibleInterval<T>> |
cursor() |
RandomAccessibleInterval<T> |
firstElement() |
Object |
iterationOrder() |
Iterator<RandomAccessibleInterval<T>> |
iterator() |
Cursor<RandomAccessibleInterval<T>> |
localizingCursor() |
long |
size() |
dimension, dimensions, max, max, max, min, min, min, realMax, realMax, realMax, realMin, realMin, realMin, toString
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
dimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMin
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMin
allPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
numDimensions
public SlicesII(RandomAccessibleInterval<T> source, int[] axesOfInterest, boolean dropSingletonDimensions)
source
- RandomAccessibleInterval
which will be virtually
croppedaxesOfInterest
- axes which define a plane, cube, hypercube, ...! All other
axes will be iterated.dropSingletonDimensions
- if true, dimensions of size one will be discarded in the
sliced imagespublic SlicesII(RandomAccessibleInterval<T> source, int[] axesOfInterest)
source
- RandomAccessibleInterval
which will be virtually
croppedaxesOfInterest
- axes which define a plane, cube, hypercube, ...! All other
axes will be iterated.public Cursor<RandomAccessibleInterval<T>> cursor()
cursor
in interface IterableInterval<RandomAccessibleInterval<T>>
cursor
in interface IterableRealInterval<RandomAccessibleInterval<T>>
public Cursor<RandomAccessibleInterval<T>> localizingCursor()
localizingCursor
in interface IterableInterval<RandomAccessibleInterval<T>>
localizingCursor
in interface IterableRealInterval<RandomAccessibleInterval<T>>
public long size()
size
in interface IterableRealInterval<RandomAccessibleInterval<T>>
public RandomAccessibleInterval<T> firstElement()
firstElement
in interface IterableRealInterval<RandomAccessibleInterval<T>>
public Object iterationOrder()
iterationOrder
in interface IterableRealInterval<RandomAccessibleInterval<T>>
public Iterator<RandomAccessibleInterval<T>> iterator()
iterator
in interface Iterable<RandomAccessibleInterval<T>>
Copyright © 2014–2022 ImageJ. All rights reserved.