lFlags

Flags that indicate whether the background is darker than the foreground, and whether to show the objects without the background. You must select one from each group. Possible values are:

The following flags represent whether the background is darker than the foreground:

Value

Meaning

SBK_BG_DARK

[0x00000000] The background in the current image is darker than the foreground.

SBK_BG_BRIGHT

[0x00000001] The background in the current image is brighter than the foreground.

The following flags represent whether to show the objects without a background:

Value

Meaning

SBK_RES_SHOW

[0x00000000] The output bitmap shows the result of the subtraction between the background and the original image.

SBK_BG_SHOW

[0x00000010] The output bitmap shows only the background.