public class AffineTransformModel3d extends Object implements EstimatableModel<Point3d,Point3d>, MatrixTransformProvider
TransformUtilities.affineMatrixND(List)| Modifier and Type | Field and Description |
|---|---|
protected Jama.Matrix |
transform |
| Constructor and Description |
|---|
AffineTransformModel3d()
Create an
AffineTransformModel3d |
| Modifier and Type | Method and Description |
|---|---|
AffineTransformModel3d |
clone()
Clone the model
|
boolean |
estimate(List<? extends IndependentPair<Point3d,Point3d>> data)
Estimates the model from the observations in the list of data.
|
Jama.Matrix |
getTransform() |
int |
numItemsToEstimate() |
Point3d |
predict(Point3d p)
Uses the model to predict dependent data from an independent value.
|
String |
toString() |
protected Jama.Matrix transform
public AffineTransformModel3d()
AffineTransformModel3dpublic AffineTransformModel3d clone()
EstimatableModelpublic Jama.Matrix getTransform()
getTransform in interface MatrixTransformProviderpublic boolean estimate(List<? extends IndependentPair<Point3d,Point3d>> data)
EstimatableModelEstimatableModel.numItemsToEstimate() pairs of dependent
and independent data. It may contain more, in which case the estimate
method may choose to make use of this data for validation, or obtaining a
better model by a least squares method for example.estimate in interface EstimatableModel<Point3d,Point3d>data - Data with which to estimate the modelEstimatableModel.numItemsToEstimate()public Point3d predict(Point3d p)
Modelpublic int numItemsToEstimate()
numItemsToEstimate in interface EstimatableModel<Point3d,Point3d>