Click or drag to resize
Accord.NET (logo)

PointedMeanFloodFillTolerance Property

Flood fill tolerance.

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

Property Value

Type: Color
Remarks

The tolerance value determines the level of similarity between colors to fill and the pointed color. If the value is set to zero, then the filter does nothing, since the filling area contains only one color and its filling with mean is meaningless.

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.

Default value is set to (16, 16, 16).

See Also