Jump to content

SwisTrack/Components/ColorMask

From Wikibooks, open books for an open world

Description

[edit | edit source]

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

File:SwisTrack ColorMaskInput.png

A color image.

Output

[edit | edit source]

File:SwisTrack ColorMaskOutput.png

A color image.

Parameters

[edit | edit source]

Mask image

[edit | edit source]

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

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.