Package net.imglib2
Interface IterableInterval<T>
- All Superinterfaces:
Dimensions
,EuclideanSpace
,Interval
,Iterable<T>
,IterableRealInterval<T>
,RealInterval
- All Known Implementing Classes:
AbstractCellImg
,AbstractConvertedIterableInterval
,AbstractConvertedIterableRandomAccessibleInterval
,AbstractImg
,AbstractListImg
,AbstractLongListImg
,AbstractNativeImg
,ARGBScreenImage
,ArrayImg
,ArrayImgAWTScreenImage
,ByteAWTScreenImage
,CellImg
,ConvertedIterableInterval
,DiscreteFrequencyDistribution
,DoubleAWTScreenImage
,FloatAWTScreenImage
,Histogram1d
,HistogramNd
,ImgView
,IntAWTScreenImage
,IntervalView
,IterableRandomAccessibleInterval
,LazyCellImg
,LazyCellImg.LazyCells
,ListImg
,NtreeImg
,PlanarImg
,PointSampleList
,ShortAWTScreenImage
,UnsignedByteAWTScreenImage
,UnsignedIntAWTScreenImage
,UnsignedShortAWTScreenImage
,WriteConvertedIterableInterval
,WriteConvertedIterableRandomAccessibleInterval
An
IterableRealInterval
whose elements are located at integer
coordinates.- Author:
- Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld
-
Method Summary
Modifier and TypeMethodDescriptioncursor()
Returns aRealCursor
that iterates with optimal speed without calculating the location at each iteration step.Returns aRealLocalizable
Iterator
that calculates its location at each iteration step.Methods inherited from interface net.imglib2.Dimensions
dimension, dimensions
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface net.imglib2.IterableRealInterval
firstElement, iterationOrder, size
-
Method Details
-
cursor
Description copied from interface:IterableRealInterval
Returns a
RealCursor
that iterates with optimal speed without calculating the location at each iteration step. Localization is performed on demand.Use this where localization is required rarely/ not for each iteration.
- Specified by:
cursor
in interfaceIterableRealInterval<T>
- Returns:
- fast iterating iterator
-
localizingCursor
Description copied from interface:IterableRealInterval
Returns a
RealLocalizable
Iterator
that calculates its location at each iteration step. That is, localization is performed with optimal speed.Use this where localization is required often/ for each iteration.
- Specified by:
localizingCursor
in interfaceIterableRealInterval<T>
- Returns:
- fast localizing iterator
-