D - position component type. should be DoubleType or FloatTypeT - target pixel typeF - corresponding position field array type (must be float[] or double[])P - corresponding target primitive array type (i.e., float[] or double[])public interface PositionFieldFunction<D extends net.imglib2.type.NativeType<D> & net.imglib2.type.numeric.RealType<D>,T extends net.imglib2.type.NativeType<T>,F,P>
T.| Modifier and Type | Method and Description |
|---|---|
void |
compute(P dest,
int length,
F positionField,
double[] positionOffset)
Compute a block of target values from a block of position vectors.
|
T |
getType()
Returns an instance of the target pixel type.
|
PositionFieldFunction<D,T,F,P> |
independentCopy()
Returns an instance of this
PositionFieldFunction that can be
used independently, e.g., in another thread. |
void compute(P dest, int length, F positionField, double[] positionOffset)
dest - block of output values to filllength - number of output values (and number of positionField vectors)positionField - position field blockpositionOffset - offset to add to positionField vectorsPositionFieldFunction<D,T,F,P> independentCopy()
PositionFieldFunction that can be
used independently, e.g., in another thread.T getType()
Copyright © 2009–2026 ImgLib2. All rights reserved.