public class WriteConvertedIterableRealInterval<A,B> extends AbstractConvertedIterableRealInterval<A,B>
sourceInterval
Constructor and Description |
---|
WriteConvertedIterableRealInterval(IterableRealInterval<A> source,
SamplerConverter<? super A,B> converter) |
WriteConvertedIterableRealInterval(IterableRealInterval<A> source,
Supplier<SamplerConverter<? super A,B>> converterSupplier) |
Modifier and Type | Method and Description |
---|---|
WriteConvertedRealCursor<A,B> |
cursor()
Returns a
RealCursor that iterates with optimal speed without
calculating the location at each iteration step. |
WriteConvertedRealCursor<A,B> |
localizingCursor()
Returns a
RealLocalizable Iterator that calculates its
location at each iteration step. |
firstElement, iterationOrder, iterator, size
getSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMin
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMax, realMin, realMin, realMin
numDimensions
forEach, spliterator
public WriteConvertedIterableRealInterval(IterableRealInterval<A> source, Supplier<SamplerConverter<? super A,B>> converterSupplier)
public WriteConvertedIterableRealInterval(IterableRealInterval<A> source, SamplerConverter<? super A,B> converter)
public WriteConvertedRealCursor<A,B> cursor()
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.
cursor
in interface IterableRealInterval<B>
cursor
in class AbstractConvertedIterableRealInterval<A,B>
public WriteConvertedRealCursor<A,B> localizingCursor()
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.
localizingCursor
in interface IterableRealInterval<B>
localizingCursor
in class AbstractConvertedIterableRealInterval<A,B>
Copyright © 2015–2022 ImgLib2. All rights reserved.