Package boofcv.alg.geo
Interface ModelObservationResidual<Model,Observation>
- All Known Implementing Classes:
EssentialResidualSampson
,FundamentalResidualSampson
,FundamentalResidualSimple
public interface ModelObservationResidual<Model,Observation>
Residual function for epipolar matrices with a single output for a single input.
Note that "residual = predicted - observed". Typically the "error = residual^T*residual".
-
Method Summary
Modifier and TypeMethodDescriptiondouble
computeResidual
(Observation observation) Compute the error for the observationvoid
Specify the epipolar matrix being evaluated
-
Method Details
-
setModel
Specify the epipolar matrix being evaluated- Parameters:
model
- The model being optimized
-
computeResidual
Compute the error for the observation- Parameters:
observation
- Observation of point feature in two views- Returns:
- residual Error magnitude
-