lFlags

Flags that control how the method works. Possible values are:

Value

Meaning

0

No enhancement.

DS_CONTRASTENH

[1] Perform a contrast enhancement after applying the subtraction.

DS_OPTIMIZERANGE

[2] Optimize and increase the tonal range of the bitmap after applying the subtraction.