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
Modifier and TypeFieldDescriptiondouble
Inlier threshold.int
Maximum number of iterations RANSAC will performlong
Random seed that's used internally -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks 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, wait
Methods 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:Configuration
Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidity
in interfaceConfiguration
-
setTo
-