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
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intcomputeResiduals(Observation observation, double[] residuals, int index)Compute the residual errors for the observationintgetN()The number of outputsvoidsetModel(Model model)Specify the model being evaluated
-
-
-
Method Detail
-
setModel
void setModel(Model model)
Specify the model being evaluated- Parameters:
model- The model.
-
computeResiduals
int computeResiduals(Observation observation, double[] residuals, int index)
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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG