public abstract class AbstractShearTransform extends Object implements InvertibleTransform, BoundingBoxTransform
Modifier and Type | Field and Description |
---|---|
protected AbstractShearTransform |
inverse |
protected int |
nDim |
protected int |
referenceDimension |
protected int |
shearDimension |
Modifier | Constructor and Description |
---|---|
protected |
AbstractShearTransform(int nDim,
int shearDimension,
int referenceDimension) |
protected |
AbstractShearTransform(int nDim,
int shearDimension,
int referenceDimension,
AbstractShearTransform inverse) |
Modifier and Type | Method and Description |
---|---|
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 . |
abstract AbstractShearTransform |
copy() |
int |
getReferenceDimension() |
abstract long[] |
getShear() |
int |
getShearDimension() |
AbstractShearTransform |
inverse()
Get the inverse transform.
|
int |
numDimensions() |
int |
numSourceDimensions()
Returns n, the dimension of the source vector.
|
int |
numTargetDimensions()
Returns m, the dimension of the target vector.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
transform
protected final int nDim
protected final int shearDimension
protected final int referenceDimension
protected AbstractShearTransform inverse
protected AbstractShearTransform(int nDim, int shearDimension, int referenceDimension)
protected AbstractShearTransform(int nDim, int shearDimension, int referenceDimension, AbstractShearTransform inverse)
public int getReferenceDimension()
public int numSourceDimensions()
Transform
numSourceDimensions
in interface Transform
public int numTargetDimensions()
Transform
numTargetDimensions
in interface Transform
public int numDimensions()
public int getShearDimension()
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 AbstractShearTransform inverse()
InvertibleTransform
inverse
in interface InvertibleTransform
public abstract long[] getShear()
public abstract AbstractShearTransform copy()
Copyright © 2015–2022 ImgLib2. All rights reserved.