public static class RANSAC.PercentageInliersStoppingCondition extends RANSAC.NumberInliersStoppingCondition
| Constructor and Description |
|---|
PercentageInliersStoppingCondition(double percentageLimit)
Construct the stopping condition with the given percentage threshold
on the number of data points which must match for a model to be
considered a fit.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
init(List<?> data,
EstimatableModel<?,?> model)
Initialise the stopping condition if necessary.
|
finalFitCondition, shouldStopIterationspublic PercentageInliersStoppingCondition(double percentageLimit)
percentageLimit - the percentage thresholdpublic boolean init(List<?> data, EstimatableModel<?,?> model)
RANSAC.StoppingConditioninit in interface RANSAC.StoppingConditioninit in class RANSAC.NumberInliersStoppingConditiondata - The data being fittedmodel - The model to fit