Click or drag to resize
Accord.NET (logo)

HorizontalRunLengthSmoothingMaxGapSize Property

Maximum gap size to fill (in pixels).

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

Property Value

Type: Int32

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