Package boofcv.abst.geo.h
Class LeastSquaresHomography
java.lang.Object
boofcv.abst.geo.h.LeastSquaresHomography
- All Implemented Interfaces:
RefineEpipolar
,ModelFitter<DMatrixRMaj,AssociatedPair>
public class LeastSquaresHomography extends Object implements RefineEpipolar
Improves upon the initial estimate of the Homography matrix by minimizing residuals.
-
Constructor Summary
Constructors Constructor Description LeastSquaresHomography(double convergenceTol, int maxIterations, ModelObservationResidualN residuals)
-
Method Summary
Modifier and Type Method Description boolean
fitModel(List<AssociatedPair> obs, DMatrixRMaj F, DMatrixRMaj refinedF)
double
getFitScore()
-
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>
-