Package boofcv.factory.geo
Class ConfigRansac
java.lang.Object
boofcv.factory.geo.ConfigRansac
- All Implemented Interfaces:
Configuration
,Serializable
public class ConfigRansac extends Object implements Configuration
Standard configuration for
RANSAC
.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description double
inlierThreshold
Inlier threshold.int
iterations
Maximum number of iterations RANSAC will performlong
randSeed
Random seed that's used internally -
Constructor Summary
Constructors Constructor Description ConfigRansac()
ConfigRansac(int iterations, double inlierThreshold)
-
Method Summary
Modifier and Type Method Description void
checkValidity()
Checks to see if the configuration is valid.ConfigRansac
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
-