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
FieldsModifier and TypeFieldDescriptiondoubleIf 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
ConstructorsConstructorDescriptionConfigThresholdBlockMinMax(int width, double minimumSpread, boolean down) ConfigThresholdBlockMinMax(ConfigLength width, double minimumSpread, boolean down) -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks to see if the configuration is valid.Methods inherited from class boofcv.factory.filter.binary.ConfigThreshold
fixed, global, local, local, setTo, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration- Overrides:
checkValidityin classConfigThreshold
-