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 aRealCursorthat iterates with optimal speed without calculating the location at each iteration step.Returns aRealLocalizableIteratorthat calculates its location at each iteration step.Methods inherited from interface net.imglib2.Dimensions
dimension, dimensionsMethods inherited from interface net.imglib2.EuclideanSpace
numDimensionsMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface net.imglib2.IterableRealInterval
firstElement, iterationOrder, size
-
Method Details
-
cursor
Description copied from interface:IterableRealIntervalReturns a
RealCursorthat 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:
cursorin interfaceIterableRealInterval<T>- Returns:
- fast iterating iterator
-
localizingCursor
Description copied from interface:IterableRealIntervalReturns a
RealLocalizableIteratorthat 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:
localizingCursorin interfaceIterableRealInterval<T>- Returns:
- fast localizing iterator
-