Welcome to our Support Center

Compare

Description

Performs comparison operations between two images or an image and a constant. An operation between an image and a constant occurs when Image Src B is not connected. Type : polymorphic.

 

Input parameters

 

Image Src A : class, type accepted U8 and I16.
Image Src B : class,
type accepted U8 and I16.
Operator : enum,
specifies the comparison operator to use.
Constant : float, value used in comparison with Image Src A for image-constant operations.

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