public final class ConstantAffineModel1D<A extends Model<A> & Affine1D<A> & InvertibleBoundable> extends InvertibleConstantModel<A,ConstantAffineModel1D<A>> implements Affine1D<ConstantAffineModel1D<A>>, InvertibleBoundable
ConstantModel
.
No multiple inheritance in Java, so it cannot be an AffineModel1D
by itself.model
cost, rnd
Constructor and Description |
---|
ConstantAffineModel1D(A model) |
Modifier and Type | Method and Description |
---|---|
void |
concatenate(ConstantAffineModel1D<A> affine1d) |
ConstantAffineModel1D<A> |
copy()
Clone the model.
|
AffineModel1D |
createAffineModel1D() |
ConstantAffineModel1D<A> |
createInverse() |
void |
estimateBounds(double[] min,
double[] max)
Estimate the bounds of an n-dimensional interval [min,max] with min and
max being n-dimensional vectors.
|
void |
estimateInverseBounds(double[] min,
double[] max)
Estimate the bounds of an n-dimensional interval [min,max] with min and
max being n-dimensional vectors.
|
void |
preConcatenate(ConstantAffineModel1D<A> affine1d) |
void |
toArray(double[] data)
Write the 2 parameters of the affine into a double array.
|
void |
toMatrix(double[][] data)
Write the 2 parameters of the affine into a 2x1 double array.
|
applyInverse, applyInverseInPlace
apply, applyInPlace, fit, getMinNumMatches, getModel, set
betterThan, filter, filter, filter, filterRansac, filterRansac, filterRansac, filterRansac, fit, fit, getCost, icp, localSmoothnessFilter, ransac, ransac, setCost, test, test
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, applyInPlace
applyInverse, applyInverseInPlace
public ConstantAffineModel1D(A model)
public ConstantAffineModel1D<A> copy()
Model
copy
in interface Model<ConstantAffineModel1D<A extends Model<A> & Affine1D<A> & InvertibleBoundable>>
copy
in class InvertibleConstantModel<A extends Model<A> & Affine1D<A> & InvertibleBoundable,ConstantAffineModel1D<A extends Model<A> & Affine1D<A> & InvertibleBoundable>>
public ConstantAffineModel1D<A> createInverse()
createInverse
in interface Affine1D<ConstantAffineModel1D<A extends Model<A> & Affine1D<A> & InvertibleBoundable>>
createInverse
in interface InvertibleCoordinateTransform
createInverse
in class InvertibleConstantModel<A extends Model<A> & Affine1D<A> & InvertibleBoundable,ConstantAffineModel1D<A extends Model<A> & Affine1D<A> & InvertibleBoundable>>
public AffineModel1D createAffineModel1D()
public void preConcatenate(ConstantAffineModel1D<A> affine1d)
preConcatenate
in interface Affine1D<ConstantAffineModel1D<A extends Model<A> & Affine1D<A> & InvertibleBoundable>>
public void concatenate(ConstantAffineModel1D<A> affine1d)
concatenate
in interface Affine1D<ConstantAffineModel1D<A extends Model<A> & Affine1D<A> & InvertibleBoundable>>
public void toArray(double[] data)
Affine1D
toArray
in interface Affine1D<ConstantAffineModel1D<A extends Model<A> & Affine1D<A> & InvertibleBoundable>>
public void toMatrix(double[][] data)
Affine1D
[0][0] -> m00; [0][1] -> m01;
toMatrix
in interface Affine1D<ConstantAffineModel1D<A extends Model<A> & Affine1D<A> & InvertibleBoundable>>
public void estimateBounds(double[] min, double[] max)
Boundable
estimateBounds
in interface Boundable
public void estimateInverseBounds(double[] min, double[] max) throws NoninvertibleModelException
InverseBoundable
estimateInverseBounds
in interface InverseBoundable
NoninvertibleModelException
Copyright © 2015–2021 Fiji. All rights reserved.