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

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: (


public float PixelBrightnessDifferenceLimit { get; set; }


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