public class InvertibleRealTransformSequence extends AbstractRealTransformSequence<InvertibleRealTransform> implements InvertibleRealTransform
InvertibleRealTransform
that is a sequence of
InvertibleRealTransforms
.
If empty, will behave as the identity transformation.nSource, nTarget, ptmp, tmp, transforms
Constructor and Description |
---|
InvertibleRealTransformSequence() |
Modifier and Type | Method and Description |
---|---|
void |
applyInverse(double[] source,
double[] target)
Apply the inverse transform to a target vector to obtain a source vector.
|
void |
applyInverse(float[] source,
float[] target)
Apply the inverse transform to a target vector to obtain a source vector.
|
void |
applyInverse(RealPositionable source,
RealLocalizable target)
Apply the inverse transform to a target
RealLocalizable to obtain
a source RealPositionable . |
InvertibleRealTransformSequence |
copy()
Create a deep copy of this
RealTransform . |
InvertibleRealTransform |
inverse()
Get the inverse transform.
|
add, apply, apply, apply, isIdentity, numSourceDimensions, numTargetDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, apply, apply, isIdentity, numSourceDimensions, numTargetDimensions
public void applyInverse(double[] source, double[] target)
InvertibleRealTransform
applyInverse
in interface InvertibleRealTransform
source
- set this to the source coordinates.target
- target coordinates.public void applyInverse(float[] source, float[] target)
InvertibleRealTransform
applyInverse
in interface InvertibleRealTransform
source
- set this to the source coordinates.target
- target coordinates.public void applyInverse(RealPositionable source, RealLocalizable target)
InvertibleRealTransform
RealLocalizable
to obtain
a source RealPositionable
.applyInverse
in interface InvertibleRealTransform
source
- set this to the source coordinates.target
- target coordinates.public InvertibleRealTransform inverse()
InvertibleRealTransform
inverse
in interface InvertibleRealTransform
public InvertibleRealTransformSequence copy()
RealTransform
RealTransform
.
Deep copying is required to make sure that stateful RealTransforms
can be duplicated for concurrent code.
copy
in interface InvertibleRealTransform
copy
in interface RealTransform
copy
in class AbstractRealTransformSequence<InvertibleRealTransform>
Copyright © 2015–2022 ImgLib2. All rights reserved.