Apply Masks to Color Image

You are currently viewing the documentation for version 1.7.5. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Function

This Procedure obtains the color image part under the mask of the first index in the input mask list.

  • Input: color image, mask list.

  • Output: the color image part under the mask of the first index in the input mask list.

The graphical programming of this Procedure is shown in the figure below.

Apply Masks to Color Image Procedure

Functions of Involved Steps

The functions of the Steps are as follows (please click the link for detailed descriptions):

  1. Apply Masks to Image obtains the image parts corresponding to the masks in the mask list.

  2. Obtain the first image from the output of Apply Masks to Image.

Usage Scenario

This Procedure can obtain the image part under the mask of the first index in the mask list output from an Instance Segmentation Step.

apply masks to color image apply masks to color image2
  1. Input color image.

  2. Workpiece mask list output from an Instance Segmentation Step, including three masks in this example.

  3. List of color image parts under the masks, including three color image parts in this example.

  4. The color image part corresponding to the mask of the first index in the mask list.


Comparison of Similar Procedures

Apply Masks to Color Image outputs the image part under the mask of the first index in the input mask list. Apply Masks to Image outputs the list of image parts under all masks in the input mask list.

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.