Package boofcv.alg.geo.f
Class FundamentalResidualSimple
java.lang.Object
boofcv.alg.geo.f.FundamentalResidualSimple
- All Implemented Interfaces:
ModelObservationResidual<DMatrixRMaj,
AssociatedPair>
public class FundamentalResidualSimple
extends Object
implements ModelObservationResidual<DMatrixRMaj,AssociatedPair>
Computes the residual just using the fundamental matrix constraint
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
computeResidual
(AssociatedPair observation) Compute the error for the observationvoid
Specify the epipolar matrix being evaluated
-
Constructor Details
-
FundamentalResidualSimple
public FundamentalResidualSimple()
-
-
Method Details
-
setModel
Description copied from interface:ModelObservationResidual
Specify the epipolar matrix being evaluated- Specified by:
setModel
in interfaceModelObservationResidual<DMatrixRMaj,
AssociatedPair> - Parameters:
F
- The model being optimized
-
computeResidual
Description copied from interface:ModelObservationResidual
Compute the error for the observation- Specified by:
computeResidual
in interfaceModelObservationResidual<DMatrixRMaj,
AssociatedPair> - Parameters:
observation
- Observation of point feature in two views- Returns:
- residual Error magnitude
-