public final class InverseTransform extends Object implements InvertibleTransform
InvertibleTransform that
simply replaces apply by applyInverse and conversely. The original
InvertibleTransform is returned on inverse().| Constructor and Description |
|---|
InverseTransform(InvertibleTransform transform) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(int[] source,
int[] target)
Apply the
Transform to a source vector to obtain a target vector. |
void |
apply(Localizable source,
Positionable target)
|
void |
apply(long[] source,
long[] target)
Apply the
Transform to a source vector to obtain a target vector. |
void |
applyInverse(int[] source,
int[] target)
Apply the inverse transform to a target vector to obtain a source vector.
|
void |
applyInverse(long[] source,
long[] target)
Apply the inverse transform to a target vector to obtain a source vector.
|
void |
applyInverse(Positionable source,
Localizable target)
Apply the inverse transform to a target
Localizable to obtain a
source Positionable. |
InvertibleTransform |
inverse()
Get the inverse transform.
|
int |
numSourceDimensions()
Returns n, the dimension of the source vector.
|
int |
numTargetDimensions()
Returns m, the dimension of the target vector.
|
public InverseTransform(InvertibleTransform transform)
public int numSourceDimensions()
TransformnumSourceDimensions in interface Transformpublic int numTargetDimensions()
TransformnumTargetDimensions in interface Transformpublic void apply(long[] source,
long[] target)
TransformTransform to a source vector to obtain a target vector.public void apply(int[] source,
int[] target)
TransformTransform to a source vector to obtain a target vector.public void apply(Localizable source, Positionable target)
Transformpublic void applyInverse(long[] source,
long[] target)
InvertibleTransformapplyInverse in interface InvertibleTransformsource - set this to the source coordinates.target - target coordinates.public void applyInverse(int[] source,
int[] target)
InvertibleTransformapplyInverse in interface InvertibleTransformsource - set this to the source coordinates.target - target coordinates.public void applyInverse(Positionable source, Localizable target)
InvertibleTransformLocalizable to obtain a
source Positionable.applyInverse in interface InvertibleTransformsource - set this to the source coordinates.target - target coordinates.public InvertibleTransform inverse()
InvertibleTransforminverse in interface InvertibleTransformCopyright © 2015–2022 ImgLib2. All rights reserved.