Package boofcv.abst.geo.h
Class LeastSquaresHomography
java.lang.Object
boofcv.abst.geo.h.LeastSquaresHomography
- All Implemented Interfaces:
RefineEpipolar
,ModelFitter<DMatrixRMaj,
AssociatedPair>
Improves upon the initial estimate of the Homography matrix by minimizing residuals.
-
Constructor Summary
ConstructorDescriptionLeastSquaresHomography
(double convergenceTol, int maxIterations, ModelObservationResidualN<?, ?> residuals) -
Method Summary
Modifier and TypeMethodDescriptionboolean
fitModel
(List<AssociatedPair> obs, DMatrixRMaj F, DMatrixRMaj refinedF) double
-
Constructor Details
-
LeastSquaresHomography
public LeastSquaresHomography(double convergenceTol, int maxIterations, ModelObservationResidualN<?, ?> residuals)
-
-
Method Details
-
fitModel
- Specified by:
fitModel
in interfaceModelFitter<DMatrixRMaj,
AssociatedPair>
-
getFitScore
public double getFitScore()- Specified by:
getFitScore
in interfaceModelFitter<DMatrixRMaj,
AssociatedPair>
-