Use this class to iterate a virtual rectangular {@link Interval} whose
min coordinates are at 0
n in flat order, that is: row by row, plane by plane, cube by cube, ... This is useful for iterating an arbitrary interval in a defined order. For that, connect a {@link ZeroMinIntervalIterator} to a {@link Positionable}.
... ZeroMinIntervalIterator i = new ZeroMinIntervalIterator(image); RandomAccess s = image.randomAccess(); while (i.hasNext()) { i.fwd(); s.setPosition(i); s.type().performOperation(...); ... } ...
Note that {@link ZeroMinIntervalIterator} is the right choice in situationswhere
not for each pixel you want to localize and/or set the {@link Positionable} [{@link Sampler}], that is in a sparse sampling situation. For localizing at each iteration step (as in the simplified example above), use {@link LocalizingZeroMinIntervalIterator} instead.
@author Stephan Preibisch
@author Stephan Saalfeld
@author Stephan Saalfeld