public class RealTransformFiniteDerivatives extends AbstractDifferentiableRealTransform
| Modifier and Type | Field and Description |
|---|---|
protected AffineTransform |
jacobian |
protected double |
step |
protected RealTransform |
transform |
| Constructor and Description |
|---|
RealTransformFiniteDerivatives(RealTransform transform) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(double[] source,
double[] target)
Apply the
RealTransform to a source vector to obtain a target
vector. |
void |
apply(RealLocalizable source,
RealPositionable target)
|
RealTransformFiniteDerivatives |
copy()
Create a deep copy of this
RealTransform. |
AffineTransform |
jacobian(double[] x)
Estimates the jacobian matrix at x of the wrapped RealTransform.
|
int |
numSourceDimensions()
Returns n, the minimal number of dimension of the source vector.
|
int |
numTargetDimensions()
Returns m, the minimal dimension of the target vector.
|
void |
setStep(double step) |
directionToward, directionToward, matrixTransposeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, isIdentityprotected final RealTransform transform
protected final AffineTransform jacobian
protected double step
public RealTransformFiniteDerivatives(RealTransform transform)
public void setStep(double step)
public int numSourceDimensions()
RealTransformpublic int numTargetDimensions()
RealTransformpublic void apply(double[] source,
double[] target)
RealTransformRealTransform to a source vector to obtain a target
vector.source - source coordinates, length must be >=
RealTransform.numSourceDimensions()target - set this to the target coordinates, length must be >=
RealTransform.numTargetDimensions()public void apply(RealLocalizable source, RealPositionable target)
RealTransformsource - source coordinates, numDimensions() must be >=
RealTransform.numSourceDimensions()target - set this to the target coordinates,
numDimensions() must
be >= RealTransform.numTargetDimensions()public RealTransformFiniteDerivatives copy()
RealTransformRealTransform.
Deep copying is required to make sure that stateful RealTransforms can be duplicated for concurrent code.
public AffineTransform jacobian(double[] x)
AffineTransform so that matrix operations are convenient.jacobian in interface DifferentiableRealTransformjacobian in class AbstractDifferentiableRealTransformx - the point at which to estimate the jacobianCopyright © 2015–2022 ImgLib2. All rights reserved.