public static interface RANSAC.StoppingCondition
Modifier and Type | Method and Description |
---|---|
boolean |
finalFitCondition(int numInliers)
Should the model be considered to fit after the final iteration has
passed?
|
boolean |
init(List<?> data,
EstimatableModel<?,?> model)
Initialise the stopping condition if necessary.
|
boolean |
shouldStopIterations(int numInliers)
Should we stop iterating and return the model?
|
boolean init(List<?> data, EstimatableModel<?,?> model)
data
- The data being fittedmodel
- The model to fitboolean shouldStopIterations(int numInliers)
numInliers
- number of inliers in this iterationboolean finalFitCondition(int numInliers)
numInliers
- number of inliers in the final model