Class ConfigLineRansac
java.lang.Object
boofcv.factory.feature.detect.line.ConfigLineRansac
- All Implemented Interfaces:
Configuration,Serializable
Configuration for
DetectLineSegmentsGridRansac.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanShould lines be connected and optimized.intSize of the region considered.doubleTolerance in angle for allowing two edgels to be paired up, in radians.doubleThreshold for determining which pixels belong to an edge or not. -
Constructor Summary
ConstructorsConstructorDescriptionConfigLineRansac(int regionSize, double thresholdEdge, double thresholdAngle, boolean connectLines) -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks to see if the configuration is valid.setTo(ConfigLineRansac 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
-
regionSize
public int regionSizeSize of the region considered. Try 40 and tune. -
thresholdEdge
public double thresholdEdgeThreshold for determining which pixels belong to an edge or not. Try 30 and tune. -
thresholdAngle
public double thresholdAngleTolerance in angle for allowing two edgels to be paired up, in radians. Try 2.36 -
connectLines
public boolean connectLinesShould lines be connected and optimized.
-
-
Constructor Details
-
ConfigLineRansac
public ConfigLineRansac(int regionSize, double thresholdEdge, double thresholdAngle, boolean connectLines) -
ConfigLineRansac
public ConfigLineRansac()
-
-
Method Details
-
setTo
-
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
-