Automatic binarization filter. This filter is a good starting point for most use cases.

Constructors

Properties

Methods

Constructors

Properties

_type: "ScanbotBinarizationFilter"
outputMode: OutputMode

Output mode of the filter. BINARY will return a black and white image, GRAYSCALE will return an antialiased grayscale image.

Default is BINARY

Methods

  • Parameters

    Returns {
        _type?: "ScanbotBinarizationFilter";
        outputMode?: OutputMode;
        serialize?(config?): { readonly _type?: "ScanbotBinarizationFilter" | undefined; outputMode?: OutputMode | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
    }

    • Optional Readonly _type?: "ScanbotBinarizationFilter"
    • Optional outputMode?: OutputMode

      Output mode of the filter. BINARY will return a black and white image, GRAYSCALE will return an antialiased grayscale image.

      Default is BINARY

    • serialize?:function
      • Parameters

        Returns { readonly _type?: "ScanbotBinarizationFilter" | undefined; outputMode?: OutputMode | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }