boofcv.abst.geo.fitting
Class GenerateEpipolarMatrix
- java.lang.Object
-
- boofcv.abst.geo.fitting.GenerateEpipolarMatrix
-
- All Implemented Interfaces:
- ModelGenerator<org.ejml.data.DenseMatrix64F,AssociatedPair>
public class GenerateEpipolarMatrix extends java.lang.Object implements ModelGenerator<org.ejml.data.DenseMatrix64F,AssociatedPair>
Wrapper aroundEstimate1ofEpipolarforModelGenerator. Used for robust model fitting with outliers.
-
-
Constructor Summary
Constructors Constructor and Description GenerateEpipolarMatrix(Estimate1ofEpipolar alg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleangenerate(java.util.List<AssociatedPair> dataSet, org.ejml.data.DenseMatrix64F model)Creates a list of hypotheses from the set of sample points.intgetMinimumPoints()The minimum number of points required to fit a data set
-
-
-
Constructor Detail
-
GenerateEpipolarMatrix
public GenerateEpipolarMatrix(Estimate1ofEpipolar alg)
-
-
Method Detail
-
generate
public boolean generate(java.util.List<AssociatedPair> dataSet, org.ejml.data.DenseMatrix64F model)
Description copied from interface:ModelGeneratorCreates a list of hypotheses from the set of sample points.- Specified by:
generatein interfaceModelGenerator<org.ejml.data.DenseMatrix64F,AssociatedPair>- Parameters:
dataSet- Set of sample points. Typically the minimum number possible.model- Storage for generated model.- Returns:
- true if a model was generated, otherwise false is none were
-
getMinimumPoints
public int getMinimumPoints()
Description copied from interface:ModelGeneratorThe minimum number of points required to fit a data set- Specified by:
getMinimumPointsin interfaceModelGenerator<org.ejml.data.DenseMatrix64F,AssociatedPair>- Returns:
- Number of points.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG