Class ConfigLineRansac
java.lang.Object
boofcv.factory.feature.detect.line.ConfigLineRansac
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
DetectLineSegmentsGridRansac
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Should lines be connected and optimized.int
Size of the region considered.double
Tolerance in angle for allowing two edgels to be paired up, in radians.double
Threshold for determining which pixels belong to an edge or not. -
Constructor Summary
ConstructorDescriptionConfigLineRansac
(int regionSize, double thresholdEdge, double thresholdAngle, boolean connectLines) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks 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, wait
Methods 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: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
-