Flood fill tolerance.

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

Syntax

C#
public Color Tolerance { get; set; }

Remarks

The tolerance value determines which colors to fill. If the value is set to 0, then only color of the pointed pixel is filled. If the value is not 0, then other colors may be filled as well, which are similar to the color of the pointed pixel within the specified tolerance.

The tolerance value is specified as Color, where each component (R, G and B) represents tolerance for the corresponding component of color. This allows to set different tolerances for red, green and blue components.

See Also