Package boofcv.alg.geo.robust
Class GenerateAffine2D
java.lang.Object
boofcv.alg.geo.robust.GenerateAffine2D
- All Implemented Interfaces:
ModelFitter<Affine2D_F64,
,AssociatedPair> ModelGenerator<Affine2D_F64,
AssociatedPair>
public class GenerateAffine2D
extends Object
implements ModelGenerator<Affine2D_F64,AssociatedPair>, ModelFitter<Affine2D_F64,AssociatedPair>
Fits an
Affine2D_F64
motion model to a list of AssociatedPair
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fitModel
(List<AssociatedPair> dataSet, Affine2D_F64 initial, Affine2D_F64 found) boolean
generate
(List<AssociatedPair> dataSet, Affine2D_F64 model) double
int
-
Constructor Details
-
GenerateAffine2D
public GenerateAffine2D()
-
-
Method Details
-
fitModel
- Specified by:
fitModel
in interfaceModelFitter<Affine2D_F64,
AssociatedPair>
-
generate
- Specified by:
generate
in interfaceModelGenerator<Affine2D_F64,
AssociatedPair>
-
getMinimumPoints
public int getMinimumPoints()- Specified by:
getMinimumPoints
in interfaceModelGenerator<Affine2D_F64,
AssociatedPair>
-
getFitScore
public double getFitScore()- Specified by:
getFitScore
in interfaceModelFitter<Affine2D_F64,
AssociatedPair>
-