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
public class ConfigThresholdLocalOtsu extends ConfigThreshold
Configuration for all threshold types.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description double
tuning
Tuning parameter that will make it harder for pixels to be marked in low texture regions.boolean
useOtsu2
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
Constructors Constructor Description ConfigThresholdLocalOtsu()
ConfigThresholdLocalOtsu(int regionWidth, double tuning)
ConfigThresholdLocalOtsu(ConfigLength regionWidth, double tuning)
-
Method Summary
Modifier and Type Method Description ConfigThresholdLocalOtsu
setTo(ConfigThresholdLocalOtsu src)
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:
ThresholdBlockOtsu
-
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
-