Class ColorDocumentShadowRemovalFilter

Color document shadow removal filter. The filter is similar to ColorDocumentFilter tries to remove shadows from the image without damaging colorful elements. As a result of shadow removal, paper is usually whitened.

Constructors

Properties

_type: "ColorDocumentShadowRemovalFilter"
colorEnhancement: number

Strength of color saturation enhancement. Typical values are between 0 and 1, although higher values are possible.

Default Value

0.5;
contrastEnhancement: number

Strength of contrast enhancement. Typical values are between 0 and 1, although higher values are possible.

Default Value

0.5;
paperLightness: number

The shadow removal filter balances between whitening paper and enhancing the contrast and colors of the printed parts of a document. This parameter controls the lightness threshold for distinguishing paper from print. Values must be between 0 and 1. Lower values will cause the filter to prefer whitening to enhancing. Higher values will cause the filter to prefer enhancing to whitening.

Default Value

0.5;
paperSaturation: number

The shadow removal filter balances between whitening paper and enhancing the contrast and colors of the printed parts of a document. This parameter controls the saturation (colorfulness) threshold for distinguishing paper from print. Values must be between 0 and 1. Lower values will cause the filter to prefer whitening to enhancing. Higher values will cause the filter to prefer enhancing to whitening.

Default Value

0.5;

Generated using TypeDoc