Click or drag to resize
Accord.NET (logo)

BradleyLocalThresholdingPixelBrightnessDifferenceLimit Property

Brightness difference limit between processing pixel and average value across neighbors.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
public float PixelBrightnessDifferenceLimit { get; set; }
Request Example View Source

Property Value

Type: Single

The property specifies what is the allowed difference percent between processing pixel and average brightness of neighbor pixels in order to be set white. If the value of the current pixel is t percent (this property value) lower than the average then it is set to black, otherwise it is set to white.

Default value is set to 0.15.

See Also