[340:7] extends: object
InputToBinary wraps boofcv.abst.filter.binary.InputToBinary.
InputToBinary (object Obj)
Wraps a BoofCV InputToBinary object.
Obj is an existing InputToBinary Java object or wrapper.process (object Input, object Binary)
Processes a gray image into a binary GrayU8 image.
Input is a gray image wrapper or compatible Java object.Binary is the output GrayU8 wrapper or compatible Java object.getInputType ()
Gets the input image type.
An ImageType Java object.[6:7] extends: object
ConfigLength wraps boofcv.struct.ConfigLength.
ConfigLength (Length = 1, object Obj = null)
Creates a fixed ConfigLength or wraps an existing Java object.
Length is the fixed length value.Obj is an existing ConfigLength Java object or wrapper, or null to create a new fixed length.fixed (Length)
Creates a fixed ConfigLength.
Length is the fixed length value.A ConfigLength wrapper.relative (Fraction, Minimum)
Creates a relative ConfigLength.
Fraction is the relative fraction.Minimum is the minimum length.A ConfigLength wrapper.compute (TotalLength)
Computes this length against a total length.
TotalLength is the total available length.The computed length.isFixed ()
Gets whether this length is fixed.
True when fixed.[454:7] extends: ConfigThreshold
ConfigThresholdBlockMinMax wraps boofcv.factory.filter.binary.ConfigThresholdBlockMinMax.
ConfigThresholdBlockMinMax (int Radius = 20, MinimumSpread = 0.0, bool ThresholdFromLocalBlocks = true)
Creates a block min/max config.
Radius is the block radius.MinimumSpread is the minimum local spread.ThresholdFromLocalBlocks selects local-block thresholding.getMinimumSpread ()
Gets the minimum spread.
The minimum spread.setMinimumSpread (MinimumSpread)
Sets the minimum spread.
MinimumSpread is the minimum spread.[59:14] static extends: object
Static wrappers for the boofcv.factory.filter.binary.ThresholdType enum.
valueOf (string Name)
Returns a BoofCV ThresholdType enum by name.
Name is 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.An AussomJavaObject wrapping boofcv.factory.filter.binary.ThresholdType.[428:7] extends: ConfigThreshold
ConfigThresholdLocalOtsu wraps boofcv.factory.filter.binary.ConfigThresholdLocalOtsu.
ConfigThresholdLocalOtsu (int Radius = 20, Tuning = 0.0)
Creates a local Otsu config.
Radius is the local region radius.Tuning is the Otsu tuning value.getTuning ()
Gets the tuning value.
The tuning value.setTuning (Tuning)
Sets the tuning value.
Tuning is the tuning value.[370:7] extends: object
ConfigThreshold wraps boofcv.factory.filter.binary.ConfigThreshold.
ConfigThreshold (object Obj = null)
Creates a ConfigThreshold or wraps an existing Java object.
Obj is an existing ConfigThreshold Java object or wrapper, or null to create a default config.fixed (Threshold)
Creates a fixed threshold config.
Threshold is the fixed threshold.A ConfigThreshold wrapper.global (string TypeName)
Creates a global threshold config.
TypeName is one of GLOBAL_ENTROPY, GLOBAL_OTSU, GLOBAL_LI, or GLOBAL_HUANG.A ConfigThreshold wrapper.get (string Name)
Gets a config field.
Name is one of type, fixedThreshold, scale, down, width, niblackK, nickK, minPixelValue, maxPixelValue, or thresholdFromLocalBlocks.The field value.set (string Name, Value)
Sets a config field.
Name is one of type, fixedThreshold, scale, down, width, niblackK, nickK, minPixelValue, maxPixelValue, or thresholdFromLocalBlocks.Value is the new field value.checkValidity ()
Validates this config.
[73:14] static extends: object
Static wrappers for boofcv.alg.filter.binary.GThresholdImageOps.
computeOtsu (object Input, MinValue, MaxValue)
Computes an Otsu threshold.
Input is a gray image wrapper or compatible Java object.MinValue is the minimum pixel value.MaxValue is the maximum pixel value.The threshold value.computeOtsu2 (object Input, int MinValue, int MaxValue)
Computes an Otsu2 threshold.
Input is a gray image wrapper or compatible Java object.MinValue is the minimum pixel value.MaxValue is the maximum pixel value.The threshold value.computeEntropy (object Input, MinValue, MaxValue)
Computes an entropy threshold.
Input is a gray image wrapper or compatible Java object.MinValue is the minimum pixel value.MaxValue is the maximum pixel value.The threshold value.computeLi (object Input, MinValue, MaxValue)
Computes a Li threshold.
Input is a gray image wrapper or compatible Java object.MinValue is the minimum pixel value.MaxValue is the maximum pixel value.The threshold value.computeHuang (object Input, MinValue, MaxValue)
Computes a Huang threshold.
Input is a gray image wrapper or compatible Java object.MinValue is the minimum pixel value.MaxValue is the maximum pixel value.The threshold value.threshold (object Input, object Output, Threshold, bool Down)
Applies a fixed threshold.
Input is a gray image wrapper or compatible Java object.Output is a GrayU8 binary image wrapper or compatible Java object.Threshold is the threshold value.Down is true to mark pixels less than or equal to the threshold.The output image Java object returned by BoofCV.localGaussian (object Input, object Output, object Radius, Scale, bool Down, Storage1 = null, Storage2 = null)
Applies local Gaussian thresholding.
Input is a gray image wrapper or compatible Java object.Output is a GrayU8 binary image wrapper or compatible Java object.Radius is a ConfigLength wrapper or compatible Java object.Scale is the threshold scale.Down is true to mark dark regions.Storage1 is optional working storage.Storage2 is optional working storage.The output image Java object returned by BoofCV.localMean (object Input, object Output, object Radius, Scale, bool Down, Storage1 = null, Storage2 = null)
Applies local mean thresholding.
Input is a gray image wrapper or compatible Java object.Output is a GrayU8 binary image wrapper or compatible Java object.Radius is a ConfigLength wrapper or compatible Java object.Scale is the threshold scale.Down is true to mark dark regions.Storage1 is optional working storage.Storage2 is optional working storage.The output image Java object returned by BoofCV.localOtsu (object Input, object Output, bool Down, object Radius, Scale, Tuning, bool UseOtsu2)
Applies local Otsu thresholding.
Input is a gray image wrapper or compatible Java object.Output is a GrayU8 binary image wrapper or compatible Java object.Down is true to mark dark regions.Radius is a ConfigLength wrapper or compatible Java object.Scale is the threshold scale.Tuning is the Otsu tuning value.UseOtsu2 selects BoofCV's Otsu2 variant.The output image Java object returned by BoofCV.localNiblack (object Input, object Output, object Radius, K, bool Down)
Applies local Niblack thresholding.
Input is a gray image wrapper or compatible Java object.Output is a GrayU8 binary image wrapper or compatible Java object.Radius is a ConfigLength wrapper or compatible Java object.K is the Niblack parameter.Down is true to mark dark regions.The output image Java object returned by BoofCV.localSauvola (object Input, object Output, object Radius, K, bool Down)
Applies local Sauvola thresholding.
Input is a gray image wrapper or compatible Java object.Output is a GrayU8 binary image wrapper or compatible Java object.Radius is a ConfigLength wrapper or compatible Java object.K is the Sauvola parameter.Down is true to mark dark regions.The output image Java object returned by BoofCV.localNick (object Input, object Output, object Radius, K, bool Down)
Applies local Nick thresholding.
Input is a gray image wrapper or compatible Java object.Output is a GrayU8 binary image wrapper or compatible Java object.Radius is a ConfigLength wrapper or compatible Java object.K is the Nick parameter.Down is true to mark dark regions.The output image Java object returned by BoofCV.[268:14] static extends: object
Static wrappers for boofcv.factory.filter.binary.FactoryThresholdBinary.
globalFixed (Threshold, bool Down, string ImageClassName)
Creates a fixed global threshold filter.
Threshold is the fixed threshold.Down is true to mark pixels below the threshold.ImageClassName is a full gray image class name or supported short image name.An InputToBinary wrapper.globalOtsu (MinValue, MaxValue, Scale, bool Down, string ImageClassName)
Creates a global Otsu threshold filter.
MinValue is the minimum pixel value.MaxValue is the maximum pixel value.Scale is the threshold scale.Down is true to mark pixels below the threshold.ImageClassName is a full gray image class name or supported short image name.An InputToBinary wrapper.localMean (object Radius, Scale, bool Down, string ImageClassName)
Creates a local mean threshold filter.
Radius is a ConfigLength wrapper or compatible Java object.Scale is the threshold scale.Down is true to mark dark regions.ImageClassName is a full gray image class name or supported short image name.An InputToBinary wrapper.localGaussian (object Radius, Scale, bool Down, string ImageClassName)
Creates a local Gaussian threshold filter.
Radius is a ConfigLength wrapper or compatible Java object.Scale is the threshold scale.Down is true to mark dark regions.ImageClassName is a full gray image class name or supported short image name.An InputToBinary wrapper.threshold (object Config, string ImageClassName)
Creates a threshold filter from a ConfigThreshold object.
Config is a ConfigThreshold wrapper or compatible Java object.ImageClassName is a full gray image class name or supported short image name.An InputToBinary wrapper.