Welcome to our Support Center

And

Description

Performs an AND or NAND operation on two images or an image and a constant. 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.
Constant : integer,
value used for image-constant operations. Constant must be a RGB color value when Image Src A is a color image.
And/Nand (And) : boolean,
specifies which logic operation the function performs. If set to TRUE, the result of the AND is inverted, producing a NAND. The default is FALSE, which specifies an AND operation.

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