public class TranslationTransform.InverseTranslationTransform extends AbstractMixedTransform implements Translation, Concatenable<Translation>, PreConcatenable<Translation>
numTargetDimensions
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 . |
TranslationTransform |
concatenate(Translation t)
Concatenate this object with a.
|
Class<Translation> |
getConcatenableClass() |
double[][] |
getMatrix()
Get the matrix that transforms homogeneous source points to homogeneous
target points.
|
Class<Translation> |
getPreConcatenableClass() |
long |
getTranslation(int d)
Get the d-th component of translation (see
Mixed.getTranslation(long[]) ). |
void |
getTranslation(long[] t)
Get the translation.
|
TranslationTransform |
inverse()
Get the inverse transform.
|
TranslationTransform |
preConcatenate(Translation t)
Pre-concatenate this object with a.
|
getComponentInversion, getComponentInversion, getComponentMapping, getComponentMapping, getComponentZero, getComponentZero, numSourceDimensions, numTargetDimensions, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponentInversion, getComponentInversion, getComponentMapping, getComponentMapping, getComponentZero, getComponentZero
transform
numSourceDimensions, numTargetDimensions
public void apply(long[] source, long[] target)
Transform
Transform
to a source vector to obtain a target vector.public void apply(int[] source, int[] target)
Transform
Transform
to a source vector to obtain a target vector.public void apply(Localizable source, Positionable target)
Transform
public void applyInverse(long[] source, long[] target)
InvertibleTransform
applyInverse
in interface InvertibleTransform
source
- set this to the source coordinates.target
- target coordinates.public void applyInverse(int[] source, int[] target)
InvertibleTransform
applyInverse
in interface InvertibleTransform
source
- set this to the source coordinates.target
- target coordinates.public void applyInverse(Positionable source, Localizable target)
InvertibleTransform
Localizable
to obtain a
source Positionable
.applyInverse
in interface InvertibleTransform
source
- set this to the source coordinates.target
- target coordinates.public double[][] getMatrix()
Mixed
public TranslationTransform inverse()
InvertibleTransform
inverse
in interface InvertibleTransform
public void getTranslation(long[] t)
Mixed
getTranslation
in interface Mixed
getTranslation
in class AbstractMixedTransform
t
- array of size at least the target dimension to store the
result.public long getTranslation(int d)
Mixed
Mixed.getTranslation(long[])
).getTranslation
in interface Mixed
getTranslation
in class AbstractMixedTransform
public TranslationTransform concatenate(Translation t)
Concatenable
concatenate
in interface Concatenable<Translation>
public Class<Translation> getConcatenableClass()
getConcatenableClass
in interface Concatenable<Translation>
public TranslationTransform preConcatenate(Translation t)
PreConcatenable
preConcatenate
in interface PreConcatenable<Translation>
public Class<Translation> getPreConcatenableClass()
getPreConcatenableClass
in interface PreConcatenable<Translation>
Copyright © 2015–2022 ImgLib2. All rights reserved.