Package net.imglib2.transform
Interface InvertibleTransform
- All Superinterfaces:
Transform
- All Known Subinterfaces:
Translation
- All Known Implementing Classes:
AbstractPermutationTransform,AbstractShearTransform,InverseShearTransform,InverseTransform,PermutationTransform,SequentializeTransform,ShearTransform,SingleDimensionPermutationTransform,TranslationTransform,TranslationTransform.InverseTranslationTransform
Invertible transformation from Zn to Zm
.
Applying the transformation to a n-dimensional integer source vector yields a m-dimensional integer target vector.
You can also
apply the
inverse transformation to a m-dimensional integer target
vector to get the n-dimensional integer source vector.
- Author:
- Tobias Pietzsch, Stephan Saalfeld
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyInverse(int[] source, int[] target) Apply the inverse transform to a target vector to obtain a source vector.voidapplyInverse(long[] source, long[] target) Apply the inverse transform to a target vector to obtain a source vector.voidapplyInverse(Positionable source, Localizable target) Apply the inverse transform to a targetLocalizableto obtain a sourcePositionable.inverse()Get the inverse transform.Methods inherited from interface net.imglib2.transform.Transform
apply, apply, apply, numSourceDimensions, numTargetDimensions
-
Method Details
-
applyInverse
void applyInverse(long[] source, long[] target) Apply the inverse transform to a target vector to obtain a source vector.- Parameters:
source- set this to the source coordinates.target- target coordinates.
-
applyInverse
void applyInverse(int[] source, int[] target) Apply the inverse transform to a target vector to obtain a source vector.- Parameters:
source- set this to the source coordinates.target- target coordinates.
-
applyInverse
Apply the inverse transform to a targetLocalizableto obtain a sourcePositionable.- Parameters:
source- set this to the source coordinates.target- target coordinates.
-
inverse
InvertibleTransform inverse()Get the inverse transform.- Returns:
- the inverse transform
-