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 Transform
Transformation from Zn to Zm.Applying the transformation to a n-dimensional integer source vector yields a m-dimensional integer target vector.
- Author:
- Tobias Pietzsch, Stephan Saalfeld
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(int[] source, int[] target)
Apply theTransform
to a source vector to obtain a target vector.void
apply(long[] source, long[] target)
Apply theTransform
to a source vector to obtain a target vector.void
apply(Localizable source, Positionable target)
int
numSourceDimensions()
Returns n, the dimension of the source vector.int
numTargetDimensions()
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 theTransform
to 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 theTransform
to 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.
-
-