Package boofcv.factory.filter.binary
Class ConfigThresholdLocalOtsu
java.lang.Object
boofcv.factory.filter.binary.ConfigThreshold
boofcv.factory.filter.binary.ConfigThresholdLocalOtsu
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for all threshold types.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
Tuning parameter that will make it harder for pixels to be marked in low texture regions.boolean
If true it will use Otsu 2.Fields inherited from class boofcv.factory.filter.binary.ConfigThreshold
down, fixedThreshold, maxPixelValue, minPixelValue, niblackK, nickK, scale, thresholdFromLocalBlocks, type, width
-
Constructor Summary
ConstructorDescriptionConfigThresholdLocalOtsu
(int regionWidth, double tuning) ConfigThresholdLocalOtsu
(ConfigLength regionWidth, double tuning) -
Method Summary
Methods inherited from class boofcv.factory.filter.binary.ConfigThreshold
checkValidity, 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
-
tuning
public double tuningTuning parameter that will make it harder for pixels to be marked in low texture regions. 0 = regular Otsu. Try 15 when tuning.- See Also:
-
useOtsu2
public boolean useOtsu2If true it will use Otsu 2. Produce much better results in binary or nearly binary images.
-
-
Constructor Details
-
ConfigThresholdLocalOtsu
public ConfigThresholdLocalOtsu(int regionWidth, double tuning) -
ConfigThresholdLocalOtsu
-
ConfigThresholdLocalOtsu
public ConfigThresholdLocalOtsu()
-
-
Method Details
-
setTo
-