SwisTrack/Components/ColorMask

From Wikibooks, open books for an open world
< SwisTrack‎ | Components
Jump to: navigation, search

Description[edit]

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[edit]

File:SwisTrack ColorMaskInput.png

A color image.

Output[edit]

File:SwisTrack ColorMaskOutput.png

A color image.

Parameters[edit]

Mask image[edit]

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

Mode[edit]

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.