SwisTrack/Components/BinaryMask

Description
This component will mask certain areas of your image, and therefore allow you to remove particles that are not in your area of interest (e.g. the arena).

Input


A binary image.

Output


A binary image.

Mask image
A binary (black-and-white) image with the mask.

Mode
One of the following combination modes:
 * Black -> black: Black pixels in the mask image will be black in the output image. All other pixels remain unchanged.
 * White -> white: White pixels in the mask image will be white in the output image. All other pixels remain unchanged.
 * Black -> white: Black pixels in the mask image will be white in the output image. All other pixels remain unchanged.
 * White -> black: White pixels in the mask image will be black in the output image. All other pixels remain unchanged.