Package boofcv.factory.filter.binary
Class ConfigThresholdBlockMinMax
java.lang.Object
boofcv.factory.filter.binary.ConfigThreshold
boofcv.factory.filter.binary.ConfigThresholdBlockMinMax
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
ThresholdBlockMinMax
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
If the lower and upper histogram values are different by less than or equal to this amount it is considered a textureless region.Fields inherited from class boofcv.factory.filter.binary.ConfigThreshold
down, fixedThreshold, maxPixelValue, minPixelValue, niblackK, nickK, scale, thresholdFromLocalBlocks, type, width
-
Constructor Summary
ConstructorDescriptionConfigThresholdBlockMinMax
(int width, double minimumSpread, boolean down) ConfigThresholdBlockMinMax
(ConfigLength width, double minimumSpread, boolean down) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.Methods inherited from class boofcv.factory.filter.binary.ConfigThreshold
fixed, global, local, local, setTo, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
minimumSpread
public double minimumSpreadIf the lower and upper histogram values are different by less than or equal to this amount it is considered a textureless region. Set to a value <= -1 to disable.
-
-
Constructor Details
-
ConfigThresholdBlockMinMax
public ConfigThresholdBlockMinMax(int width, double minimumSpread, boolean down) -
ConfigThresholdBlockMinMax
-
ConfigThresholdBlockMinMax
public ConfigThresholdBlockMinMax()
-
-
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
- Overrides:
checkValidity
in classConfigThreshold
-