public class PnPResidualReprojection extends java.lang.Object implements ModelObservationResidualN<georegression.struct.se.Se3_F64,Point2D3D>
| Constructor and Description |
|---|
PnPResidualReprojection() |
| Modifier and Type | Method and Description |
|---|---|
int |
computeResiduals(Point2D3D data,
double[] residuals,
int index)
Compute the residual errors for the observation
|
int |
getN()
The number of outputs
|
void |
setModel(georegression.struct.se.Se3_F64 model)
Specify the model being evaluated
|
public void setModel(georegression.struct.se.Se3_F64 model)
ModelObservationResidualNsetModel in interface ModelObservationResidualN<georegression.struct.se.Se3_F64,Point2D3D>model - The model.public int computeResiduals(Point2D3D data, double[] residuals, int index)
ModelObservationResidualNcomputeResiduals in interface ModelObservationResidualN<georegression.struct.se.Se3_F64,Point2D3D>data - Observation of point feature in two viewspublic int getN()
ModelObservationResidualNgetN in interface ModelObservationResidualN<georegression.struct.se.Se3_F64,Point2D3D>