Package boofcv.factory.geo
Class ConfigRansac
java.lang.Object
boofcv.factory.geo.ConfigRansac
- All Implemented Interfaces:
Configuration,Serializable
Standard configuration for
RANSAC.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleInlier threshold.intMaximum number of iterations RANSAC will performlongRandom seed that's used internally -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks to see if the configuration is valid.setTo(ConfigRansac src) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
randSeed
public long randSeedRandom seed that's used internally -
iterations
public int iterationsMaximum number of iterations RANSAC will perform -
inlierThreshold
public double inlierThresholdInlier threshold.
-
-
Constructor Details
-
ConfigRansac
public ConfigRansac(int iterations, double inlierThreshold) -
ConfigRansac
public ConfigRansac()
-
-
Method Details
-
checkValidity
public void checkValidity()Description copied from interface:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-
setTo
-