Package boofcv.alg.geo
Interface ModelObservationResidualN<Model,Observation>
- All Known Implementing Classes:
HomographyResidualSampson,HomographyResidualTransfer,PnPResidualReprojection,PnPStereoResidualReprojection
public interface ModelObservationResidualN<Model,Observation>
Residual function for epipolar matrices where there are multiple outputs for a single input.
Note that "residual = predicted - observed". Typically the "error = residual^T*residual".
-
Method Summary
Modifier and TypeMethodDescriptionintcomputeResiduals(Observation observation, double[] residuals, int index) Compute the residual errors for the observationintgetN()The number of outputsvoidSpecify the model being evaluated
-
Method Details
-
setModel
Specify the model being evaluated- Parameters:
model- The model.
-
computeResiduals
Compute the residual errors for the observation- Parameters:
observation- Observation of point feature in two views- Returns:
- The new index. index + getN()
-
getN
int getN()The number of outputs- Returns:
- number of outputs
-