Class ConfigEdgeThreshold
java.lang.Object
boofcv.factory.feature.detect.line.ConfigEdgeThreshold
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for computing a binary image from a thresholded gradient.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionWhich method to use to compute the gradientboolean
Should it apply edge based non-maximum suppressionfloat
Threshold for classifying pixels as edge or not. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.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
-