org.ddogleg.fitting.modelset.ransac
Class TestRansac
- java.lang.Object
-
- org.ddogleg.fitting.modelset.GenericModelMatcherTests
-
- org.ddogleg.fitting.modelset.ransac.TestRansac
-
public class TestRansac extends GenericModelMatcherTests
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classTestRansac.DebugModelStuff
-
Constructor Summary
Constructors Constructor and Description TestRansac()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ModelMatcher<double[],java.lang.Double>createModelMatcher(ModelManager<double[]> manager, DistanceFromModel<double[],java.lang.Double> distance, ModelGenerator<double[],java.lang.Double> generator, ModelFitter<double[],java.lang.Double> fitter, int minPoints, double fitThreshold)voidrandomDraw_large()See if it correctly randomly selects points when the initial set size is similar to the data set sizevoidrandomDraw_small()See if it correctly randomly selects points when the initial set size is much smaller than the data set sizevoidselectMatchSet()See if it will select models with more of the correct points in it-
Methods inherited from class org.ddogleg.fitting.modelset.GenericModelMatcherTests
checkMatchSetToInputIndex, performSimpleModelFit, runMultipleTimes
-
-
-
-
Method Detail
-
createModelMatcher
public ModelMatcher<double[],java.lang.Double> createModelMatcher(ModelManager<double[]> manager, DistanceFromModel<double[],java.lang.Double> distance, ModelGenerator<double[],java.lang.Double> generator, ModelFitter<double[],java.lang.Double> fitter, int minPoints, double fitThreshold)
- Specified by:
createModelMatcherin classGenericModelMatcherTests
-
randomDraw_large
public void randomDraw_large()
See if it correctly randomly selects points when the initial set size is similar to the data set size
-
randomDraw_small
public void randomDraw_small()
See if it correctly randomly selects points when the initial set size is much smaller than the data set size
-
selectMatchSet
public void selectMatchSet()
See if it will select models with more of the correct points in it
-
-
DataMelt 3.0 © DataMelt by jWork.ORG