Mask Logical Operation

You are currently viewing the documentation for the latest version (2.1.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step is used to perform logical operations on two mask lists of the same size.

mask logical operation functional description 1

When there is only one mask, it will negate the image of the mask itself.

mask logical operation functional description 2

Usage Scenario

This Step is widely used in all scenarios concerning mask logical operations.

Input and Output

mask logical operation input and output

Parameter Description

Operation Settings

Logical Operation

Parameter description: This parameter is used to select the type of logical operation on masks.

Options:

  • And: The default option. Extract the shared part of the two mask lists.

  • Or: Combine the two mask lists input.

  • Xor: Remove the shared part of two mask lists.

  • Not: Negate an input mask, turning the black part (usually the background) into white and the white part (usually the contour or edges of the object) into black.

Usage Settings of Input Masks

The parameter setting is not available when the type of Logical Operation is Not.

Correspondence Type

Parameter description: This parameter is used to specify the correspondence between masks in the two input mask lists.

Options:

  • FirstToAll: The first mask in the second mask list will correspond to all masks in the first mask list.

  • OneToOne (default value): All masks in the second mask list will correspond to all masks in the first mask list one by one. Use all masks of the second mask group to correspond to those in the first mask group.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.