Package boofcv.abst.geo.h
Class LeastSquaresHomography
- java.lang.Object
-
- boofcv.abst.geo.h.LeastSquaresHomography
-
- All Implemented Interfaces:
RefineEpipolar,org.ddogleg.fitting.modelset.ModelFitter<org.ejml.data.DMatrixRMaj,AssociatedPair>
public class LeastSquaresHomography extends java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfitModel(java.util.List<AssociatedPair> obs, org.ejml.data.DMatrixRMaj F, org.ejml.data.DMatrixRMaj refinedF)doublegetFitScore()
-
-
-
Constructor Detail
-
LeastSquaresHomography
public LeastSquaresHomography(double convergenceTol, int maxIterations, ModelObservationResidualN residuals)
-
-
Method Detail
-
fitModel
public boolean fitModel(java.util.List<AssociatedPair> obs, org.ejml.data.DMatrixRMaj F, org.ejml.data.DMatrixRMaj refinedF)
- Specified by:
fitModelin interfaceorg.ddogleg.fitting.modelset.ModelFitter<org.ejml.data.DMatrixRMaj,AssociatedPair>
-
getFitScore
public double getFitScore()
- Specified by:
getFitScorein interfaceorg.ddogleg.fitting.modelset.ModelFitter<org.ejml.data.DMatrixRMaj,AssociatedPair>
-
-