Weighted Sum

Description

The Weighted Sum function merges a base image with an other one (generally a mask) using a given coefficient. 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).