boofcv.alg.geo.robust
Class GenerateSe2_AssociatedPair
- java.lang.Object
-
- boofcv.alg.geo.robust.GenerateSe2_AssociatedPair
-
- All Implemented Interfaces:
- ModelGenerator<Se2_F64,AssociatedPair>
public class GenerateSe2_AssociatedPair extends java.lang.Object implements ModelGenerator<Se2_F64,AssociatedPair>
UsesMotionTransformPointto estimate the rigid body motion in 2D between two sets of points
-
-
Constructor Summary
Constructors Constructor and Description GenerateSe2_AssociatedPair(MotionTransformPoint<Se2_F64,Point2D_F64> estimate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleangenerate(java.util.List<AssociatedPair> dataSet, Se2_F64 output)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
-
GenerateSe2_AssociatedPair
public GenerateSe2_AssociatedPair(MotionTransformPoint<Se2_F64,Point2D_F64> estimate)
-
-
Method Detail
-
generate
public boolean generate(java.util.List<AssociatedPair> dataSet, Se2_F64 output)
Description copied from interface:ModelGeneratorCreates a list of hypotheses from the set of sample points.- Specified by:
generatein interfaceModelGenerator<Se2_F64,AssociatedPair>- Parameters:
dataSet- Set of sample points. Typically the minimum number possible.output- 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<Se2_F64,AssociatedPair>- Returns:
- Number of points.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG