AdaptiveBinarizer

AdaptiveBinarizer class

Performs the adaptive image binarization.

public class AdaptiveBinarizer : IImagePreprocessor

Constructors

NameDescription
AdaptiveBinarizer()Initializes a new instance of the AdaptiveBinarizer class.

Properties

NameDescription
Offset { get; set; }Gets or sets the value to subtract from mean of the window to define the binarization threshold.
WindowSize { get; set; }Gets or sets window size.

Methods

NameDescription
Preprocess(byte[], int, int)Processes the image bytes representing as array in B, G, R order.

See Also