Click or drag to resize
Accord.NET (logo)

RecursiveBlobCounterBackgroundThreshold Property

Background threshold's value.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public Color BackgroundThreshold { get; set; }
Request Example View Source

Property Value

Type: Color
Remarks

The property sets threshold value for distinguishing between background pixel and objects' pixels. All pixel with values less or equal to this property are treated as background, but pixels with higher values are treated as objects' pixels.

Note Note
In the case of colour images a pixel is treated as objects' pixel if any of its RGB values are higher than corresponding values of this threshold.

Note Note
For processing grayscale image, set the property with all RGB components eqaul.

Default value is set to (0, 0, 0) - black colour.

See Also