Package net.imglib2.converter.readwrite
Class WriteConvertedIterableInterval<A,B>
java.lang.Object
net.imglib2.AbstractWrappedRealInterval<IterableInterval<A>>
net.imglib2.AbstractWrappedInterval<IterableInterval<A>>
net.imglib2.converter.AbstractConvertedIterableInterval<A,B>
net.imglib2.converter.readwrite.WriteConvertedIterableInterval<A,B>
- All Implemented Interfaces:
Iterable<B>
,Dimensions
,EuclideanSpace
,Interval
,IterableInterval<B>
,IterableRealInterval<B>
,RealInterval
,View
TODO
-
Field Summary
Fields inherited from class net.imglib2.AbstractWrappedRealInterval
sourceInterval
-
Constructor Summary
ConstructorsConstructorDescriptionWriteConvertedIterableInterval
(IterableInterval<A> source, SamplerConverter<? super A, B> converter) -
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 class net.imglib2.converter.AbstractConvertedIterableInterval
firstElement, iterationOrder, iterator, size
Methods inherited from class net.imglib2.AbstractWrappedInterval
dimension, dimensions, max, max, max, min, min, min
Methods inherited from class net.imglib2.AbstractWrappedRealInterval
getSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMin
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, spliterator
-
Constructor Details
-
WriteConvertedIterableInterval
public WriteConvertedIterableInterval(IterableInterval<A> source, SamplerConverter<? super A, B> converter)
-
-
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 interfaceIterableInterval<A>
- Specified by:
cursor
in interfaceIterableRealInterval<A>
- Specified by:
cursor
in classAbstractConvertedIterableInterval<A,
B> - 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 interfaceIterableInterval<A>
- Specified by:
localizingCursor
in interfaceIterableRealInterval<A>
- Specified by:
localizingCursor
in classAbstractConvertedIterableInterval<A,
B> - Returns:
- fast localizing iterator
-