T - pixel typepublic interface PositionableIterableInterval<T> extends IterableInterval<T>, Localizable, Positionable
IterableInterval that can be moved around.
PositionableIterableInterval is mainly intended as a return type. It
is discouraged to take PositionableIterableInterval as a method
parameter. IterableInterval<T> & Localizable & Positionable should be
preferred where possible.
| Modifier and Type | Method and Description |
|---|---|
PositionableIterableInterval<T> |
copy()
Make a copy of this
PositionableIterableInterval which can be
positioned independently. |
PositionableLocalizable |
origin()
Get the
Positionable, Localizable origin of this
interval. |
cursor, localizingCursorfirstElement, iterationOrder, sizeforEach, iterator, spliteratordimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMinallPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionsgetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, localize, positionAsDoubleArray, positionAsRealPointbck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositionPositionableLocalizable origin()
Positionable, Localizable origin of this
interval.
The origin is the relative offset of the position to the minimum. For
example if a positionable (bitmask) region is made from a BitType
image with a circular pattern, then it is more natural if the region
position refers to the center of the pattern instead of the upper left
corner of the BitType image. This can be achieved by positioning
the origin.
Assume a region is created from a 9x9 bitmask. The region initially has
min=(0,0), max=(8,8), position=(0,0). Because both position and min are
(0,0), initially origin=(0,0). Now assume the origin is moved to the
center of the bitmask using
origin().setPosition(new int[]{4,4}). After this,
min=(-4,-4), max=(4,4), position=(0,0), and origin=(4,4).
PositionableIterableInterval<T> copy()
PositionableIterableInterval which can be
positioned independently.Copyright © 2015–2022 ImgLib2. All rights reserved.