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
FieldsModifier and TypeFieldDescriptionWhich method to use to compute the gradientbooleanShould it apply edge based non-maximum suppressionfloatThreshold for classifying pixels as edge or not. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks 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, waitMethods 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:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-