Maximum gap size to fill (in pixels).

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

Syntax

C#
public int MaxGapSize { get; set; }

Remarks

The property specifies maximum horizontal gap between white pixels to fill. If number of black pixels between some white pixels is bigger than this value, then those black pixels are left as is; otherwise the gap is filled with white pixels.

Default value is set to 10. Minimum value is 1. Maximum value is 1000.

See Also