A - B - public class IterableIntervalProjector2D<A,B> extends AbstractProjector2D
IterableInterval.
Depending on input and output an optimal strategy is chosen in the map() method.
Starting from the reference point two dimensions are sampled such
that a plain gets cut out of a higher dimensional data volume. Converter. | Modifier and Type | Field and Description |
|---|---|
protected Converter<? super A,B> |
converter |
protected RandomAccessible<A> |
source |
protected IterableInterval<B> |
target |
max, minpositionn| Constructor and Description |
|---|
IterableIntervalProjector2D(int dimX,
int dimY,
RandomAccessible<A> source,
IterableInterval<B> target,
Converter<? super A,B> converter)
creates a new 2D projector that samples a plain in the dimensions dimX,
dimY.
|
| Modifier and Type | Method and Description |
|---|---|
void |
map()
projects data from the source to the target and applies the former
specified
Converter e.g. |
bck, equals, fwd, hashCode, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition, toString, wrapgetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizenumDimensionsclone, finalize, getClass, notify, notifyAll, wait, wait, waitnumDimensionslocalize, positionAsLongArray, positionAsPointlocalize, positionAsDoubleArray, positionAsRealPointprotected final RandomAccessible<A> source
protected final IterableInterval<B> target
public IterableIntervalProjector2D(int dimX,
int dimY,
RandomAccessible<A> source,
IterableInterval<B> target,
Converter<? super A,B> converter)
dimX - dimY - source - target - converter - a converter that is applied to each point in the plain. This
can e.g. be used for normalization, conversions, ...public void map()
Converter e.g. for normalization.Copyright © 2015–2022 ImgLib2. All rights reserved.