Segmentation Masks

Description

The Segmentation Mask function merges a base image with multiple color masks using a given opacity factor for every mask, 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 Masks : array, type accepted RGB and HSL.
Documentation illustration (illustration unavailable in the archive).
Coefficients : 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).