Welcome to our Support Center

Subtract

Description

Subtracts one image from another or a constant from an image. Type : polymorphic.

 

Input parameters

 

Image Src A : class, type accepted U8, I16, RGB and HSL.
Image Src B : class,
type accepted U8, I16, RGB and HSL.
Scale : float,
value subtracted from Image Src A for image-constant operations. Scale is rounded down when the image is encoded as an integer. Scale must be a RGB color value when Image Src A is a color image.

Output parameters

 

Image Dst : class

Example

All these exemples 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 TIGR library to run it).

Table of Contents