Segmentation Mask

Description

The Segmentation Mask function merges a base image with a color mask using a given opacity factor, producing a partially masked image. Type : polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted RGB and HSL.
Documentation illustration (illustration unavailable in the archive). Image Mask : class, type accepted RGB and HSL.
Documentation illustration (illustration unavailable in the archive).
Mask Transparency : float,
parameter defining the transparency of masks on the original image. From 0 = opaque to 1 = transparent.

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Image Dst : class

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Computer Vision ​library to run it).