boofcv.abst.geo.h
Class LeastSquaresHomography
- java.lang.Object
-
- boofcv.abst.geo.h.LeastSquaresHomography
-
- All Implemented Interfaces:
- RefineEpipolar, ModelFitter<org.ejml.data.DenseMatrix64F,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 and Description LeastSquaresHomography(double convergenceTol, int maxIterations, ModelObservationResidualN residuals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanfitModel(java.util.List<AssociatedPair> obs, org.ejml.data.DenseMatrix64F F, org.ejml.data.DenseMatrix64F refinedF)Fits a model to a set of points.
-
-
-
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.DenseMatrix64F F, org.ejml.data.DenseMatrix64F refinedF)
Description copied from interface:ModelFitterFits a model to a set of points. Note that initial and found can be the same instance.- Specified by:
fitModelin interfaceModelFitter<org.ejml.data.DenseMatrix64F,AssociatedPair>- Parameters:
obs- Set of points the model is being fit to.F- Initial hypothesisrefinedF- The found model. Can be the same instance as initial.- Returns:
- true if a model was found and false if one was not.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG