Class ConfigEdgeThreshold
java.lang.Object
boofcv.factory.feature.detect.line.ConfigEdgeThreshold
- All Implemented Interfaces:
Configuration
,Serializable
public class ConfigEdgeThreshold extends Object implements Configuration
Configuration for computing a binary image from a thresholded gradient.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description DerivativeType
gradient
Which method to use to compute the gradientboolean
nonMax
Should it apply edge based non-maximum suppressionfloat
threshold
Threshold for classifying pixels as edge or not. -
Constructor Summary
Constructors Constructor Description ConfigEdgeThreshold()
-
Method Summary
Modifier and Type Method Description void
checkValidity()
Checks to see if the configuration is valid.ConfigEdgeThreshold
setTo(ConfigEdgeThreshold 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
-
gradient
Which method to use to compute the gradient -
threshold
public float thresholdThreshold for classifying pixels as edge or not. Try 30. -
nonMax
public boolean nonMaxShould it apply edge based non-maximum suppression
-
-
Constructor Details
-
ConfigEdgeThreshold
public ConfigEdgeThreshold()
-
-
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
-