class: InputToBinary
[356:7] extends: object
InputToBinary wraps boofcv.abst.filter.binary.InputToBinary.
Members
- obj
Methods
-
InputToBinary (
object Obj)Wraps a BoofCV InputToBinary object.
- @p
Objis an existing InputToBinary Java object or wrapper.
- @p
-
process (
object Input, object Binary)Processes a gray image into a binary GrayU8 image.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
Binaryis the output GrayU8 wrapper or compatible Java object.
- @p
-
getInputType ()
Gets the input image type.
- @r
AnImageType Java object.
- @r
class: ConfigLength
[22:7] extends: object
ConfigLength wraps boofcv.struct.ConfigLength.
Members
- obj
Methods
-
ConfigLength (
Length = 1, object Obj = null)Creates a fixed ConfigLength or wraps an existing Java object.
- @p
Lengthis the fixed length value. - @p
Objis an existing ConfigLength Java object or wrapper, or null to create a new fixed length.
- @p
-
fixed (
Length)Creates a fixed ConfigLength.
- @p
Lengthis the fixed length value. - @r
AConfigLength wrapper.
- @p
-
relative (
Fraction, Minimum)Creates a relative ConfigLength.
- @p
Fractionis the relative fraction. - @p
Minimumis the minimum length. - @r
AConfigLength wrapper.
- @p
-
compute (
TotalLength)Computes this length against a total length.
- @p
TotalLengthis the total available length. - @r
Thecomputed length.
- @p
-
isFixed ()
Gets whether this length is fixed.
- @r
Truewhen fixed.
- @r
class: ConfigThresholdBlockMinMax
[470:7] extends: ConfigThreshold
ConfigThresholdBlockMinMax wraps boofcv.factory.filter.binary.ConfigThresholdBlockMinMax.
Methods
-
ConfigThresholdBlockMinMax (
int Radius = 20, MinimumSpread = 0.0, bool ThresholdFromLocalBlocks = true)Creates a block min/max config.
- @p
Radiusis the block radius. - @p
MinimumSpreadis the minimum local spread. - @p
ThresholdFromLocalBlocksselects local-block thresholding.
- @p
-
getMinimumSpread ()
Gets the minimum spread.
- @r
Theminimum spread.
- @r
-
setMinimumSpread (
MinimumSpread)Sets the minimum spread.
- @p
MinimumSpreadis the minimum spread.
- @p
class: ThresholdType
[75:14] static extends: object
Static wrappers for the boofcv.factory.filter.binary.ThresholdType enum.
Methods
-
valueOf (
string Name)Returns a BoofCV ThresholdType enum by name.
- @p
Nameis one of FIXED, GLOBAL_ENTROPY, GLOBAL_OTSU, GLOBAL_LI, GLOBAL_HUANG, LOCAL_GAUSSIAN, LOCAL_MEAN, LOCAL_OTSU, BLOCK_MIN_MAX, BLOCK_MEAN, BLOCK_OTSU, LOCAL_NIBLACK, LOCAL_SAVOLA, LOCAL_WOLF, or LOCAL_NICK. - @r
AnAussomJavaObject wrapping boofcv.factory.filter.binary.ThresholdType.
- @p
class: ConfigThresholdLocalOtsu
[444:7] extends: ConfigThreshold
ConfigThresholdLocalOtsu wraps boofcv.factory.filter.binary.ConfigThresholdLocalOtsu.
Methods
-
ConfigThresholdLocalOtsu (
int Radius = 20, Tuning = 0.0)Creates a local Otsu config.
- @p
Radiusis the local region radius. - @p
Tuningis the Otsu tuning value.
- @p
-
getTuning ()
Gets the tuning value.
- @r
Thetuning value.
- @r
-
setTuning (
Tuning)Sets the tuning value.
- @p
Tuningis the tuning value.
- @p
class: ConfigThreshold
[386:7] extends: object
ConfigThreshold wraps boofcv.factory.filter.binary.ConfigThreshold.
Members
- obj
Methods
-
ConfigThreshold (
object Obj = null)Creates a ConfigThreshold or wraps an existing Java object.
- @p
Objis an existing ConfigThreshold Java object or wrapper, or null to create a default config.
- @p
-
fixed (
Threshold)Creates a fixed threshold config.
- @p
Thresholdis the fixed threshold. - @r
AConfigThreshold wrapper.
- @p
-
global (
string TypeName)Creates a global threshold config.
- @p
TypeNameis one of GLOBAL_ENTROPY, GLOBAL_OTSU, GLOBAL_LI, or GLOBAL_HUANG. - @r
AConfigThreshold wrapper.
- @p
-
get (
string Name)Gets a config field.
- @p
Nameis one of type, fixedThreshold, scale, down, width, niblackK, nickK, minPixelValue, maxPixelValue, or thresholdFromLocalBlocks. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a config field.
- @p
Nameis one of type, fixedThreshold, scale, down, width, niblackK, nickK, minPixelValue, maxPixelValue, or thresholdFromLocalBlocks. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: GThresholdImageOps
[89:14] static extends: object
Static wrappers for boofcv.alg.filter.binary.GThresholdImageOps.
Methods
-
computeOtsu (
object Input, MinValue, MaxValue)Computes an Otsu threshold.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
MinValueis the minimum pixel value. - @p
MaxValueis the maximum pixel value. - @r
Thethreshold value.
- @p
-
computeOtsu2 (
object Input, int MinValue, int MaxValue)Computes an Otsu2 threshold.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
MinValueis the minimum pixel value. - @p
MaxValueis the maximum pixel value. - @r
Thethreshold value.
- @p
-
computeEntropy (
object Input, MinValue, MaxValue)Computes an entropy threshold.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
MinValueis the minimum pixel value. - @p
MaxValueis the maximum pixel value. - @r
Thethreshold value.
- @p
-
computeLi (
object Input, MinValue, MaxValue)Computes a Li threshold.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
MinValueis the minimum pixel value. - @p
MaxValueis the maximum pixel value. - @r
Thethreshold value.
- @p
-
computeHuang (
object Input, MinValue, MaxValue)Computes a Huang threshold.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
MinValueis the minimum pixel value. - @p
MaxValueis the maximum pixel value. - @r
Thethreshold value.
- @p
-
threshold (
object Input, object Output, Threshold, bool Down)Applies a fixed threshold.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
Outputis a GrayU8 binary image wrapper or compatible Java object. - @p
Thresholdis the threshold value. - @p
Downis true to mark pixels less than or equal to the threshold. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
localGaussian (
object Input, object Output, object Radius, Scale, bool Down, Storage1 = null, Storage2 = null)Applies local Gaussian thresholding.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
Outputis a GrayU8 binary image wrapper or compatible Java object. - @p
Radiusis a ConfigLength wrapper or compatible Java object. - @p
Scaleis the threshold scale. - @p
Downis true to mark dark regions. - @p
Storage1is optional working storage. - @p
Storage2is optional working storage. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
localMean (
object Input, object Output, object Radius, Scale, bool Down, Storage1 = null, Storage2 = null)Applies local mean thresholding.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
Outputis a GrayU8 binary image wrapper or compatible Java object. - @p
Radiusis a ConfigLength wrapper or compatible Java object. - @p
Scaleis the threshold scale. - @p
Downis true to mark dark regions. - @p
Storage1is optional working storage. - @p
Storage2is optional working storage. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
localOtsu (
object Input, object Output, bool Down, object Radius, Scale, Tuning, bool UseOtsu2)Applies local Otsu thresholding.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
Outputis a GrayU8 binary image wrapper or compatible Java object. - @p
Downis true to mark dark regions. - @p
Radiusis a ConfigLength wrapper or compatible Java object. - @p
Scaleis the threshold scale. - @p
Tuningis the Otsu tuning value. - @p
UseOtsu2selects BoofCV's Otsu2 variant. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
localNiblack (
object Input, object Output, object Radius, K, bool Down)Applies local Niblack thresholding.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
Outputis a GrayU8 binary image wrapper or compatible Java object. - @p
Radiusis a ConfigLength wrapper or compatible Java object. - @p
Kis the Niblack parameter. - @p
Downis true to mark dark regions. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
localSauvola (
object Input, object Output, object Radius, K, bool Down)Applies local Sauvola thresholding.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
Outputis a GrayU8 binary image wrapper or compatible Java object. - @p
Radiusis a ConfigLength wrapper or compatible Java object. - @p
Kis the Sauvola parameter. - @p
Downis true to mark dark regions. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
localNick (
object Input, object Output, object Radius, K, bool Down)Applies local Nick thresholding.
- @p
Inputis a gray image wrapper or compatible Java object. - @p
Outputis a GrayU8 binary image wrapper or compatible Java object. - @p
Radiusis a ConfigLength wrapper or compatible Java object. - @p
Kis the Nick parameter. - @p
Downis true to mark dark regions. - @r
Theoutput image Java object returned by BoofCV.
- @p
class: FactoryThresholdBinary
[284:14] static extends: object
Static wrappers for boofcv.factory.filter.binary.FactoryThresholdBinary.
Methods
-
globalFixed (
Threshold, bool Down, string ImageClassName)Creates a fixed global threshold filter.
- @p
Thresholdis the fixed threshold. - @p
Downis true to mark pixels below the threshold. - @p
ImageClassNameis a full gray image class name or supported short image name. - @r
AnInputToBinary wrapper.
- @p
-
globalOtsu (
MinValue, MaxValue, Scale, bool Down, string ImageClassName)Creates a global Otsu threshold filter.
- @p
MinValueis the minimum pixel value. - @p
MaxValueis the maximum pixel value. - @p
Scaleis the threshold scale. - @p
Downis true to mark pixels below the threshold. - @p
ImageClassNameis a full gray image class name or supported short image name. - @r
AnInputToBinary wrapper.
- @p
-
localMean (
object Radius, Scale, bool Down, string ImageClassName)Creates a local mean threshold filter.
- @p
Radiusis a ConfigLength wrapper or compatible Java object. - @p
Scaleis the threshold scale. - @p
Downis true to mark dark regions. - @p
ImageClassNameis a full gray image class name or supported short image name. - @r
AnInputToBinary wrapper.
- @p
-
localGaussian (
object Radius, Scale, bool Down, string ImageClassName)Creates a local Gaussian threshold filter.
- @p
Radiusis a ConfigLength wrapper or compatible Java object. - @p
Scaleis the threshold scale. - @p
Downis true to mark dark regions. - @p
ImageClassNameis a full gray image class name or supported short image name. - @r
AnInputToBinary wrapper.
- @p
-
threshold (
object Config, string ImageClassName)Creates a threshold filter from a ConfigThreshold object.
- @p
Configis a ConfigThreshold wrapper or compatible Java object. - @p
ImageClassNameis a full gray image class name or supported short image name. - @r
AnInputToBinary wrapper.
- @p