Package net.imglib2.converter.read
Class ConvertedIterableInterval<A,B extends Type<B>>
java.lang.Object
net.imglib2.AbstractWrappedRealInterval<IterableInterval<A>>
net.imglib2.AbstractWrappedInterval<IterableInterval<A>>
net.imglib2.converter.AbstractConvertedIterableInterval<A,B>
net.imglib2.converter.read.ConvertedIterableInterval<A,B>
- All Implemented Interfaces:
Iterable<B>,Dimensions,EuclideanSpace,Interval,IterableInterval<B>,IterableRealInterval<B>,RealInterval,View
public class ConvertedIterableInterval<A,B extends Type<B>>
extends AbstractConvertedIterableInterval<A,B>
TODO
-
Field Summary
FieldsFields inherited from class net.imglib2.AbstractWrappedRealInterval
sourceInterval -
Constructor Summary
ConstructorsConstructorDescriptionConvertedIterableInterval(IterableInterval<A> source, Converter<? super A, ? super B> converter, B b) Creates a copy of b for conversion. -
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 class net.imglib2.converter.AbstractConvertedIterableInterval
firstElement, iterationOrder, iterator, sizeMethods inherited from class net.imglib2.AbstractWrappedInterval
dimension, dimensions, max, max, max, min, min, minMethods inherited from class net.imglib2.AbstractWrappedRealInterval
getSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMinMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.imglib2.Dimensions
dimension, dimensionsMethods inherited from interface net.imglib2.EuclideanSpace
numDimensionsMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
converter
-
converted
-
-
Constructor Details
-
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 interfaceIterableInterval<A>- Specified by:
cursorin interfaceIterableRealInterval<A>- Specified by:
cursorin classAbstractConvertedIterableInterval<A,B extends Type<B>> - 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 interfaceIterableInterval<A>- Specified by:
localizingCursorin interfaceIterableRealInterval<A>- Specified by:
localizingCursorin classAbstractConvertedIterableInterval<A,B extends Type<B>> - Returns:
- fast localizing iterator
-
getDestinationType
- Returns:
- an instance of the destination
Type.
-
getConverter
-