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.modelcost, 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, applyInverseInPlaceapply, applyInPlace, fit, getMinNumMatches, getModel, setbetterThan, filter, filter, filter, filterRansac, filterRansac, filterRansac, filterRansac, fit, fit, getCost, icp, localSmoothnessFilter, ransac, ransac, setCost, test, testclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, applyInPlaceapplyInverse, applyInverseInPlacepublic ConstantAffineModel1D(A model)
public ConstantAffineModel1D<A> copy()
Modelcopy 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 InvertibleCoordinateTransformcreateInverse 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)
Affine1DtoArray 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)
BoundableestimateBounds in interface Boundablepublic void estimateInverseBounds(double[] min,
double[] max)
throws NoninvertibleModelException
InverseBoundableestimateInverseBounds in interface InverseBoundableNoninvertibleModelExceptionCopyright © 2015–2021 Fiji. All rights reserved.