Package net.imglib2.transform
Interface Transform
-
- All Known Subinterfaces:
ComponentMapping,InvertibleTransform,Mixed,Slicing,Translation
- All Known Implementing Classes:
AbstractMixedTransform,AbstractPermutationTransform,AbstractShearTransform,ComponentMappingTransform,InverseShearTransform,InverseTransform,MixedTransform,PermutationTransform,SequentializeTransform,ShearTransform,SingleDimensionPermutationTransform,SlicingTransform,TranslationTransform,TranslationTransform.InverseTranslationTransform
public interface TransformTransformation from Zn to Zm.Applying the transformation to a n-dimensional integer source vector yields a m-dimensional integer target vector.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(int[] source, int[] target)Apply theTransformto a source vector to obtain a target vector.voidapply(long[] source, long[] target)Apply theTransformto a source vector to obtain a target vector.voidapply(Localizable source, Positionable target)intnumSourceDimensions()Returns n, the dimension of the source vector.intnumTargetDimensions()Returns m, the dimension of the target vector.
-
-
-
Method Detail
-
numSourceDimensions
int numSourceDimensions()
Returns n, the dimension of the source vector.- Returns:
- the dimension of the source vector.
-
numTargetDimensions
int numTargetDimensions()
Returns m, the dimension of the target vector.- Returns:
- the dimension of the target vector.
-
apply
void apply(long[] source, long[] target)Apply theTransformto a source vector to obtain a target vector.- Parameters:
source- source coordinates.target- set this to the target coordinates.
-
apply
void apply(int[] source, int[] target)Apply theTransformto a source vector to obtain a target vector.- Parameters:
source- source coordinates.target- set this to the target coordinates.
-
apply
void apply(Localizable source, Positionable target)
- Parameters:
source- source coordinates.target- set this to the target coordinates.
-
-