public class DeformationFieldTransform<T extends RealType<T>> extends PositionFieldTransform<T>
RealTransform by continuous offset lookup.positionAccesses| Constructor and Description |
|---|
DeformationFieldTransform(OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBoundsFactory,
InterpolatorFactory<T,RandomAccessible<T>> interpolatorFactory,
RandomAccessibleInterval<T>... positions) |
DeformationFieldTransform(RandomAccessibleInterval<T>... positions) |
DeformationFieldTransform(RealRandomAccess<T>... positionAccesses) |
DeformationFieldTransform(RealRandomAccessible<T>... positions) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(double[] source,
double[] target)
Apply the
RealTransform to a source vector to obtain a target
vector. |
void |
apply(float[] source,
float[] target)
Apply the
RealTransform to a source vector to obtain a target
vector. |
void |
apply(RealLocalizable source,
RealPositionable target)
|
RealTransform |
copy()
Create a deep copy of this
RealTransform. |
copyAccesses, extendAndInterpolate, numSourceDimensions, numTargetDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisIdentitypublic DeformationFieldTransform(RealRandomAccess<T>... positionAccesses)
@SafeVarargs public DeformationFieldTransform(RealRandomAccessible<T>... positions)
@SafeVarargs public DeformationFieldTransform(RandomAccessibleInterval<T>... positions)
@SafeVarargs public DeformationFieldTransform(OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBoundsFactory, InterpolatorFactory<T,RandomAccessible<T>> interpolatorFactory, RandomAccessibleInterval<T>... positions)
public void apply(double[] source,
double[] target)
RealTransformRealTransform to a source vector to obtain a target
vector.apply in interface RealTransformapply in class PositionFieldTransform<T extends RealType<T>>source - source coordinates, length must be >=
RealTransform.numSourceDimensions()target - set this to the target coordinates, length must be >=
RealTransform.numTargetDimensions()public void apply(float[] source,
float[] target)
RealTransformRealTransform to a source vector to obtain a target
vector.apply in interface RealTransformapply in class PositionFieldTransform<T extends RealType<T>>source - source coordinates, length must be >=
RealTransform.numSourceDimensions()target - set this to the target coordinates, length must be >=
RealTransform.numTargetDimensions()public void apply(RealLocalizable source, RealPositionable target)
RealTransformapply in interface RealTransformapply in class PositionFieldTransform<T extends RealType<T>>source - source coordinates, numDimensions() must be >=
RealTransform.numSourceDimensions()target - set this to the target coordinates,
numDimensions() must
be >= RealTransform.numTargetDimensions()public RealTransform copy()
RealTransformRealTransform.
Deep copying is required to make sure that stateful RealTransforms can be duplicated for concurrent code.
copy in interface RealTransformcopy in class PositionFieldTransform<T extends RealType<T>>Copyright © 2015–2022 ImgLib2. All rights reserved.