Package boofcv.factory.filter.binary
Class ConfigThresholdLocalOtsu
- java.lang.Object
-
- boofcv.factory.filter.binary.ConfigThreshold
-
- boofcv.factory.filter.binary.ConfigThresholdLocalOtsu
-
- All Implemented Interfaces:
boofcv.struct.Configuration,java.io.Serializable
public class ConfigThresholdLocalOtsu extends ConfigThreshold
Configuration for all threshold types.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description doubletuningTuning parameter that will make it harder for pixels to be marked in low texture regions.booleanuseOtsu2If true it will use Otsu 2.-
Fields inherited from class boofcv.factory.filter.binary.ConfigThreshold
down, fixedThreshold, maxPixelValue, minPixelValue, nickK, savolaK, scale, thresholdFromLocalBlocks, type, width
-
-
Constructor Summary
Constructors Constructor Description ConfigThresholdLocalOtsu()ConfigThresholdLocalOtsu(int regionWidth, double tuning)ConfigThresholdLocalOtsu(boofcv.struct.ConfigLength regionWidth, double tuning)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetTo(ConfigThresholdLocalOtsu src)-
Methods inherited from class boofcv.factory.filter.binary.ConfigThreshold
checkValidity, fixed, global, local, local, setTo, toString
-
-
-
-
Field Detail
-
tuning
public double tuning
Tuning 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 useOtsu2
If true it will use Otsu 2. Produce much better results in binary or nearly binary images.
-
-
Method Detail
-
setTo
public void setTo(ConfigThresholdLocalOtsu src)
-
-